1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

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.

PR:		ports/69121
Submitted by:	Andrey Slusar <vasallia@ukr.net>
This commit is contained in:
Pav Lucistnik 2004-07-17 19:11:03 +00:00
parent 98f99b80a2
commit 8a798e41ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113867
7 changed files with 122 additions and 0 deletions

View File

@ -69,6 +69,7 @@
SUBDIR += pyne
SUBDIR += rawdog
SUBDIR += rkive
SUBDIR += s-news
SUBDIR += slnr
SUBDIR += slrn
SUBDIR += slrnconf

45
news/s-news/Makefile Normal file
View File

@ -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>

2
news/s-news/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (s-news-0.1.11.tar.gz) = e03cc5a4ea9777ea56c5fb49b3fcca1f
SIZE (s-news-0.1.11.tar.gz) = 96567

View File

@ -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\

View File

@ -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

19
news/s-news/pkg-descr Normal file
View File

@ -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

21
news/s-news/pkg-plist Normal file
View File

@ -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