diff options
-rw-r--r-- | news/inn/Makefile | 30 | ||||
-rw-r--r-- | news/inn/files/md5 | 3 | ||||
-rw-r--r-- | news/inn/patches/patch-aa | 14 | ||||
-rw-r--r-- | news/inn/patches/patch-ab | 36 | ||||
-rw-r--r-- | news/inn/patches/patch-ac | 27 | ||||
-rw-r--r-- | news/inn/patches/patch-ad | 16 | ||||
-rw-r--r-- | news/inn/patches/patch-ae | 17 | ||||
-rw-r--r-- | news/inn/patches/patch-af | 12 | ||||
-rw-r--r-- | news/inn/patches/patch-ag | 39 | ||||
-rw-r--r-- | news/inn/patches/patch-ah | 27 | ||||
-rw-r--r-- | news/inn/pkg/COMMENT | 1 | ||||
-rw-r--r-- | news/inn/pkg/DEINSTALL | 22 | ||||
-rw-r--r-- | news/inn/pkg/DESCR | 10 | ||||
-rw-r--r-- | news/inn/pkg/MESSAGE | 2 | ||||
-rw-r--r-- | news/inn/pkg/PLIST | 274 | ||||
-rw-r--r-- | news/inn/pkg/install | 45 |
16 files changed, 575 insertions, 0 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile new file mode 100644 index 00000000000..e9b18fe5396 --- /dev/null +++ b/news/inn/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 1998/09/05 03:21:11 garbled Exp $ + +DISTNAME= inn-2.1 +CATEGORIES= news +MASTER_SITES= ftp://wuarchive.wustl.edu/packages/news/transport/inn/ + +MAINTAINER= root@garbled.net +HOMEPAGE= http://www.isc.org/inn.html + +BUILD_DEPENDS+= bison:../../devel/bison + +CONFLICTS+= nntpclnt-* + +INN_SPOOL?= /var/spool/news + +USE_PERL5= yes +USE_LIBTOOL= yes +CONFIGURE_ARGS+= --with-perl --with-spool-dir=${INN_SPOOL} +CONFIGURE_ARGS+= --with-tmp-path=/tmp +GNU_CONFIGURE= yes + +post-patch: + ${SED} -e 's@XXXINN_SPOOLXXX@${INN_SPOOL}@g' \ + -e 's@XXXPREFIXXXX@${PREFIX}@g' <${PKGDIR}/install >${PKGDIR}/INSTALL + +post-install: + ${MKDIR} ${PREFIX}/share/examples/inn + ${CP} -R ${WRKSRC}/samples/* ${PREFIX}/share/examples/inn + +.include "../../mk/bsd.pkg.mk" diff --git a/news/inn/files/md5 b/news/inn/files/md5 new file mode 100644 index 00000000000..f1ebeb94d39 --- /dev/null +++ b/news/inn/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1 1998/09/05 03:21:11 garbled Exp $ + +MD5 (inn-2.1.tar.gz) = 5c0fc548295474f82cb15e27c78eed7f diff --git a/news/inn/patches/patch-aa b/news/inn/patches/patch-aa new file mode 100644 index 00000000000..da1e1669f6e --- /dev/null +++ b/news/inn/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1 1998/09/05 03:21:11 garbled Exp $ +--- configure.orig Fri Jul 24 06:13:00 1998 ++++ configure Fri Aug 28 12:22:23 1998 +@@ -961,8 +961,8 @@ + + + +-LIBTOOL='$(SHELL) ../libtool' +-UPLIBTOOL='$(SHELL) ../../libtool' ++LIBTOOL='$(SHELL) $(PREFIX)/bin/libtool' ++UPLIBTOOL='$(SHELL) $(PREFIX)/bin/libtool' + EXTOBJ='lo' + EXTLIB='la' + # Check whether --enable-libtool or --disable-libtool was given. diff --git a/news/inn/patches/patch-ab b/news/inn/patches/patch-ab new file mode 100644 index 00000000000..6ee7511d080 --- /dev/null +++ b/news/inn/patches/patch-ab @@ -0,0 +1,36 @@ +$NetBSD: patch-ab,v 1.1 1998/09/05 03:21:11 garbled Exp $ +--- frontends/Makefile.orig Fri Aug 28 11:43:41 1998 ++++ frontends/Makefile Fri Aug 28 11:44:51 1998 +@@ -63,23 +63,23 @@ + + ## Low-level install actions. + $D$(PATHBIN)/inews: inews +- $(LIBTOOL) ../installit.sh $(OWNER) -m 02555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 02555 -b .OLD $? $@ + $D$(PATHBIN)/rnews: rnews +- $(LIBTOOL) ../installit.sh $(ROWNER) -m 04550 -b .OLD $? $@ ++ ../installit.sh $(ROWNER) -m 04550 -b .OLD $? $@ + $D$(PATHBIN)/ctlinnd: ctlinnd +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0550 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0550 -b .OLD $? $@ + $D$(PATHBIN)/sm: sm +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0550 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0550 -b .OLD $? $@ + $D$(PATHBIN)/getlist: getlist +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/innconfval: innconfval +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(RNEWSPROGS)/c7unbatch: c7unbatch.sh +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(RNEWSPROGS)/decode: decode +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(RNEWSPROGS)/encode: encode +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + + ## Dependencies. Default list, below, is probably good enough. + depend: Makefile $(SOURCES) diff --git a/news/inn/patches/patch-ac b/news/inn/patches/patch-ac new file mode 100644 index 00000000000..40441b1de5f --- /dev/null +++ b/news/inn/patches/patch-ac @@ -0,0 +1,27 @@ +$NetBSD: patch-ac,v 1.1 1998/09/05 03:21:11 garbled Exp $ +--- Makefile.global.in.orig Fri Aug 28 12:34:15 1998 ++++ Makefile.global.in Fri Aug 28 12:29:51 1998 +@@ -34,7 +34,7 @@ + EXTRA_SRC = @EXTRA_SRC@ + + OWNER = -O @NEWSUSER@ -G @NEWSGRP@ +-ROWNER = -O @NEWSUSER@ -G uucp ++ROWNER = -O @NEWSUSER@ -G @NEWSGRP@ + NEWSGROUP = @NEWSGRP@ + + PATHNEWS = @prefix@ +@@ -55,10 +55,10 @@ + + # Pick on of SOURCE, NROFF-PACK or NROFF-PACK-SCO + MANPAGESTYLE = SOURCE +-MAN1 = @MANDIR@/man1 +-MAN3 = @MANDIR@/man3 +-MAN5 = @MANDIR@/man5 +-MAN8 = @MANDIR@/man8 ++MAN1 = $(PREFIX)/man/man1 ++MAN3 = $(PREFIX)/man/man3 ++MAN5 = $(PREFIX)/man/man5 ++MAN8 = $(PREFIX)/man/man8 + + LEX = @LEX@ + YACC = @YACC@ diff --git a/news/inn/patches/patch-ad b/news/inn/patches/patch-ad new file mode 100644 index 00000000000..c874b66a27a --- /dev/null +++ b/news/inn/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1 1998/09/05 03:21:11 garbled Exp $ +--- innd/Makefile.orig Fri Aug 28 12:02:45 1998 ++++ innd/Makefile Fri Aug 28 12:03:29 1998 +@@ -24,10 +24,10 @@ + install: $D${PATHBIN}/innd $D${PATHBIN}/inndstart + + $D${PATHBIN}/innd: innd +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0550 -b .OLD innd $D${PATHBIN}/innd ++ ../installit.sh $(OWNER) -m 0550 -b .OLD innd $D${PATHBIN}/innd + + $D${PATHBIN}/inndstart: inndstart +- -$(LIBTOOL) ../installit.sh -O root -G $(NEWSGROUP) -m 4550 -b .OLD inndstart $D${PATHBIN}/inndstart ++ -../installit.sh -O root -G $(NEWSGROUP) -m 4550 -b .OLD inndstart $D${PATHBIN}/inndstart + @ME=`(whoami || /usr/ucb/whoami) 2> /dev/null` ;\ + if [ "X$$ME" = Xroot ]; then \ + echo $@ has been installed setuid root. ;\ diff --git a/news/inn/patches/patch-ae b/news/inn/patches/patch-ae new file mode 100644 index 00000000000..25fbcfed24a --- /dev/null +++ b/news/inn/patches/patch-ae @@ -0,0 +1,17 @@ +$NetBSD: patch-ae,v 1.1 1998/09/05 03:21:11 garbled Exp $ +--- nnrpd/Makefile.orig Fri Aug 28 12:04:39 1998 ++++ nnrpd/Makefile Fri Aug 28 12:04:58 1998 +@@ -22,11 +22,11 @@ + + ## Low-level install actions. + $D$(NNRPD): nnrpd +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + + ## Low-level install actions. + $D$(ACTIVED): actived +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + + clobber clean: + rm -f *.o $(ALL) diff --git a/news/inn/patches/patch-af b/news/inn/patches/patch-af new file mode 100644 index 00000000000..28f03cb2dc0 --- /dev/null +++ b/news/inn/patches/patch-af @@ -0,0 +1,12 @@ +$NetBSD: patch-af,v 1.1 1998/09/05 03:21:12 garbled Exp $ +--- backends/Makefile.orig Fri Aug 28 12:05:56 1998 ++++ backends/Makefile Fri Aug 28 12:06:09 1998 +@@ -17,7 +17,7 @@ + + install: all + for i in ${ALL}; \ +- do $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 \ ++ do ../installit.sh $(OWNER) -m 0555 \ + -b .OLD $${i} $D${PATHBIN}/$${i}; \ + done + diff --git a/news/inn/patches/patch-ag b/news/inn/patches/patch-ag new file mode 100644 index 00000000000..8a56381f9fb --- /dev/null +++ b/news/inn/patches/patch-ag @@ -0,0 +1,39 @@ +$NetBSD: patch-ag,v 1.1 1998/09/05 03:21:12 garbled Exp $ +--- expire/Makefile.orig Fri Aug 28 12:07:54 1998 ++++ expire/Makefile Fri Aug 28 12:08:47 1998 +@@ -85,25 +85,25 @@ + + ## Low-level install actions. + $D$(PATHBIN)/convdate: convdate +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/expire: expire +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/expireover: expireover +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/expireindex: expireindex +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/fastrm: fastrm +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/grephistory: grephistory +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/makeactive: makeactive +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/makehistory: makehistory +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/newsrequeue: newsrequeue +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + $D$(PATHBIN)/prunehistory: prunehistory +- $(LIBTOOL) ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 0555 -b .OLD $? $@ + + ## Dependencies. Default list, below, is probably good enough. + depend: Makefile $(SOURCES) diff --git a/news/inn/patches/patch-ah b/news/inn/patches/patch-ah new file mode 100644 index 00000000000..640258b1030 --- /dev/null +++ b/news/inn/patches/patch-ah @@ -0,0 +1,27 @@ +$NetBSD: patch-ah,v 1.1 1998/09/05 03:21:12 garbled Exp $ +--- innfeed/Makefile.orig Fri Aug 28 13:05:16 1998 ++++ innfeed/Makefile Fri Aug 28 13:05:55 1998 +@@ -111,19 +111,19 @@ + $(LINK.c) -o $@ $(OBJS) version.o $(LIBNEWS) $(LIBNEWS) + + $D$(PATHBIN)/innfeed: innfeed +- $(LIBTOOL) ../installit.sh $(OWNER) -m 550 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 550 -b .OLD $? $@ + + $D$(PATHBIN)/procbatch: procbatch +- $(LIBTOOL) ../installit.sh $(OWNER) -m 550 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 550 -b .OLD $? $@ + + + $D$(PATHBIN)/innfeed-convcfg: innfeed-convcfg +- $(LIBTOOL) ../installit.sh $(OWNER) -m 550 -b .OLD $? $@ ++ ../installit.sh $(OWNER) -m 550 -b .OLD $? $@ + $(SAVEOLD) + $(COPYFILE) + + $D$(PATHBIN)/startinnfeed: startinnfeed +- -$(LIBTOOL) ../installit.sh -O root -G $(NEWSGROUP) -m 4550 -b .OLD $? $@ ++ -../installit.sh -O root -G $(NEWSGROUP) -m 4550 -b .OLD $? $@ + @ME=`(whoami || /usr/ucb/whoami) 2> /dev/null` ;\ + if [ "X$$ME" = Xroot ]; then \ + echo $@ has been installed setuid root. ;\ diff --git a/news/inn/pkg/COMMENT b/news/inn/pkg/COMMENT new file mode 100644 index 00000000000..9e022a5f507 --- /dev/null +++ b/news/inn/pkg/COMMENT @@ -0,0 +1 @@ +the public release of InterNet News (INN). diff --git a/news/inn/pkg/DEINSTALL b/news/inn/pkg/DEINSTALL new file mode 100644 index 00000000000..f9ceac60cd5 --- /dev/null +++ b/news/inn/pkg/DEINSTALL @@ -0,0 +1,22 @@ +#! /bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 1998/09/05 03:21:12 garbled Exp $ +# + +case "$2" in + DEINSTALL) cat <<EOF + +========================================================================== + +Note that the inn spool directory (/var/spool/news) and log directory +(/usr/pkg/log) are NOT deleted by the pkg_delete process. Please remove +these directories and all their contents manually, if they are no longer +needed. Files in /usr/pkg/etc have not been deleted either, if you wish +to remove them you will need to do so manually as well. + +========================================================================== + +EOF + ;; +esac + diff --git a/news/inn/pkg/DESCR b/news/inn/pkg/DESCR new file mode 100644 index 00000000000..d557c911e44 --- /dev/null +++ b/news/inn/pkg/DESCR @@ -0,0 +1,10 @@ +This is the public release of version 2.1 of InterNet News (INN). This work +is sponsored by the Internet Software Consortium. + +InterNetNews is a complete Usenet system. The cornerstone of the package +is innd, an NNTP server that multiplexes all I/O. Newsreading is handled +by a separate server, nnrpd, that is spawned for each client. Both innd +and nnrpd have some slight variances from the NNTP protocol. + +You can set the environment variable INN_SPOOL to whatever you like to +change the default spool directory when building this pkg. diff --git a/news/inn/pkg/MESSAGE b/news/inn/pkg/MESSAGE new file mode 100644 index 00000000000..67e88ee47c9 --- /dev/null +++ b/news/inn/pkg/MESSAGE @@ -0,0 +1,2 @@ +The following programs have been installed suid root on your +machine: inndstart, startinnfeed diff --git a/news/inn/pkg/PLIST b/news/inn/pkg/PLIST new file mode 100644 index 00000000000..159ea7f5124 --- /dev/null +++ b/news/inn/pkg/PLIST @@ -0,0 +1,274 @@ +@comment $NetBSD: PLIST,v 1.1 1998/09/05 03:21:12 garbled Exp $ +bin/sm +bin/control/checkgroups +bin/control/default +bin/control/ihave +bin/control/newgroup +bin/control/rmgroup +bin/control/sendme +bin/control/sendsys +bin/control/senduuname +bin/control/version +bin/filter/startup_innd.pl +bin/filter/filter_innd.pl +bin/filter/filter_nnrpd.pl +bin/filter/startup.tcl +bin/filter/filter.tcl +bin/rnews.libexec/c7unbatch +bin/rnews.libexec/decode +bin/rnews.libexec/encode +bin/inews +bin/rnews +bin/ctlinnd +bin/getlist +bin/innconfval +bin/innd +bin/inndstart +bin/nnrpd +bin/actived +bin/archive +bin/batcher +bin/buffchan +bin/cvtbatch +bin/filechan +bin/innxmit +bin/innxbatch +bin/nntpget +bin/overchan +bin/shlock +bin/shrinkfile +bin/crosspost +bin/actsync +bin/actsyncd +bin/actmerge +bin/sendxbatches +bin/convdate +bin/expire +bin/expireover +bin/fastrm +bin/grephistory +bin/makeactive +bin/makehistory +bin/newsrequeue +bin/prunehistory +bin/expireindex +bin/innfeed +bin/startinnfeed +bin/procbatch +bin/innfeed-convcfg +bin/rc.news +bin/parsecontrol +bin/writelog +bin/news.daily +bin/scanlogs +bin/expirerm +bin/tally.control +bin/innmail +bin/nntpsend +bin/send-ihave +bin/send-nntp +bin/send-uucp +bin/sendbatch +bin/inncheck +bin/innstat +bin/pgpverify +bin/innwatch +bin/innreport +bin/scanspool +man/man1/inews.1 +man/man1/rnews.1 +man/man1/convdate.1 +man/man1/getlist.1 +man/man1/grephistory.1 +man/man1/innconfval.1 +man/man1/installit.1 +man/man1/nntpget.1 +man/man1/shlock.1 +man/man1/shrinkfile.1 +man/man1/subst.1 +man/man1/innfeed.1 +man/man1/startinnfeed.1 +man/man3/dbz.3 +man/man3/qio.3 +man/man3/clientlib.3 +man/man3/inndcomm.3 +man/man3/libinn.3 +man/man3/libstorage.3 +man/man3/parsedate.3 +man/man3/wildmat.3 +man/man5/active.5 +man/man5/control.ctl.5 +man/man5/distrib.pats.5 +man/man5/expire.ctl.5 +man/man5/history.5 +man/man5/inn.conf.5 +man/man5/innwatch.ctl.5 +man/man5/moderators.5 +man/man5/newsfeeds.5 +man/man5/newslog.5 +man/man5/nnrp.access.5 +man/man5/nnrpd.track.5 +man/man5/nntpsend.ctl.5 +man/man5/overview.fmt.5 +man/man5/passwd.nntp.5 +man/man5/innfeed.conf.5 +man/man5/motd.news.5 +man/man5/overview.ctl.5 +man/man5/storage.ctl.5 +man/man5/cycbuff.conf.5 +man/man5/incoming.conf.5 +man/man8/actsync.8 +man/man8/archive.8 +man/man8/batcher.8 +man/man8/buffchan.8 +man/man8/crosspost.8 +man/man8/ctlinnd.8 +man/man8/cvtbatch.8 +man/man8/expire.8 +man/man8/expireover.8 +man/man8/expirerm.8 +man/man8/fastrm.8 +man/man8/filechan.8 +man/man8/inncheck.8 +man/man8/innd.8 +man/man8/innreport.8 +man/man8/innstat.8 +man/man8/innwatch.8 +man/man8/innxbatch.8 +man/man8/innxmit.8 +man/man8/makeactive.8 +man/man8/makehistory.8 +man/man8/news-recovery.8 +man/man8/news.daily.8 +man/man8/newslog.8 +man/man8/newsrequeue.8 +man/man8/nnrpd.8 +man/man8/nntpsend.8 +man/man8/overchan.8 +man/man8/pgpverify.8 +man/man8/prunehistory.8 +man/man8/scanlogs.8 +man/man8/tally.control.8 +man/man8/tally.unwanted.8 +man/man8/writelog.8 +man/man8/expireindex.8 +man/man8/sm.8 +man/man8/actived.8 +man/man8/send-uucp.8 +share/examples/inn/actsync.cfg +share/examples/inn/writelog +share/examples/inn/version.in +share/examples/inn/version +share/examples/inn/tally.control.in +share/examples/inn/tally.control +share/examples/inn/storage.ctl +share/examples/inn/startup_innd.pl +share/examples/inn/startup.tcl.in +share/examples/inn/startup.tcl +share/examples/inn/signcontrol.in +share/examples/inn/signcontrol +share/examples/inn/senduuname.in +share/examples/inn/senduuname +share/examples/inn/sendsys.in +share/examples/inn/sendsys +share/examples/inn/sendme.in +share/examples/inn/sendme +share/examples/inn/sendbatch.in +share/examples/inn/sendbatch +share/examples/inn/send-uucp.in +share/examples/inn/send-uucp +share/examples/inn/send-nntp.in +share/examples/inn/send-nntp +share/examples/inn/send-ihave.in +share/examples/inn/send-ihave +share/examples/inn/scanspool.in +share/examples/inn/scanspool +share/examples/inn/scanlogs.in +share/examples/inn/scanlogs +share/examples/inn/sample.control +share/examples/inn/rmgroup.in +share/examples/inn/rmgroup +share/examples/inn/rc.news.in +share/examples/inn/rc.news +share/examples/inn/pgpverify.in +share/examples/inn/pgpverify +share/examples/inn/passwd.nntp +share/examples/inn/parsecontrol.in +share/examples/inn/parsecontrol +share/examples/inn/overview.fmt +share/examples/inn/overview.ctl +share/examples/inn/nntpsend.in +share/examples/inn/nntpsend.ctl +share/examples/inn/nntpsend +share/examples/inn/nnrpd.track +share/examples/inn/nnrp.access +share/examples/inn/newsfeeds +share/examples/inn/news.daily.in +share/examples/inn/news.daily +share/examples/inn/newgroup.in +share/examples/inn/newgroup +share/examples/inn/motd.news +share/examples/inn/moderators +share/examples/inn/innwatch.in +share/examples/inn/innwatch.ctl.in +share/examples/inn/innwatch.ctl +share/examples/inn/innwatch +share/examples/inn/innstat.in +share/examples/inn/innstat +share/examples/inn/innshellvars.tcl.in +share/examples/inn/innshellvars.tcl +share/examples/inn/innshellvars.pl.in +share/examples/inn/innshellvars.pl +share/examples/inn/innshellvars.in +share/examples/inn/innshellvars.csh.in +share/examples/inn/innshellvars.csh +share/examples/inn/innshellvars +share/examples/inn/innreport_inn.pm +share/examples/inn/innreport.in +share/examples/inn/innreport.conf.in +share/examples/inn/innreport.conf +share/examples/inn/innreport +share/examples/inn/innmail.in +share/examples/inn/innmail +share/examples/inn/innfeed.conf +share/examples/inn/inncheck.in +share/examples/inn/inncheck +share/examples/inn/inn.conf.in +share/examples/inn/inn.conf +share/examples/inn/incoming.conf +share/examples/inn/ihave.in +share/examples/inn/ihave +share/examples/inn/filter_nnrpd.pl +share/examples/inn/filter_innd.pl +share/examples/inn/filter.tcl +share/examples/inn/expirerm.in +share/examples/inn/expirerm +share/examples/inn/expire.ctl +share/examples/inn/docheckgroups.in +share/examples/inn/docheckgroups +share/examples/inn/distrib.pats +share/examples/inn/default.in +share/examples/inn/default +share/examples/inn/cycbuff.conf +share/examples/inn/control.ctl +share/examples/inn/checkgroups.in +share/examples/inn/checkgroups +share/examples/inn/actsync.ign +share/examples/inn/actsync.cfg.in +share/examples/inn/writelog.in +lib/libinn.so.2.0 +lib/libinn.a +lib/libstorage.so.2.0 +lib/libstorage.a +lib/docheckgroups +lib/innshellvars +lib/innshellvars.pl +lib/innshellvars.tcl +lib/innshellvars.csh +lib/innreport_inn.pm +@dirrm bin/control +@dirrm bin/filter +@dirrm bin/rnews.libexec +@dirrm bin/auth +@dirrm log/OLD +@dirrm share/examples/inn diff --git a/news/inn/pkg/install b/news/inn/pkg/install new file mode 100644 index 00000000000..582581895f2 --- /dev/null +++ b/news/inn/pkg/install @@ -0,0 +1,45 @@ +#!/bin/sh +# +# $NetBSD: install,v 1.1 1998/09/05 03:21:12 garbled Exp $ +# +if [ "$2" != "POST-INSTALL" ]; then + exit 0 +fi +SPOOLS="articles overview archive incoming incoming/bad outgoing uniover innfeed" +if [ ! -d XXXINN_SPOOLXXX ]; then + mkdir -p XXXINN_SPOOLXXX + chown news:news XXXINN_SPOOLXXX + chmod 775 XXXINN_SPOOLXXX +fi +for foo in $SPOOLS; do + if [ ! -d XXXINN_SPOOLXXX/$foo ]; then + mkdir -p XXXINN_SPOOLXXX/$foo + chown news:news XXXINN_SPOOLXXX/$foo + chmod 775 XXXINN_SPOOLXXX/$foo + fi +done + +if [ ! -d XXXPREFIXXXX/etc ]; then + mkdir -p XXXPREFIXXXX/etc + chown news:news XXXPREFIXXXX/etc + chmod 775 XXXPREFIXXXX/etc +fi +if [ ! -d XXXPREFIXXXX/run ]; then + mkdir -p XXXPREFIXXXX/run + chown news:news XXXPREFIXXXX/run + chmod 775 XXXPREFIXXXX/run +fi +if [ ! -d XXXPREFIXXXX/db ]; then + mkdir -p XXXPREFIXXXX/db + chown news:news XXXPREFIXXXX/db + chmod 775 XXXPREFIXXXX/db +fi + + +ETC="actsync.cfg actsync.ign control.ctl cycbuff.conf distrib.pats expire.ctl incoming.conf inn.conf innfeed.conf innreport.conf innwatch.ctl moderators motd.news newsfeeds nnrp.access nntpsend.ctl overview.ctl overview.fmt passwd.nntp storage.ctl" + +for foo in $ETC; do + if [ ! -e XXXPREFIXXXX/etc/$foo ]; then + cp XXXPREFIXXXX/share/examples/inn/$foo XXXPREFIXXXX/etc + fi +done |