summaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2012-06-19 01:38:43 +0000
committerWesley Shields <wxs@FreeBSD.org>2012-06-19 01:38:43 +0000
commitb636db25a4b060fa1f7fca9a1b9d10a1b065fb7c (patch)
tree80ed0a5b9532a5429ca360e27928548695dab85f /net/libpcap
parentAdd option to enable OPIE support (off by default). [1] (diff)
Update to 1.3.0.
While here convert to new-style options.
Notes
Notes: svn path=/head/; revision=299596
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile19
-rw-r--r--net/libpcap/distinfo4
2 files changed, 16 insertions, 7 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index a644632e7792..31c04a39f178 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libpcap
-PORTVERSION= 1.2.1
+PORTVERSION= 1.3.0
CATEGORIES= net ipv6
MASTER_SITES= http://www.tcpdump.org/release/
@@ -113,16 +113,25 @@ PLIST_FILES+= bin/pcap-config \
lib/libpcap.so
PLIST_DIRS+= include/pcap
-.if !defined(WITHOUT_IPV6)
+OPTIONS_DEFINE= DAG IPV6
+
+DAG_DESC= Support for Endace DAG hardware
+
+OPTIONS_DEFAULT= IPV6
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIPV6}
CONFIGURE_ARGS+= --enable-ipv6
.endif
-.if !defined(WITH_DAG)
-CONFIGURE_ARGS+= --without-dag
-.else
+.if ${PORT_OPTIONS:MDAG}
LDFLAGS+= -L${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+= --without-dag
.endif
+# Maybe make this into an OPTION?
.if defined(LIBPCAP_OVERWRITE_BASE)
post-install:
${CAT} ${PKGMESSAGE}
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo
index bb669db90500..4bb13d047187 100644
--- a/net/libpcap/distinfo
+++ b/net/libpcap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libpcap-1.2.1.tar.gz) = a135a6ef7e539729a57c7ed345bdb9b64159e13404174006a7972eb33f00debd
-SIZE (libpcap-1.2.1.tar.gz) = 603208
+SHA256 (libpcap-1.3.0.tar.gz) = 41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9
+SIZE (libpcap-1.3.0.tar.gz) = 608967