diff options
author | garga <garga@FreeBSD.org> | 2016-10-28 19:09:19 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2016-10-28 19:09:19 +0800 |
commit | 192a9a72e0214fa82d5f9487010d11bdf4967332 (patch) | |
tree | 2e82009276608110dc1cd351cebe28acf39e54d7 | |
parent | 4495371e06480d5cf0fea8a6faa0a3ff2765f396 (diff) | |
download | freebsd-ports-gnome-192a9a72e0214fa82d5f9487010d11bdf4967332.tar.gz freebsd-ports-gnome-192a9a72e0214fa82d5f9487010d11bdf4967332.tar.zst freebsd-ports-gnome-192a9a72e0214fa82d5f9487010d11bdf4967332.zip |
- Update net/libpcap to 1.8.1
- Simplify Makefile
- Sort pkg-plist using make makeplist
Sponsored by: Rubicon Communications (Netgate)
-rw-r--r-- | net/libpcap/Makefile | 13 | ||||
-rw-r--r-- | net/libpcap/distinfo | 6 | ||||
-rw-r--r-- | net/libpcap/pkg-plist | 3 |
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 |