aboutsummaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2013-12-29 05:22:35 +0000
committerWesley Shields <wxs@FreeBSD.org>2013-12-29 05:22:35 +0000
commit4fd976b0a61f59b5455c6136f849995d767db0a1 (patch)
tree02a35ede2139121810f227dd998a3391d01f3e0e /net/libpcap
parentdd2e38ef21ef172db64d821d190ae07f675fa6b0 (diff)
downloadports-4fd976b0a61f59b5455c6136f849995d767db0a1.tar.gz
ports-4fd976b0a61f59b5455c6136f849995d767db0a1.zip
Notes
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile5
-rw-r--r--net/libpcap/distinfo4
-rw-r--r--net/libpcap/files/patch-Makefile.in77
3 files changed, 43 insertions, 43 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index f768150dbe20..4652b5512775 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libpcap
-PORTVERSION= 1.4.0
+PORTVERSION= 1.5.2
CATEGORIES= net ipv6
MASTER_SITES= http://www.tcpdump.org/release/
@@ -42,6 +42,7 @@ MAN3= pcap.3 \
pcap_fileno.3 \
pcap_findalldevs.3 \
pcap_freecode.3 \
+ pcap_get_tstamp_precision.3 \
pcap_get_selectable_fd.3 \
pcap_geterr.3 \
pcap_inject.3 \
@@ -60,10 +61,12 @@ MAN3= pcap.3 \
pcap_open_offline.3 \
pcap_set_buffer_size.3 \
pcap_set_datalink.3 \
+ pcap_set_immediate_mode.3 \
pcap_set_promisc.3 \
pcap_set_rfmon.3 \
pcap_set_snaplen.3 \
pcap_set_timeout.3 \
+ pcap_set_tstamp_precision.3 \
pcap_set_tstamp_type.3 \
pcap_setdirection.3 \
pcap_setfilter.3 \
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo
index aeded6b9b4b8..7925d437e0e1 100644
--- a/net/libpcap/distinfo
+++ b/net/libpcap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libpcap-1.4.0.tar.gz) = 7c6a2a4f71e8ab09804e6b4fb3aff998c5583108ac42c0e2967eee8e1dbc7406
-SIZE (libpcap-1.4.0.tar.gz) = 619045
+SHA256 (libpcap-1.5.2.tar.gz) = 806d4ba23b126476d39a458ad1468f73dfe63c92f9586208f7e4e18c13e52ddd
+SIZE (libpcap-1.5.2.tar.gz) = 640308
diff --git a/net/libpcap/files/patch-Makefile.in b/net/libpcap/files/patch-Makefile.in
index 49de3089160e..39341f81c9f6 100644
--- a/net/libpcap/files/patch-Makefile.in
+++ b/net/libpcap/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- ./Makefile.in.orig 2012-01-07 23:10:56.713381055 -0500
-+++ ./Makefile.in 2012-01-07 23:10:38.819379443 -0500
-@@ -548,52 +548,19 @@
+--- ./Makefile.in.orig 2013-12-03 10:11:53.000000000 -0500
++++ ./Makefile.in 2013-12-28 22:38:41.000000000 -0500
+@@ -564,49 +564,19 @@
$(DESTDIR)$(includedir)/$$i; done
[ -d $(DESTDIR)$(bindir) ] || \
(mkdir -p $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
@@ -19,43 +19,40 @@
+ j=$$(echo $$i | sed -e 's/3pcap/3/') ; \
$(INSTALL_DATA) $$i \
- $(DESTDIR)$(mandir)/man3/$$i; done
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_description.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_name.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_datalink_val_to_description.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_dump_fopen.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_dump_open.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_dump_fopen.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_freealldevs.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_findalldevs.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_freealldevs.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_perror.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_geterr.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_perror.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_sendpacket.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_inject.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_sendpacket.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_free_datalinks.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_list_datalinks.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_free_datalinks.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_free_tstamp_types.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_list_tstamp_types.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_free_tstamp_types.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_loop.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_dispatch.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_major_version.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_minor_version.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_next.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_next_ex.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_next.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_open_offline.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_fopen_offline.3pcap
-- rm -f $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap
-- ln $(DESTDIR)$(mandir)/man3/pcap_setnonblock.3pcap \
-- $(DESTDIR)$(mandir)/man3/pcap_getnonblock.3pcap
-+ $(DESTDIR)$(mandir)/man3/$$j; done
+- (cd $(DESTDIR)$(mandir)/man3 && \
+- rm -f pcap_datalink_val_to_description.3pcap && \
+- $(LN_S) pcap_datalink_val_to_name.3pcap \
+- pcap_datalink_val_to_description.3pcap && \
+- rm -f pcap_dump_fopen.3pcap && \
+- $(LN_S) pcap_dump_open.3pcap pcap_dump_fopen.3pcap && \
+- rm -f pcap_freealldevs.3pcap && \
+- $(LN_S) pcap_findalldevs.3pcap pcap_freealldevs.3pcap && \
+- rm -f pcap_perror.3pcap && \
+- $(LN_S) pcap_geterr.3pcap pcap_perror.3pcap && \
+- rm -f pcap_sendpacket.3pcap && \
+- $(LN_S) pcap_inject.3pcap pcap_sendpacket.3pcap && \
+- rm -f pcap_free_datalinks.3pcap && \
+- $(LN_S) pcap_list_datalinks.3pcap pcap_free_datalinks.3pcap && \
+- rm -f pcap_free_tstamp_types.3pcap && \
+- $(LN_S) pcap_list_tstamp_types.3pcap pcap_free_tstamp_types.3pcap && \
+- rm -f pcap_dispatch.3pcap && \
+- $(LN_S) pcap_loop.3pcap pcap_dispatch.3pcap && \
+- rm -f pcap_minor_version.3pcap && \
+- $(LN_S) pcap_major_version.3pcap pcap_minor_version.3pcap && \
+- rm -f pcap_next.3pcap && \
+- $(LN_S) pcap_next_ex.3pcap pcap_next.3pcap && \
+- rm -f pcap_open_dead_with_tstamp_precision.3pcap && \
+- $(LN_S) pcap_open_dead.3pcap \
+- pcap_open_dead_with_tstamp_precision.3pcap && \
+- rm -f pcap_open_offline_with_tstamp_precision.3pcap && \
+- $(LN_S) pcap_open_offline.3pcap pcap_open_offline_with_tstamp_precision.3pcap && \
+- rm -f pcap_fopen_offline.3pcap && \
+- $(LN_S) pcap_open_offline.3pcap pcap_fopen_offline.3pcap && \
+- rm -f pcap_fopen_offline_with_tstamp_precision.3pcap && \
+- $(LN_S) pcap_open_offline.3pcap pcap_fopen_offline_with_tstamp_precision.3pcap && \
+- rm -f pcap_getnonblock.3pcap && \
+- $(LN_S) pcap_setnonblock.3pcap pcap_getnonblock.3pcap)
++ $(DESTDIR)$(mandir)/man3/$$j; done
for i in $(MANFILE); do \
$(INSTALL_DATA) `echo $$i | sed 's/.manfile.in/.manfile/'` \
$(DESTDIR)$(mandir)/man@MAN_FILE_FORMATS@/`echo $$i | sed 's/.manfile.in/.@MAN_FILE_FORMATS@/'`; done