From fee378e2e16bc6d202679abb9c848f165ad9cdde Mon Sep 17 00:00:00 2001 From: proff Date: Fri, 5 Apr 2002 19:14:23 +0000 Subject: Update to 3.0.1 and remove reference to few bogus mirror sites. 3.0.1 Sat Apr 6 01:59:56 EST 2002 (ap.pog.gia.tu.ra) * compat: update config.sub and config.guess to autoguess Darwin / MacOSx * compat: update ./configure to autoconf-2.53 3.0-b2 Fri Apr 5 01:32:28 EST 2002 (oneiromancy) * new: README.pam * change: use $libexec/nntpcache.debug for debug symbols * new: permit ':' and '@' in username and password definitions. some At-Home & MS passport controlled (ugh) were of this format * compat: be more flexible in closing and re-assigning file-descriptors. fixes some bogus openlog()/ closelog() implementations * change: doc/proff.style NAZI's * compat: eliminate pid_t warning in src/debug.c * compat: change "stat" to "status" for contrib/newshound/newshound.c. "stat" conflicted with the stat.h definition under AIX-5.1 * change: don't try and debug the debug task if it can no-longer read messages from other tasks * new: explicitly tell users to use 'nntpcached -n' for INSTALL step 8 3.0-b1 Sat Mar 30 11:51:29 EST 2002 (Enantiomorphosis) * new: idiot proof nntpcache.servers configuration * new: Make the decision to use a new mmap backing file on restart configuration via "refreshMmap" * change: explicitly enable core dumps * bugfix: fix bogus log message in src/xover.c * new: prevent runaway debug analysis by checking at most once every half hour * change: use mode, as opposed to flock/lockf locking for cached articles/headers. this technique is more reliable over nfs and newserver/reader crashes * new: robustify newsgroup structure locking * compat: under MacOSX, cc reports as gcc, but gcc CPP is not "gcc -E" * compat: AIX needs -lbsd for flock() * new: verbosely describe "server rebuild in progress" error * change: don't warn on seeing (\r[^\n])+\r\n, as this seems to be embedded in quite a few wild articles * bugfix: fix a few (usually rare) xover bugs * change: reorganise xover opening/locking/writing functions * compat: parse numbers representing time_t so as not to depend on the size of time_t (Tru64/OSF/alpha needed this) * compat: remove extra ';' in src/http.c which caused SUNSpro (Solaris CC) to choke * new: improved xover expiry * change: remove a warning in src/bregex.c. Note that the other warnings (at least under gcc and SUNSpro are bogus) * compat: use strrchr instead of rindex in src/authinfo_pipe.c * compat: EXPORT PAM functions only after pam types have been defined * compat: PAM compatability for Solaris and FreeBSD (tested on Solaris-8.x and FreeBSD-4.x) * compat: at least one newsreader used AUTHINFO with no arguments simply to check that the command was available. In this case return "350 Continue with authorization sequence" * compat: smarter scripts/genextern.sh * compat: add/reorder includes for mmap/mmap_tests.c * bugfix: don't use autoconf to generate mk/rules.mk, as automake uses this file before configure time. * compat: add SPT_PADCHAR definition for Linux in libproff/setproctiltle.c * change: add comment about bogus gcc warning in libproff/pattern.c * change: update doc/proff.style * change: move newshound config file to /etc/newshound/ * bugfix: various newshound bugfixes * new: perl newshound contributed by jer@gweep.net * bugfix: add missing /* */ pair in log.h (amazingly gcc compiled the previous code without complaint) * compat: wrap all GNU C extensions in GNUC_EXT macros, including extensions exported by scripts/genextern.sh (EXPORT macros) * compat: explicitly check for GNU make variations at ./configure time and give copious help if GNU make can not be located. Explicitly tell the user to use the discovered GNU make. * bugfix: CPP does not define build symbols which are needed by scripts/genextern.sh as opposed to cc -E. Always check for cc -E at ./configure time * new: NEWS file * change: modify INSTALL so even the pentagon can understand nntpcache builds with GNUMake * change: modify INSTALL to reflect new mailinglist details * bugfix: extensive three pass automake hackery to force regeneration of .ext's at the correct time and in the correct order * bugfix: sometimes a HEAD followed by a BODY when neither was previously cached resulted additional header characters in the body. Triggered by Pine. * compat: don't use creeping bsd featureisms (warn,) in libproff --- news/nntpcache/DESCR | 32 ++++++++++++++++---------------- news/nntpcache/Makefile | 14 +++++--------- news/nntpcache/PLIST | 16 +++++++++++++--- news/nntpcache/distinfo | 6 +++--- 4 files changed, 37 insertions(+), 31 deletions(-) diff --git a/news/nntpcache/DESCR b/news/nntpcache/DESCR index ead95a1f712..66341115486 100644 --- a/news/nntpcache/DESCR +++ b/news/nntpcache/DESCR @@ -1,18 +1,18 @@ NNTPCache is Squid for news (plus lots more). -NNTPCache (very efficiently, using shared memory, COW, mmaps, etc) -executes on the localhost pretending to be an NNRP news reading -server. In fact, what it does is pass certain NNTP commands through -to real (remote and possibly local) news-servers based on various -pattern matching rules. nntpcache then takes the output from those -servers and caches & indexes it in funky ways (much specific case -magic goes into this). The next time such information is asked -for, or other information which can be logically inferred from the -previously collated information, it is sent directly from the cache, -without consulting the remote servers. NNTPCache can transparently -merge multiple servers, (permiting local newsgroups with remote -NNTP feeds), filter articles, xovers, and headers based on weighted -regular expressions, and has built in NoCem/PGP (anti-spam) support -(see www.nntpcache.org or www.nocem.org for details). NNTPcache -also supports a wide variety of authentication types, including -LDAP, /etc/{passwd,shadow}, generic unixpipe and RADIUS. +NNTPCache can take reader loads off major news-servers. Besides its +super efficient execution, a single or multi-layer concentric ring of +NNTPCaches can be arranged about one or more central news-servers on a +DNS round-robin basis. Such a wall of NNTPCaches provides drop-in +scalability, redundancy, authentication & security for even the +largest news-server heart. NNTPCache can transparently stitch multiple +split news-servers (e.g, one news-server carrying alt.binaries.*, +another carrying alt.*, and another carrying everything else) back +together, allowing news-server administrators to spread their news +feeds over multiple machines, or to out-source selected components. + +NNTPCache minimises the effects of news-server down time, by continuing +to provide cached news-data in the face of news-server fall-over. + +NNTPCache natively supports a variety of AUTHINFO methods, including +/etc/passwd, generic unix pipes, LDAP and radius. diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile index 51badd3589f..939a20d6882 100644 --- a/news/nntpcache/Makefile +++ b/news/nntpcache/Makefile @@ -1,14 +1,10 @@ -# $NetBSD: Makefile,v 1.11 2001/09/27 23:18:34 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2002/04/05 19:14:23 proff Exp $ # FreeBSD Id: Makefile,v 1.11 1998/02/01 03:04:11 itojun Exp # -DISTNAME= nntpcache-2.4.0b5 +DISTNAME= nntpcache-3.0.1 CATEGORIES= news MASTER_SITES= ftp://ftp.nntpcache.org/pub/nntpcache/ \ - ftp://ftp.fu-berlin.de/unix/news/nntpcache/ \ - ftp://ftp.contrib.com/pub/software/unix/news/nntpcache/ \ - ftp://ftp.eu.net/news/transport/nntpcache/ \ - ftp://ftp.belgium.eu.net/pub/news/transport/nntpcache/ \ ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/news/nntpcache/ \ ftp://ftp.faho.rwth-aachen.de/pub/linux/nntpcache/ \ ftp://ftp.hway.ru/pub/news/nntpcache/ @@ -32,14 +28,14 @@ DEPENDS+= openldap-[0-9]*:../../databases/openldap DEPENDS+= pgp-2.*:../../security/pgp2 .endif -BUILD_DEFS+= NNTP_USE_LDAP NNTP_USE_PGP +BUILD_DEFS+= NNTP_USE_LDAP NNTP_USE_PGP GNU_CONFIGURE= yes CONFIGURE_ARGS+= --localstatedir=/var/spool CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}" USE_GMAKE= yes -INSTALL_TARGET= SUBDIRS="cf src filters http doc pgp contrib/newshound innreport scripts unixauth" \ +INSTALL_TARGET= SUBDIRS="cf src filters http doc pgp contrib/newshound contrib/perlnewshound innreport scripts unixauth" \ install post-configure: @@ -50,6 +46,6 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/nntpcached.sh ${PREFIX}/etc/rc.d/nntpcached ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nntpcache cd ${WRKSRC} && ${INSTALL_DATA} README INSTALL FAQ FAQ.html LICENSING \ - ${PREFIX}/share/doc/nntpcache/ + README.INN README.pam ChangeLog ${PREFIX}/share/doc/nntpcache/ .include "../../mk/bsd.pkg.mk" diff --git a/news/nntpcache/PLIST b/news/nntpcache/PLIST index 37e01ec6667..5cc04c1e58c 100644 --- a/news/nntpcache/PLIST +++ b/news/nntpcache/PLIST @@ -1,14 +1,19 @@ -@comment $NetBSD: PLIST,v 1.2 2002/02/15 10:12:56 skrll Exp $ +@comment $NetBSD: PLIST,v 1.3 2002/04/05 19:14:23 proff Exp $ etc/nntpcache/VERSION etc/nntpcache/innreport.conf-dist etc/nntpcache/innreport.pl etc/nntpcache/innreport.pm etc/nntpcache/newshound.conf-dist etc/nntpcache/nntpcache.access-dist +etc/nntpcache/nntpcache.access etc/nntpcache/nntpcache.config-dist +etc/nntpcache/nntpcache.config etc/nntpcache/nntpcache.servers-dist +etc/nntpcache/nntpcache.servers etc/nntpcache/pubring.asc-dist +etc/nntpcache/pubring.asc etc/nntpcache/pubring.pgp-dist +etc/nntpcache/pubring.pgp etc/nntpcache/spam.filter etc/nntpcache/http/index.html etc/nntpcache/http/moose.gif @@ -20,6 +25,7 @@ etc/nntpcache/http/nntpcache.jpg etc/rc.d/nntpcached sbin/innreport.sh sbin/newshound +sbin/newshound.pl sbin/nntpcached libexec/unixauth libexec/nntpcache-gdb.sh @@ -32,9 +38,13 @@ man/man8/nntpcached.8 @exec ${CHOWN} -R news:news /var/spool/nntpcache @exec ${CHMOD} 700 /var/spool/nntpcache @unexec ${RM} -rf /var/spool/nntpcache -share/doc/nntpcache/INSTALL -share/doc/nntpcache/README +share/doc/nntpcache/ChangeLog share/doc/nntpcache/FAQ share/doc/nntpcache/FAQ.html +share/doc/nntpcache/INSTALL share/doc/nntpcache/LICENSING +share/doc/nntpcache/README +share/doc/nntpcache/README.INN +share/doc/nntpcache/README.pam + @dirrm share/doc/nntpcache diff --git a/news/nntpcache/distinfo b/news/nntpcache/distinfo index 2ed063dbf37..00f4b4bec26 100644 --- a/news/nntpcache/distinfo +++ b/news/nntpcache/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/19 13:37:54 agc Exp $ +$NetBSD: distinfo,v 1.3 2002/04/05 19:14:23 proff Exp $ -SHA1 (nntpcache-2.4.0b5.tar.gz) = e0a24297c821609c577c12b2283cc2979124b761 -Size (nntpcache-2.4.0b5.tar.gz) = 1104778 bytes +SHA1 (nntpcache-3.0.1.tar.gz) = 68ced9471a1e2a2dd7d1bf37477690a5b80bcf7d +Size (nntpcache-3.0.1.tar.gz) = 1085258 bytes -- cgit v1.2.3