Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= tcpdump |
4 |
PORTNAME= tcpdump |
5 |
PORTVERSION= 4.4.0 |
5 |
PORTVERSION= 4.5.1 |
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 29-40
Link Here
|
29 |
USER_DESC= Drop privileges to nobody |
29 |
USER_DESC= Drop privileges to nobody |
30 |
CHROOT_DESC= Chroot to /var/run/tcpdump (set CHROOTDIR to change) |
30 |
CHROOT_DESC= Chroot to /var/run/tcpdump (set CHROOTDIR to change) |
31 |
|
31 |
|
32 |
NO_STAGE= yes |
|
|
33 |
.include <bsd.port.options.mk> |
32 |
.include <bsd.port.options.mk> |
34 |
# The --without-crypto flag needs to be explicitly specified. The |
33 |
# The --without-crypto flag needs to be explicitly specified. The |
35 |
# configure script gets confused if you specify --with-crypto and |
34 |
# configure script gets confused if you specify --with-crypto and |
36 |
# thinks this means you *don't* want crypto. |
35 |
# thinks this means you *don't* want crypto. |
37 |
# |
36 |
# |
|
|
37 |
|
38 |
CONFIGURE_ARGS+= --enable-pcap_setdirection --with-pcap_setdirection |
38 |
.if ${PORT_OPTIONS:MCRYPTO} |
39 |
.if ${PORT_OPTIONS:MCRYPTO} |
39 |
USE_OPENSSL= yes |
40 |
USE_OPENSSL= yes |
40 |
.else |
41 |
.else |
Lines 72-78
Link Here
|
72 |
@${REINPLACE_CMD} -e "s,\./\.\./${LIBPCAP_FORCE_VER}/libpcap\.a,${LOCALBASE}/lib/libpcap.so.1," ${WRKSRC}/Makefile |
73 |
@${REINPLACE_CMD} -e "s,\./\.\./${LIBPCAP_FORCE_VER}/libpcap\.a,${LOCALBASE}/lib/libpcap.so.1," ${WRKSRC}/Makefile |
73 |
|
74 |
|
74 |
do-install: |
75 |
do-install: |
75 |
${INSTALL_PROGRAM} ${WRKSRC}/tcpdump ${PREFIX}/sbin |
76 |
${INSTALL_PROGRAM} ${WRKSRC}/tcpdump ${STAGEDIR}${PREFIX}/sbin |
76 |
${INSTALL_MAN} ${WRKSRC}/tcpdump.1 ${MAN1PREFIX}/man/man1 |
77 |
${INSTALL_MAN} ${WRKSRC}/tcpdump.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 |
77 |
|
78 |
|
78 |
.include <bsd.port.post.mk> |
79 |
.include <bsd.port.post.mk> |