Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= tcpdump |
4 |
PORTNAME= tcpdump |
5 |
PORTVERSION= 4.5.1 |
5 |
PORTVERSION= 4.6.2 |
6 |
CATEGORIES= net ipv6 |
6 |
CATEGORIES= net ipv6 |
7 |
MASTER_SITES= http://www.tcpdump.org/release/ |
7 |
MASTER_SITES= http://www.tcpdump.org/release/ |
8 |
|
8 |
|
Lines 13-24
Link Here
|
13 |
|
13 |
|
14 |
GNU_CONFIGURE= yes |
14 |
GNU_CONFIGURE= yes |
15 |
USES= gmake |
15 |
USES= gmake |
|
|
16 |
USE_AUTOTOOLS= autoconf |
16 |
|
17 |
|
17 |
UNPRIV_USER?= nobody |
18 |
UNPRIV_USER?= nobody |
18 |
CHROOTDIR?= /var/run/tcpdump |
19 |
CHROOTDIR?= /var/run/tcpdump |
19 |
|
20 |
|
20 |
OPTIONS_DEFINE= CRYPTO IPV6 SMB SMI USER CHROOT |
21 |
OPTIONS_DEFINE= CRYPTO IPV6 SMB SMI USER CHROOT CAPSICUM |
21 |
OPTIONS_DEFAULT= CRYPTO IPV6 SMB SMI |
22 |
OPTIONS_DEFAULT= CRYPTO IPV6 SMB SMI CAPSICUM |
22 |
|
23 |
|
23 |
CRYPTO_DESC= Support IPSEC and TCPMD5 |
24 |
CRYPTO_DESC= Support IPSEC and TCPMD5 |
24 |
# This one is intentionally worded this way because the default |
25 |
# This one is intentionally worded this way because the default |
Lines 28-33
Link Here
|
28 |
SMI_DESC= Allow MIBs to be loaded on the fly |
29 |
SMI_DESC= Allow MIBs to be loaded on the fly |
29 |
USER_DESC= Drop privileges to nobody |
30 |
USER_DESC= Drop privileges to nobody |
30 |
CHROOT_DESC= Chroot to /var/run/tcpdump (set CHROOTDIR to change) |
31 |
CHROOT_DESC= Chroot to /var/run/tcpdump (set CHROOTDIR to change) |
|
|
32 |
CAPSICUM_DESC= Sandbox tcpdump using capsicum if the kernel supports it |
31 |
|
33 |
|
32 |
.include <bsd.port.options.mk> |
34 |
.include <bsd.port.options.mk> |
33 |
|
35 |
|
Lines 65-70
Link Here
|
65 |
CONFIGURE_ARGS+= --with-chroot=${CHROOTDIR} |
67 |
CONFIGURE_ARGS+= --with-chroot=${CHROOTDIR} |
66 |
.endif |
68 |
.endif |
67 |
|
69 |
|
|
|
70 |
.if ${PORT_OPTIONS:MCAPSICUM} |
71 |
CONFIGURE_ARGS+= --with-sandbox-capsicum |
72 |
.endif |
73 |
|
68 |
.include <bsd.port.pre.mk> |
74 |
.include <bsd.port.pre.mk> |
69 |
|
75 |
|
70 |
PLIST_FILES= sbin/tcpdump \ |
76 |
PLIST_FILES= sbin/tcpdump \ |