1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Update to 4.1.1

This commit is contained in:
Wesley Shields 2010-04-07 19:49:33 +00:00
parent d321ca6382
commit be25b60de2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252406
3 changed files with 9 additions and 15 deletions

View File

@ -6,15 +6,14 @@
#
PORTNAME= tcpdump
PORTVERSION= 4.0.0
PORTVERSION= 4.1.1
CATEGORIES= net ipv6
MASTER_SITES= http://www.tcpdump.org/release/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= wxs@FreeBSD.org
COMMENT= Ubiquitous network traffic analysis tool
LIB_DEPENDS= pcap.3:${PORTSDIR}/net/libpcap \
LIB_DEPENDS= pcap.1:${PORTSDIR}/net/libpcap \
smi.2:${PORTSDIR}/net-mgmt/libsmi
GNU_CONFIGURE= yes
@ -63,11 +62,9 @@ PLIST_FILES= sbin/tcpdump
CFLAGS+= "-I${LOCALBASE}/include"
LDFLAGS+= "-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
LIBPCAP_FORCE_VER= libpcap-1.0.0
LIBPCAP_FORCE_VER= libpcap-1.1
LOCALPCAPFILES= include/pcap.h include/pcap-namedb.h include/pcap-bpf.h \
include/pcap lib/libpcap.a
include/pcap lib/libpcap.a lib/libpcap.so
WRKPCAPDIR= ${WRKDIR}/${LIBPCAP_FORCE_VER}
pre-configure:
@ -77,10 +74,10 @@ pre-configure:
.endfor
post-configure:
@${REINPLACE_CMD} -e "s,\./\.\./${LIBPCAP_FORCE_VER}/libpcap\.a,${LOCALBASE}/lib/libpcap.so.3," ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,\./\.\./${LIBPCAP_FORCE_VER}/libpcap\.a,${LOCALBASE}/lib/libpcap.so.1," ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpdump ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/tcpdump.1 ${MAN1PREFIX}/man/man1
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (tcpdump-4.0.0.tar.gz) = b22ca72890df2301d922c9f2d17867f9
SHA256 (tcpdump-4.0.0.tar.gz) = 5fe99efe0274b5764c9974417c96a38b5f94e21096d8a94cc1fa172a42035284
SIZE (tcpdump-4.0.0.tar.gz) = 708774
MD5 (tcpdump-4.1.1.tar.gz) = d0dd58bbd6cd36795e05c6f1f74420b0
SHA256 (tcpdump-4.1.1.tar.gz) = e6cd4bbd61ec7adbb61ba8352c4b4734f67b8caaa845d88cb826bc0b9f1e7f0a
SIZE (tcpdump-4.1.1.tar.gz) = 1587392

View File

@ -4,6 +4,3 @@ variety of BSD, Linux and UN*X distributions.
Whilst FreeBSD has a vendor branch import of tcpdump in its source tree,
the purpose of the port is to provide a means of offering additional,
bleeding-edge features which might not make it into the tree.
Bruce
bms@FreeBSD.org