pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tcpdump tcpdump: create _tcpdump user (and group) ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8dbd6d2a7b9
branches:  trunk
changeset: 359392:f8dbd6d2a7b9
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Mar 09 03:01:54 2017 +0000

description:
tcpdump: create _tcpdump user (and group) properly.
fix build failure when a _tcpdump user did not exist already.

from Michael-John Turner in PR pkg/52051

diffstat:

 net/tcpdump/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r a3530f6cca1d -r f8dbd6d2a7b9 net/tcpdump/Makefile
--- a/net/tcpdump/Makefile      Wed Mar 08 22:39:32 2017 +0000
+++ b/net/tcpdump/Makefile      Thu Mar 09 03:01:54 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2017/02/22 19:05:44 maya Exp $
+# $NetBSD: Makefile,v 1.45 2017/03/09 03:01:54 maya Exp $
 
 DISTNAME=      tcpdump-4.9.0
 PKGREVISION=   1
@@ -14,8 +14,9 @@
 CONFIGURE_ARGS.Darwin+=        --disable-universal
 
 BUILD_DEFS+=           VARBASE
-PKG_USERS=             _tcpdump
 OWN_DIRS=              ${VARBASE}/tcpdump
+PKG_GROUPS=            _tcpdump
+PKG_USERS=             _tcpdump:_tcpdump
 
 # drop privileges when running
 CONFIGURE_ARGS+=       --with-user=_tcpdump



Home | Main Index | Thread Index | Old Index