summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-ab
blob: 548453924bff6e71ec0cff9b91695042321eaa90 (plain)
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
*** config.h.orig	Sun Jun 18 16:39:25 1995
--- config.h	Sun Jun 18 16:41:44 1995
***************
*** 32,38 ****
  #define NOV
  
  /* Optional */
! #define NOV_DIRECTORY "/usr/spool/news"
  
  /*********************** NETWORK DEPENDENT DEFINITIONS **********************
   *
--- 32,38 ----
  #define NOV
  
  /* Optional */
! #define NOV_DIRECTORY "/var/news/over.view"
  
  /*********************** NETWORK DEPENDENT DEFINITIONS **********************
   *
***************
*** 69,75 ****
   *	Consult the file NNTP for further information on the use of NNTP.
   */
  
! #undef NNTP
  
  /*
   *	Define NNTP_SERVER to the name of a file containing the name of the
--- 69,75 ----
   *	Consult the file NNTP for further information on the use of NNTP.
   */
  
! #define NNTP
  
  /*
   *	Define NNTP_SERVER to the name of a file containing the name of the
***************
*** 84,90 ****
   *	NOTE: If you plan to use the included inews, it MUST be a full pathname
   */
  
! #define NNTP_SERVER	"/usr/lib/nntp_server"
  
  /*
   *	Define NNTP_POST if you want nn to reject attempts to post via
--- 84,90 ----
   *	NOTE: If you plan to use the included inews, it MUST be a full pathname
   */
  
! #define NNTP_SERVER     "/usr/local/etc/nntpserver"
  
  /*
   *	Define NNTP_POST if you want nn to reject attempts to post via
***************
*** 126,132 ****
   *	conf/s-template.h as a starting point for writing you own.
   */
  
! #include "s-sys5-4.h"
  
  /*
   *	Define DEFAULT_PAGER as the initial value of the 'pager' variable.
--- 126,132 ----
   *	conf/s-template.h as a starting point for writing you own.
   */
  
! #include "s-freebsd.h"
  
  /*
   *	Define DEFAULT_PAGER as the initial value of the 'pager' variable.
***************
*** 141,148 ****
   *	nn's :print command pipes text into this command.
   */
  
! #define DEFAULT_PRINTER		"lp -s"			/* System V */
! /* #define DEFAULT_PRINTER	"lpr -p -JNEWS"	*/ 	/* bsd */
  
  /*
   * 	Define RESIZING to make nn understand dynamic window-resizing.
--- 141,148 ----
   *	nn's :print command pipes text into this command.
   */
  
! /* #define DEFAULT_PRINTER         "lp -s"                 /* System V */
! #define DEFAULT_PRINTER      "lpr -p -JNEWS"       /* bsd */
  
  /*
   * 	Define RESIZING to make nn understand dynamic window-resizing.
***************
*** 239,245 ****
  
  #define BIN_DIRECTORY	"/usr/local/bin"
  #define LIB_DIRECTORY	"/usr/local/lib/nn"
! 
  
  /**************************** DATABASE LOCATION **************************
   *
--- 239,245 ----
  
  #define BIN_DIRECTORY	"/usr/local/bin"
  #define LIB_DIRECTORY	"/usr/local/lib/nn"
! #define TMP_DIRECTORY   "/var/tmp"
  
  /**************************** DATABASE LOCATION **************************
   *
***************
*** 270,276 ****
   *	     (The file system must support long file names!!)
   */
  
! #define DB_DIRECTORY	"/usr/spool/nn"
  
  
  /*************************** NEWS TRANSPORT **************************
--- 270,276 ----
   *	     (The file system must support long file names!!)
   */
  
! #define DB_DIRECTORY    "/var/spool/nn"
  
  
  /*************************** NEWS TRANSPORT **************************
***************
*** 292,301 ****
   *				  Default: NEWS_LIB_DIR/{rm,del}group
   */
  
! #define NEWS_DIRECTORY		"/usr/spool/news"
! #define NEWS_LIB_DIRECTORY	"/usr/lib/news"
  
! /* #define INEWS_PATH		"/usr/lib/news/inews"	*/
  
  
  /*
--- 292,301 ----
   *				  Default: NEWS_LIB_DIR/{rm,del}group
   */
  
! #define NEWS_DIRECTORY          "/var/news"
! #define NEWS_LIB_DIRECTORY      "/usr/local/news/lib"
  
! /* #define INEWS_PATH           "/usr/local/news/lib/inews"   */
  
  
  /*
***************
*** 317,323 ****
   */
  
  /* #define REC_MAIL	"/usr/lib/news/recmail"	*/	/* non-sendmail */
! #define REC_MAIL	"/usr/lib/sendmail -t"		/* sendmail */
  
  
  /*
--- 317,323 ----
   */
  
  /* #define REC_MAIL	"/usr/lib/news/recmail"	*/	/* non-sendmail */
! #define REC_MAIL        "/usr/sbin/sendmail -t"          /* sendmail */
  
  
  /*
***************
*** 379,391 ****
   *	DAEMON_MAN	- nnmaster
   */
  
! #define USER_MAN_DIR 	"/usr/man/man1"
  #define USER_MAN_SECTION 	"1"
  
! #define SYS_MAN_DIR 	"/usr/man/man1"
! #define SYS_MAN_SECTION 	"1m"
  
! #define DAEMON_MAN_DIR 	"/usr/man/man8"
  #define DAEMON_MAN_SECTION 	"8"
  
  
--- 379,391 ----
   *	DAEMON_MAN	- nnmaster
   */
  
! #define USER_MAN_DIR    "/usr/local/man/man1"
  #define USER_MAN_SECTION 	"1"
  
! #define SYS_MAN_DIR     "/usr/local/man/man1"
! #define SYS_MAN_SECTION         "1"
  
! #define DAEMON_MAN_DIR  "/usr/local/man/man8"
  #define DAEMON_MAN_SECTION 	"8"
  
  
***************
*** 445,451 ****
   *	was accepted, whereas with INN, it only takes seconds.
   */
  
! #define INEWS_IS_FAST		/* comment out for C-News */
  
  /*
   *	Synchronous posting: If set this will cause NN to wait until a
--- 445,451 ----
   *	was accepted, whereas with INN, it only takes seconds.
   */
  
! /*#define INEWS_IS_FAST           /* comment out for C-News */
  
  /*
   *	Synchronous posting: If set this will cause NN to wait until a
***************
*** 457,463 ****
   *	via some sort of NNTP.
   */
  
! #define SYNCHRONOUS_POSTING	/* comment out for C-News */
  
  /*
   *	PUT_TIMESTAMP_IN_SCRIPTS
--- 457,463 ----
   *	via some sort of NNTP.
   */
  
! /*#define SYNCHRONOUS_POSTING     /* comment out for C-News */
  
  /*
   *	PUT_TIMESTAMP_IN_SCRIPTS
*** inews/conf.h.orig	Thu Nov 25 12:29:01 1993
--- inews/conf.h	Sat Apr 15 04:57:55 1995
***************
*** 59,65 ****
   *  DOMAIN as defined above).  If you don't want this, comment it out.
   */
  
! #define	HIDDENNET
  
  /*
   *  There are a number of ways that inews will try to figure out the
--- 59,65 ----
   *  DOMAIN as defined above).  If you don't want this, comment it out.
   */
  
! /* #define HIDDENNET */
  
  /*
   *  There are a number of ways that inews will try to figure out the