From 27da4a3292437fa3c7066ec4c648688dd23a0c0d Mon Sep 17 00:00:00 2001 From: sno Date: Thu, 21 May 2009 10:48:22 +0000 Subject: pkgsrc changes: - Updating package for p5 module Net::RawIP from 0.23nb1 to 0.25 - Setting gnu-gpl-v2 as license - removing patches which are applied upstream - removing unused dependency List::MoreUtils Upstream changes: 2008.10.22 - 0.25 - Sebastien Aperghis-Tramoni (SAPER) - [TESTS] CPAN-RT#39252: Proc::ProcessTable does not support the size attribute on all systems. Thanks to Havard Eidnes for the patch. - [DOC] Improved the documentation a bit. 2008.10.21 - 0.24 - Sebastien Aperghis-Tramoni (SAPER) - [BUGFIX] Fixed a segfault and a warning, thanks to Mike Lowell. - [DIST] Simplified the detection logic to make it work on more systems. - [DIST] Declared all prerequisite modules. - [TESTS] Removed all the tests related to the warning that was emitted by the module when ran as non root. - [TESTS] Fixed several tests to make them more portable. - [TESTS] Added 00-load.t, 01-api.t --- net/p5-Net-RawIP/Makefile | 8 +++----- net/p5-Net-RawIP/distinfo | 10 ++++------ net/p5-Net-RawIP/patches/patch-aa | 29 ----------------------------- net/p5-Net-RawIP/patches/patch-ab | 17 ----------------- 4 files changed, 7 insertions(+), 57 deletions(-) delete mode 100644 net/p5-Net-RawIP/patches/patch-aa delete mode 100644 net/p5-Net-RawIP/patches/patch-ab (limited to 'net/p5-Net-RawIP') diff --git a/net/p5-Net-RawIP/Makefile b/net/p5-Net-RawIP/Makefile index d348372b342..5ecbf5da2b5 100644 --- a/net/p5-Net-RawIP/Makefile +++ b/net/p5-Net-RawIP/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2008/10/19 19:18:32 he Exp $ +# $NetBSD: Makefile,v 1.9 2009/05/21 10:48:22 sno Exp $ # -DISTNAME= Net-RawIP-0.23 +DISTNAME= Net-RawIP-0.25 PKGNAME= p5-${DISTNAME} -PKGREVISION= 1 SVR4_PKGNAME= p5nsn CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} @@ -11,12 +10,11 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} MAINTAINER= bouyer@NetBSD.org HOMEPAGE= http://search.cpan.org/dist/Net-RawIP/ COMMENT= Perl extension to manipulate raw ip packets with interface to libpcap +LICENSE= gnu-gpl-v2 # OR artistic PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= c -DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils - PERL5_PACKLIST= auto/Net/RawIP/.packlist .include "../../net/libpcap/buildlink3.mk" diff --git a/net/p5-Net-RawIP/distinfo b/net/p5-Net-RawIP/distinfo index 63aa9331023..eaefe41a79b 100644 --- a/net/p5-Net-RawIP/distinfo +++ b/net/p5-Net-RawIP/distinfo @@ -1,7 +1,5 @@ -$NetBSD: distinfo,v 1.3 2008/09/13 15:25:25 he Exp $ +$NetBSD: distinfo,v 1.4 2009/05/21 10:48:22 sno Exp $ -SHA1 (Net-RawIP-0.23.tar.gz) = 51ea4fb73bf4e4e78a53f108c0de3d8f43fd4af2 -RMD160 (Net-RawIP-0.23.tar.gz) = b90e082e53e8c4d96fe710824e1d34e266bd7152 -Size (Net-RawIP-0.23.tar.gz) = 41851 bytes -SHA1 (patch-aa) = 418814696960cfa43c794d1fb0edc8c277373c8c -SHA1 (patch-ab) = 2e50640ab1941c6199babb3ce8118b97fca87acf +SHA1 (Net-RawIP-0.25.tar.gz) = e1e2a85374436e314bce7cfb091415ebf72e6fba +RMD160 (Net-RawIP-0.25.tar.gz) = 1bae7de1e4df034394e3928701b16e2e04b80894 +Size (Net-RawIP-0.25.tar.gz) = 43474 bytes diff --git a/net/p5-Net-RawIP/patches/patch-aa b/net/p5-Net-RawIP/patches/patch-aa deleted file mode 100644 index 85fe3c6a98a..00000000000 --- a/net/p5-Net-RawIP/patches/patch-aa +++ /dev/null @@ -1,29 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2008/09/13 15:25:25 he Exp $ - ---- t/iflist.t.orig 2007-04-03 12:59:40.000000000 +0200 -+++ t/iflist.t -@@ -27,10 +27,10 @@ $SIG{__WARN__} = 'DEFAULT'; - - { - my $list = ifaddrlist; -- is( ref($list), 'HASH', 'ifaddrlist retursn HASH ref'); -+ is( ref($list), 'HASH', 'ifaddrlist returns HASH ref'); - -- ok(exists $list->{lo}, 'lo interface exists'); -- is($list->{lo}, '127.0.0.1', 'lo interface is 127.0.0.1'); -+ ok(exists $list->{lo0}, 'lo0 interface exists'); -+ is($list->{lo0}, '127.0.0.1', 'lo0 interface is 127.0.0.1'); - - # on my Linux machine this is - # lo -> 127.0.0.1 -@@ -42,8 +42,8 @@ $SIG{__WARN__} = 'DEFAULT'; - } - - { -- is(rdev('127.0.0.1'), 'lo', 'rdev 127.0.0.1'); -- is(rdev('localhost'), 'lo', 'rdev localhost'); -+ is(rdev('127.0.0.1'), 'lo0', 'rdev 127.0.0.1'); -+ is(rdev('localhost'), 'lo0', 'rdev localhost'); - eval { - rdev('ab cd'); - }; diff --git a/net/p5-Net-RawIP/patches/patch-ab b/net/p5-Net-RawIP/patches/patch-ab deleted file mode 100644 index df76fc0f83d..00000000000 --- a/net/p5-Net-RawIP/patches/patch-ab +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2008/09/13 15:25:25 he Exp $ - ---- t/memory_leak.t.orig 2007-04-03 12:59:40.000000000 +0200 -+++ t/memory_leak.t -@@ -13,6 +13,12 @@ eval { - if ($@) { - plan skip_all => "Proc::ProcessTable is needed for this test"; - } -+eval { -+ my $s = get_process_size($$); -+}; -+if ($@) { -+ plan skip_all => "Proc::ProcessTable does not return process size"; -+} - else { - plan tests => $tests; - } -- cgit v1.2.3