[news.software.nntp] getting 1.5.10 to work with Cnews and dbz

paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO) (09/02/90)

The platform is a Sequent Symmetry with 3.0.17.7.  Software base is Cnews
of latest vintage (I believe).

Edit inetd.conf to disable nntpd and restart inetd (we have no other feeds).

Re-build Cnews to use dbz.  Save libcnews.a and copy it to /usr/local/lib.
Copy dbz.h to /usr/include.

Re-build history file with dbz.  In our case, cd /usr/spool/news/.admin;
/usr/local/lib/newsbin/expire/mkdbm history.

Edit nntp/common/conf.h

Define >BOTH< DBZ and DBM.  Undef SETPROCTITLE.  The setproctitle() routine
causes core dumps on this platform.  It will be investigated later.

Depending on what you define among LOAD, ALONE, and SYSLOG, server/main.c
and server/serve.c may require editting to move the openlog() calls.

Edit server/Makefile to include -lcnews on the LIBS= line.

Build and install nntpd.  Re-edit inetd.conf and restart inetd.  Watch the
syslog files for errors.

/pbp
--
         Paul Pomes

UUCP: {att,iuvax,uunet}!uiucuxc!paul   Internet, BITNET: paul@uxc.cso.uiuc.edu
US Mail:  UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL  61801-2987