summaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2016-10-28 11:09:19 +0000
committerRenato Botelho <garga@FreeBSD.org>2016-10-28 11:09:19 +0000
commit7fbcd66fa47661a1b88e10360e97d738eead1a3d (patch)
tree2e82009276608110dc1cd351cebe28acf39e54d7 /net/libpcap
parent- Add LICENSE (diff)
- Update net/libpcap to 1.8.1
- Simplify Makefile - Sort pkg-plist using make makeplist Sponsored by: Rubicon Communications (Netgate)
Notes
Notes: svn path=/head/; revision=424823
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile13
-rw-r--r--net/libpcap/distinfo6
-rw-r--r--net/libpcap/pkg-plist3
3 files changed, 9 insertions, 13 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index 47a53c4b44cf..3b0f0762c6d1 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libpcap
-PORTVERSION= 1.8.0
-PORTREVISION= 1
+PORTVERSION= 1.8.1
CATEGORIES= net ipv6
MASTER_SITES= http://www.tcpdump.org/release/
@@ -20,6 +19,8 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS+=--enable-dbus=no \
--with-pcap=bpf
CONFIGURE_ENV+= LEX=${LOCALBASE}/bin/flex
+CFLAGS_amd64= -fPIC
+CFLAGS_sparc64= -fPIC
PLIST_SUB+= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= DAG IPV6
@@ -30,10 +31,4 @@ IPV6_CONFIGURE_ENABLE= ipv6
DAG_CONFIGURE_WITH= dag
DAG_LDFLAGS= -L${LOCALBASE}/lib
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
-CFLAGS+= -fPIC
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo
index 0911159a6074..0a99fa3ee5aa 100644
--- a/net/libpcap/distinfo
+++ b/net/libpcap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1470137886
-SHA256 (libpcap-1.8.0.tar.gz) = f47b51533f9f060afb304010ea5cbf51d032707333bca70c36351d255754659c
-SIZE (libpcap-1.8.0.tar.gz) = 683150
+TIMESTAMP = 1477480513
+SHA256 (libpcap-1.8.1.tar.gz) = 673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e
+SIZE (libpcap-1.8.1.tar.gz) = 739163
diff --git a/net/libpcap/pkg-plist b/net/libpcap/pkg-plist
index 726a4541271d..3a13d8637fea 100644
--- a/net/libpcap/pkg-plist
+++ b/net/libpcap/pkg-plist
@@ -4,6 +4,7 @@ include/pcap-namedb.h
include/pcap.h
include/pcap/bluetooth.h
include/pcap/bpf.h
+include/pcap/can_socketcan.h
include/pcap/dlt.h
include/pcap/export-defs.h
include/pcap/ipnet.h
@@ -15,8 +16,8 @@ include/pcap/usb.h
include/pcap/vlan.h
lib/libpcap.a
lib/libpcap.so
-lib/libpcap.so.%%PORTVERSION%%
lib/libpcap.so.1
+lib/libpcap.so.%%PORTVERSION%%
man/man1/pcap-config.1.gz
man/man3/pcap.3.gz
man/man3/pcap_activate.3.gz