Date: Thu, 15 Jul 2004 21:20:33 +0300 From: Andrey Slusar <vasallia@ukr.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69121: [NEW PORT] news/s-news: simple news server for hosts with one or two users Message-ID: <E1BlAqP-000KCD-DF@santinel.home.ua> Resent-Message-ID: <200407151830.i6FIUHGi088780@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69121 >Category: ports >Synopsis: [NEW PORT] news/s-news: simple news server for hosts with one or two users >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 15 18:30:16 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Andrey Slusar >Release: FreeBSD 5.2-CURRENT i386 >Organization: Santinel >Environment: System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jul 15 02:25:50 EEST 2004 root@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386 >Description: S-news is a simple news server for hosts with one or two users. It is intened to supply spool and offline news reading for a configured selection of newsgroups. S-news does the minimum required to maintain a conventional news spool and makes use of suck or newsstar for news transport. >How-To-Repeat: >Fix: --- s-news.port begins here --- # 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: # # /usr/ports/news/s-news/ # /usr/ports/news/s-news/Makefile # /usr/ports/news/s-news/distinfo # /usr/ports/news/s-news/pkg-descr # /usr/ports/news/s-news/pkg-plist # /usr/ports/news/s-news/files # /usr/ports/news/s-news/files/patch-Makefile.in # /usr/ports/news/s-news/files/patch-newfeed.in # echo c - /usr/ports/news/s-news/ mkdir -p /usr/ports/news/s-news/ > /dev/null 2>&1 echo x - /usr/ports/news/s-news/Makefile sed 's/^X//' >/usr/ports/news/s-news/Makefile << 'END-of-/usr/ports/news/s-news/Makefile' X# New ports collection makefile for: s-news X# Date created: Jul 13 13:29:47 EEST 2004 X# Whom: Andrey Slusar <vasallia@ukr.net> X# X# $FreeBSD$ X# X XPORTNAME= s-news XPORTVERSION= 0.1.11 XCATEGORIES= news XMASTER_SITES= http://www.lost.org.uk/ X XMAINTAINER= vasallia@ukr.net XCOMMENT= Simple news server for hosts with one or two users X XLIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm X XCONFLICTS= nntp-* X XNEWSSPOOL=/var/spool/s-news X XCONFIGURE_ARGS= --prefix=${PREFIX} \ X --with-confdir=${PREFIX}/etc/s-news \ X --with-spooldir=${NEWSSPOOL} XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LIBS="-L${LOCALBASE}/lib" X XUSE_GMAKE= yes XHAS_CONFIGURE= yes X XMAN1= inews.1 XMAN8= expire.8 listactive.8 makehistory.8 newgroup.8 nntpd.8 overview.8 \ X qnews.8 rmgroup.8 rnews.8 X XPORTDOCS= COPYING README README.conf README.suck TODO XCONFIGS= access active expire newsfeeds newsgroups overview.fmt X XPLIST_SUB+= CONFIGDIR=${CONFIGDIR} X X.if !defined(NOPORTDOCS) Xpost-install: X ${MKDIR} ${DOCSDIR} X.for i in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}.sample X.endfor X.endif X X.include <bsd.port.mk> END-of-/usr/ports/news/s-news/Makefile echo x - /usr/ports/news/s-news/distinfo sed 's/^X//' >/usr/ports/news/s-news/distinfo << 'END-of-/usr/ports/news/s-news/distinfo' XMD5 (s-news-0.1.11.tar.gz) = e03cc5a4ea9777ea56c5fb49b3fcca1f XSIZE (s-news-0.1.11.tar.gz) = 96567 END-of-/usr/ports/news/s-news/distinfo echo x - /usr/ports/news/s-news/pkg-descr sed 's/^X//' >/usr/ports/news/s-news/pkg-descr << 'END-of-/usr/ports/news/s-news/pkg-descr' XS-news is a simple news server for hosts with one or two users. XIt is intened to supply spool and offline news reading for a Xconfigured selection of newsgroups. S-news does the minimum Xrequired to maintain a conventional news spool and makes use Xof suck for news transport. X XFeatures X-------- X XIt provdes a NNTP service and /var/spool/s-news for local news readers. XIt supports any number of incoming news feeds via NNTP either by IHAVE Xor suck(1). XOutgoing news feeds are made from locally posted articles and reposted Xremotly by rpost(1). XIt expires articles by how long they have been in the spool. XIt has NNTP access configuration to allow and deny read, post and Xtransfer access to remote hosts. XIt is very light weight and relatively easy to configure. X XWWW: http://www.lost.org.uk/snews.html END-of-/usr/ports/news/s-news/pkg-descr echo x - /usr/ports/news/s-news/pkg-plist sed 's/^X//' >/usr/ports/news/s-news/pkg-plist << 'END-of-/usr/ports/news/s-news/pkg-plist' Xbin/inews Xetc/s-news/access.sample Xetc/s-news/active.sample Xetc/s-news/expire.sample Xetc/s-news/newsfeeds.sample Xetc/s-news/newsgroups.sample Xetc/s-news/overview.fmt.sample Xetc/s-news/put.news Xsbin/expire Xsbin/fetchnews Xsbin/listactive Xsbin/makehistory Xsbin/newfeed Xsbin/newgroup Xsbin/nntpd Xsbin/overview Xsbin/qnews Xsbin/rmfeed Xsbin/rmgroup Xsbin/rnews X@dirrm %%CONFIGDIR%% END-of-/usr/ports/news/s-news/pkg-plist echo c - /usr/ports/news/s-news/files mkdir -p /usr/ports/news/s-news/files > /dev/null 2>&1 echo x - /usr/ports/news/s-news/files/patch-Makefile.in sed 's/^X//' >/usr/ports/news/s-news/files/patch-Makefile.in << 'END-of-/usr/ports/news/s-news/files/patch-Makefile.in' X--- Makefile.in.orig Sat May 18 22:23:03 2002 X+++ Makefile.in Wed Jul 14 16:48:18 2004 X@@ -113,7 +113,7 @@ X $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$p;\ X done X for p in $(SCRIPTS); do\ X- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$p;\ X+ $(INSTALL_SCRIPT) $$p $(DESTDIR)$(sbindir)/$$p;\ X done X $(INSTALL_DIRECTORY) $(DESTDIR)$(mandir)/man1 X for p in $(MAN1PAGES); do\ X@@ -125,7 +125,6 @@ X done X $(INSTALL_VARDIR) $(spooldir) X $(INSTALL_VARDIR) $(confdir) X- $(INSTALL_VARDIR) $(confdir)/suck X for d in $(DATA); do\ X if test ! -e $(DESTDIR)$(confdir)/$$d; then\ X $(INSTALL_VARDATA) data/$$d $(DESTDIR)$(confdir)/$$d;\ END-of-/usr/ports/news/s-news/files/patch-Makefile.in echo x - /usr/ports/news/s-news/files/patch-newfeed.in sed 's/^X//' >/usr/ports/news/s-news/files/patch-newfeed.in << 'END-of-/usr/ports/news/s-news/files/patch-newfeed.in' X--- newfeed.in.old Thu Jul 15 16:31:44 2004 X+++ newfeed.in Thu Jul 15 16:33:15 2004 X@@ -52,7 +52,7 @@ X umask $UMASK X fi X X-if mkdir $SUCKDIR/$host X+if mkdir -p $SUCKDIR/$host X then X echo junk >$SUCKDIR/$host/active-ignore X mkdir $SUCKDIR/$host/incoming END-of-/usr/ports/news/s-news/files/patch-newfeed.in exit --- s-news.port ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BlAqP-000KCD-DF>