diff options
Diffstat (limited to 'net/p5-Net-RawIP')
-rw-r--r-- | net/p5-Net-RawIP/Makefile | 10 | ||||
-rw-r--r-- | net/p5-Net-RawIP/distinfo | 10 | ||||
-rw-r--r-- | net/p5-Net-RawIP/patches/patch-aa | 29 | ||||
-rw-r--r-- | net/p5-Net-RawIP/patches/patch-ab | 17 |
4 files changed, 57 insertions, 9 deletions
diff --git a/net/p5-Net-RawIP/Makefile b/net/p5-Net-RawIP/Makefile index 1a5fccf6c59..127fe077e2c 100644 --- a/net/p5-Net-RawIP/Makefile +++ b/net/p5-Net-RawIP/Makefile @@ -1,18 +1,18 @@ -# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:40 joerg Exp $ +# $NetBSD: Makefile,v 1.7 2008/09/13 15:25:25 he Exp $ # -DISTNAME= Net-RawIP-0.21_03 +DISTNAME= Net-RawIP-0.23 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5nsn -PKGREVISION= 1 CATEGORIES= net perl5 -MASTER_SITES= http://search.cpan.org/CPAN/authors/id/S/SZ/SZABGAB/ +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} MAINTAINER= bouyer@NetBSD.org -HOMEPAGE= http://search.cpan.org/~szabgab/Net-RawIP-0.21_03/ +HOMEPAGE= http://search.cpan.org/dist/Net-RawIP/ COMMENT= Perl extension to manipulate raw ip packets with interface to libpcap PKG_DESTDIR_SUPPORT= user-destdir +USE_LANGUAGES= c DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils diff --git a/net/p5-Net-RawIP/distinfo b/net/p5-Net-RawIP/distinfo index 65d17d1bdc1..63aa9331023 100644 --- a/net/p5-Net-RawIP/distinfo +++ b/net/p5-Net-RawIP/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.2 2007/03/07 16:46:39 gson Exp $ +$NetBSD: distinfo,v 1.3 2008/09/13 15:25:25 he Exp $ -SHA1 (Net-RawIP-0.21_03.tar.gz) = ee21c712193f5854df53a5ffda7e9cf7da12aecc -RMD160 (Net-RawIP-0.21_03.tar.gz) = fa23811d7d9b5e75da51769d585b37599f4e5111 -Size (Net-RawIP-0.21_03.tar.gz) = 36878 bytes +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 diff --git a/net/p5-Net-RawIP/patches/patch-aa b/net/p5-Net-RawIP/patches/patch-aa new file mode 100644 index 00000000000..85fe3c6a98a --- /dev/null +++ b/net/p5-Net-RawIP/patches/patch-aa @@ -0,0 +1,29 @@ +$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 new file mode 100644 index 00000000000..df76fc0f83d --- /dev/null +++ b/net/p5-Net-RawIP/patches/patch-ab @@ -0,0 +1,17 @@ +$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; + } |