|
|
1.1 ! root 1: ! 2: Mkgrdates is run by cron periodically (say, every 6 or 12 hours -- ! 3: it's up to you). All it does is produce a cronologically ordered list ! 4: of newsgroups in the active file, along with their dates of creation. ! 5: It tries to be intelligent, and if the active file hasn't changed since ! 6: it was last run, it simply exits. ! 7: ! 8: So, you'll need to put "mkgrdates" in /usr/lib/crontab to ! 9: be run periodically. Every day is probably good enough. ! 10: ! 11: Some things you might want to be aware of are that it creates ! 12: and updates the files STAT_FILE and NGDATE_FILE, defined in ! 13: ../common/conf.h. It's up to you to define these constants to suit ! 14: your system. ! 15: ! 16: The file "access_file" is the file which tells the news server ! 17: which hosts can read, which can post, and which can transfer. ! 18: This file wants to be installed wherever ACCESS_FILE in ../common/conf.h ! 19: says it should be (you can configure this to suit you). Remember ! 20: that this should be readable by whatever uid the news server runs ! 21: as. Further, remember that the entry "default" must be first in ! 22: the table. ! 23: ! 24: >>> The access file does not support subnets. Only class ! 25: >>> A, B, and C networks, as well as hosts. ! 26: >>> Look for a subnet supporting release eventually. ! 27: ! 28: Finally, edit Makefile to reflect DESTDIR -- where you want ! 29: the binary to be installed for mkgrdates.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.