Run as group `_news'.

ok sthen@
This commit is contained in:
jca 2016-12-18 19:50:59 +00:00
parent 42b0fba000
commit 6f64687728
2 changed files with 8 additions and 5 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.60 2015/10/02 11:55:05 jca Exp $
# $OpenBSD: Makefile,v 1.61 2016/12/18 19:50:59 jca Exp $
COMMENT= USENET software package designed for small sites
DISTNAME= leafnode-1.11.11
REVISION= 0
CATEGORIES= news
HOMEPAGE= http://leafnode.sourceforge.net/
@ -19,7 +20,8 @@ LIB_DEPENDS= devel/pcre
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-lockfile=/var/spool/news/fetchnews.lck
CONFIGURE_ARGS+= --with-user=_news
CONFIGURE_ARGS+= --with-user=_news \
--with-group=_news
DOCS= README README-FQDN INSTALL FAQ.txt NEWS OLDNEWS

View File

@ -1,5 +1,6 @@
@comment $OpenBSD: PLIST,v 1.17 2012/01/26 08:03:57 ajacoutot Exp $
@newuser _news:519:news:daemon:NNTP server:/var/spool/news:/sbin/nologin
@comment $OpenBSD: PLIST,v 1.18 2016/12/18 19:50:59 jca Exp $
@newgroup _news:519
@newuser _news:519:_news:daemon:NNTP server:/var/spool/news:/sbin/nologin
@extraunexec rm -rf /var/spool/news/*
@bin bin/leafnode-version
@bin bin/newsq
@ -33,7 +34,7 @@ share/examples/leafnode/nntp.rules.dist
share/examples/leafnode/run.tcpd.dist
share/examples/leafnode/run.tcpserver.dist
@owner _news
@group news
@group _news
@sample /var/spool/news/
@sample /var/spool/news/leaf.node/
@sample /var/spool/news/failed.postings/