pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/p5-Net-Pcap Updated net/p5-Net-Pcap to 0.18



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb144601c9f8
branches:  trunk
changeset: 350645:cb144601c9f8
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon Aug 01 12:34:11 2016 +0000

description:
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:

 net/p5-Net-Pcap/Makefile                  |   5 ++---
 net/p5-Net-Pcap/distinfo                  |  12 ++++++------
 net/p5-Net-Pcap/patches/patch-Makefile.PL |  17 +++++++----------
 3 files changed, 15 insertions(+), 19 deletions(-)

diffs (65 lines):

diff -r 2cfaea080037 -r cb144601c9f8 net/p5-Net-Pcap/Makefile
--- a/net/p5-Net-Pcap/Makefile  Mon Aug 01 12:06:37 2016 +0000
+++ b/net/p5-Net-Pcap/Makefile  Mon Aug 01 12:34:11 2016 +0000
@@ -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 -r 2cfaea080037 -r cb144601c9f8 net/p5-Net-Pcap/distinfo
--- a/net/p5-Net-Pcap/distinfo  Mon Aug 01 12:06:37 2016 +0000
+++ b/net/p5-Net-Pcap/distinfo  Mon Aug 01 12:34:11 2016 +0000
@@ -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 -r 2cfaea080037 -r cb144601c9f8 net/p5-Net-Pcap/patches/patch-Makefile.PL
--- a/net/p5-Net-Pcap/patches/patch-Makefile.PL Mon Aug 01 12:06:37 2016 +0000
+++ b/net/p5-Net-Pcap/patches/patch-Makefile.PL Mon Aug 01 12:34:11 2016 +0000
@@ -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... ";
  



Home | Main Index | Thread Index | Old Index