Debian Codegraph @

debian/patches/extra_config

raw
1 --- /dev/null
2 +++ b/extra/config.data.debian
3 @@ -0,0 +1,939 @@
4 +## $Revision: 1.4 $
5 +##
6 +## InterNetNews configuration file.
7 +## Note that if you leave a field blank, you must have the trailing tab!
8 +##
9 +
10 +#
11 +# This one is for Debian GNU/Linux, and has a particular setup:
12 +# - config files in /etc/news
13 +# - log files in /var/log/news
14 +# - active file, history file in /var/lib/news
15 +# - sockets etc in /run/innd
16 +# - news spool in /var/spool/news
17 +# - overview in /var/spool/news/over.view
18 +#
19 +# Miquel van Smoorenburg <[email protected]>
20 +#
21 +
22 +##
23 +## 1. MAKE CONFIG PARAMETERS
24 +## Where the DBZ sources are, from C News. INN has a (maybe old) copy.
25 +#### =()<DBZDIR @<DBZDIR>@>()=
26 +DBZDIR ../dbz
27 +## If you have a parallel make, set this to "&"
28 +#### =()<P @<P>@>()=
29 +P
30 +## C pre-processor flags
31 +#### =()<DEFS @<DEFS>@>()=
32 +DEFS -I../include DEBIAN_CPPFLAGS
33 +## C compiler
34 +#### =()<CC @<CC>@>()=
35 +CC cc
36 +## Does your compiler properly do "char const *"? Pick DO DONT or DUNNO
37 +#### =()<USE_CHAR_CONST @<USE_CHAR_CONST>@>()=
38 +USE_CHAR_CONST DO
39 +## C compiler flags
40 +#### =()<CFLAGS @<CFLAGS>@>()=
41 +CFLAGS $(DEFS) DEBIAN_CFLAGS -std=gnu17
42 +## C compiler flags to use when compiling dbz
43 +#### =()<DBZCFLAGS @<DBZCFLAGS>@>()=
44 +DBZCFLAGS $(CFLAGS)
45 +## What flags to use if profiling; -p or -pg, e.g.
46 +#### =()<PROF @<PROF>@>()=
47 +PROF -pg
48 +## Flags for the "cc -o" line; e.g., -Bstatic on SunOS4.x while debugging.
49 +#### =()<LDFLAGS @<LDFLAGS>@>()=
50 +LDFLAGS DEBIAN_CFLAGS DEBIAN_LDFLAGS
51 +## If you use the standard NNTP way of connecting, where is the library?
52 +#### =()<NNTPLIB @<NNTPLIB>@>()=
53 +NNTPLIB
54 +## If you need to link in other libraries, add them here.
55 +## On NetBSD and FreeBSD, you must add the -lcrypt directive here
56 +## -lutil on BSD/OS gives you setproctitle() see HAVE_SETPROCTITLE.
57 +#### =()<LIBS @<LIBS>@>()=
58 +LIBS
59 +## How to make a lint library; pick BSD, SYSV, or NONE.
60 +#### =()<LINTLIBSTYLE @<LINTLIBSTYLE>@>()=
61 +LINTLIBSTYLE NONE
62 +## Flags for lint. AIX wants "-wkD"; it and others don't want "-z".
63 +#### =()<LINTFLAGS @<LINTFLAGS>@>()=
64 +LINTFLAGS -b -h -z $(DEFS)
65 +## Some lints insist on putting out the filename and other crap.
66 +## Possible values:
67 +## LINTFILTER | sed -n -f ../sedf.aix
68 +## LINTFILTER | sed -n -f ../sedf.osx
69 +## LINTFILTER | sed -n -f ../sedf.sun
70 +## LINTFILTER | sed -n -f ../sedf.sysv
71 +## LINTFILTER
72 +#### =()<LINTFILTER @<LINTFILTER>@>()=
73 +LINTFILTER | sed -n -f ../sedf.sun
74 +## How to install manpages; pick SOURCE, NROFF-PACK, NROFF-PACK-SCO,
75 +## BSD4.4 or NONE.
76 +#### =()<MANPAGESTYLE @<MANPAGESTYLE>@>()=
77 +MANPAGESTYLE SOURCE
78 +## Where various manpages should go
79 +#### =()<MAN1 @<MAN1>@>()=
80 +MAN1 /usr/share/man/man1
81 +#### =()<MAN3 @<MAN3>@>()=
82 +MAN3 /usr/share/man/man3
83 +#### =()<MAN5 @<MAN5>@>()=
84 +MAN5 /usr/share/man/man5
85 +#### =()<MAN8 @<MAN8>@>()=
86 +MAN8 /usr/share/man/man8
87 +## Ranlib command. Use echo if you don't need ranlib.
88 +#### =()<RANLIB @<RANLIB>@>()=
89 +RANLIB ranlib
90 +## YACC (yet another config control?)
91 +#### =()<YACC @<YACC>@>()=
92 +YACC yacc
93 +## Ctags command. Use echo if you don't have ctags.
94 +#### =()<CTAGS @<CTAGS>@>()=
95 +CTAGS ctags -t -w
96 +
97 +
98 +##
99 +## 2. LOGGING LEVELS
100 +## Facility innd should log under.
101 +#### =()<LOG_INN_SERVER @<LOG_INN_SERVER>@>()=
102 +LOG_INN_SERVER LOG_NEWS
103 +## Facility all other programs should log under.
104 +#### =()<LOG_INN_PROG @<LOG_INN_PROG>@>()=
105 +LOG_INN_PROG LOG_NEWS
106 +## Flags to use in opening the logs; some programs add LOG_PID.
107 +#### =()<L_OPENLOG_FLAGS @<L_OPENLOG_FLAGS>@>()=
108 +L_OPENLOG_FLAGS (LOG_CONS | LOG_NDELAY)
109 +## Log a fatal error; program is about to exit.
110 +#### =()<L_FATAL @<L_FATAL>@>()=
111 +L_FATAL LOG_CRIT
112 +## Log an error that might mean one or more articles get lost.
113 +#### =()<L_ERROR @<L_ERROR>@>()=
114 +L_ERROR LOG_ERR
115 +## Informational notice, usually not worth caring about.
116 +#### =()<L_NOTICE @<L_NOTICE>@>()=
117 +L_NOTICE LOG_NOTICE
118 +## A protocol trace.
119 +#### =()<L_TRACE @<L_TRACE>@>()=
120 +L_TRACE LOG_DEBUG
121 +## All incoming control commands (ctlinnd, etc).
122 +#### =()<L_CC_CMD @<L_CC_CMD>@>()=
123 +L_CC_CMD LOG_NOTICE
124 +
125 +
126 +##
127 +## 3. OWNERSHIPS AND FILE MODES
128 +## Owner of articles and directories and _PATH_INNDDIR
129 +#### =()<NEWSUSER @<NEWSUSER>@>()=
130 +NEWSUSER news
131 +## Group, for same purpose
132 +#### =()<NEWSGROUP @<NEWSGROUP>@>()=
133 +NEWSGROUP news
134 +## Who gets email from news.daily and about control messages.
135 +#### =()<NEWSMASTER @<NEWSMASTER>@>()=
136 +NEWSMASTER usenet
137 +## Who gets email on the Path line?
138 +#### =()<PATHMASTER @<PATHMASTER>@>()=
139 +PATHMASTER not-for-mail
140 +## Umask to set.
141 +#### =()<NEWSUMASK @<NEWSUMASK>@>()=
142 +NEWSUMASK 02
143 +## Mode that incoming articles are created under.
144 +#### =()<ARTFILE_MODE @<ARTFILE_MODE>@>()=
145 +ARTFILE_MODE 0664
146 +## Mode that batch files are created under.
147 +#### =()<BATCHFILE_MODE @<BATCHFILE_MODE>@>()=
148 +BATCHFILE_MODE 0664
149 +## Mode that directories are created under.
150 +#### =()<GROUPDIR_MODE @<GROUPDIR_MODE>@>()=
151 +GROUPDIR_MODE 0775
152 +
153 +
154 +##
155 +## 4. C LIBRARY DIFFERENCES
156 +## Use stdargs, varargs, or neither? Pick VARARGS STDARGS or NONE.
157 +## You need vfprintf and vfsprintf if not NONE.
158 +#### =()<VAR_STYLE @<VAR_STYLE>@>()=
159 +VAR_STYLE STDARGS
160 +## If you don't have <string.h>, set this to "mystring.h"
161 +#### =()<STR_HEADER @<STR_HEADER>@>()=
162 +STR_HEADER <string.h>
163 +## If you don't have <memory.h>, set this to "mymemory.h"
164 +#### =()<MEM_HEADER @<MEM_HEADER>@>()=
165 +MEM_HEADER <memory.h>
166 +## What is a file offset? MUST BE LONG FOR NOW.
167 +#### =()<OFFSET_T @<OFFSET_T>@>()=
168 +OFFSET_T off_t
169 +## What is the type of an object size? Usually size_t or unsigned int.
170 +#### =()<SIZE_T @<SIZE_T>@>()=
171 +SIZE_T size_t
172 +## What is the type of a passwd uid and gid, for use in chown(2)?
173 +#### =()<UID_T @<UID_T>@>()=
174 +UID_T uid_t
175 +#### =()<GID_T @<GID_T>@>()=
176 +GID_T gid_t
177 +## Type of a pid, for use in kill(2).
178 +#### =()<PID_T @<PID_T>@>()=
179 +PID_T pid_t
180 +## Generic pointer, used by memcpy, malloc, etc. Usually char or void.
181 +#### =()<POINTER @<POINTER>@>()=
182 +POINTER void
183 +## Worst-case alignment, in order to shut lint up
184 +#### =()<ALIGNPTR @<ALIGNPTR>@>()=
185 +ALIGNPTR void
186 +## What should a signal handler return? Usually int or void.
187 +#### =()<SIGHANDLER @<SIGHANDLER>@>()=
188 +SIGHANDLER void
189 +## Type of variables can be modified in a signal handler? sig_atomic_t
190 +#### =()<SIGVAR @<SIGVAR>@>()=
191 +SIGVAR sig_atomic_t
192 +## Function that returns no value, and a pointer to it. Pick int or void
193 +#### =()<FUNCTYPE @<FUNCTYPE>@>()=
194 +FUNCTYPE void
195 +## Type of 32 bit unsigned integer.
196 +#### =()<U_INT32_T @<U_INT32_T>@>()=
197 +U_INT32_T unsigned int
198 +## Type of 32 bit signed integer.
199 +#### =()<INT32_T @<INT32_T>@>()=
200 +INT32_T int
201 +## Use BSD4.2 or Posix directory names? Pick DIRENT or DIRECT.
202 +#### =()<DIR_STYLE @<DIR_STYLE>@>()=
203 +DIR_STYLE DIRENT
204 +## Use flock, lockf, or nothing to lock files?
205 +## Pick FLOCK, LOCKF, FCNTL, or NONE
206 +#### =()<LOCK_STYLE @<LOCK_STYLE>@>()=
207 +LOCK_STYLE FCNTL
208 +## Do you have <unistd.h>? Pick DO or DONT
209 +#### =()<HAVE_UNISTD @<HAVE_UNISTD>@>()=
210 +HAVE_UNISTD DO
211 +## Do you have setbuffer? Pick DO or DONT.
212 +#### =()<HAVE_SETBUFFER @<HAVE_SETBUFFER>@>()=
213 +HAVE_SETBUFFER DO
214 +## Do you have gettimeofday? Pick DO or DONT.
215 +#### =()<HAVE_GETTIMEOFDAY @<HAVE_GETTIMEOFDAY>@>()=
216 +HAVE_GETTIMEOFDAY DO
217 +## Do you have setproctitle()? Pick DO or DONT.
218 +## You may need to adjust LIBS for this.
219 +#### =()<HAVE_SETPROCTITLE @<HAVE_SETPROCTITLE>@>()=
220 +HAVE_SETPROCTITLE DONT
221 +## Do you have fchmod? Pick DO or DONT.
222 +#### =()<HAVE_FCHMOD @<HAVE_FCHMOD>@>()=
223 +HAVE_FCHMOD DO
224 +## Do you have setsid()? Pick DO or DONT.
225 +#### =()<HAVE_SETSID @<HAVE_SETSID>@>()=
226 +HAVE_SETSID DO
227 +## Does your (struct tm) have a tm_gmtoff field? Pick DO or DONT.
228 +#### =()<HAVE_TM_GMTOFF @<HAVE_TM_GMTOFF>@>()=
229 +HAVE_TM_GMTOFF DO
230 +## Does your (struct stat) have a st_blksize field? Pick DO or DONT.
231 +#### =()<HAVE_ST_BLKSIZE @<HAVE_ST_BLKSIZE>@>()=
232 +HAVE_ST_BLKSIZE DO
233 +## Use waitpid instead of wait3? Pick DO or DONT.
234 +#### =()<HAVE_WAITPID @<HAVE_WAITPID>@>()=
235 +HAVE_WAITPID DO
236 +## Use "union wait" instead of int? Pick DO or DONT.
237 +#### =()<USE_UNION_WAIT @<USE_UNION_WAIT>@>()=
238 +USE_UNION_WAIT DONT
239 +## How to fork? Pick fork or vfork.
240 +#### =()<FORK @<FORK>@>()=
241 +FORK fork
242 +## Do you have <vfork.h>? Pick DO or DONT.
243 +#### =()<HAVE_VFORK @<HAVE_VFORK>@>()=
244 +HAVE_VFORK DONT
245 +## Do you have symbolic links? Pick DO or DONT.
246 +#### =()<HAVE_SYMLINK @<HAVE_SYMLINK>@>()=
247 +HAVE_SYMLINK DO
248 +## Do you have Unix-domain sockets? Pick DO or DONT.
249 +#### =()<HAVE_UNIX_DOMAIN @<HAVE_UNIX_DOMAIN>@>()=
250 +HAVE_UNIX_DOMAIN DO
251 +## Does your AF_UNIX bind use sizeof for the socket size? Pick DO or DONT.
252 +#### =()<BIND_USE_SIZEOF @<BIND_USE_SIZEOF>@>()=
253 +BIND_USE_SIZEOF DO
254 +## How should close-on-exec be done? Pick IOCTL or FCNTL.
255 +#### =()<CLX_STYLE @<CLX_STYLE>@>()=
256 +CLX_STYLE FCNTL
257 +## How should non-blocking I/O be done? Pick IOCTL or FCNTL.
258 +#### =()<NBIO_STYLE @<NBIO_STYLE>@>()=
259 +NBIO_STYLE FCNTL
260 +## How should resource-totalling be done? Pick RUSAGE or TIMES
261 +#### =()<RES_STYLE @<RES_STYLE>@>()=
262 +RES_STYLE RUSAGE
263 +## How to get number of available descriptors?
264 +## Pick GETDTAB, GETRLIMIT, SYSCONF, ULIMIT, or CONSTANT.
265 +#### =()<FDCOUNT_STYLE @<FDCOUNT_STYLE>@>()=
266 +FDCOUNT_STYLE GETRLIMIT
267 +## If greater than -1, then use [gs]etrlimit to set that many descriptors.
268 +## If -1, then no [gs]etrlimit calls are done.
269 +#### =()<NOFILE_LIMIT @<NOFILE_LIMIT>@>()=
270 +NOFILE_LIMIT -1
271 +## Do you need <time.h> as well as <sys/time.h>? Pick DO or DONT.
272 +#### =()<NEED_TIME @<NEED_TIME>@>()=
273 +NEED_TIME DO
274 +## What predicate, if any, the <ctype.h> macros need
275 +#### =()<CTYPE @<CTYPE>@>()=
276 +#CTYPE (isascii((c)) && isXXXXX((c)))
277 +#CTYPE ((c) > 0 && isXXXXX((c)))
278 +CTYPE isXXXXX((c))
279 +## What's the return type of abort? Usually int or void.
280 +#### =()<ABORTVAL @<ABORTVAL>@>()=
281 +ABORTVAL void
282 +## What's the return type of alarm? Usually int or unsigned int.
283 +#### =()<ALARMVAL @<ALARMVAL>@>()=
284 +ALARMVAL unsigned int
285 +## What's the return type of getpid? Usually int or unsigned int.
286 +#### =()<GETPIDVAL @<GETPIDVAL>@>()=
287 +GETPIDVAL pid_t
288 +## What's the return type of sleep? Usually int or unsigned int.
289 +#### =()<SLEEPVAL @<SLEEPVAL>@>()=
290 +SLEEPVAL unsigned int
291 +## What's the return type of qsort? Usually int or void.
292 +#### =()<QSORTVAL @<QSORTVAL>@>()=
293 +QSORTVAL void
294 +## What's the return type of lseek? Usually long or off_t.
295 +#### =()<LSEEKVAL @<LSEEKVAL>@>()=
296 +LSEEKVAL off_t
297 +## What's the return type of free? Usually int or void.
298 +#### =()<FREEVAL @<FREEVAL>@>()=
299 +FREEVAL void
300 +## What's the return type of exit? Usually int or void.
301 +## (For gcc (not pedantic ANSI) use "volatile void" in EXITVAL and _EXITVAL.)
302 +#### =()<EXITVAL @<EXITVAL>@>()=
303 +EXITVAL void
304 +## What's the return type of _exit? Usually int or void.
305 +#### =()<_EXITVAL @<_EXITVAL>@>()=
306 +_EXITVAL void
307 +
308 +
309 +##
310 +## 5. C LIBRARY OMISSIONS
311 +## Possible values:
312 +## MISSING_MAN strcasecmp.3 syslog.3
313 +## MISSING_SRC strcasecmp.c syslog.c strerror.c getdtab.c
314 +## MISSING_OBJ strcasecmp.o syslog.o strerror.o getdtab.c
315 +## getdtab has a getdtablesize() routine if you need it; see the lib
316 +## directory and Install.ms for others.
317 +## OSx systems should add $(OSXATTOBJ) to MISSING_OBJ.
318 +#### =()<MISSING_MAN @<MISSING_MAN>@>()=
319 +MISSING_MAN
320 +#### =()<MISSING_SRC @<MISSING_SRC>@>()=
321 +MISSING_SRC
322 +#### =()<MISSING_OBJ @<MISSING_OBJ>@>()=
323 +MISSING_OBJ
324 +
325 +
326 +##
327 +## 6. MISCELLANEOUS CONFIG DATA
328 +##
329 +## Use read/write to update the active file, or mmap? Pick READ or MMAP.
330 +#### =()<ACT_STYLE @<ACT_STYLE>@>()=
331 +ACT_STYLE MMAP
332 +## Do you want mail notifications of bad control messages. DO or DONT
333 +## Setting it to do results in a lot of mail with the number of spammers
334 +## out there.
335 +#### =()<MAIL_BADCONTROLS @<MAIL_BADCONTROLS>@>()=
336 +MAIL_BADCONTROLS DONT
337 +## What type of pointer does mmap() manage? Normally ``caddr_t'' or ``void *''
338 +## or ``char *''
339 +#### =()<MMAP_PTR @<MMAP_PTR>@>()=
340 +MMAP_PTR void *
341 +## Should we msync when using mmap? Pick DO or DONT. Useful
342 +## with some slightly broken mmap implementations. (like HPUX and BSD/OS).
343 +#### =()<MMAP_SYNC @<MMAP_SYNC>@>()=
344 +MMAP_SYNC DONT
345 +## Should we call your msync() with 3 args? (addr,len,flags)
346 +## Choose DO or DONT.
347 +#### =()<MSYNC_3_ARG @<MSYNC_3_ARG>@>()=
348 +MSYNC_3_ARG DO
349 +## Do clients use our NNTP-server-open routine, or the one in NNTP?
350 +## INND is nicer, but you must install inn.conf files everywhere; NNTP
351 +## is better if you already have lots of /usr/lib/news/server files.
352 +## Pick INND or NNTP.
353 +#### =()<REM_STYLE @<REM_STYLE>@>()=
354 +REM_STYLE INND
355 +## Should rnews save articles that the server rejects? Pick DO or DONT.
356 +#### =()<RNEWS_SAVE_BAD @<RNEWS_SAVE_BAD>@>()=
357 +RNEWS_SAVE_BAD DO
358 +## Should rnews log articles innd already has? Pick SYSLOG, FILE, OR DONT.
359 +#### =()<RNEWS_LOG_DUPS @<RNEWS_LOG_DUPS>@>()=
360 +RNEWS_LOG_DUPS SYSLOG
361 +## Look in _PATH_RNEWSPROGS for rnews unpackers? Pick DO or DONT.
362 +#### =()<RNEWSPROGS @<RNEWSPROGS>@>()=
363 +RNEWSPROGS DO
364 +## Should rnews try the local host? Pick DO or DONT.
365 +#### =()<RNEWSLOCALCONNECT @<RNEWSLOCALCONNECT>@>()=
366 +RNEWSLOCALCONNECT DO
367 +## Environment variable that has remote hostname for rnews.
368 +#### =()<_ENV_UUCPHOST @<_ENV_UUCPHOST>@>()=
369 +_ENV_UUCPHOST UU_MACHINE
370 +## Require posts to have under 50% inclusion (">") lines? Pick DO OR DONT.
371 +## (This is only for inews and nnrpd.)
372 +#### =()<CHECK_INCLUDED_TEXT @<CHECK_INCLUDED_TEXT>@>()=
373 +CHECK_INCLUDED_TEXT DONT
374 +## Put hosts in the inews Path header? Pick DO or DONT.
375 +#### =()<INEWS_PATH @<INEWS_PATH>@>()=
376 +INEWS_PATH DONT
377 +## Munge the gecos field of password entry? Pick DO or DONT.
378 +#### =()<MUNGE_GECOS @<MUNGE_GECOS>@>()=
379 +MUNGE_GECOS DO
380 +## How many times to try to fork before giving up
381 +#### =()<MAX_FORKS @<MAX_FORKS>@>()=
382 +MAX_FORKS 10
383 +## Largest acceptable article size; 0 allows any size
384 +#### =()<MAX_ART_SIZE @<MAX_ART_SIZE>@>()=
385 +MAX_ART_SIZE 0L
386 +## Value of dbzincore(FLAG) call in innd. Pick 1 or 0.
387 +#### =()<INND_DBZINCORE @<INND_DBZINCORE>@>()=
388 +INND_DBZINCORE 1
389 +## Should sub-processes get a nice(2) value? Pick DO or DONT.
390 +#### =()<INND_NICE_KIDS @<INND_NICE_KIDS>@>()=
391 +INND_NICE_KIDS DO
392 +## Value for nice(2) call in innd.
393 +#### =()<INND_NICE_VALUE @<INND_NICE_VALUE>@>()=
394 +INND_NICE_VALUE 10
395 +## Null-terminated list of unknown commands to not log to syslog.
396 +## INND_QUIET_BADLIST "xstream", "xfoo", NULL
397 +#### =()<INND_QUIET_BADLIST @<INND_QUIET_BADLIST>@>()=
398 +INND_QUIET_BADLIST NULL
399 +## Null-terminated set of illegal distribution patterns for local postings.
400 +#### =()<BAD_DISTRIBS @<BAD_DISTRIBS>@>()=
401 +BAD_DISTRIBS "*.*",NULL
402 +## Verify that the poster is the person doing the cancel? Pick DO or DONT.
403 +## (Can't do this if cancel arrives before the article does, by the way,
404 +## in which case the early cancel will be ignored.)
405 +#### =()<VERIFY_CANCELS @<VERIFY_CANCELS>@>()=
406 +VERIFY_CANCELS DONT
407 +## Log "ctlinnd cancel" commands to syslog? Pick DO or DONT.
408 +#### =()<LOG_CANCEL_COMMANDS @<LOG_CANCEL_COMMANDS>@>()=
409 +LOG_CANCEL_COMMANDS DONT
410 +## File unknown "to.*" groups into the "to" newsgroup? Pick DO or DONT.
411 +#### =()<MERGE_TO_GROUPS @<MERGE_TO_GROUPS>@>()=
412 +MERGE_TO_GROUPS DONT
413 +## File articles in unknown newsgroups into junk? Pick DO or DONT.
414 +#### =()<WANT_TRASH @<WANT_TRASH>@>()=
415 +WANT_TRASH DO
416 +## Record rejected articles in history? Pick DO or DONT.
417 +#### =()<REMEMBER_TRASH @<REMEMBER_TRASH>@>()=
418 +REMEMBER_TRASH DO
419 +## Check the linecount against the Lines header? Pick DO or DONT.
420 +#### =()<CHECK_LINECOUNT @<CHECK_LINECOUNT>@>()=
421 +CHECK_LINECOUNT DONT
422 +## If checking, the error must be within LINECOUNT_FUZZ lines.
423 +## Five is number of .signature lines + 1.
424 +#### =()<LINECOUNT_FUZZ @<LINECOUNT_FUZZ>@>()=
425 +LINECOUNT_FUZZ 5
426 +## Have innd throttle itself after this many I/O errors.
427 +#### =()<IO_ERROR_COUNT @<IO_ERROR_COUNT>@>()=
428 +IO_ERROR_COUNT 50
429 +## Default value for ctlinnd -t flag; use 0 to wait and poll.
430 +#### =()<CTLINND_TIMEOUT @<CTLINND_TIMEOUT>@>()=
431 +CTLINND_TIMEOUT 0
432 +## Flush logs if we go this long with no I/O.
433 +#### =()<DEFAULT_TIMEOUT @<DEFAULT_TIMEOUT>@>()=
434 +DEFAULT_TIMEOUT 300
435 +## INND closes channel if inactive this long (seconds).
436 +#### =()<PEER_TIMEOUT @<PEER_TIMEOUT>@>()=
437 +PEER_TIMEOUT (1 * 60 * 60)
438 +## NNRP exits if first command doesn't arrive within this time (seconds).
439 +#### =()<INIT_CLIENT_TIMEOUT @<INIT_CLIENT_TIMEOUT>@>()=
440 +INIT_CLIENT_TIMEOUT 30
441 +## NNRP exits if inactive for this long (seconds).
442 +#### =()<CLIENT_TIMEOUT @<CLIENT_TIMEOUT>@>()=
443 +CLIENT_TIMEOUT (10 * 60)
444 +## Allow nnrpd readers when paused or throttled? Pick DO or DONT.
445 +#### =()<ALLOW_READERS @<ALLOW_READERS>@>()=
446 +ALLOW_READERS DO
447 +## Refuse newsreader connections if load is higher then this; -1 disables.
448 +#### =()<NNRP_LOADLIMIT @<NNRP_LOADLIMIT>@>()=
449 +NNRP_LOADLIMIT 10
450 +## Don't readdir() spool dir if same group within this many secs.
451 +#### =()<NNRP_RESCAN_DELAY @<NNRP_RESCAN_DELAY>@>()=
452 +NNRP_RESCAN_DELAY 60
453 +## Do gethostbyaddr on client adresses in nnrp? Pick DO or DONT.
454 +## (If DONT, then use only IP addresses in hosts.nnrp)
455 +#### =()<NNRP_GETHOSTBYADDR @<NNRP_GETHOSTBYADDR>@>()=
456 +NNRP_GETHOSTBYADDR DO
457 +## How many Message-ID retrievals until nnrpd does a dbzincore? Set
458 +## to -1 to never do incore.
459 +#### =()<NNRP_DBZINCORE_DELAY @<NNRP_DBZINCORE_DELAY>@>()=
460 +NNRP_DBZINCORE_DELAY -1
461 +## Strip Sender from posts that didn't authenticate? Pick DO or DONT.
462 +#### =()<NNRP_AUTH_SENDER @<NNRP_AUTH_SENDER>@>()=
463 +NNRP_AUTH_SENDER DONT
464 +## Do you want to make life easy for peers to pull feeds from you (it's
465 +## harder on your machine). Pick DO or DONT. With DONT, you get a small
466 +## sleep inserted before each ARTICLE command is processed. (With
467 +## apologies to the Australians in the audience).
468 +#### =()<LIKE_PULLERS @<LIKE_PULLERS>@>()=
469 +LIKE_PULLERS DO
470 +## Allow the NEWNEWS NNTP command? Pick DO or DONT.
471 +## (RFC 977 says you should; your server performance may not agree...)
472 +#### =()<ALLOW_NEWNEWS @<ALLOW_NEWNEWS>@>()=
473 +ALLOW_NEWNEWS DONT
474 +## How many read/write failures until channel is put to sleep or closed?
475 +#### =()<BAD_IO_COUNT @<BAD_IO_COUNT>@>()=
476 +BAD_IO_COUNT 5
477 +## Multiplier for sleep in EWOULDBLOCK writes (seconds).
478 +#### =()<BLOCK_BACKOFF @<BLOCK_BACKOFF>@>()=
479 +BLOCK_BACKOFF (2 * 60)
480 +## How many article-writes between active and history updates?
481 +#### =()<ICD_SYNC_COUNT @<ICD_SYNC_COUNT>@>()=
482 +ICD_SYNC_COUNT 10
483 +## Tell resolver _res.options to be fast? Pick DO or DONT.
484 +#### =()<FAST_RESOLV @<FAST_RESOLV>@>()=
485 +FAST_RESOLV DONT
486 +## Drop articles that were posted this many days ago.
487 +#### =()<DEFAULT_CUTOFF @<DEFAULT_CUTOFF>@>()=
488 +DEFAULT_CUTOFF 14
489 +## Maximum number of incoming NNTP connections.
490 +#### =()<DEFAULT_CONNECTIONS @<DEFAULT_CONNECTIONS>@>()=
491 +DEFAULT_CONNECTIONS 50
492 +## Wait this many seconds before channel restarts.
493 +#### =()<CHANNEL_RETRY_TIME @<CHANNEL_RETRY_TIME>@>()=
494 +CHANNEL_RETRY_TIME (5 * 60)
495 +## Wait this many seconds before seeing if pause is ended.
496 +#### =()<PAUSE_RETRY_TIME @<PAUSE_RETRY_TIME>@>()=
497 +PAUSE_RETRY_TIME (5 * 60)
498 +## Wait this many seconds between noticing inactive channels.
499 +#### =()<CHANNEL_INACTIVE_TIME @<CHANNEL_INACTIVE_TIME>@>()=
500 +CHANNEL_INACTIVE_TIME (10 * 60)
501 +## Put nntplink info (filename) into the log?
502 +#### =()<NNTPLINK_LOG @<NNTPLINK_LOG>@>()=
503 +NNTPLINK_LOG DONT
504 +## Put article size into the log?
505 +#### =()<LOG_SIZE @<LOG_SIZE>@>()=
506 +LOG_SIZE DO
507 +## Log by host IP address, rather than from Path line?
508 +#### =()<IPADDR_LOG @<IPADDR_LOG>@>()=
509 +IPADDR_LOG DONT
510 +## Support putting feeding IP address in Paths (/a, /t hosts.nntp options)
511 +#### =()<IPADDR_PATH @<IPADDR_PATH>@>()=
512 +IPADDR_PATH DO
513 +## Support logging TCP Ident info in Paths (/i hosts.nntp option, requires IPADDR_PATH)
514 +#### =()<TCPIDENT_PATH @<TCPIDENT_PATH>@>()=
515 +TCPIDENT_PATH DONT
516 +## How do you get the libident library? Probably -lident, blank if no ident
517 +#### =()<IDENT_LIB @<IDENT_LIB>@>()=
518 +IDENT_LIB
519 +## Log NNTP activity after this many articles.
520 +#### =()<NNTP_ACTIVITY_SYNC @<NNTP_ACTIVITY_SYNC>@>()=
521 +NNTP_ACTIVITY_SYNC 200
522 +## Free buffers bigger than this when we're done with them.
523 +#### =()<BIG_BUFFER @<BIG_BUFFER>@>()=
524 +BIG_BUFFER (2 * START_BUFF_SIZE)
525 +## A general small buffer.
526 +#### =()<SMBUF @<SMBUF>@>()=
527 +SMBUF 256
528 +## Buffer for a single article name.
529 +#### =()<MAXARTFNAME @<MAXARTFNAME>@>()=
530 +MAXARTFNAME 10
531 +## Buffer for a single pathname in the spool directory.
532 +#### =()<SPOOLNAMEBUFF @<SPOOLNAMEBUFF>@>()=
533 +SPOOLNAMEBUFF 512
534 +## Maximum size of a single header.
535 +#### =()<MAXHEADERSIZE @<MAXHEADERSIZE>@>()=
536 +MAXHEADERSIZE 1024
537 +## Byte limit on locally-posted articles; 0 to disable the check.
538 +#### =()<LOCAL_MAX_ARTSIZE @<LOCAL_MAX_ARTSIZE>@>()=
539 +LOCAL_MAX_ARTSIZE 2097152L
540 +## Default number of bytes to hold in memory when buffered.
541 +#### =()<SITE_BUFFER_SIZE @<SITE_BUFFER_SIZE>@>()=
542 +SITE_BUFFER_SIZE (16 * 1024)
543 +## Do you have uustat, or just uuq? Pick DO or DONT
544 +#### =()<HAVE_UUSTAT @<HAVE_UUSTAT>@>()=
545 +HAVE_UUSTAT DO
546 +## Should INN do some setsockopts on network connections. Pick DO or DONT.
547 +## Some versions of Solaris should set to DONT (pre 2.4 it seems)
548 +#### =()<SET_SOCKOPT @<SET_SOCKOPT>@>()=
549 +SET_SOCKOPT DO
550 +
551 +
552 +##
553 +## 7. PATHS TO COMMON PROGRAMS
554 +## Where the raison d'etre for this distribution lives.
555 +#### =()<_PATH_INND @<_PATH_INND>@>()=
556 +_PATH_INND /usr/sbin/innd
557 +## Where the optional front-end that exec's innd lives.
558 +#### =()<_PATH_INNDSTART @<_PATH_INNDSTART>@>()=
559 +_PATH_INNDSTART /usr/sbin/inndstart
560 +## Where news boot-up script should be installed.
561 +#### =()<_PATH_NEWSBOOT @<_PATH_NEWSBOOT>@>()=
562 +_PATH_NEWSBOOT /etc/news/boot
563 +## Where sendmail, or a look-alike, lives. Inlude %s for addresses.
564 +#### =()<_PATH_SENDMAIL @<_PATH_SENDMAIL>@>()=
565 +_PATH_SENDMAIL /usr/sbin/sendmail -oi %s
566 +## Where the shell is.
567 +#### =()<_PATH_SH @<_PATH_SH>@>()=
568 +_PATH_SH /bin/sh
569 +## Where the compress program lives.
570 +#### =()<_PATH_COMPRESS @<_PATH_COMPRESS>@>()=
571 +_PATH_COMPRESS /bin/gzip
572 +## What extension your compress appends
573 +#### =()<_PATH_COMPRESSEXT @<_PATH_COMPRESSEXT>@>()=
574 +_PATH_COMPRESSEXT .gz
575 +## Where egrep lives (you might need the FSF one; see scanlogs)
576 +#### =()<_PATH_EGREP @<_PATH_EGREP>@>()=
577 +_PATH_EGREP /bin/egrep
578 +## Where perl lives
579 +#### =()<_PATH_PERL @<_PATH_PERL>@>()=
580 +_PATH_PERL /usr/bin/perl
581 +## Where awk lives
582 +#### =()<_PATH_AWK @<_PATH_AWK>@>()=
583 +_PATH_AWK /usr/bin/awk
584 +## Where sed lives (you might need the FSF one)
585 +#### =()<_PATH_SED @<_PATH_SED>@>()=
586 +_PATH_SED /bin/sed
587 +## Where sort lives (you may want the FSF one).
588 +#### =()<_PATH_SORT @<_PATH_SORT>@>()=
589 +_PATH_SORT /usr/bin/sort
590 +## Where inews lives.
591 +#### =()<_PATH_INEWS @<_PATH_INEWS>@>()=
592 +_PATH_INEWS /usr/bin/inews
593 +## Where rnews lives.
594 +#### =()<_PATH_RNEWS @<_PATH_RNEWS>@>()=
595 +_PATH_RNEWS /usr/bin/rnews
596 +## Where generic authentication programs live.
597 +#### =()<_PATH_AUTHDIR @<_PATH_AUTHDIR>@>()=
598 +_PATH_AUTHDIR /usr/lib/news/auth.dir
599 +## Where the NNRP server lives.
600 +#### =()<_PATH_NNRPD @<_PATH_NNRPD>@>()=
601 +_PATH_NNRPD /usr/sbin/in.nnrpd
602 +## The path of the process run when an unknown host connects to innd.
603 +## Usually the same as _PATH_NNRPD, but may be, e.g., the path to
604 +## nntpd from the reference implementation.
605 +#### =()<_PATH_NNTPD @<_PATH_NNTPD>@>()=
606 +_PATH_NNTPD /usr/sbin/in.nnrpd
607 +## Where the NNQR server lives. Make same as _PATH_NNRPD for now
608 +#### =()<_PATH_NNQRD @<_PATH_NNRPD>@>()=
609 +_PATH_NNQRD /usr/sbin/in.nnrpd
610 +## Where most other programs live.
611 +## See also _PATH_RNEWSPROGS and _PATH_CONTROLPROGS, below.
612 +#### =()<_PATH_NEWSBIN @<_PATH_NEWSBIN>@>()=
613 +_PATH_NEWSBIN /usr/lib/news/bin
614 +## Where temporary files live on the server. Probably shouldn't be world
615 +## writable.
616 +#### =()<_PATH_TMP @<_PATH_TMP>@>()=
617 +_PATH_TMP /var/spool/news/in.coming/tmp
618 +## Command to send mail (with -s "subject" allowed)
619 +#### =()<_PATH_MAILCMD @<_PATH_MAILCMD>@>()=
620 +_PATH_MAILCMD /usr/bin/mail
621 +## Where scripts should have shlock create locks.
622 +#### =()<_PATH_LOCKS @<_PATH_LOCKS>@>()=
623 +_PATH_LOCKS /run/innd
624 +## Where your GNU gzip binary is (for rnews to run on gzipped batches).
625 +#### =()<_PATH_GZIP @<_PATH_GZIP>@>()=
626 +_PATH_GZIP /bin/gzip
627 +
628 +##
629 +## 8. PATHS RELATED TO THE SPOOL DIRECTORY
630 +## Spool directory, where articles live.
631 +#### =()<_PATH_SPOOL @<_PATH_SPOOL>@>()=
632 +_PATH_SPOOL /var/spool/news
633 +## Spool directory where overview data lives.
634 +#### =()<_PATH_OVERVIEWDIR @<_PATH_OVERVIEWDIR>@>()=
635 +_PATH_OVERVIEWDIR /var/spool/news/over.view
636 +## Name of overview file within its spool directory.
637 +#### =()<_PATH_OVERVIEW @<_PATH_OVERVIEW>@>()=
638 +_PATH_OVERVIEW .overview
639 +## Where rnews spools its input.
640 +#### =()<_PATH_SPOOLNEWS @<_PATH_SPOOLNEWS>@>()=
641 +_PATH_SPOOLNEWS /var/spool/news/in.coming
642 +## Where rnews creates temporary files until finished
643 +#### =()<_PATH_SPOOLTEMP @<_PATH_SPOOLTEMP>@>()=
644 +_PATH_SPOOLTEMP /var/spool/news/in.coming/tmp
645 +## Where rnews puts bad input.
646 +#### =()<_PATH_BADNEWS @<_PATH_BADNEWS>@>()=
647 +_PATH_BADNEWS /var/spool/news/in.coming/bad
648 +## Where rnews puts bad input, relative to _PATH_SPOOLNEWS.
649 +#### =()<_PATH_RELBAD @<_PATH_RELBAD>@>()=
650 +_PATH_RELBAD bad
651 +## Where the XBATCH command should put the batches. Normally same as
652 +## _PATH_SPOOLNEWS so that 'rnews -U' can find it.
653 +#### =()<_PATH_XBATCHES @<_PATH_XBATCHES>@>()=
654 +_PATH_XBATCHES /var/spool/news/in.coming
655 +
656 +
657 +##
658 +## 9. EXECUTION PATHS FOR INND AND RNEWS
659 +## Pathname where dups are logged if RNEWS_LOG_DUPS is FILE.
660 +#### =()<_PATH_RNEWS_DUP_LOG @<_PATH_RNEWS_DUP_LOG>@>()=
661 +_PATH_RNEWS_DUP_LOG /dev/null
662 +## Rnews may execute any program in this directory; see RNEWSPROGS.
663 +#### =()<_PATH_RNEWSPROGS @<_PATH_RNEWSPROGS>@>()=
664 +_PATH_RNEWSPROGS /usr/lib/news/rnews
665 +## Path to control messages scripts.
666 +#### =()<_PATH_CONTROLPROGS @<_PATH_CONTROLPROGS>@>()=
667 +_PATH_CONTROLPROGS /usr/lib/news/control
668 +## Default "unknown/illegal" control script, within _PATH_CONTROLPROGS.
669 +#### =()<_PATH_BADCONTROLPROG @<_PATH_BADCONTROLPROG>@>()=
670 +_PATH_BADCONTROLPROG default
671 +
672 +
673 +##
674 +## 10. SOCKETS CREATED BY INND OR CLIENTS
675 +#### =()<_PATH_INNDDIR @<_PATH_INNDDIR>@>()=
676 +_PATH_INNDDIR /run/innd
677 +## Unix-domain stream socket that rnews connects to.
678 +#### =()<_PATH_NNTPCONNECT @<_PATH_NNTPCONNECT>@>()=
679 +_PATH_NNTPCONNECT /run/innd/nntpin
680 +## Unix-domain datagram socket that ctlinnd to.
681 +#### =()<_PATH_NEWSCONTROL @<_PATH_NEWSCONTROL>@>()=
682 +_PATH_NEWSCONTROL /run/innd/control
683 +## Temporary socket created by ctlinnd; run through mktemp
684 +#### =()<_PATH_TEMPSOCK @<_PATH_TEMPSOCK>@>()=
685 +_PATH_TEMPSOCK /run/innd/ctlinndXXXXXX
686 +
687 +
688 +##
689 +## 11. LOG AND CONFIG FILES
690 +## Shell script that sets most of these as shell vars
691 +#### =()<_PATH_SHELLVARS @<_PATH_SHELLVARS>@>()=
692 +_PATH_SHELLVARS /usr/lib/news/innshellvars
693 +## Perl script that sets most of these as perl variables
694 +#### =()<_PATH_PERL_SHELLVARS @<_PATH_PERL_SHELLVARS>@>()=
695 +_PATH_PERL_SHELLVARS /usr/lib/news/innshellvars.pl
696 +## TCL script that sets most of these as tcl variables
697 +#### =()<_PATH_TCL_SHELLVARS @<_PATH_TCL_SHELLVARS>@>()=
698 +_PATH_TCL_SHELLVARS /usr/lib/news/innshellvars.tcl
699 +## csh script that sets most of these as csh variables
700 +#### =()<_PATH_CSH_SHELLVARS @<_PATH_CSH_SHELLVARS>@>()=
701 +_PATH_CSH_SHELLVARS /usr/lib/news/innshellvars.csh
702 +## Where most config and data files are usually stored; not required
703 +## to the home directory of NEWSUSER.
704 +#### =()<_PATH_NEWSLIB @<_PATH_NEWSLIB>@>()=
705 +_PATH_NEWSLIB /var/lib/news
706 +## The group owner of the rnews program. Usually uucp.
707 +#### =()<RNEWS_GROUP @<RNEWS_GROUP>@>()=
708 +RNEWS_GROUP news
709 +## The server's log file.
710 +#### =()<_PATH_LOGFILE @<_PATH_LOGFILE>@>()=
711 +_PATH_LOGFILE /var/log/news/log
712 +## The server's error log file.
713 +#### =()<_PATH_ERRLOG @<_PATH_ERRLOG>@>()=
714 +_PATH_ERRLOG /var/log/news/errlog
715 +## Where most sylog log files go; see also scanlogs, innstat, etc.
716 +#### =()<_PATH_MOST_LOGS @<_PATH_MOST_LOGS>@>()=
717 +_PATH_MOST_LOGS /var/log/news
718 +## How many generates of log files to keep.
719 +#### =()<LOG_CYCLES @<LOG_CYCLES>@>()=
720 +LOG_CYCLES 7
721 +## Text value of the server's pid.
722 +#### =()<_PATH_SERVERPID @<_PATH_SERVERPID>@>()=
723 +_PATH_SERVERPID /run/innd/innd.pid
724 +## The newsfeeds file, on the server host.
725 +#### =()<_PATH_NEWSFEEDS @<_PATH_NEWSFEEDS>@>()=
726 +_PATH_NEWSFEEDS /etc/news/newsfeeds
727 +## The article history database, on the server host.
728 +#### =()<_PATH_HISTORY @<_PATH_HISTORY>@>()=
729 +_PATH_HISTORY /var/lib/news/history
730 +## File listing the sites that feed us news.
731 +#### =()<_PATH_INNDHOSTS @<_PATH_INNDHOSTS>@>()=
732 +_PATH_INNDHOSTS /etc/news/hosts.nntp
733 +## The active file, on the server host.
734 +#### =()<_PATH_ACTIVE @<_PATH_ACTIVE>@>()=
735 +_PATH_ACTIVE /var/lib/news/active
736 +## A temporary active file, for writing on the server host.
737 +#### =()<_PATH_NEWACTIVE @<_PATH_NEWACTIVE>@>()=
738 +_PATH_NEWACTIVE /var/lib/news/active.tmp
739 +## An old active file on the server host.
740 +#### =()<_PATH_OLDACTIVE @<_PATH_OLDACTIVE>@>()=
741 +_PATH_OLDACTIVE /var/lib/news/active.old
742 +## The log of when groups are created.
743 +#### =()<_PATH_ACTIVETIMES @<_PATH_ACTIVETIMES>@>()=
744 +_PATH_ACTIVETIMES /var/lib/news/active.times
745 +## Where batch files are located.
746 +#### =()<_PATH_BATCHDIR @<_PATH_BATCHDIR>@>()=
747 +_PATH_BATCHDIR /var/spool/news/out.going
748 +## Where archives are kept.
749 +#### =()<_PATH_ARCHIVEDIR @<_PATH_ARCHIVEDIR>@>()=
750 +_PATH_ARCHIVEDIR /var/spool/news/news.archive
751 +## Where NNRP distributions file is
752 +#### =()<_PATH_NNRPDIST @<_PATH_NNRPDIST>@>()=
753 +_PATH_NNRPDIST /etc/news/distributions
754 +## Where the NNRP automatic subscriptions file is
755 +#### =()<_PATH_NNRPSUBS @<_PATH_NNRPSUBS>@>()=
756 +_PATH_NNRPSUBS /etc/news/subscriptions
757 +## Where the default Distribution assignments file is
758 +#### =()<_PATH_DISTPATS @<_PATH_DISTPATS>@>()=
759 +_PATH_DISTPATS /etc/news/distrib.pats
760 +#### =()<_PATH_NEWSGROUPS @<_PATH_NEWSGROUPS>@>()=
761 +_PATH_NEWSGROUPS /var/lib/news/newsgroups
762 +## File where client configuration parameters can be read.
763 +#### =()<_PATH_CONFIG @<_PATH_CONFIG>@>()=
764 +_PATH_CONFIG /etc/news/inn.conf
765 +## The possible active file, on clients (NFS-mounted, e.g.).
766 +#### =()<_PATH_CLIENTACTIVE @<_PATH_CLIENTACTIVE>@>()=
767 +_PATH_CLIENTACTIVE /var/lib/news/active
768 +## A temporary file, for client inews to use.
769 +#### =()<_PATH_TEMPACTIVE @<_PATH_TEMPACTIVE>@>()=
770 +_PATH_TEMPACTIVE /var/spool/news/in.coming/tmp/activeXXXXXX
771 +## Where to mail to the moderators.
772 +#### =()<_PATH_MODERATORS @<_PATH_MODERATORS>@>()=
773 +_PATH_MODERATORS /etc/news/moderators
774 +## A temporary file, for client inews to use.
775 +#### =()<_PATH_TEMPMODERATORS @<_PATH_TEMPMODERATORS>@>()=
776 +_PATH_TEMPMODERATORS /var/spool/news/in.coming/tmp/moderatorsXXXXXX
777 +## Where NNTP puts the name of the server.
778 +#### =()<_PATH_SERVER @<_PATH_SERVER>@>()=
779 +_PATH_SERVER /etc/news/server
780 +## File with name/password for all remote connections.
781 +#### =()<_PATH_NNTPPASS @<_PATH_NNTPPASS>@>()=
782 +_PATH_NNTPPASS /etc/news/passwd.nntp
783 +## NNRP access file.
784 +#### =()<_PATH_NNRPACCESS @<_PATH_NNRPACCESS>@>()=
785 +_PATH_NNRPACCESS /etc/news/nnrp.access
786 +## Default expire control file.
787 +#### =()<_PATH_EXPIRECTL @<_PATH_EXPIRECTL>@>()=
788 +_PATH_EXPIRECTL /etc/news/expire.ctl
789 +## Prolog to parse control scripts
790 +#### =()<_PATH_PARSECTL @<_PATH_PARSECTL>@>()=
791 +_PATH_PARSECTL /usr/lib/news/bin/parsecontrol
792 +## Access control file for control scripts.
793 +#### =()<_PATH_CONTROLCTL @<_PATH_CONTROLCTL>@>()=
794 +_PATH_CONTROLCTL /etc/news/control.ctl
795 +## Innwatch control file.
796 +#### =()<_PATH_CTLWATCH @<_PATH_CTLWATCH>@>()=
797 +_PATH_CTLWATCH /etc/news/innwatch.ctl
798 +## Where innwatch writes its own pid.
799 +#### =()<_PATH_WATCHPID @<_PATH_WATCHPID>@>()=
800 +_PATH_WATCHPID /run/innd/innwatch.pid
801 +## Where innwatch writes status when it gets an interrupt
802 +#### =()<_PATH_INNWSTATUS @<_PATH_INNWSTATUS>@>()=
803 +_PATH_INNWSTATUS /run/innd/innwatch.status
804 +## Format of news overview database
805 +#### =()<_PATH_SCHEMA @<_PATH_SCHEMA>@>()=
806 +_PATH_SCHEMA /etc/news/overview.fmt
807 +
808 +
809 +##
810 +## 12. INNWATCH CONFIGURATION
811 +## Load average (* 100) at which innd should be paused.
812 +#### =()<INNWATCH_PAUSELOAD @<INNWATCH_PAUSELOAD>@>()=
813 +INNWATCH_PAUSELOAD 1500
814 +## Load average (* 100) at which innd should be throttled.
815 +#### =()<INNWATCH_HILOAD @<INNWATCH_HILOAD>@>()=
816 +INNWATCH_HILOAD 2000
817 +## Load average (* 100) at which to restart innd (pause/throttle undone).
818 +#### =()<INNWATCH_LOLOAD @<INNWATCH_LOLOAD>@>()=
819 +INNWATCH_LOLOAD 1000
820 +## Space, in df output units, at which to throttle innd on _PATH_SPOOL
821 +## or _PATH_OVERVIEWDIR.
822 +#### =()<INNWATCH_SPOOLSPACE @<INNWATCH_SPOOLSPACE>@>()=
823 +INNWATCH_SPOOLSPACE 8000
824 +## Space, in df output units, at which to throttle innd on _PATH_BATCHDIR.
825 +#### =()<INNWATCH_BATCHSPACE @<INNWATCH_BATCHSPACE>@>()=
826 +INNWATCH_BATCHSPACE 800
827 +## Space, in df output units, at which to throttle innd on _PATH_NEWSLIB.
828 +#### =()<INNWATCH_LIBSPACE @<INNWATCH_LIBSPACE>@>()=
829 +INNWATCH_LIBSPACE 25000
830 +## Number of inodes at which to throttle innd on _PATH_SPOOL.
831 +#### =()<INNWATCH_SPOOLNODES @<INNWATCH_SPOOLNODES>@>()=
832 +INNWATCH_SPOOLNODES 200
833 +## How long to sleep between innwatch iterations.
834 +#### =()<INNWATCH_SLEEPTIME @<INNWATCH_SLEEPTIME>@>()=
835 +INNWATCH_SLEEPTIME 600
836 +## How inn (not just innwatch anymore) gets disk space usage
837 +## (SVR4 machine would probably use /usr/ucb/df)
838 +#### =()<INNWATCH_DF @<INNWATCH_DF>@>()=
839 +INNWATCH_DF /bin/df
840 +## Field number of INNWATCH_DF (with -i) output that gives free
841 +## inodes (starting at 1).
842 +#### =()<INNWATCH_INODES @<INNWATCH_INODES>@>()=
843 +INNWATCH_INODES 4
844 +## Field number of INNWATCH_DF output that gives the free block count.
845 +##### =()<INNWATCH_BLOCKS @<INNWATCH_BLOCKS>@>()=
846 +INNWATCH_BLOCKS 4
847 +
848 +
849 +
850 +##
851 +## 13. TCL Configuration
852 +## Do you want TCL support? Pick DO or DONT
853 +#### =()<TCL_SUPPORT @<TCL_SUPPORT>@>()=
854 +TCL_SUPPORT DONT
855 +## Where your tcl header file live. Blank if no TCL
856 +### =()<TCL_INC @<TCL_INC>@>()=
857 +TCL_INC
858 +# TCL_INC -I/usr/local/include
859 +
860 +## How do you get the TCL library? Probably -ltcl -lm, blank if no TCL
861 +#### =()<TCL_LIB @<TCL_LIB>@>()=
862 +TCL_LIB
863 +# TCL_LIB -ltcl -lm
864 +## TCL Startup File. Should probably be prefixed with the same value as
865 +## _PATH_CONTROLPROGS.
866 +#### =()<_PATH_TCL_STARTUP @<_PATH_TCL_STARTUP>@>()=
867 +_PATH_TCL_STARTUP /etc/news/scripts/startup.tcl
868 +## TCL Filter File. Should probably be prefixed with the same value as
869 +## _PATH_CONTROLPROGS.
870 +#### =()<_PATH_TCL_FILTER @<_PATH_TCL_FILTER>@>()=
871 +_PATH_TCL_FILTER /etc/news/scripts/filter.tcl
872 +
873 +
874 +##
875 +## 14. PGP Configuration
876 +##
877 +
878 +## Do you want PGP verification of control messages? Pick DO or DONT
879 +## If you change this then you need to fiddle with control.ctl.
880 +## Setting it DONT is a really bad idea with all the miscreants out there...
881 +#### =()<WANT_PGPVERIFY @<WANT_PGPVERIFY>@>()=
882 +WANT_PGPVERIFY DO
883 +## PGP binary.
884 +#### =()<_PATH_PGP @<_PATH_PGP>@>()=
885 +_PATH_PGP /usr/bin/pgp
886 +
887 +##
888 +## 15. Local Configuration
889 +##
890 +
891 +## Home of the NEWSUSER
892 +#### =()<_PATH_NEWSHOME @<_PATH_NEWSHOME>@>()=
893 +_PATH_NEWSHOME /usr/lib/news
894 +
895 +
896 +##
897 +## 16. Actsync Configuration.
898 +##
899 +
900 +## Host to synchoronize active file with (see actsync and actsyncd manpages).
901 +#### =()<ACTSYNC_HOST @<ACTSYNC_HOST>@>()=
902 +ACTSYNC_HOST news.foo.bar.com
903 +## Flags actsyncd is to pass to actsync.
904 +#### =()<ACTSYNC_FLAGS @<ACTSYNC_FLAGS>@>()=
905 +ACTSYNC_FLAGS -v 2 -q 2 -b 0 -d 0 -g 7 -s 79 -t 2
906 +## Actsyncd config file.
907 +#### =()<_PATH_ACTSYNC_CFG @<_PATH_ACTSYNC_CFG>@>()=
908 +_PATH_ACTSYNC_CFG /etc/news/actsync.cfg
909 +## Actsyncd ignore file.
910 +#### =()<_PATH_ACTSYNC_IGN @<_PATH_ACTSYNC_IGN>@>()=
911 +_PATH_ACTSYNC_IGN /etc/news/actsync.ign
912 +
913 +
914 +
915 +## 17. Perl Configuration
916 +## Do you want Perl support? Pick DO or DONT
917 +#### =()<PERL_SUPPORT @<PERL_SUPPORT>@>()=
918 +PERL_SUPPORT DO
919 +## How do you get the PERL libraries? Probably -lperl -lm, blank if no PERL
920 +#### =()<PERL_LIB @<PERL_LIB>@>()=
921 +PERL_LIB PERL_LDOPTS
922 +## Core directory (includes, libs). See perlembed(1)
923 +#### =()<PERL_INC @<PERL_INC>@>()=
924 +PERL_INC PERL_CCOPTS
925 +## Perl Filter Files. Should probably be prefixed with the same value as
926 +## _PATH_CONTROLPROGS.
927 +#### =()<_PATH_PERL_STARTUP_INND @<_PATH_PERL_STARTUP_INND>@>()=
928 +_PATH_PERL_STARTUP_INND /etc/news/scripts/startup_innd.pl
929 +#### =()<_PATH_PERL_FILTER_INND @<_PATH_PERL_FILTER_INND>@>()=
930 +_PATH_PERL_FILTER_INND /etc/news/scripts/filter_innd.pl
931 +#### =()<_PATH_PERL_FILTER_NNRPD @<_PATH_PERL_FILTER_NNRPD>@>()=
932 +_PATH_PERL_FILTER_NNRPD /etc/news/scripts/filter_nnrpd.pl
933 +
934 +
935 +## 18. actived configuration
936 +## Where do you want actived installed?
937 +#### =()<_PATH_ACTIVED @<_PATH_ACTIVED>@>()=
938 +_PATH_ACTIVED /usr/lib/news/bin/actived
939 +## Where should actived put its pid file?
940 +#### =()<_PATH_ACTIVEDPID @<_PATH_ACTIVEDPID>@>()=
941 +_PATH_ACTIVEDPID /run/innd/actived.pid
942 +
943 --- /dev/null
944 +++ b/extra/perl-ccopts
945 @@ -0,0 +1,19 @@
946 +#!/usr/bin/perl
947 +
948 +use warnings;
949 +use strict;
950 +use ExtUtils::Embed;
951 +
952 +my @remove = qw(
953 + -I/usr/local/\S+
954 + -pipe
955 + -D_REENTRANT
956 + -D_LARGEFILE_SOURCE
957 + -D_FILE_OFFSET_BITS=64
958 + -fstack-protector
959 +);
960 +
961 +my $opts = ccopts;
962 +$opts =~ s/$_\s+// foreach @remove;
963 +print $opts;
964 +
965 --- /dev/null
966 +++ b/extra/perl-ldopts
967 @@ -0,0 +1,19 @@
968 +#!/usr/bin/perl
969 +
970 +use warnings;
971 +use strict;
972 +use ExtUtils::Embed;
973 +
974 +my @remove = qw(
975 + -L/usr/local/\S+
976 + -lc
977 + -lm
978 + -lcrypt
979 + -ldl
980 + -fstack-protector
981 +);
982 +
983 +my $opts = ldopts;
984 +$opts =~ s/$_\s+// foreach @remove;
985 +print $opts;
986 +