d52b27fce4
I think the package might be created and can be built, but isn't possible to pkg_add. paranoid bump just in case.
28 lines
674 B
Makefile
28 lines
674 B
Makefile
# $NetBSD: Makefile,v 1.46 2017/03/09 03:59:17 maya Exp $
|
|
|
|
DISTNAME= tcpdump-4.9.0
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.tcpdump.org/release/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.tcpdump.org/
|
|
COMMENT= Network monitoring tool
|
|
LICENSE= modified-bsd
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS.Darwin+= --disable-universal
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
OWN_DIRS= ${VARBASE}/tcpdump
|
|
PKG_GROUPS= _tcpdump
|
|
PKG_USERS= _tcpdump:_tcpdump
|
|
|
|
# drop privileges when running
|
|
CONFIGURE_ARGS+= --with-user=_tcpdump
|
|
CONFIGURE_ARGS+= --with-chroot=${VARBASE}/tcpdump
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|