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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
--- config.h.orig Fri Feb 18 03:15:47 1994
+++ config.h Fri May 22 01:06:45 1998
@@ -32,7 +32,7 @@
#define NOV
/* Optional */
-#define NOV_DIRECTORY "/usr/spool/news"
+#define NOV_DIRECTORY "/var/news/spool/over.view"
/*********************** NETWORK DEPENDENT DEFINITIONS **********************
*
@@ -69,7 +69,7 @@
* Consult the file NNTP for further information on the use of NNTP.
*/
-#undef NNTP
+#define NNTP
/*
* Define NNTP_SERVER to the name of a file containing the name of the
@@ -84,7 +84,7 @@
* NOTE: If you plan to use the included inews, it MUST be a full pathname
*/
-#define NNTP_SERVER "/usr/lib/nntp_server"
+#define NNTP_SERVER PREFIX "/etc/nntp_server"
/*
* Define NNTP_POST if you want nn to reject attempts to post via
@@ -126,7 +126,7 @@
* conf/s-template.h as a starting point for writing you own.
*/
-#include "s-sys5-4.h"
+#include "s-netbsd.h"
/*
* Define DEFAULT_PAGER as the initial value of the 'pager' variable.
@@ -141,8 +141,8 @@
* nn's :print command pipes text into this command.
*/
-#define DEFAULT_PRINTER "lp -s" /* System V */
-/* #define DEFAULT_PRINTER "lpr -p -JNEWS" */ /* bsd */
+/* #define DEFAULT_PRINTER "lp -s" /* System V */
+#define DEFAULT_PRINTER "lpr -p -JNEWS" /* bsd */
/*
* Define RESIZING to make nn understand dynamic window-resizing.
@@ -203,8 +203,8 @@
* Common choices are: (news, news) and (your uid, your gid)
*/
-#define OWNER "news"
-#define GROUP "news"
+#define OWNER BINOWN
+#define GROUP BINGRP
/**************************** LOCALIZATION ****************************
@@ -237,9 +237,9 @@
* (= LIB_DIRECTORY/Log if undefined).
*/
-#define BIN_DIRECTORY "/usr/local/bin"
-#define LIB_DIRECTORY "/usr/local/lib/nn"
-
+#define BIN_DIRECTORY PREFIX "/bin"
+#define LIB_DIRECTORY PREFIX "/lib/nn"
+#define TMP_DIRECTORY "/var/tmp"
/**************************** DATABASE LOCATION **************************
*
@@ -270,7 +270,7 @@
* (The file system must support long file names!!)
*/
-#define DB_DIRECTORY "/usr/spool/nn"
+#define DB_DIRECTORY "/var/news/spool/nn"
/*************************** NEWS TRANSPORT **************************
@@ -292,10 +292,10 @@
* Default: NEWS_LIB_DIR/{rm,del}group
*/
-#define NEWS_DIRECTORY "/usr/spool/news"
-#define NEWS_LIB_DIRECTORY "/usr/lib/news"
+#define NEWS_DIRECTORY "/var/news/spool"
+#define NEWS_LIB_DIRECTORY "/var/news/etc"
-/* #define INEWS_PATH "/usr/lib/news/inews" */
+#define INEWS_PATH LIB_DIRECTORY "/inews"
/*
@@ -317,7 +317,7 @@
*/
/* #define REC_MAIL "/usr/lib/news/recmail" */ /* non-sendmail */
-#define REC_MAIL "/usr/lib/sendmail -t" /* sendmail */
+#define REC_MAIL "/usr/sbin/sendmail -t" /* sendmail */
/*
@@ -379,13 +379,13 @@
* DAEMON_MAN - nnmaster
*/
-#define USER_MAN_DIR "/usr/man/man1"
+#define USER_MAN_DIR PREFIX "/man/man1"
#define USER_MAN_SECTION "1"
-#define SYS_MAN_DIR "/usr/man/man1"
-#define SYS_MAN_SECTION "1m"
+#define SYS_MAN_DIR PREFIX "/man/man1"
+#define SYS_MAN_SECTION "1"
-#define DAEMON_MAN_DIR "/usr/man/man8"
+#define DAEMON_MAN_DIR PREFIX "/man/man8"
#define DAEMON_MAN_SECTION "8"
@@ -445,7 +445,7 @@
* was accepted, whereas with INN, it only takes seconds.
*/
-#define INEWS_IS_FAST /* comment out for C-News */
+/*#define INEWS_IS_FAST /* comment out for C-News */
/*
* Synchronous posting: If set this will cause NN to wait until a
@@ -457,7 +457,7 @@
* via some sort of NNTP.
*/
-#define SYNCHRONOUS_POSTING /* comment out for C-News */
+/*#define SYNCHRONOUS_POSTING /* comment out for C-News */
/*
* PUT_TIMESTAMP_IN_SCRIPTS
|