# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sn # sn/files # sn/files/patch-Makefile # sn/Makefile # sn/pkg-plist # sn/pkg-descr # sn/distinfo # echo c - sn mkdir -p sn > /dev/null 2>&1 echo c - sn/files mkdir -p sn/files > /dev/null 2>&1 echo x - sn/files/patch-Makefile sed 's/^X//' >sn/files/patch-Makefile << '846cdacf3b2a5f723c503244dd95dc55' X--- ./Makefile.orig 2014-04-04 12:17:36.551829000 +0200 X+++ ./Makefile 2014-04-04 12:20:01.852681999 +0200 X@@ -144,12 +144,12 @@ X strip: $(BINS) X strip $^ X X-install: all #$(SNROOT) $(BINDIR) $(MANDIR)/man8 # commented out so make -n install works without the dirs X- $(INSTALL) $(PROGS) $(BINDIR) X- $(INSTALL) *.8 $(MANDIR)/man8 X- -cd $(BINDIR); rm -f sncat; ln -s snscan sncat X- -cd $(BINDIR); rm -f sncancel; ln -s snscan sncancel X- -cd $(BINDIR); rm -f snstore; ln -s snsend snstore X+install: all #$(SNROOT) $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man8 # commented out so make -n install works without the dirs X+ $(INSTALL) $(PROGS) $(DESTDIR)$(BINDIR) X+ $(INSTALL) *.8 $(DESTDIR)$(MANDIR)/man8 X+ -cd $(DESTDIR)$(BINDIR); rm -f sncat; ln -s snscan sncat X+ -cd $(DESTDIR)$(BINDIR); rm -f sncancel; ln -s snscan sncancel X+ -cd $(DESTDIR)$(BINDIR); rm -f snstore; ln -s snsend snstore X X spoolclean: X @echo -n "make $@ will wipe out your news spool! Sure? [y/n] " 846cdacf3b2a5f723c503244dd95dc55 echo x - sn/Makefile sed 's/^X//' >sn/Makefile << '33937df46bb444128f583b26bd97f829' X# Created by: Andreas Fehlner X# $FreeBSD: head/news/sn/Makefile 530719 2020-04-04 20:51:40Z antoine $ X XPORTNAME= sn XPORTVERSION= 0.3.8 XPORTREVISION= 3 XCATEGORIES= news XMASTER_SITES= https://ncic.netmag.ml/download/bsd/ X XMAINTAINER= ports@freebsd.org XCOMMENT= Small news system for small sites serving X XLICENSE= GPLv2 X XRUN_DEPENDS= bash:shells/bash X XUSES= gmake tar:bzip2 XMAKE_ARGS+= PREFIX="${PREFIX}" LD="${CC}" CC="${CC}" X XPORTDOCS= README CHANGES FAQ INSTALL INTERNALS \ X THANKS TODO INSTALL.notes INSTALL.notes2 \ X INSTALL.run INSTALL.upgrade X XINSTALL_TARGET= strip install X XOPTIONS_DEFINE= DOCS X X# Try to fix parallel builds (-jX); respect CFLAGS Xpost-patch: X ${REINPLACE_CMD} -e 's|sn\.a$$|& lib/libstuff.a| ; \ X s|snlockf\.o$$|& lib/libstuff.a| ; \ X s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic| ; \ X s|strip |${STRIP_CMD} | ; \ X s|/bin/bash|${LOCALBASE}/bin/bash|' \ X ${WRKSRC}/Makefile X Xpost-install: X @${MKDIR} ${STAGEDIR}/var/spool/news X @${MKDIR} ${STAGEDIR}${DOCSDIR} X ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} X X.include 33937df46bb444128f583b26bd97f829 echo x - sn/pkg-plist sed 's/^X//' >sn/pkg-plist << '8ec862277dbc23f3036c2e57639066b3' Xman/man8/sn.8.gz Xman/man8/sncancel.8.gz Xman/man8/sncat.8.gz Xman/man8/sndelgroup.8.gz Xman/man8/sndumpdb.8.gz Xman/man8/snexpire.8.gz Xman/man8/snfetch.8.gz Xman/man8/snget.8.gz Xman/man8/sngetd.8.gz Xman/man8/snmail.8.gz Xman/man8/snnewgroup.8.gz Xman/man8/snntpd.8.gz Xman/man8/snprimedb.8.gz Xman/man8/snscan.8.gz Xman/man8/snsend.8.gz Xman/man8/snsplit.8.gz Xman/man8/snstore.8.gz Xsbin/SNHELLO Xsbin/SNPOST Xsbin/dot-outgoing.ex Xsbin/sncancel Xsbin/sncat Xsbin/sndelgroup Xsbin/sndumpdb Xsbin/snexpire Xsbin/snfetch Xsbin/snget Xsbin/sngetd Xsbin/snlockf Xsbin/snmail Xsbin/snnewgroup Xsbin/snntpd Xsbin/snprimedb Xsbin/snscan Xsbin/snsend Xsbin/snsplit Xsbin/snstore X@dir /var/spool/news X@postunexec [ ! -d /var/spool/news ] || ( echo "===> If you don't plan to use them later, you can safely remove /var/spool/news. Deinstall process kept these files intact:" | fmt && for i in $(find /var/spool/news -type f); do echo " - $i"; done) 8ec862277dbc23f3036c2e57639066b3 echo x - sn/pkg-descr sed 's/^X//' >sn/pkg-descr << '86287f1a7f209adf3ed4ce718fca3301' Xsn a small news system for small sites serving perhaps a few dozen Xnewsgroups, and with a slow connection to the internet; similar to XLeafnode. The target user is a home or SOHO with a single modem Xconnection to the Internet, maybe running IP masq or similar, and Xserving a few workstations. X XWWW: http://infa.abo.fi/~patrik/sn/ 86287f1a7f209adf3ed4ce718fca3301 echo x - sn/distinfo sed 's/^X//' >sn/distinfo << '24092a440487122924be6d69a66cd42e' XSHA256 (sn-0.3.8.tar.bz2) = 8ce7c77d587814993ca27d5bbf2bb8b2ad13111995b6113dc917484596dbddf0 XSIZE (sn-0.3.8.tar.bz2) = 97751 24092a440487122924be6d69a66cd42e exit