pkg-descr

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 http://www.nocem.org/ for details).

WWW: http://iq.org/~proff/nntpcache.org/

pkg-plist

@exec mkdir -p %%SPOOLDIR%%
bin/confused
bin/mmap_tests
etc/nntpcache/VERSION
@unexec rm %%SPOOLDIR%%/VERSION 2>&1 >/dev/null || true
@exec cp %D/%F %%SPOOLDIR%%
@exec chown -R news:news %%SPOOLDIR%%
@exec chmod 750 %%SPOOLDIR%%
@exec chmod 640 %%SPOOLDIR%%/VERSION
etc/nntpcache/http/index.html
etc/nntpcache/http/moose.gif
etc/nntpcache/http/nntpcache.jpg
etc/nntpcache/innreport.conf-dist
etc/nntpcache/innreport.pl
etc/nntpcache/innreport.pm
etc/nntpcache/newshound.conf-dist
@unexec if cmp -s %D/etc/nntpcache/nntpcache.access %D/etc/nntpcache/nntpcache.access-dist; then rm -f %D/etc/nntpcache/nntpcache.access; fi
etc/nntpcache/nntpcache.access-dist
@unexec if cmp -s %D/etc/nntpcache/nntpcache.config %D/etc/nntpcache/nntpcache.config-dist; then rm -f %D/etc/nntpcache/nntpcache.config; fi
etc/nntpcache/nntpcache.config-dist
@unexec if cmp -s %D/etc/nntpcache/nntpcache.servers %D/etc/nntpcache/nntpcache.servers-dist; then rm -f %D/etc/nntpcache/nntpcache.servers; fi
etc/nntpcache/nntpcache.servers-dist
@unexec if cmp -s %D/etc/nntpcache/pubring.asc %D/etc/nntpcache/pubring.asc-dist; then rm -f %D/etc/nntpcache/pubring.asc; fi
etc/nntpcache/pubring.asc-dist
@unexec if cmp -s %D/etc/nntpcache/pubring.pgp %D/etc/nntpcache/pubring.pgp-dist; then rm -f %D/etc/nntpcache/pubring.pgp; fi
etc/nntpcache/pubring.pgp-dist
etc/nntpcache/spam.filter
include/mmap_results.h
libexec/nntpcache-gdb.sh
libexec/nntpcache.gdb
libexec/nntpcached.debug
libexec/unixauth
sbin/innreport.sh
sbin/newshound
sbin/newshound.pl
sbin/nntpcached
@exec mkdir -p %D/etc/nntpcache/http/innreport/pics
@dirrm etc/nntpcache/http/innreport/pics
@dirrm etc/nntpcache/http/innreport
@dirrm etc/nntpcache/http
@dirrmtry etc/nntpcache
@unexec rmdir %%SPOOLDIR%% 2>&1 >/dev/null || echo "If you want to completely remove nntpcached, please execute 'rm -fr %%SPOOLDIR%%' by yourself."; true