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 Update from version 0.14 to 0.16; disc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9161a0a861ff
branches: trunk
changeset: 546236:9161a0a861ff
user: he <he%pkgsrc.org@localhost>
date: Sun Aug 24 20:07:42 2008 +0000
description:
Update from version 0.14 to 0.16; discussed with maintainer in general terms.
Pkgsrc changes:
o Add a patch to handle all BSD systems the same in test 03
o Added a commented-out build dependency, Test::Distribution
does not appear to work for this package (and is optional anyway)
Upstream changes:
2008.01.01 - 0.16 - Sebastien Aperghis-Tramoni (SAPER)
- [BUGFIX] A typo prevented the new function names from working.
- [TESTS] Added new tests: 21-next_ex.t, 22-open.t, 23-srcstr.t,
50-poe-component-pcap.t
- [TESTS] Added support for user prefered device. See README.
- [TESTS] Improved small bits of the tests here and there.
2007.12.02 - 0.15 - Sebastien Aperghis-Tramoni (SAPER)
- [BUGFIX] CPAN-RT#30745: Fix WinPcap support.
- [BUGFIX] CPAN-RT#25076: Fix next_ex().
- [API] Now providing "pcap_"-prefixed aliases for all functions.
Documentation was changed to use these names instead of the old ones.
- [CMD] pcapinfo(1) no longer need IO::Interface.
- [TESTS] CPAN-RT#30903: Fix t/03-openlive.t failure on Linux.
- [DOC] CPAN-RT#27369: Several documentation fixes.
- [DOC] CPAN-RT#31111: Document that pcap_stats() does not work
on savefiles.
diffstat:
net/p5-Net-Pcap/Makefile | 6 ++++--
net/p5-Net-Pcap/distinfo | 9 +++++----
net/p5-Net-Pcap/patches/patch-aa | 13 +++++++++++++
3 files changed, 22 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r bd512a470c5f -r 9161a0a861ff net/p5-Net-Pcap/Makefile
--- a/net/p5-Net-Pcap/Makefile Sun Aug 24 17:03:14 2008 +0000
+++ b/net/p5-Net-Pcap/Makefile Sun Aug 24 20:07:42 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:40 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/08/24 20:07:42 he Exp $
#
-DISTNAME= Net-Pcap-0.14
+DISTNAME= Net-Pcap-0.16
PKGNAME= p5-${DISTNAME}
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
@@ -13,6 +13,8 @@
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= p5-IO-Interface-[0-9]*:../../net/p5-IO-Interface
+# Used during test, doesn't work properly:
+# BUILD_DEPENDS+= p5-Test-Distribution-[0-9]*:../../devel/p5-Test-Distribution
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9.5
diff -r bd512a470c5f -r 9161a0a861ff net/p5-Net-Pcap/distinfo
--- a/net/p5-Net-Pcap/distinfo Sun Aug 24 17:03:14 2008 +0000
+++ b/net/p5-Net-Pcap/distinfo Sun Aug 24 20:07:42 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2007/01/03 13:44:03 adrianp Exp $
+$NetBSD: distinfo,v 1.5 2008/08/24 20:07:42 he Exp $
-SHA1 (Net-Pcap-0.14.tar.gz) = baa520bf45c032fa4239643b0bfbea91d7e81da6
-RMD160 (Net-Pcap-0.14.tar.gz) = 3a21f4b97d2f51533e3fa0a74fdc232c87b6a63b
-Size (Net-Pcap-0.14.tar.gz) = 77534 bytes
+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-aa) = bbb5a5129b6f07f3ade687f2e1405d34726bdbb7
diff -r bd512a470c5f -r 9161a0a861ff net/p5-Net-Pcap/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Pcap/patches/patch-aa Sun Aug 24 20:07:42 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2008/08/24 20:07:42 he Exp $
+
+--- 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" );
Home |
Main Index |
Thread Index |
Old Index