pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/p5-Net-RawIP Update from version 0.21_03nb1 to 0.2...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e6dfd07560d6
branches: trunk
changeset: 547182:e6dfd07560d6
user: he <he%pkgsrc.org@localhost>
date: Sat Sep 13 15:25:25 2008 +0000
description:
Update from version 0.21_03nb1 to 0.23, discussed with maintainer.
Pkgsrc changes:
o Canonicalize HOMEPAGE
o Fix MASTER_SITES to use MASTER_SITES_PERL_CPAN
o Add patch to recognize lo0 on NetBSD. This probably breaks the test
on Linux. It's not portable to insist on particular names for
interfaces (lo or lo0), but this patch doesn't improve the portability,
it just makes it pass on NetBSD.
o Add patch to not do the mem_leak test if Proc::ProcessTable is installed
but the platform does not provide the virtual size of the process via
"size". (We probably should have a kvm-using version of Proc::ProcessTable,
but that's for another day.)
Upstream changes:
0.23 Tue Jan8 2007
- add version number to submodules
0.22 Tue Jan8 2007
- remove dependency on List::MoreUtils
0.22_01 Mon Jul 16 2007 (Steve Bonds)
- fix endianness bug in ICMP packet creation
- add lots of comments on what's going on in the ICMP portion
of the RawIP.xs and RawIP.pm files
- break out sub-packages to their own files so "make test"
works even with Critic enabled
0.21 Mon Mar 26 22:53:48 2007
- fix looping bug in set_icmp (Micha Nasriachi)
- fix tests to work both as root and as regular user
0.21_04
- Skipped
diffstat:
net/p5-Net-RawIP/Makefile | 10 +++++-----
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, 57 insertions(+), 9 deletions(-)
diffs (96 lines):
diff -r 5f4e7e3cd6ac -r e6dfd07560d6 net/p5-Net-RawIP/Makefile
--- a/net/p5-Net-RawIP/Makefile Sat Sep 13 15:16:01 2008 +0000
+++ b/net/p5-Net-RawIP/Makefile Sat Sep 13 15:25:25 2008 +0000
@@ -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@localhost
-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 -r 5f4e7e3cd6ac -r e6dfd07560d6 net/p5-Net-RawIP/distinfo
--- a/net/p5-Net-RawIP/distinfo Sat Sep 13 15:16:01 2008 +0000
+++ b/net/p5-Net-RawIP/distinfo Sat Sep 13 15:25:25 2008 +0000
@@ -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 -r 5f4e7e3cd6ac -r e6dfd07560d6 net/p5-Net-RawIP/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-RawIP/patches/patch-aa Sat Sep 13 15:25:25 2008 +0000
@@ -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 -r 5f4e7e3cd6ac -r e6dfd07560d6 net/p5-Net-RawIP/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-RawIP/patches/patch-ab Sat Sep 13 15:25:25 2008 +0000
@@ -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;
+ }
Home |
Main Index |
Thread Index |
Old Index