summaryrefslogtreecommitdiff
path: root/net/p5-Net-Pcap
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-08-01 12:34:11 +0000
committermef <mef@pkgsrc.org>2016-08-01 12:34:11 +0000
commitec879376e36eebdd68b3c747ec90f45fe6309882 (patch)
tree48705c96194dedbbf2fe730e2c6826b5cc1f161d /net/p5-Net-Pcap
parente56208060ae157489f5f91ccce5d0e597b6d099e (diff)
downloadpkgsrc-ec879376e36eebdd68b3c747ec90f45fe6309882.tar.gz
Updated net/p5-Net-Pcap to 0.18
------------------------------- 0.18 - 2016-05-15 - Sebastien Aperghis-Tramoni (SAPER) [Bugfixes] - CPAN RT #77807: Net::Pcap is no longer limited to one callback function, thanks to a patch by James Rouzier. - CPAN RT #55163: Typo in eg/pcapdump (Iain Arnell and Jose Pedro Oliveira). - CPAN RT #83842: Typo in Net:Pcap (Xavier Guimard). [API] - Added pcap_offline_filter() (Martijn Lievaart). [Code] - use warnings (David Farrell). [Documentation] - Moved HISTORY from README to main documentation. - Rewrote AUTHORS to acknowledge all contributors. - Updated copyright years. [Tests] - Added timeouts to prevent tests from hanging (Patrice Auffret). - t/17-lib_version.t: adjust regexp to match Apple builds (David Farrell). - t/50-poe-component-pcap.t: small improvments. - Added t/50-net-pcap-easy.t to test with Net::Pcap::Easy. - Added t/50-anyevent-pcap.t to test with AnyEvent::Pcap. - Make t/50-* pass with old versions of Test::More [Distribution] - Converted the Changes file to CPAN::Changes::Spec format. - Makefile.PL: append CCFLAGS to $Config{ccflags} instead of overriding it. - Makefile.PL: now dies when libpcap isn't found. - Makefile.PL: declare minimum Perl version (David Farrell).
Diffstat (limited to 'net/p5-Net-Pcap')
-rw-r--r--net/p5-Net-Pcap/Makefile5
-rw-r--r--net/p5-Net-Pcap/distinfo12
-rw-r--r--net/p5-Net-Pcap/patches/patch-Makefile.PL17
3 files changed, 15 insertions, 19 deletions
diff --git a/net/p5-Net-Pcap/Makefile b/net/p5-Net-Pcap/Makefile
index 48e2ad2cff1..a3c442ae87a 100644
--- a/net/p5-Net-Pcap/Makefile
+++ b/net/p5-Net-Pcap/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2016/06/08 19:24:13 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2016/08/01 12:34:11 mef Exp $
#
-DISTNAME= Net-Pcap-0.17
+DISTNAME= Net-Pcap-0.18
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
diff --git a/net/p5-Net-Pcap/distinfo b/net/p5-Net-Pcap/distinfo
index 169d9a7878c..98a66afcde1 100644
--- a/net/p5-Net-Pcap/distinfo
+++ b/net/p5-Net-Pcap/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2015/11/04 00:35:22 agc Exp $
+$NetBSD: distinfo,v 1.10 2016/08/01 12:34:11 mef Exp $
-SHA1 (Net-Pcap-0.17.tar.gz) = eca0c42bf70cf9739a0f669d37df8c4815e1c836
-RMD160 (Net-Pcap-0.17.tar.gz) = ea61f7a5e8fcd09471c1a01e1ae8803ea9ae4eed
-SHA512 (Net-Pcap-0.17.tar.gz) = 14747661b220b119b4182f13dbc1509cae5665e77588dbc8576f7d959f33ef6ee3785f2d9022093c1f1b808c37d04ee313f5ac39cc6eaa917962c9215c5a4de6
-Size (Net-Pcap-0.17.tar.gz) = 92853 bytes
-SHA1 (patch-Makefile.PL) = 2610bc73bb8b4c9786eb9df6209b334de1f2a516
+SHA1 (Net-Pcap-0.18.tar.gz) = 9e53643cbe93e497af8c24cebe02bd7934194854
+RMD160 (Net-Pcap-0.18.tar.gz) = 1959ae0cc70fdd8b4cdb2d9028123fd83338c8d5
+SHA512 (Net-Pcap-0.18.tar.gz) = 63cc216345eb65b1e76efa657623c9d444d20f4b54ab0c75e787483baaa4f1de7e3a9294967aa7eccbdca04c60b089194dd7e0d19838f899b332c5881a8c7f6d
+Size (Net-Pcap-0.18.tar.gz) = 94207 bytes
+SHA1 (patch-Makefile.PL) = e8944761324b1a86323b96906953175f751bacac
diff --git a/net/p5-Net-Pcap/patches/patch-Makefile.PL b/net/p5-Net-Pcap/patches/patch-Makefile.PL
index 2a106ccaf16..39893eaef32 100644
--- a/net/p5-Net-Pcap/patches/patch-Makefile.PL
+++ b/net/p5-Net-Pcap/patches/patch-Makefile.PL
@@ -1,22 +1,19 @@
-$NetBSD: patch-Makefile.PL,v 1.3 2015/02/21 09:43:54 mef Exp $
+$NetBSD: patch-Makefile.PL,v 1.4 2016/08/01 12:34:11 mef Exp $
Do not override CCFLAGS and LIBS.
---- Makefile.PL.orig 2012-11-28 08:06:02.000000000 +0900
-+++ Makefile.PL 2015-02-21 18:25:18.000000000 +0900
-@@ -22,9 +22,8 @@ elsif ($^O eq 'cygwin') {
- cygwin_pcap_headers();
- }
+--- Makefile.PL.orig 2016-05-10 06:23:13.000000000 +0900
++++ Makefile.PL 2016-08-01 21:21:19.000000000 +0900
+@@ -24,7 +24,7 @@ elsif ($^O eq 'cygwin') {
else {
-- $options{CCFLAGS} = "-Wall -Wwrite-strings"
-- if $Config{ccname} eq "gcc" and $] >= 5.006;
+ $options{CCFLAGS} = "$Config{ccflags} -Wall -Wwrite-strings"
+ if $Config{ccname} eq "gcc" and $] >= 5.006;
- $options{LIBS} = '-lpcap';
-+ $options{CCFLAGS} = "$Config{ccflags} -Wall -Wwrite-strings" if $Config{ccname} eq 'gcc' and $] >= 5.006;
+ $options{LIBS} = "$Config{libs} -lpcap";
}
for my $arg (@ARGV) {
-@@ -536,7 +535,7 @@ sub have_functions {
+@@ -537,7 +537,7 @@ sub have_functions {
my @funcs = ();
print "detecting available functions... ";