summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormef <mef>2015-02-21 09:43:54 +0000
committermef <mef>2015-02-21 09:43:54 +0000
commite85cd55dc3e33ab21b0985e99bde9e1b94cc4312 (patch)
tree101fc0d6e0e16d53b44ca079d53a3da5c5899976 /net
parent515c0c93cfa3d82840893b06d4cb777cbed48973 (diff)
downloadpkgsrc-e85cd55dc3e33ab21b0985e99bde9e1b94cc4312.tar.gz
(pkgsrc)
- Deleting patch-aa, no related line found (at all). (upstream) - Update 0.16 to 0.17 ------------------ 2012.11.28 - 0.17 - Sebastien Aperghis-Tramoni (SAPER) - [BUGFIX] CPAN-RT#43308: Net::Pcap no longer enables immediate (unsafe) signals delivery. - [BUGFIX] Fix allocated size in pcap_open(), pcap_createsrcstr() and pcap_parsesrcstr(). - [API] Now make the C-like API available by default. Added the pcap_perl_settings() function and UNSAFE_SIGNALS pseudo-bloc. - [CODE] Replaced all occurrences of safemalloc() with Newx(). - [CODE] Silenced some warnings. - [DOC] Added a long note about Net::Pcap and signals delivery. - [DOC] Improved README. - [DOC] Mention Net::Pcap::Easy. - [TESTS] Fixed t/17-lib_version.t to handle two digits versions. - [TESTS] CPAN-RT#44448: Fixed t/17-lib_version.t to handle versions from the CVS, thanks to Craig Davison. - [TESTS] Refactored t/01-api.t and added checks for the new API.
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-Pcap/Makefile5
-rw-r--r--net/p5-Net-Pcap/distinfo11
-rw-r--r--net/p5-Net-Pcap/patches/patch-Makefile.PL13
-rw-r--r--net/p5-Net-Pcap/patches/patch-aa15
4 files changed, 14 insertions, 30 deletions
diff --git a/net/p5-Net-Pcap/Makefile b/net/p5-Net-Pcap/Makefile
index 312c25581a1..e081cbf553e 100644
--- a/net/p5-Net-Pcap/Makefile
+++ b/net/p5-Net-Pcap/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2014/07/14 11:59:02 jperkin Exp $
+# $NetBSD: Makefile,v 1.27 2015/02/21 09:43:54 mef Exp $
#
-DISTNAME= Net-Pcap-0.16
+DISTNAME= Net-Pcap-0.17
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 7
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 aa81d5b1bef..75d68db4db1 100644
--- a/net/p5-Net-Pcap/distinfo
+++ b/net/p5-Net-Pcap/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2014/07/14 11:59:02 jperkin Exp $
+$NetBSD: distinfo,v 1.8 2015/02/21 09:43:54 mef Exp $
-SHA1 (Net-Pcap-0.16.tar.gz) = 19093760cce2830c16c1a081a7dc324cfe043c9b
-RMD160 (Net-Pcap-0.16.tar.gz) = 12cb441018c37244f58b6647ab6047c4d7443449
-Size (Net-Pcap-0.16.tar.gz) = 82023 bytes
-SHA1 (patch-Makefile.PL) = a55a336e89cfda11880e66402230555f92ec2a8d
-SHA1 (patch-aa) = 29d763f589c8667eb1d9a2afc64dcfa576dd14dd
+SHA1 (Net-Pcap-0.17.tar.gz) = eca0c42bf70cf9739a0f669d37df8c4815e1c836
+RMD160 (Net-Pcap-0.17.tar.gz) = ea61f7a5e8fcd09471c1a01e1ae8803ea9ae4eed
+Size (Net-Pcap-0.17.tar.gz) = 92853 bytes
+SHA1 (patch-Makefile.PL) = 2610bc73bb8b4c9786eb9df6209b334de1f2a516
diff --git a/net/p5-Net-Pcap/patches/patch-Makefile.PL b/net/p5-Net-Pcap/patches/patch-Makefile.PL
index 7caf8b2498b..2a106ccaf16 100644
--- a/net/p5-Net-Pcap/patches/patch-Makefile.PL
+++ b/net/p5-Net-Pcap/patches/patch-Makefile.PL
@@ -1,21 +1,22 @@
-$NetBSD: patch-Makefile.PL,v 1.2 2014/07/14 11:59:02 jperkin Exp $
+$NetBSD: patch-Makefile.PL,v 1.3 2015/02/21 09:43:54 mef Exp $
Do not override CCFLAGS and LIBS.
---- Makefile.PL.orig 2007-12-23 23:06:15.000000000 +0000
-+++ Makefile.PL
-@@ -22,8 +22,8 @@ elsif ($^O eq 'cygwin') {
+--- 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();
}
else {
-- $options{CCFLAGS} = '-Wall -Wwrite-strings' if $Config{ccname} eq 'gcc' and $] >= 5.006;
+- $options{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) {
-@@ -530,7 +530,7 @@ sub have_functions {
+@@ -536,7 +535,7 @@ sub have_functions {
my @funcs = ();
print "detecting available functions... ";
diff --git a/net/p5-Net-Pcap/patches/patch-aa b/net/p5-Net-Pcap/patches/patch-aa
deleted file mode 100644
index fbbbadb0356..00000000000
--- a/net/p5-Net-Pcap/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2014/07/14 11:59:02 jperkin Exp $
-
-Handle *BSD.
-
---- t/03-openlive.t.orig 2007-12-22 20:46:39.000000000 +0100
-+++ t/03-openlive.t
-@@ -64,7 +64,7 @@ eval { $pcap = Net::Pcap::open_live($fak
- is( $@, '', "open_live()" );
- if($^O eq 'MSWin32' or $^O eq 'cygwin') {
- like( $err, '/^Error opening adapter:/', " - \$err must be set: $err" );
--} elsif($^O eq 'darwin' or $^O eq 'freebsd' or $^O eq 'openbsd') {
-+} elsif($^O eq 'darwin' or $^O =~ '.*bsd') {
- like( $err, "/^(?:BIOCSETIF: )?$fakedev: Device not configured/", " - \$err must be set: $err" );
- } else {
- like( $err, '/^(?:bind|ioctl|SIOCGIFHWADDR): (?:No such device)/', " - \$err must be set: $err" );