File: update-paths.patch

package info (click to toggle)
slrn 1.0.3%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,776 kB
  • sloc: ansic: 39,852; sh: 3,770; perl: 467; makefile: 229; sed: 16
file content (31 lines) | stat: -rw-r--r-- 1,093 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff -aur slrn-1.0.1.orig/src/slrnfeat.hin slrn-1.0.1/src/slrnfeat.hin
--- slrn-1.0.1.orig/src/slrnfeat.hin	2012-12-22 01:53:40.000000000 +0100
+++ slrn-1.0.1/src/slrnfeat.hin	2013-12-04 23:51:07.265387901 +0100
@@ -104,7 +104,7 @@
  */
 
   /* Root directory names */
-# define SLRN_SPOOL_ROOT	"/var/spool/news"
+# define SLRN_SPOOL_ROOT	"/var/spool/slrnpull/news"
   /* SLRN_NOV_ROOT gives the root directory for overview files
    * if you don't have overview files, leave as SLRN_SPOOL_ROOT for now */
 # define SLRN_SPOOL_NOV_ROOT	SLRN_SPOOL_ROOT
@@ -186,7 +186,9 @@
 #endif				       /* vms */
 
 /* #define OUR_ORGANIZATION "organization-name" */
+#define OUR_ORGANIZATION "/etc/news/organization"
 /* #define OUR_HOSTNAME "host.name.here" */
+#define OUR_HOSTNAME "/etc/mailname"
 
 #if SLRN_HAS_GROUPLENS
 # undef SLRN_USE_SLTCP
@@ -228,7 +230,7 @@
 #define SLRNPULL_NEWS_DIR	"news"
 
 /* File where messages and errors will be placed. */
-#define SLRNPULL_LOGFILE	"log"
+#define SLRNPULL_LOGFILE	"/var/log/news/slrnpull.log"
 
 #if !SLRN_HAS_NNTP_SUPPORT
 # undef SLRN_HAS_GROUPLENS