File:  [CSRG BSD Unix] / 43BSD / contrib / nntp / support / README
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3


     Mkgrdates is run by cron periodically (say, every 6 or 12 hours --
it's up to you).  All it does is produce a cronologically ordered list
of newsgroups in the active file, along with their dates of creation.
It tries to be intelligent, and if the active file hasn't changed since
it was last run, it simply exits.

     So, you'll need to put "mkgrdates" in /usr/lib/crontab to
be run periodically.  Every day is probably good enough.

     Some things you might want to be aware of are that it creates
and updates the files STAT_FILE and NGDATE_FILE, defined in
../common/conf.h.  It's up to you to define these constants to suit
your system.

     The file "access_file" is the file which tells the news server
which hosts can read, which can post, and which can transfer.
This file wants to be installed wherever ACCESS_FILE in ../common/conf.h
says it should be (you can configure this to suit you).  Remember
that this should be readable by whatever uid the news server runs
as.  Further, remember that the entry "default" must be first in
the table.

     >>> The access file does not support subnets.  Only class
     >>> A, B, and C networks, as well as hosts.
     >>> Look for a subnet supporting release eventually.

     Finally, edit Makefile to reflect DESTDIR -- where you want
the binary to be installed for mkgrdates.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.