summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authortron <tron>2002-07-06 14:33:36 +0000
committertron <tron>2002-07-06 14:33:36 +0000
commita30640857f1f64f4e01fac62f48eb053fa331614 (patch)
treea1503014db99bdd5e6b3158bdd43d67e55a6dd82 /news
parent01af8b576233612392462fe1cb55b61ae0a08169 (diff)
downloadpkgsrc-a30640857f1f64f4e01fac62f48eb053fa331614.tar.gz
Automatically create a "news" account suitable for running INN on
installation. This fixes PR pkg/13250 by Gabriel Rosenkoetter.
Diffstat (limited to 'news')
-rw-r--r--news/inn/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 8e9d5311f54..025a81bf7a6 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2002/06/23 04:00:50 jlam Exp $
+# $NetBSD: Makefile,v 1.34 2002/07/06 14:33:36 tron Exp $
DISTNAME= inn-2.3.2
CATEGORIES= news
@@ -32,6 +32,9 @@ CONFIGURE_ARGS+= --enable-setgid-inews \
--with-spool-dir=${INN_DATA_DIR}/spool
CONFIGURE_ENV+= _PATH_PERL=${PERL5}
+PKG_USERS= news:news::Internet\\ News:${INN_DATA_DIR}:${SH}
+PKG_GROUPS= news
+
.include "../../mk/bsd.prefs.mk"
# IPv6 support
@@ -90,4 +93,5 @@ post-install:
${INSTALL_SCRIPT} ${WRKDIR}/innd.sh ${PREFIX}/etc/rc.d/innd
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"