diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-17 19:11:03 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-17 19:11:03 +0000 |
commit | 8a798e41adffa58a681d5757cca96531b78f5c90 (patch) | |
tree | 4b1df01b77af0727d3b9ad55313ec2f613f687d4 /news | |
parent | 98f99b80a2f87626df55dbf76f90a8e41988545d (diff) | |
download | ports-8a798e41adffa58a681d5757cca96531b78f5c90.tar.gz ports-8a798e41adffa58a681d5757cca96531b78f5c90.zip |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/Makefile | 1 | ||||
-rw-r--r-- | news/s-news/Makefile | 45 | ||||
-rw-r--r-- | news/s-news/distinfo | 2 | ||||
-rw-r--r-- | news/s-news/files/patch-Makefile.in | 23 | ||||
-rw-r--r-- | news/s-news/files/patch-newfeed.in | 11 | ||||
-rw-r--r-- | news/s-news/pkg-descr | 19 | ||||
-rw-r--r-- | news/s-news/pkg-plist | 21 |
7 files changed, 122 insertions, 0 deletions
diff --git a/news/Makefile b/news/Makefile index eb1120fe62b0..18e1275b1eb7 100644 --- a/news/Makefile +++ b/news/Makefile @@ -69,6 +69,7 @@ SUBDIR += pyne SUBDIR += rawdog SUBDIR += rkive + SUBDIR += s-news SUBDIR += slnr SUBDIR += slrn SUBDIR += slrnconf diff --git a/news/s-news/Makefile b/news/s-news/Makefile new file mode 100644 index 000000000000..bfe4285247c5 --- /dev/null +++ b/news/s-news/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: s-news +# Date created: Jul 13 13:29:47 EEST 2004 +# Whom: Andrey Slusar <vasallia@ukr.net> +# +# $FreeBSD$ +# + +PORTNAME= s-news +PORTVERSION= 0.1.11 +CATEGORIES= news +MASTER_SITES= http://www.lost.org.uk/ + +MAINTAINER= vasallia@ukr.net +COMMENT= Simple news server for hosts with one or two users + +LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm + +CONFLICTS= nntp-* + +NEWSSPOOL= /var/spool/s-news + +CONFIGURE_ARGS= --prefix=${PREFIX} \ + --with-confdir=${PREFIX}/etc/s-news \ + --with-spooldir=${NEWSSPOOL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +USE_GMAKE= yes +HAS_CONFIGURE= yes + +MAN1= inews.1 +MAN8= expire.8 listactive.8 makehistory.8 newgroup.8 nntpd.8 overview.8 \ + qnews.8 rmgroup.8 rnews.8 + +PORTDOCS= README README.conf README.suck TODO + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/news/s-news/distinfo b/news/s-news/distinfo new file mode 100644 index 000000000000..2c68c4822c82 --- /dev/null +++ b/news/s-news/distinfo @@ -0,0 +1,2 @@ +MD5 (s-news-0.1.11.tar.gz) = e03cc5a4ea9777ea56c5fb49b3fcca1f +SIZE (s-news-0.1.11.tar.gz) = 96567 diff --git a/news/s-news/files/patch-Makefile.in b/news/s-news/files/patch-Makefile.in new file mode 100644 index 000000000000..de222774d1e1 --- /dev/null +++ b/news/s-news/files/patch-Makefile.in @@ -0,0 +1,23 @@ +--- Makefile.in.orig Sat May 18 21:23:03 2002 ++++ Makefile.in Sat Jul 17 21:03:08 2004 +@@ -113,7 +113,7 @@ + $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$p;\ + done + for p in $(SCRIPTS); do\ +- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$p;\ ++ $(INSTALL_SCRIPT) $$p $(DESTDIR)$(sbindir)/$$p;\ + done + $(INSTALL_DIRECTORY) $(DESTDIR)$(mandir)/man1 + for p in $(MAN1PAGES); do\ +@@ -125,10 +125,9 @@ + done + $(INSTALL_VARDIR) $(spooldir) + $(INSTALL_VARDIR) $(confdir) +- $(INSTALL_VARDIR) $(confdir)/suck + for d in $(DATA); do\ + if test ! -e $(DESTDIR)$(confdir)/$$d; then\ +- $(INSTALL_VARDATA) data/$$d $(DESTDIR)$(confdir)/$$d;\ ++ $(INSTALL_VARDATA) data/$$d $(DESTDIR)$(confdir)/$$d.sample;\ + fi;\ + done + if test ! -e $(DESTDIR)$(confdir)/put.news; then\ diff --git a/news/s-news/files/patch-newfeed.in b/news/s-news/files/patch-newfeed.in new file mode 100644 index 000000000000..6c6a80bec0f7 --- /dev/null +++ b/news/s-news/files/patch-newfeed.in @@ -0,0 +1,11 @@ +--- newfeed.in.old Thu Jul 15 16:31:44 2004 ++++ newfeed.in Thu Jul 15 16:33:15 2004 +@@ -52,7 +52,7 @@ + umask $UMASK + fi + +-if mkdir $SUCKDIR/$host ++if mkdir -p $SUCKDIR/$host + then + echo junk >$SUCKDIR/$host/active-ignore + mkdir $SUCKDIR/$host/incoming diff --git a/news/s-news/pkg-descr b/news/s-news/pkg-descr new file mode 100644 index 000000000000..ff94839135a6 --- /dev/null +++ b/news/s-news/pkg-descr @@ -0,0 +1,19 @@ +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 for news transport. + +Features +-------- + +It provdes a NNTP service and /var/spool/news for local news readers. +It supports any number of incoming news feeds via NNTP either by IHAVE or +suck(1). +Outgoing news feeds are made from locally posted articles and reposted remotly +by rpost(1). +It expires articles by how long they have been in the spool. +It has NNTP access configuration to allow and deny read, post and transfer +access to remote hosts. +It is very light weight and relatively easy to configure. + +WWW: http://www.lost.org.uk/snews.html diff --git a/news/s-news/pkg-plist b/news/s-news/pkg-plist new file mode 100644 index 000000000000..e5ad17f955f5 --- /dev/null +++ b/news/s-news/pkg-plist @@ -0,0 +1,21 @@ +bin/inews +etc/s-news/access.sample +etc/s-news/active.sample +etc/s-news/expire.sample +etc/s-news/newsfeeds.sample +etc/s-news/newsgroups.sample +etc/s-news/overview.fmt.sample +etc/s-news/put.news +sbin/expire +sbin/fetchnews +sbin/listactive +sbin/makehistory +sbin/newfeed +sbin/newgroup +sbin/nntpd +sbin/overview +sbin/qnews +sbin/rmfeed +sbin/rmgroup +sbin/rnews +@dirrm etc/s-news |