Sumarry: News...

From: Alejandro Arturo Barrera Sanchez (Zor) <"Alejandro>
Date: Tue, 12 Nov 1996 16:42:59 -0600 (CST)

        I make an attachment of the problem.

                                 /////
                                   ( o o )
+------------------------oOO--(_)--OOo---------------------------------+
|Alejandro Arturo Barrera Sanchez (Zor) |
|Universidad La Salle Sistemas Academicos abs_at_osfulsa.ulsa.mx |
|Tel:728-0500 ext. 2070 abs_at_Bermellon.ulsa.mx |
|http://Bermellon.ulsa.mx |
+----------------------------------------------------------------------+


Thanks to all whose response i made the change that the FAQ talk about,
also made tha change of type in those files:

I also had to make the following changes:
   - In innd/rc.c, lib/remopen.c, backends/rcompress.c, and
include/clibrary.h, had to change all inet_addr references from
"unsigned long" to "unsigned int".
   - In innd/rc.c, had to change "extern unsigned long htonl();" to
"extern unsigned int htonl();"
   - In lib/makellib.sh, had to change "exec lint ${FLAGS} -u -v -x -o
inn $* >/dev/null" to "exec lint ${FLAGS} -u -v -x -oinn $* >/dev/null"
(i.e. remove space between "-o" and "inn")

My original post:

From: Alejandro Arturo Barrera Sanchez <abs_at_osfulsa.ulsa.mx>
To: Lista de OSF <alpha-osf-managers_at_ornl.gov>
Subject: News...

        I've tried to install inn1.4sec in my Alpha Server 2000, running
OSF 3.2c; i've tried with the dec cc, and gcc, and it gives me an error of
compilation with the wait.h include.
        Any sugestion will be apreciate...

TIA.

PD. Do you know about a new version of inn.

Also i include all the responses:


From: Shari Skinner <skinner_at_ibgzko.zko.dec.com>
To: abs_at_osfulsa.ulsa.mx
Subject: RE: News...

Hola Alejandro,

>From the FAQ:
----------------------------------------------------------
Subject: (9.5) DEC Alpha with OSF/1 v3.2

##FROM: Chantelle Keller <ckeller_at_ithaca.edu>
##DIFF:

CFLAGS $(DEFS) -g3 -O2
PROF -p
LDFLAGS -g -O2
LINTLIBSTYLE SYSV
LINTFLAGS -b -u -x -wkD $(DEFS)
LINTFILTER | sed -n -f ../sedf.sysv
SIZE_T unsigned long
POINTER void
USE_UNION_WAIT DONT
ALARMVAL unsigned int
SLEEPVAL unsigned int
QSORTVAL void
LSEEKVAL off_t
FREEVAL void
_EXITVAL void
_PATH_COMPRESS /usr/bin/compress
_PATH_EGREP /usr/bin/egrep
_PATH_AWK /usr/bin/awk
_PATH_SED /usr/bin/sed
_PATH_MAILCMD /usr/bin/Mail

##OS: DEC Alpha with OSF/1 v3.2

##COMPILER: standard Digital-supplied cc compiler

##MISC:

I also had to make the following changes:
   - In innd/rc.c, lib/remopen.c, backends/rcompress.c, and
include/clibrary.h, had to change all inet_addr references from
"unsigned long" to "unsigned int".
   - In innd/rc.c, had to change "extern unsigned long htonl();" to
"extern unsigned int htonl();"
   - In lib/makellib.sh, had to change "exec lint ${FLAGS} -u -v -x -o
inn $* >/dev/null" to "exec lint ${FLAGS} -u -v -x -oinn $* >/dev/null"
(i.e. remove space between "-o" and "inn")
----------------------------------------------------------------------

I'll also attached a config.data that we use.

Hope this helps.

Shari Skinner
----------------------------------------------------------------------

## $Revision: 1.2 $
##
## InterNetNews configuration file.
## Note that if you leave a field blank, you must have the trailing tab!
##


##
## 1. MAKE CONFIG PARAMETERS
## Where the DBZ sources are, from C News. INN has a (maybe old) copy.
#### =()<DBZDIR _at_<DBZDIR>_at_>()=
DBZDIR ../dbz
## If you have a parallel make, set this to "&"
#### =()<P _at_<P>_at_>()=
P
## C pre-processor flags
#### =()<DEFS @<DEFS>@>()=
DEFS -I../include -I/usr/local/include
## C compiler
#### =()<CC _at_<CC>@>()=
CC cc
## Does your compiler properly do "char const *"? Pick DO DONT or DUNNO
#### =()<USE_CHAR_CONST _at_<USE_CHAR_CONST>_at_>()=
USE_CHAR_CONST DONT
## C compiler flags
#### =()<CFLAGS _at_<CFLAGS>_at_>()=
CFLAGS $(DEFS) -g
## C compiler flags to use when compiling dbz
#### =()<DBZCFLAGS _at_<DBZCFLAGS>@>()=
DBZCFLAGS $(CFLAGS)
## What flags to use if profiling; -p or -pg, e.g.
#### =()<PROF @<PROF>@>()=
PROF -pg
## Flags for the "cc -o" line; e.g., -Bstatic on SunOS4.x while debugging.
#### =()<LDFLAGS @<LDFLAGS>@>()=
LDFLAGS -g
## If you use the standard NNTP way of connecting, where is the library?
#### =()<NNTPLIB _at_<NNTPLIB>@>()=
NNTPLIB
## If you need to link in other libraries, add them here
#### =()<LIBS @<LIBS>@>()=
LIBS
## How to make a lint library; pick BSD, SYSV, or NONE.
#### =()<LINTLIBSTYLE @<LINTLIBSTYLE>@>()=
LINTLIBSTYLE NONE
## Flags for lint. AIX wants "-wkD"; it and others don't want "-z".
#### =()<LINTFLAGS @<LINTFLAGS>@>()=
LINTFLAGS -b -h -x $(DEFS)
## Some lints insist on putting out the filename and other crap.
## Possible values:
## LINTFILTER | sed -n -f ../sedf.aix
## LINTFILTER | sed -n -f ../sedf.osx
## LINTFILTER | sed -n -f ../sedf.sun
## LINTFILTER | sed -n -f ../sedf.sysv
## LINTFILTER
#### =()<LINTFILTER @<LINTFILTER>@>()=
LINTFILTER | sed -n -f ../sedf.sun
## How to install manpages; pick SOURCE, NROFF-PACK, NROFF-PACK-SCO, or NONE.
#### =()<MANPAGESTYLE _at_<MANPAGESTYLE>@>()=
MANPAGESTYLE SOURCE
## Where various manpages should go
#### =()<MAN1 _at_<MAN1>@>()=
MAN1 /usr/man/man1
#### =()<MAN3 @<MAN3>@>()=
MAN3 /usr/man/man3
#### =()<MAN5 @<MAN5>@>()=
MAN5 /usr/man/man4
#### =()<MAN8 _at_<MAN8>_at_>()=
MAN8 /usr/man/man8
## Ranlib command. Use echo if you don't need ranlib.
#### =()<RANLIB _at_<RANLIB>@>()=
RANLIB ranlib
## YACC (yet another config control?)
#### =()<YACC _at_<YACC>_at_>()=
YACC yacc
## Ctags command. Use echo if you don't have ctags.
#### =()<CTAGS @<CTAGS>@>()=
CTAGS ctags -t -w


##
## 2. LOGGING LEVELS
## Facility innd should log under.
#### =()<LOG_INN_SERVER _at_<LOG_INN_SERVER>@>()=
LOG_INN_SERVER LOG_NEWS
## Facility all other programs should log under.
#### =()<LOG_INN_PROG _at_<LOG_INN_PROG>_at_>()=
LOG_INN_PROG LOG_NEWS
## Flags to use in opening the logs; some programs add LOG_PID.
#### =()<L_OPENLOG_FLAGS _at_<L_OPENLOG_FLAGS>@>()=
L_OPENLOG_FLAGS (LOG_CONS | LOG_NDELAY)
## Log a fatal error; program is about to exit.
#### =()<L_FATAL _at_<L_FATAL>_at_>()=
L_FATAL LOG_CRIT
## Log an error that might mean one or more articles get lost.
#### =()<L_ERROR _at_<L_ERROR>_at_>()=
L_ERROR LOG_ERR
## Informational notice, usually not worth caring about.
#### =()<L_NOTICE _at_<L_NOTICE>@>()=
L_NOTICE LOG_WARNING
## A protocol trace.
#### =()<L_TRACE _at_<L_TRACE>@>()=
L_TRACE LOG_DEBUG
## All incoming control commands (ctlinnd, etc).
#### =()<L_CC_CMD @<L_CC_CMD>@>()=
L_CC_CMD LOG_INFO


##
## 3. OWNERSHIPS AND FILE MODES
## Owner of articles and directories and _PATH_INNDDIR
#### =()<NEWSUSER _at_<NEWSUSER>_at_>()=
NEWSUSER news
## Group, for same purpose
#### =()<NEWSGROUP _at_<NEWSGROUP>_at_>()=
NEWSGROUP news
## Who gets email about control messages? (Usually same as NEWSUSER)
#### =()<NEWSMASTER @<NEWSMASTER>@>()=
NEWSMASTER locker
## Who gets email on the Path line?
#### =()<PATHMASTER _at_<PATHMASTER>_at_>()=
PATHMASTER not-for-mail
## Umask to set.
#### =()<NEWSUMASK _at_<NEWSUMASK>_at_>()=
NEWSUMASK 02
## Mode that incoming articles are created under.
#### =()<ARTFILE_MODE _at_<ARTFILE_MODE>@>()=
ARTFILE_MODE 0664
## Mode that batch files are created under.
#### =()<BATCHFILE_MODE @<BATCHFILE_MODE>@>()=
BATCHFILE_MODE 0664
## Mode that directories are created under.
#### =()<GROUPDIR_MODE @<GROUPDIR_MODE>@>()=
GROUPDIR_MODE 0775


##
## 4. C LIBRARY DIFFERENCES
## Use stdargs, varargs, or neither? Pick VARARGS STDARGS or NONE.
## You need vfprintf and vfsprintf if not NONE.
#### =()<VAR_STYLE _at_<VAR_STYLE>@>()=
VAR_STYLE STDARGS
## If you don't have <string.h>, set this to "mystring.h"
#### =()<STR_HEADER _at_<STR_HEADER>_at_>()=
STR_HEADER <string.h>
## If you don't have <memory.h>, set this to "mymemory.h"
#### =()<MEM_HEADER @<MEM_HEADER>@>()=
MEM_HEADER <memory.h>
## What is a file offset? Usually long or off_t. *Must be long for now!*
#### =()<OFFSET_T _at_<OFFSET_T>_at_>()=
OFFSET_T long
## What is the type of an object size? Usually size_t or unsigned int.
#### =()<SIZE_T @<SIZE_T>@>()=
SIZE_T size_t
## What is the type of a passwd uid and gid, for use in chown(2)?
#### =()<UID_T _at_<UID_T>@>()=
UID_T uid_t
#### =()<GID_T @<GID_T>@>()=
GID_T gid_t
## Type of a pid, for use in kill(2).
#### =()<PID_T _at_<PID_T>@>()=
PID_T pid_t
## Generic pointer, used by memcpy, malloc, etc. Usually char or void.
#### =()<POINTER _at_<POINTER>_at_>()=
POINTER void
## Worst-case alignment, in order to shut lint up
#### =()<ALIGNPTR @<ALIGNPTR>@>()=
ALIGNPTR long
## What should a signal handler return? Usually int or void.
#### =()<SIGHANDLER _at_<SIGHANDLER>_at_>()=
SIGHANDLER void
## Type of variables can be modified in a signal handler? sig_atomic_t
#### =()<SIGVAR _at_<SIGVAR>_at_>()=
SIGVAR sig_atomic_t
## Function that returns no value, and a pointer to it. Pick int or void
#### =()<FUNCTYPE _at_<FUNCTYPE>_at_>()=
FUNCTYPE void
## Use BSD4.2 or Posix directory names? Pick DIRENT or DIRECT.
#### =()<DIR_STYLE @<DIR_STYLE>@>()=
DIR_STYLE DIRENT
## Use flock, lockf, or nothing to lock files?
## Pick FLOCK, LOCKF, FCNTL, or NONE
#### =()<LOCK_STYLE @<LOCK_STYLE>@>()=
LOCK_STYLE FLOCK
## Do you have <unistd.h>? Pick DO or DONT
#### =()<HAVE_UNISTD _at_<HAVE_UNISTD>@>()=
HAVE_UNISTD DO
## Do you have setbuffer? Pick DO or DONT.
#### =()<HAVE_SETBUFFER @<HAVE_SETBUFFER>@>()=
HAVE_SETBUFFER DO
## Do you have gettimeofday? Pick DO or DONT.
#### =()<HAVE_GETTIMEOFDAY _at_<HAVE_GETTIMEOFDAY>@>()=
HAVE_GETTIMEOFDAY DO
## Do you have fchmod? Pick DO or DONT.
#### =()<HAVE_FCHMOD @<HAVE_FCHMOD>@>()=
HAVE_FCHMOD DO
## Do you have setsid()? Pick DO or DONT.
#### =()<HAVE_SETSID _at_<HAVE_SETSID>_at_>()=
HAVE_SETSID DO
## Does your (struct tm) have a tm_gmtoff field? Pick DO or DONT.
#### =()<HAVE_TM_GMTOFF _at_<HAVE_TM_GMTOFF>_at_>()=
HAVE_TM_GMTOFF DO
## Does your (struct stat) have a st_blksize field? Pick DO or DONT.
#### =()<HAVE_ST_BLKSIZE _at_<HAVE_ST_BLKSIZE>@>()=
HAVE_ST_BLKSIZE DO
## Use waitpid instead of wait3? Pick DO or DONT.
#### =()<HAVE_WAITPID @<HAVE_WAITPID>@>()=
HAVE_WAITPID DO
## Use "union wait" instead of int? Pick DO or DONT.
#### =()<USE_UNION_WAIT @<USE_UNION_WAIT>@>()=
USE_UNION_WAIT DONT
## How to fork? Pick fork or vfork.
#### =()<FORK _at_<FORK>_at_>()=
FORK vfork
## Do you have <vfork.h>? Pick DO or DONT.
#### =()<HAVE_VFORK _at_<HAVE_VFORK>_at_>()=
HAVE_VFORK DONT
## Do you have symbolic links? Pick DO or DONT.
#### =()<HAVE_SYMLINK @<HAVE_SYMLINK>@>()=
HAVE_SYMLINK DO
## Do you have Unix-domain sockets? Pick DO or DONT.
#### =()<HAVE_UNIX_DOMAIN _at_<HAVE_UNIX_DOMAIN>@>()=
HAVE_UNIX_DOMAIN DO
## Does your AF_UNIX bind use sizeof for the socket size? Pick DO or DONT.
#### =()<BIND_USE_SIZEOF @<BIND_USE_SIZEOF>@>()=
BIND_USE_SIZEOF DO
## How should close-on-exec be done? Pick IOCTL or FCNTL.
#### =()<CLX_STYLE _at_<CLX_STYLE>@>()=
CLX_STYLE FCNTL
## How should non-blocking I/O be done? Pick IOCTL or FCNTL.
#### =()<NBIO_STYLE _at_<NBIO_STYLE>_at_>()=
NBIO_STYLE FCNTL
## How should resource-totalling be done? Pick RUSAGE or TIMES
#### =()<RES_STYLE @<RES_STYLE>@>()=
RES_STYLE TIMES
## How to get number of available descriptors?
## Pick GETDTAB, GETRLIMIT, SYSCONF, ULIMIT, or CONSTANT.
#### =()<FDCOUNT_STYLE @<FDCOUNT_STYLE>@>()=
FDCOUNT_STYLE GETDTAB
## If greater than -1, then use [gs]etrlimit to set that many descriptors.
## If -1, then no [gs]etrlimit calls are done.
#### =()<NOFILE_LIMIT _at_<NOFILE_LIMIT>_at_>()=
NOFILE_LIMIT -1
## Do you need <time.h> as well as <sys/time.h>? Pick DO or DONT.
#### =()<NEED_TIME @<NEED_TIME>@>()=
NEED_TIME DONT
## What predicate, if any, the <ctype.h> macros need
#### =()<CTYPE _at_<CTYPE>_at_>()=
CTYPE (isascii((c)) && isXXXXX((c)))
#CTYPE ((c) > 0 && isXXXXX((c)))
#CTYPE isXXXXX((c))
## What's the return type of abort? Usually int or void.
#### =()<ABORTVAL @<ABORTVAL>@>()=
ABORTVAL int
## What's the return type of alarm? Usually int or unsigned int.
#### =()<ALARMVAL _at_<ALARMVAL>@>()=
ALARMVAL unsigned int
## What's the return type of getpid? Usually int or unsigned int.
#### =()<GETPIDVAL _at_<GETPIDVAL>_at_>()=
GETPIDVAL pid_t
## What's the return type of sleep? Usually int or unsigned int.
#### =()<SLEEPVAL _at_<SLEEPVAL>_at_>()=
SLEEPVAL unsigned int
## What's the return type of qsort? Usually int or void.
#### =()<QSORTVAL @<QSORTVAL>@>()=
QSORTVAL void
## What's the return type of lseek? Usually long or off_t.
#### =()<LSEEKVAL _at_<LSEEKVAL>_at_>()=
LSEEKVAL off_t
## What's the return type of free? Usually int or void.
#### =()<FREEVAL @<FREEVAL>@>()=
FREEVAL void
## What's the return type of exit? Usually int or void.
## (For gcc (not pedantic ANSI) use "volatile void" in EXITVAL and _EXITVAL.)
#### =()<EXITVAL _at_<EXITVAL>_at_>()=
EXITVAL void
## What's the return type of _exit? Usually int or void.
#### =()<_EXITVAL _at_<_EXITVAL>@>()=
_EXITVAL void


##
## 5. C LIBRARY OMISSIONS
## Possible values:
## MISSING_MAN strcasecmp.3 syslog.3
## MISSING_SRC strcasecmp.c syslog.c strerror.c getdtab.c
## MISSING_OBJ strcasecmp.o syslog.o strerror.o getdtab.c
## getdtab has a getdtablesize() routine if you need it; see the lib
## directory and Install.ms for others.
## OSx systems should add $(OSXATTOBJ) to MISSING_OBJ.
#### =()<MISSING_MAN _at_<MISSING_MAN>@>()=
MISSING_MAN
#### =()<MISSING_SRC @<MISSING_SRC>@>()=
MISSING_SRC
#### =()<MISSING_OBJ @<MISSING_OBJ>@>()=
MISSING_OBJ


##
## 6. MISCELLANEOUS CONFIG DATA
## Use read/write to update the active file, or mmap? Pick READ or MMAP.
#### =()<ACT_STYLE @<ACT_STYLE>@>()=
ACT_STYLE MMAP
## Do clients use our NNTP-server-open routine, or the one in NNTP?
## INND is nicer, but you must install inn.conf files everywhere; NNTP
## is better if you already have lots of /usr/lib/news/server files.
## Pick INND or NNTP.
#### =()<REM_STYLE _at_<REM_STYLE>@>()=
REM_STYLE NNTP
## Should rnews save articles that the server rejects? Pick DO or DONT.
#### =()<RNEWS_SAVE_BAD _at_<RNEWS_SAVE_BAD>@>()=
RNEWS_SAVE_BAD DONT
## Should rnews log articles innd already has? Pick SYSLOG, FILE, OR DONT.
#### =()<RNEWS_LOG_DUPS @<RNEWS_LOG_DUPS>@>()=
RNEWS_LOG_DUPS DONT
## Look in _PATH_RNEWSPROGS for rnews unpackers? Pick DO or DONT.
#### =()<RNEWSPROGS @<RNEWSPROGS>@>()=
RNEWSPROGS DO
## Should rnews try the local host? Pick DO or DONT.
#### =()<RNEWSLOCALCONNECT _at_<RNEWSLOCALCONNECT>@>()=
RNEWSLOCALCONNECT DO
## Environment variable that has remote hostname for rnews.
#### =()<_ENV_UUCPHOST _at_<_ENV_UUCPHOST>@>()=
_ENV_UUCPHOST UU_MACHINE
## Require posts to have under 50% inclusion (">") lines? Pick DO OR DONT.
## (This is only for inews and nnrpd.)
#### =()<CHECK_INCLUDED_TEXT @<CHECK_INCLUDED_TEXT>@>()=
CHECK_INCLUDED_TEXT DO
## Put hosts in the inews Path header? Pick DO or DONT.
#### =()<INEWS_PATH @<INEWS_PATH>@>()=
INEWS_PATH DO
## Munge the gecos field of password entry? Pick DO or DONT.
#### =()<MUNGE_GECOS _at_<MUNGE_GECOS>@>()=
MUNGE_GECOS DO
## How many times to try to fork before giving up
#### =()<MAX_FORKS @<MAX_FORKS>@>()=
MAX_FORKS 10
## Largest acceptable article size; 0 allows any size
#### =()<MAX_ART_SIZE _at_<MAX_ART_SIZE>@>()=
MAX_ART_SIZE 1000000
## Value of dbzincore(FLAG) call in innd. Pick 1 or 0.
#### =()<INND_DBZINCORE _at_<INND_DBZINCORE>@>()=
INND_DBZINCORE 1
## Should sub-processes get a nice(2) value? Pick DO or DONT.
#### =()<INND_NICE_KIDS _at_<INND_NICE_KIDS>@>()=
INND_NICE_KIDS DONT
## Value for nice(2) call in innd.
#### =()<INND_NICE_VALUE @<INND_NICE_VALUE>@>()=
INND_NICE_VALUE 10
## Null-terminated list of unknown commands to not log to syslog.
## INND_QUIET_BADLIST "xstream", "xfoo", NULL
#### =()<INND_QUIET_BADLIST @<INND_QUIET_BADLIST>@>()=
INND_QUIET_BADLIST NULL
## Null-terminated set of illegal distribution patterns for local postings.
#### =()<BAD_DISTRIBS _at_<BAD_DISTRIBS>@>()=
BAD_DISTRIBS "*.*",NULL
## Verify that the poster is the person doing the cancel? Pick DO or DONT.
#### =()<VERIFY_CANCELS @<VERIFY_CANCELS>@>()=
VERIFY_CANCELS DO
## Log "ctlinnd cancel" commands to syslog? Pick DO or DONT.
#### =()<LOG_CANCEL_COMMANDS @<LOG_CANCEL_COMMANDS>@>()=
LOG_CANCEL_COMMANDS DO
## File unknown "to.*" groups into the "to" newsgroup? Pick DO or DONT.
#### =()<MERGE_TO_GROUPS @<MERGE_TO_GROUPS>@>()=
MERGE_TO_GROUPS DONT
## File articles in unknown newsgroups into junk? Pick DO or DONT.
#### =()<WANT_TRASH _at_<WANT_TRASH>_at_>()=
WANT_TRASH DO
## Record rejected articles in history? Pick DO or DONT.
#### =()<REMEMBER_TRASH @<REMEMBER_TRASH>@>()=
REMEMBER_TRASH DO
## Check the linecount against the Lines header? Pick DO or DONT.
#### =()<CHECK_LINECOUNT @<CHECK_LINECOUNT>@>()=
CHECK_LINECOUNT DONT
## If checking, the error must be within LINECOUNT_FUZZ lines.
## Five is number of .signature lines + 1.
#### =()<LINECOUNT_FUZZ @<LINECOUNT_FUZZ>@>()=
LINECOUNT_FUZZ 5
## Have innd throttle itself after this many I/O errors.
#### =()<IO_ERROR_COUNT @<IO_ERROR_COUNT>@>()=
IO_ERROR_COUNT 50
## Default value for ctlinnd -t flag; use 0 to wait and poll.
#### =()<CTLINND_TIMEOUT @<CTLINND_TIMEOUT>@>()=
CTLINND_TIMEOUT 0
## Flush logs if we go this long with no I/O.
#### =()<DEFAULT_TIMEOUT _at_<DEFAULT_TIMEOUT>@>()=
DEFAULT_TIMEOUT 300
## INND closes channel if inactive this long (seconds).
#### =()<PEER_TIMEOUT _at_<PEER_TIMEOUT>@>()=
PEER_TIMEOUT (1 * 60 * 60)
## NNRP exits if inactive this long (seconds).
#### =()<CLIENT_TIMEOUT @<CLIENT_TIMEOUT>@>()=
CLIENT_TIMEOUT (2 * 60 * 60)
## Allow nnrpd readers when paused or throttled? Pick DO or DONT.
#### =()<ALLOW_READERS _at_<ALLOW_READERS>@>()=
ALLOW_READERS DO
## Refuse newsreader connections if load is higher then this; -1 disables.
#### =()<NNRP_LOADLIMIT _at_<NNRP_LOADLIMIT>@>()=
NNRP_LOADLIMIT 16
## Don't readdir() spool dir if same group within this many secs.
#### =()<NNRP_RESCAN_DELAY @<NNRP_RESCAN_DELAY>@>()=
NNRP_RESCAN_DELAY 60
## Do gethostbyaddr on client adresses in nnrp? Pick DO or DONT.
## (If DONT, then use only IP addresses in hosts.nnrp)
#### =()<NNRP_GETHOSTBYADDR _at_<NNRP_GETHOSTBYADDR>@>()=
NNRP_GETHOSTBYADDR DO
## How many Message-ID retrievals until nnrpd does a dbzincore? Set
## to -1 to never do incore.
#### =()<NNRP_DBZINCORE_DELAY _at_<NNRP_DBZINCORE_DELAY>@>()=
NNRP_DBZINCORE_DELAY 40
## Strip Sender from posts that didn't authenticate? Pick DO or DONT.
#### =()<NNRP_AUTH_SENDER @<NNRP_AUTH_SENDER>@>()=
NNRP_AUTH_SENDER DONT
## How many read/write failures until channel is put to sleep or closed?
#### =()<BAD_IO_COUNT @<BAD_IO_COUNT>@>()=
BAD_IO_COUNT 5
## Multiplier for sleep in EWOULDBLOCK writes (seconds).
#### =()<BLOCK_BACKOFF @<BLOCK_BACKOFF>@>()=
BLOCK_BACKOFF (2 * 60)
## How many article-writes between active and history updates?
#### =()<ICD_SYNC_COUNT @<ICD_SYNC_COUNT>@>()=
ICD_SYNC_COUNT 10
## Tell resolver _res.options to be fast? Pick DO or DONT.
#### =()<FAST_RESOLV @<FAST_RESOLV>@>()=
FAST_RESOLV DONT
## Drop articles that were posted this many days ago.
#### =()<DEFAULT_CUTOFF _at_<DEFAULT_CUTOFF>@>()=
DEFAULT_CUTOFF 14
## Maximum number of incoming NNTP connections.
#### =()<DEFAULT_CONNECTIONS @<DEFAULT_CONNECTIONS>@>()=
DEFAULT_CONNECTIONS 50
## Wait this many seconds before channel restarts.
#### =()<CHANNEL_RETRY_TIME @<CHANNEL_RETRY_TIME>@>()=
CHANNEL_RETRY_TIME (5 * 60)
## Wait this many seconds before seeing if pause is ended.
#### =()<PAUSE_RETRY_TIME _at_<PAUSE_RETRY_TIME>@>()=
PAUSE_RETRY_TIME (5 * 60)
## Wait this many seconds between noticing inactive channels.
#### =()<CHANNEL_INACTIVE_TIME _at_<CHANNEL_INACTIVE_TIME>@>()=
CHANNEL_INACTIVE_TIME (10 * 60)
## Put nntplink info (filename) into the log?
#### =()<NNTPLINK_LOG _at_<NNTPLINK_LOG>@>()=
NNTPLINK_LOG DONT
## Log by host IP address, rather than from Path line?
#### =()<IPADDR_LOG _at_<IPADDR_LOG>_at_>()=
IPADDR_LOG DONT
## Log NNTP activity after this many articles.
#### =()<NNTP_ACTIVITY_SYNC @<NNTP_ACTIVITY_SYNC>@>()=
NNTP_ACTIVITY_SYNC 200
## Free buffers bigger than this when we're done with them.
#### =()<BIG_BUFFER @<BIG_BUFFER>@>()=
BIG_BUFFER (2 * START_BUFF_SIZE)
## A general small buffer.
#### =()<SMBUF @<SMBUF>@>()=
SMBUF 256
## Buffer for a single article name.
#### =()<MAXARTFNAME @<MAXARTFNAME>@>()=
MAXARTFNAME 10
## Buffer for a single pathname in the spool directory.
#### =()<SPOOLNAMEBUFF _at_<SPOOLNAMEBUFF>@>()=
SPOOLNAMEBUFF 512
## Maximum size of a single header.
#### =()<MAXHEADERSIZE @<MAXHEADERSIZE>@>()=
MAXHEADERSIZE 1024
## Byte limit on locally-posted articles; 0 to disable the check.
#### =()<LOCAL_MAX_ARTSIZE @<LOCAL_MAX_ARTSIZE>@>()=
LOCAL_MAX_ARTSIZE 0
## Default number of bytes to hold in memory when buffered.
#### =()<SITE_BUFFER_SIZE @<SITE_BUFFER_SIZE>@>()=
SITE_BUFFER_SIZE (16 * 1024)
## Do you have uustat, or just uuq? Pick DO or DONT
#### =()<HAVE_UUSTAT @<HAVE_UUSTAT>@>()=
HAVE_UUSTAT DONT


##
## 7. PATHS TO COMMON PROGRAMS
## Where the raison d'etre for this distribution lives.
#### =()<_PATH_INND @<_PATH_INND>@>()=
_PATH_INND /newslib/etc/innd
## Where the optional front-end that exec's innd lives.
#### =()<_PATH_INNDSTART @<_PATH_INNDSTART>@>()=
_PATH_INNDSTART /newslib/etc/inndstart
## Where news boot-up script should be installed.
#### =()<_PATH_NEWSBOOT @<_PATH_NEWSBOOT>@>()=
_PATH_NEWSBOOT /newslib/etc/rc.news
## Where sendmail, or a look-alike, lives.
## The -t is optional and says to read message for recipients
#### =()<_PATH_SENDMAIL _at_<_PATH_SENDMAIL>_at_>()=
_PATH_SENDMAIL /usr/lib/sendmail -t
## Where the shell is.
#### =()<_PATH_SH _at_<_PATH_SH>@>()=
_PATH_SH /sbin/sh
## Where the compress program lives.
#### =()<_PATH_COMPRESS @<_PATH_COMPRESS>@>()=
_PATH_COMPRESS /usr/bin/compress
## What extension your compress appends
#### =()<_PATH_COMPRESSEXT @<_PATH_COMPRESSEXT>@>()=
_PATH_COMPRESSEXT .Z
## Where egrep lives (you might need the FSF one; see scanlogs)
#### =()<_PATH_EGREP @<_PATH_EGREP>@>()=
_PATH_EGREP /usr/bin/egrep
## Where awk lives
#### =()<_PATH_AWK @<_PATH_AWK>@>()=
_PATH_AWK /usr/bin/awk
## Where sed lives (you might need the FSF one)
#### =()<_PATH_SED _at_<_PATH_SED>_at_>()=
_PATH_SED /usr/bin/sed
## Where inews lives.
#### =()<_PATH_INEWS _at_<_PATH_INEWS>_at_>()=
_PATH_INEWS /newslib/inews
## Where rnews lives.
#### =()<_PATH_RNEWS _at_<_PATH_RNEWS>@>()=
_PATH_RNEWS /newslib/etc/rnews
## Where the NNRP server lives.
#### =()<_PATH_NNRPD @<_PATH_NNRPD>@>()=
_PATH_NNRPD /newslib/etc/in.nnrpd
## The path of the process run when an unknown host connects to innd.
## Usually the same as _PATH_NNRPD, but may be, e.g., the path to
## nntpd from the reference implementation.
#### =()<_PATH_NNTPD @<_PATH_NNTPD>@>()=
_PATH_NNTPD /newslib/etc/in.nnrpd
## Where the NNQR server lives. Make same as _PATH_NNRPD for now
#### =()<_PATH_NNQRD @<_PATH_NNRPD>@>()=
_PATH_NNQRD /newslib/etc/in.nnrpd
## Where most other programs live.
## See also _PATH_RNEWSPROGS and _PATH_CONTROLPROGS, below.
#### =()<_PATH_NEWSBIN @<_PATH_NEWSBIN>@>()=
_PATH_NEWSBIN /newslib/bin
## Where temporary files live on the server
#### =()<_PATH_TMP @<_PATH_TMP>@>()=
_PATH_TMP /usr/tmp
## Command to send mail (with -s "subject" allowed)
#### =()<_PATH_MAILCMD _at_<_PATH_MAILCMD>_at_>()=
_PATH_MAILCMD /newslib/bin/mailcmd
## Where scripts should have shlock create locks.
#### =()<_PATH_LOCKS _at_<_PATH_LOCKS>_at_>()=
_PATH_LOCKS /newslib/locks


##
## 8. PATHS RELATED TO THE SPOOL DIRECTORY
## Spool directory, where articles live.
#### =()<_PATH_SPOOL @<_PATH_SPOOL>@>()=
_PATH_SPOOL /var/spool/news
## Spool directory where overview data lives.
#### =()<_PATH_OVERVIEWDIR @<_PATH_OVERVIEWDIR>@>()=
_PATH_OVERVIEWDIR /var/spool/news
## Name of overview file within its spool directory.
#### =()<_PATH_OVERVIEW @<_PATH_OVERVIEW>@>()=
_PATH_OVERVIEW .overview
## Where rnews spools its input.
#### =()<_PATH_SPOOLNEWS _at_<_PATH_SPOOLNEWS>@>()=
_PATH_SPOOLNEWS /var/spool/news/in.coming
## Where rnews creates temporary files until finished
#### =()<_PATH_SPOOLTEMP @<_PATH_SPOOLTEMP>@>()=
_PATH_SPOOLTEMP /var/spool/news/in.coming/tmp
## Where rnews puts bad input.
#### =()<_PATH_BADNEWS @<_PATH_BADNEWS>@>()=
_PATH_BADNEWS /var/spool/news/in.coming/bad
## Where rnews puts bad input, relative to _PATH_SPOOLNEWS.
#### =()<_PATH_RELBAD _at_<_PATH_RELBAD>_at_>()=
_PATH_RELBAD bad


##
## 9. EXECUTION PATHS FOR INND AND RNEWS
## Pathname where dups are logged if RNEWS_LOG_DUPS is FILE.
#### =()<_PATH_RNEWS_DUP_LOG @<_PATH_RNEWS_DUP_LOG>@>()=
_PATH_RNEWS_DUP_LOG /dev/null
## Rnews may execute any program in this directory; see RNEWSPROGS.
#### =()<_PATH_RNEWSPROGS @<_PATH_RNEWSPROGS>@>()=
_PATH_RNEWSPROGS /newslib/bin/rnews
## Path to control messages scripts.
#### =()<_PATH_CONTROLPROGS @<_PATH_CONTROLPROGS>@>()=
_PATH_CONTROLPROGS /newslib/bin/control
## Default "unknown/illegal" control script, within _PATH_CONTROLPROGS.
#### =()<_PATH_BADCONTROLPROG _at_<_PATH_BADCONTROLPROG>@>()=
_PATH_BADCONTROLPROG default


##
## 10. SOCKETS CREATED BY INND OR CLIENTS
#### =()<_PATH_INNDDIR _at_<_PATH_INNDDIR>@>()=
_PATH_INNDDIR /newslib/innd
## Unix-domain stream socket that rnews connects to.
#### =()<_PATH_NNTPCONNECT _at_<_PATH_NNTPCONNECT>@>()=
_PATH_NNTPCONNECT /newslib/innd/nntpin
## Unix-domain datagram socket that ctlinnd to.
#### =()<_PATH_NEWSCONTROL @<_PATH_NEWSCONTROL>@>()=
_PATH_NEWSCONTROL /newslib/innd/control
## Temporary socket created by ctlinnd; run through mktemp
#### =()<_PATH_TEMPSOCK @<_PATH_TEMPSOCK>@>()=
_PATH_TEMPSOCK /newslib/innd/ctlinndXXXXXX


##
## 11. LOG AND CONFIG FILES
## Shell script that sets most of these as shell vars
#### =()<_PATH_SHELLVARS _at_<_PATH_SHELLVARS>@>()=
_PATH_SHELLVARS /newslib/innshellvars
## Where most config and data files are usually stored; not required
## to the home directory of NEWSUSER.
#### =()<_PATH_NEWSLIB @<_PATH_NEWSLIB>@>()=
_PATH_NEWSLIB /newslib
## The server's log file.
#### =()<_PATH_LOGFILE @<_PATH_LOGFILE>@>()=
_PATH_LOGFILE /newslib/log/news
## The server's error log file.
#### =()<_PATH_ERRLOG _at_<_PATH_ERRLOG>@>()=
_PATH_ERRLOG /newslib/log/errlog
## Where most sylog log files go; see also scanlogs, innstat, etc.
#### =()<_PATH_MOST_LOGS @<_PATH_MOST_LOGS>@>()=
_PATH_MOST_LOGS /newslib/log
## How many generates of log files to keep.
#### =()<LOG_CYCLES @<LOG_CYCLES>@>()=
LOG_CYCLES 7
## Text value of the server's pid.
#### =()<_PATH_SERVERPID @<_PATH_SERVERPID>@>()=
_PATH_SERVERPID /newslib/innd/innd.pid
## The newsfeeds file, on the server host.
#### =()<_PATH_NEWSFEEDS @<_PATH_NEWSFEEDS>@>()=
_PATH_NEWSFEEDS /newslib/newsfeeds
## The article history database, on the server host.
#### =()<_PATH_HISTORY @<_PATH_HISTORY>@>()=
_PATH_HISTORY /newslib/history
## File listing the sites that feed us news.
#### =()<_PATH_INNDHOSTS @<_PATH_INNDHOSTS>@>()=
_PATH_INNDHOSTS /newslib/hosts.nntp
## The active file, on the server host.
#### =()<_PATH_ACTIVE _at_<_PATH_ACTIVE>@>()=
_PATH_ACTIVE /newslib/active
## A temporary active file, for writing on the server host.
#### =()<_PATH_NEWACTIVE @<_PATH_NEWACTIVE>@>()=
_PATH_NEWACTIVE /newslib/active.tmp
## An old active file on the server host.
#### =()<_PATH_OLDACTIVE @<_PATH_OLDACTIVE>@>()=
_PATH_OLDACTIVE /newslib/active.old
## The log of when groups are created.
#### =()<_PATH_ACTIVETIMES _at_<_PATH_ACTIVETIMES>@>()=
_PATH_ACTIVETIMES /newslib/active.times
## Where batch files are located.
#### =()<_PATH_BATCHDIR _at_<_PATH_BATCHDIR>@>()=
_PATH_BATCHDIR /var/spool/news/out.going
## Where archives are kept.
#### =()<_PATH_ARCHIVEDIR @<_PATH_ARCHIVEDIR>@>()=
_PATH_ARCHIVEDIR /var/spool/news/news.archive
## Where NNRP distributions file is
#### =()<_PATH_NNRPDIST @<_PATH_NNRPDIST>@>()=
_PATH_NNRPDIST /newslib/distributions
## Where the default Distribution assignments file is
#### =()<_PATH_DISTPATS _at_<_PATH_DISTPATS>@>()=
_PATH_DISTPATS /newslib/distrib.pats
#### =()<_PATH_NEWSGROUPS _at_<_PATH_NEWSGROUPS>@>()=
_PATH_NEWSGROUPS /newslib/newsgroups
## File where client configuration parameters can be read.
#### =()<_PATH_CONFIG @<_PATH_CONFIG>@>()=
_PATH_CONFIG /newslib/inn.conf
## The possible active file, on clients (NFS-mounted, e.g.).
#### =()<_PATH_CLIENTACTIVE @<_PATH_CLIENTACTIVE>@>()=
_PATH_CLIENTACTIVE /newslib/active
## A temporary file, for client inews to use.
#### =()<_PATH_TEMPACTIVE @<_PATH_TEMPACTIVE>@>()=
_PATH_TEMPACTIVE /tmp/activeXXXXXX
## Where to mail to the moderators.
#### =()<_PATH_MODERATORS @<_PATH_MODERATORS>@>()=
_PATH_MODERATORS /newslib/moderators
## Where NNTP puts the name of the server.
#### =()<_PATH_SERVER @<_PATH_SERVER>@>()=
_PATH_SERVER /usr/local/news/server
## File with name/password for all remote connections.
#### =()<_PATH_NNTPPASS @<_PATH_NNTPPASS>@>()=
_PATH_NNTPPASS /newslib/passwd.nntp
## NNRP access file.
#### =()<_PATH_NNRPACCESS _at_<_PATH_NNRPACCESS>@>()=
_PATH_NNRPACCESS /newslib/nnrp.access
## Default expire control file.
#### =()<_PATH_EXPIRECTL @<_PATH_EXPIRECTL>@>()=
_PATH_EXPIRECTL /newslib/expire.ctl
## Prolog to parse control scripts
#### =()<_PATH_PARSECTL @<_PATH_PARSECTL>@>()=
_PATH_PARSECTL /newslib/parsecontrol
## Access control file for control scripts.
#### =()<_PATH_CONTROLCTL @<_PATH_CONTROLCTL>@>()=
_PATH_CONTROLCTL /newslib/control.ctl
## Innwatch control file.
#### =()<_PATH_CTLWATCH _at_<_PATH_CTLWATCH>@>()=
_PATH_CTLWATCH /newslib/innwatch.ctl
## Where innwatch writes its own pid.
#### =()<_PATH_WATCHPID _at_<_PATH_WATCHPID>@>()=
_PATH_WATCHPID /newslib/innwatch.pid
## Where innwatch writes status when it gets an interrupt
#### =()<_PATH_INNWSTATUS @<_PATH_INNWSTATUS>@>()=
_PATH_INNWSTATUS /newslib/innwatch.status
## Format of news overview database
#### =()<_PATH_SCHEMA @<_PATH_SCHEMA>@>()=
_PATH_SCHEMA /newslib/overview.fmt


##
## 12. INNWATCH CONFIGURATION
## Load average (* 100) at which innd should be paused.
#### =()<INNWATCH_PAUSELOAD @<INNWATCH_PAUSELOAD>@>()=
INNWATCH_PAUSELOAD 1500
## Load average (* 100) at which innd should be throttled.
#### =()<INNWATCH_HILOAD @<INNWATCH_HILOAD>@>()=
INNWATCH_HILOAD 2000
## Load average (* 100) at which to restart innd (pause/throttle undone).
#### =()<INNWATCH_LOLOAD @<INNWATCH_LOLOAD>@>()=
INNWATCH_LOLOAD 1000
## Space, in df output units, at which to throttle innd on _PATH_SPOOL.
#### =()<INNWATCH_SPOOLSPACE _at_<INNWATCH_SPOOLSPACE>@>()=
INNWATCH_SPOOLSPACE 8000
## Space, in df output units, at which to throttle innd on _PATH_BATCHDIR.
#### =()<INNWATCH_BATCHSPACE @<INNWATCH_BATCHSPACE>@>()=
INNWATCH_BATCHSPACE 800
## Space, in df output units, at which to throttle innd on _PATH_NEWSLIB.
#### =()<INNWATCH_LIBSPACE _at_<INNWATCH_LIBSPACE>@>()=
INNWATCH_LIBSPACE 25000
## Number of inodes at which to throttle innd on _PATH_SPOOL.
#### =()<INNWATCH_SPOOLNODES @<INNWATCH_SPOOLNODES>@>()=
INNWATCH_SPOOLNODES 200
## How long to sleep between innwatch iterations.
#### =()<INNWATCH_SLEEPTIME @<INNWATCH_SLEEPTIME>@>()=
INNWATCH_SLEEPTIME 600

##
## 13. TCL Configuration
## Do you want TCL support? Pick DO or DONT
#### =()<TCL_SUPPORT _at_<TCL_SUPPORT>_at_>()=
TCL_SUPPORT DO
## How do you get the TCL library? Probably -ltcl -lm, blank if no TCL
#### =()<TCL_LIB _at_<TCL_LIB>_at_>()=
TCL_LIB -ltcl -lm
## TCL Startup File
#### =()<_PATH_TCL_STARTUP @<_PATH_TCL_STARTUP>@>()=
_PATH_TCL_STARTUP /newslib/startup.tcl
## TCL Filter File
#### =()<_PATH_TCL_FILTER _at_<_PATH_TCL_FILTER>@>()=
_PATH_TCL_FILTER /newslib/filter.tcl

From: Dave Sill <de5_at_sws5.ctd.ornl.gov>
To: Alejandro Arturo Barrera Sanchez <abs_at_osfulsa.ulsa.mx>

Try 1.5beta1 from http://www.isc.org/isc/inn.html or
ftp://ftp.vix.com/pub/inn/inn-1.5b1.tar.gz.

-Dave

From: Mike Grau <m.grau_at_kcc.state.ks.us>
To: Alejandro Arturo Barrera Sanchez <abs_at_osfulsa.ulsa.mx>
Subject: Re: News...

This is a multi-part message in MIME format.

Below are the changes I made and successfully compiled inn on our
3000/800 running 3.2c. It complied and ran but wasn't a thorough test
since I never got a real newsfeed. But perhaps you'll find something
usefull. I really didn't know what I was doing; I just had the gall to
ask Rich Salz and he was kind enough to help me. (Do you know how or
where I get a news feed?)

Config changes:

In config.data ---

from CFLAGS $(DEFS) -g
to CFLAGS $(DEFS) -g3 -O2

from LDFLAGS -g
to LDFLAGS -g3 -O2

from LINTLIBSTYLE BSD
to LINTLIBSTYLE NONE

from LINTFLAGS -b -u -z $(DEFS)
to LINTFLAGS -b -u -x $(DEFS)

from SIZE_T int
to SIZE_T unsigned long

from POINTER char
to POINTER void

from USE_UNION_WAIT DO
to USE_UNION_WAIT DONT

from ALARMVAL int
to ALARMVAL unsigned int

from SLEEPVAL int
to SLEEPVAL unsigned int

from QSORTVAL int
to QSORTVAL void

from LSEEKVAL long
to LSEEKVAL off_t

from FREEVAL int
to FREEVAL void

from EXITVAL void
to EXITVAL volatile void

from _EXITVAL int
to _EXITVAL volatile void

from MISSING_SRC strerror.c
to MISSING_SRC strerror.c syslog.c

from MISSING_OBJ strerror.o
to MISSING_OBJ strerror.o syslog.o

from CHECK_INCLUDED_TEXT DO
to CHECK_INCLUDED_TEXT DONT

from INEWS_PATH DO
to INEWS_PATH DONT

from VERIFY_CANCELS DONT
to VERIFY_CANCELS DO

from LOG_CANCEL_COMMANDS DONT
to LOG_CANCEL_COMMANDS DO

from CLIENT_TIMEOUT (2 * 60 * 60)
to CLIENT_TIMEOUT (1 * 60 * 30)

from NNTPLINK_LOG DONT
to NNTPLINK_LOG DO

in INND/RC.C, LIB/REMOPEN.C, BACKENDS/RCOMPRESS.C --
                replaced the related "unsigned long" declarations or
                casts with "unsigned int".

in RC.NEWS --

${DOINNWATCH} && {
    echo "${INNWATCH} &" | su ${NEWSUSER} -c 'at now + 2 min' >
/dev/null
}

From: Anthony Talltree <aad_at_nwnet.net>
To: Alejandro Arturo Barrera Sanchez <abs_at_osfulsa.ulsa.mx>
Subject: Re: News...

Try inn1.4unoff4 from ftp.math.psu.edu, or 1.5beta, which is probably
there too.

From: hj_at_globecom.net
To: Alejandro Arturo Barrera Sanchez <abs_at_osfulsa.ulsa.mx>
Subject: Re: News...

You should go with INN1.4UNOFF4 instead. (Or if you feel like it,
inn1.5beta1, which I run on an v3.2c box with no problems at all).

They both compiles right out of the box (after fixing the config.data of
course).

Check out this URL for INN tips, and downloadables:

http://www.math.psu.edu/barr/INN.html

Regards

Henrik Johansson
GlobeCom Network
Received on Wed Nov 13 1996 - 00:33:21 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT