summaryrefslogtreecommitdiff
path: root/net/snort
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-12-05 16:03:56 +0000
committeragc <agc@pkgsrc.org>2001-12-05 16:03:56 +0000
commita3c645a3eb6885de3744fef394183fd2859e4695 (patch)
tree76e01eccce12f6883aede366073ab45f9f09a336 /net/snort
parent57aa4707d7f3b6dbe02282c32bd65ab0c8a8ac01 (diff)
downloadpkgsrc-a3c645a3eb6885de3744fef394183fd2859e4695.tar.gz
Normalise all the uses of "wheel", and "root" for ${ROOT_GROUP}, now that
the definition is available in all the defs.${OPSYS}.mk files.
Diffstat (limited to 'net/snort')
-rw-r--r--net/snort/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/net/snort/Makefile b/net/snort/Makefile
index ccef51e7eff..14f042443b9 100644
--- a/net/snort/Makefile
+++ b/net/snort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2001/12/02 14:43:49 kleink Exp $
+# $NetBSD: Makefile,v 1.15 2001/12/05 16:03:57 agc Exp $
#
DISTNAME= snort-1.8.3
@@ -19,18 +19,10 @@ GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-libpcap-includes=${BUILDLINK_DIR}/include
CONFIGURE_ARGS+= --with-libpcap-libraries=${BUILDLINK_DIR}/lib
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
-ROOTGROUP= root
-.endif
-
-ROOTGROUP?= wheel
-
#WRKSRC= ${WRKDIR}/snort
post-install:
- ${INSTALL_DATA_DIR} -m 700 -o root -g ${ROOTGROUP} /var/log/snort
+ ${INSTALL_DATA_DIR} -m 700 -o ${ROOT_USER} -g ${ROOT_GROUP} /var/log/snort
${INSTALL_DATA_DIR} ${PREFIX}/share/snort
cd ${WRKSRC} ; \
for i in snort.conf *.config *.rules ; do \