summaryrefslogtreecommitdiff
path: root/net/tcpdump/Makefile
blob: 0ef533d1e970ef02973d915e946981ab1febb374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.52 2021/11/16 16:19:40 adam Exp $

DISTNAME=	tcpdump-4.99.1
CATEGORIES=	net
MASTER_SITES=	http://www.tcpdump.org/release/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://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"

BUILDLINK_API_DEPENDS.libpcap+=	libpcap>=1.9.1
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"