@exec mkdir -p %%NEWSBASE%% %%CWDNEWSBASE%% bin/actmerge bin/actsync bin/actsyncd bin/archive bin/auth/passwd/auth_smb bin/auth/passwd/ckpasswd bin/auth/passwd/radius bin/auth/resolv/domain bin/auth/resolv/ident bin/batcher bin/buffchan bin/cnfsheadconf bin/cnfsstat bin/control/checkgroups.pl bin/control/ihave.pl bin/control/newgroup.pl bin/control/rmgroup.pl bin/control/sendme.pl bin/control/sendsys.pl bin/control/senduuname.pl bin/control/version.pl bin/controlbatch bin/controlchan bin/convdate bin/ctlinnd bin/cvtbatch bin/docheckgroups bin/expire bin/expireover bin/expirerm bin/fastrm bin/filechan bin/filter/INN.py %%NOTCURRENT%%bin/filter/filter.tcl bin/filter/filter_innd.pl bin/filter/filter_innd.py bin/filter/filter_nnrpd.pl bin/filter/nnrpd_access.pl bin/filter/nnrpd_auth.pl bin/filter/nnrpd_auth.py %%NOTCURRENT%%bin/filter/startup.tcl bin/filter/startup_innd.pl bin/getlist bin/gpgverify bin/grephistory bin/imapfeed bin/inews bin/inncheck bin/innconfval bin/innd bin/inndf %%NOTCURRENT%%bin/inndstart bin/innfeed bin/innmail bin/innreport bin/innstat bin/innupgrade bin/innwatch bin/innxbatch bin/innxmit bin/mailpost bin/makedbz bin/makehistory bin/mod-active bin/news.daily bin/news2mail bin/ninpaths bin/nnrpd bin/nntpget bin/nntpsend bin/ovdb_init bin/ovdb_monitor bin/ovdb_server bin/ovdb_stat bin/overchan bin/perl-nocem bin/pgpverify bin/procbatch bin/prunehistory bin/pullnews bin/rc.news bin/rnews bin/rnews.libexec/c7unbatch bin/rnews.libexec/decode bin/rnews.libexec/encode bin/rnews.libexec/gunbatch bin/scanlogs bin/scanspool bin/send-ihave bin/send-nntp bin/send-uucp bin/sendinpaths bin/sendxbatches bin/shlock bin/shrinkfile bin/signcontrol bin/simpleftp bin/sm %%NOTCURRENT%%bin/startinnfeed bin/tally.control bin/tdx-util bin/writelog doc/CONTRIBUTORS doc/GPL doc/HACKING doc/INSTALL doc/LICENSE doc/NEWS doc/README doc/TODO doc/compliance-nntp doc/config-design doc/config-semantics doc/config-syntax doc/external-auth doc/history doc/hook-perl doc/hook-python %%NOTCURRENT%%doc/hook-tcl doc/sample-control include/clibrary.h include/conffile.h include/config.h include/dbz.h include/inn/buffer.h include/inn/confparse.h include/inn/defines.h include/inn/hashtab.h include/inn/history.h include/inn/innconf.h include/inn/list.h include/inn/md5.h include/inn/messages.h include/inn/mmap.h include/inn/qio.h include/inn/sequence.h include/inn/system.h include/inn/timer.h include/inn/tst.h include/inn/vector.h include/inn/version.h include/inn/wire.h include/inndcomm.h include/libinn.h include/nntp.h include/ov.h include/paths.h include/storage.h lib/innreport_inn.pm lib/innshellvars lib/innshellvars.pl lib/innshellvars.tcl lib/libinn.a lib/libinnhist.a lib/libstorage.a @comment -------------------------------------------------------------- @cwd @exec mkdir -p %%DBDIR%% @exec mkdir -p %%EXAMPLESDIR%%/db @unexec f=active; if cmp -s %%DBDIR%%/$f %D/%%EXAMPLESDIR%%/db/$f; then rm -f %%DBDIR%%/$f; fi @unexec f=active.times; if cmp -s %%DBDIR%%/$f %D/%%EXAMPLESDIR%%/db/$f; then rm -f %%DBDIR%%/$f; fi @unexec f=history; if cmp -s %%DBDIR%%/$f %D/%%EXAMPLESDIR%%/db/$f; then rm -f %%DBDIR%%/$f; fi @unexec f=history.dir; if cmp -s %%DBDIR%%/$f %D/%%EXAMPLESDIR%%/db/$f; then rm -f %%DBDIR%%/$f; fi @unexec f=newsgroups; if cmp -s %%DBDIR%%/$f %D/%%EXAMPLESDIR%%/db/$f; then rm -f %%DBDIR%%/$f; fi %%EXAMPLESDIR%%/db/active %%EXAMPLESDIR%%/db/active.times %%EXAMPLESDIR%%/db/history %%EXAMPLESDIR%%/db/history.dir %%EXAMPLESDIR%%/db/newsgroups @unexec rm -f %D/%%EXAMPLESDIR%%/db/active.old 2> /dev/null || true @unexec rm -f %D/%%EXAMPLESDIR%%/db/history.n.dir 2> /dev/null || true @unexec rm -f %D/%%EXAMPLESDIR%%/db/history.n.hash 2> /dev/null || true @unexec rm -f %D/%%EXAMPLESDIR%%/db/history.n.index 2> /dev/null || true @comment -------------------------------------------------------------- %%WITHOUT_TAGGED_HASH%%@unexec f=history.hash; if cmp -s %%DBDIR%%/$f %D/%%EXAMPLESDIR%%/db/$f; then rm -f %%DBDIR%%/$f; fi %%WITHOUT_TAGGED_HASH%%@unexec f=history.index; if cmp -s %%DBDIR%%/$f %D/%%EXAMPLESDIR%%/db/$f; then rm -f %%DBDIR%%/$f; fi %%WITHOUT_TAGGED_HASH%%@unexec rm -f %D/%%EXAMPLESDIR%%/db/history.hash 2> /dev/null || true %%WITHOUT_TAGGED_HASH%%@unexec rm -f %D/%%EXAMPLESDIR%%/db/history.index 2> /dev/null || true %%WITH_TAGGED_HASH%%@unexec f=history.pag; if cmp -s %%DBDIR%%/$f %D/%%EXAMPLESDIR%%/db/$f; then rm -f %%DBDIR%%/$f; fi %%WITH_TAGGED_HASH%%@unexec rm -f %D/%%EXAMPLESDIR%%/db/history.pag 2> /dev/null || true @comment -------------------------------------------------------------- @unexec for f in %%ETCFILES%%; do if cmp -s %%ETCDIR%%/${f} %D/%%EXAMPLESDIR%%/${f}; then rm -f %%ETCDIR%%/${f}; fi; done @unexec for f in %%ETCFILES%%; do rm -f %D/%%EXAMPLESDIR%%/${f}; done @exec for f in %%ETCFILES%%; do [ -f %%ETCDIR%%/${f} ] || cp -fp %D/%%EXAMPLESDIR%%/${f} %%ETCDIR%%/${f}; done @comment -------------------------------------------------------------- @dirrm %%EXAMPLESDIR%%/db @dirrm %%EXAMPLESDIR%% @unexec rm -Rf %%TMPDIR%% 2>/dev/null || true @unexec rmdir %%NEWSSPOOL%%/overview 2>/dev/null || true @unexec rmdir %%NEWSSPOOL%%/outgoing 2>/dev/null || true @unexec rmdir %%NEWSSPOOL%%/innfeed 2>/dev/null || true @unexec rmdir %%NEWSSPOOL%%/incoming/bad 2>/dev/null || true @unexec rmdir %%NEWSSPOOL%%/incoming 2>/dev/null || true @unexec rmdir %%NEWSSPOOL%%/articles 2>/dev/null || true @unexec rmdir %%NEWSSPOOL%%/archive 2>/dev/null || true @unexec rm -Rf %%NEWSSPOOL%%/tmp 2>/dev/null || true @unexec rmdir %%NEWSSPOOL%% 2>/dev/null || true @unexec rm -Rf %%RUNDIR%% 2>/dev/null || true @unexec rm -R %%NEWSBASE%%/lib @unexec rm -R %%NEWSBASE%%/include/inn @unexec rm -R %%NEWSBASE%%/include @unexec rmdir %%ETCDIR%% 2>/dev/null || true @unexec rm -Rf %%NEWSBASE%%/doc @unexec rmdir %%DBDIR%% @unexec rm -Rf %%NEWSBASE%%/bin/rnews.libexec @unexec rm -Rf %%NEWSBASE%%/bin/filter @unexec rm -Rf %%NEWSBASE%%/bin/control @unexec rm -Rf %%NEWSBASE%%/bin/auth/resolv @unexec rm -Rf %%NEWSBASE%%/bin/auth/passwd @unexec rm -Rf %%NEWSBASE%%/bin/auth @unexec rm -Rf %%NEWSBASE%%/bin @unexec rmdir %%NEWSBASE%% 2>/dev/null ||( echo "===> If you don't plan to use inn later, you can safely remove %%NEWSBASE%%. Deinstall process kept these files intact:" | fmt && for i in $(find %D/news -type f); do echo " - $i"; done)