r71440 - in /branches/upstream/libnet-libdnet-perl/current: Changes Libdnet.xs MANIFEST META.yml Makefile.PL README lib/Net/Libdnet.pm lib/Net/Libdnet/Intf.pm standard-new.patch standard-old.patch ubuntu-new.patch ubuntu-old.patch

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Mar 15 02:20:05 UTC 2011


Author: jawnsy-guest
Date: Tue Mar 15 02:19:55 2011
New Revision: 71440

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71440
Log:
[svn-upgrade] new version libnet-libdnet-perl (0.95)

Added:
    branches/upstream/libnet-libdnet-perl/current/standard-new.patch
    branches/upstream/libnet-libdnet-perl/current/standard-old.patch
    branches/upstream/libnet-libdnet-perl/current/ubuntu-new.patch
    branches/upstream/libnet-libdnet-perl/current/ubuntu-old.patch
Modified:
    branches/upstream/libnet-libdnet-perl/current/Changes
    branches/upstream/libnet-libdnet-perl/current/Libdnet.xs
    branches/upstream/libnet-libdnet-perl/current/MANIFEST
    branches/upstream/libnet-libdnet-perl/current/META.yml
    branches/upstream/libnet-libdnet-perl/current/Makefile.PL
    branches/upstream/libnet-libdnet-perl/current/README
    branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet.pm
    branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet/Intf.pm

Modified: branches/upstream/libnet-libdnet-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/Changes?rev=71440&op=diff
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/Changes (original)
+++ branches/upstream/libnet-libdnet-perl/current/Changes Tue Mar 15 02:19:55 2011
@@ -1,4 +1,7 @@
 Revision history for Perl extension Net::Libdnet.
+
+0.95 Sun Mar 13 23:47:10 CET 2011
+   - new: added ubuntu and standard patchs. See README.
 
 0.94 Fri Jan 14 11:09:49 CET 2011
    - bugfix: tohash method in pod

Modified: branches/upstream/libnet-libdnet-perl/current/Libdnet.xs
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/Libdnet.xs?rev=71440&op=diff
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/Libdnet.xs (original)
+++ branches/upstream/libnet-libdnet-perl/current/Libdnet.xs Tue Mar 15 02:19:55 2011
@@ -34,7 +34,7 @@
 #include "XSUB.h"
 
 #include <stdio.h>
-#include <dnet.h>
+#include <dumbnet.h>
 
 #ifdef DNET_BLOB_H
 typedef blob_t              Blob;

Modified: branches/upstream/libnet-libdnet-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/MANIFEST?rev=71440&op=diff
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/MANIFEST (original)
+++ branches/upstream/libnet-libdnet-perl/current/MANIFEST Tue Mar 15 02:19:55 2011
@@ -1,7 +1,12 @@
+Changes
+LICENSE
+Libdnet.xs
+MANIFEST
+Makefile.PL
+README
 bin/dnet.pl
 c/arp_entry.c
 c/fw_rule.c
-Changes
 c/intf_entry.c
 c/route_entry.c
 examples/arp-add.pl
@@ -13,27 +18,24 @@
 examples/fw-delete.pl
 examples/fw-list.pl
 examples/intf-get-dst.pl
+examples/intf-get-src.pl
 examples/intf-get.pl
-examples/intf-get-src.pl
 examples/intf-list.pl
 examples/ip-send.pl
 examples/route-get.pl
 examples/route-list.pl
 examples/tun-open.pl
-Libdnet.xs
+lib/Net/Libdnet.pm
 lib/Net/Libdnet/Arp.pm
 lib/Net/Libdnet/Entry/Intf.pm
 lib/Net/Libdnet/Eth.pm
 lib/Net/Libdnet/Fw.pm
 lib/Net/Libdnet/Intf.pm
 lib/Net/Libdnet/Ip.pm
-lib/Net/Libdnet.pm
 lib/Net/Libdnet/Route.pm
 lib/Net/Libdnet/Tun.pm
-LICENSE
-Makefile.PL
-MANIFEST
-README
+standard-new.patch
+standard-old.patch
 t/01-module.t
 t/02-addr.t
 t/03-arp.t
@@ -48,4 +50,6 @@
 t/20-pod-coverage.t
 t/21-test-pod.t
 typemap
+ubuntu-new.patch
+ubuntu-old.patch
 META.yml                                 Module meta-data (added by MakeMaker)

Modified: branches/upstream/libnet-libdnet-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/META.yml?rev=71440&op=diff
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/META.yml (original)
+++ branches/upstream/libnet-libdnet-perl/current/META.yml Tue Mar 15 02:19:55 2011
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Net-Libdnet
-version:            0.94
+version:            0.95
 abstract:           binding for Dug Song's libdnet
 author:
     - GomoR <gomor-cpan_at_gomor.org>

Modified: branches/upstream/libnet-libdnet-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/Makefile.PL?rev=71440&op=diff
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/Makefile.PL (original)
+++ branches/upstream/libnet-libdnet-perl/current/Makefile.PL Tue Mar 15 02:19:55 2011
@@ -3,10 +3,10 @@
 #
 use ExtUtils::MakeMaker;
 
-my $libs = qx{dnet-config --libs 2>/dev/null}
-   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldnet'];
+my $libs = qx{dumbnet-config --libs 2>/dev/null}
+   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet'];
 
-my $inc = qx{dnet-config --cflags 2>/dev/null}
+my $inc = qx{dumbnet-config --cflags 2>/dev/null}
    || '-I/include -I/usr/include -I/usr/local/include';
 
 WriteMakefile(

Modified: branches/upstream/libnet-libdnet-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/README?rev=71440&op=diff
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/README (original)
+++ branches/upstream/libnet-libdnet-perl/current/README Tue Mar 15 02:19:55 2011
@@ -34,13 +34,27 @@
 This being said, you need to set the environment variable REAL_TESTS
 and have root privileges to run the non-faked tests.
 
+UBUNTU/DEBIAN USERS
+
+You will have to apply ubuntu-new.patch like the following:
+
+   $ cd Net-Libdnet-X.YY
+   $ patch -p0 < ubuntu-new.patch
+
+To revert back to standard configuration:
+
+   $ patch -p0 < standard-new.patch
+
+If you use an old version of Ubuntu/Debian (don't know which version),
+you'll have to use ubuntu-old.patch and standard-old.patch files instead.
+
 DEPENDENCIES
 
 This module requires these other modules and libraries:
 
-  Perl v5.6.1
-  libdnet
-  Class::Gomor
+   Perl v5.6.1
+   libdnet
+   Class::Gomor
 
 libdnet may be obtained from http://libdnet.sourceforge.net/.
 

Modified: branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet.pm?rev=71440&op=diff
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet.pm (original)
+++ branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet.pm Tue Mar 15 02:19:55 2011
@@ -1,5 +1,5 @@
 #
-# $Id: Libdnet.pm 37 2011-01-14 07:50:03Z gomor $
+# $Id: Libdnet.pm 44 2011-01-14 10:25:07Z gomor $
 #
 # Copyright (c) 2004 Vlad Manilici
 # Copyright (c) 2008-2011 Patrice <GomoR> Auffret
@@ -33,7 +33,7 @@
 
 use base qw(Exporter DynaLoader);
 
-our $VERSION = '0.94';
+our $VERSION = '0.95';
 
 our %EXPORT_TAGS = (
    obsolete => [qw(

Modified: branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet/Intf.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet/Intf.pm?rev=71440&op=diff
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet/Intf.pm (original)
+++ branches/upstream/libnet-libdnet-perl/current/lib/Net/Libdnet/Intf.pm Tue Mar 15 02:19:55 2011
@@ -1,12 +1,12 @@
 #
-# $Id: Intf.pm 31 2011-01-12 12:52:47Z gomor $
+# $Id: Intf.pm 49 2011-03-13 22:42:45Z gomor $
 #
 package Net::Libdnet::Intf;
 use strict; use warnings;
 
 use base qw(Class::Gomor::Array);
 
-our @AS  = qw(
+our @AS = qw(
    _handle
 );
 __PACKAGE__->cgBuildIndices;

Added: branches/upstream/libnet-libdnet-perl/current/standard-new.patch
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/standard-new.patch?rev=71440&op=file
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/standard-new.patch (added)
+++ branches/upstream/libnet-libdnet-perl/current/standard-new.patch Tue Mar 15 02:19:55 2011
@@ -1,0 +1,31 @@
+Index: Libdnet.xs
+===================================================================
+--- Libdnet.xs	(revision 41)
++++ Libdnet.xs	(working copy)
+@@ -34,7 +34,7 @@
+ #include "XSUB.h"
+ 
+ #include <stdio.h>
+-#include <dumbnet.h>
++#include <dnet.h>
+ 
+ #ifdef DNET_BLOB_H
+ typedef blob_t              Blob;
+Index: Makefile.PL
+===================================================================
+--- Makefile.PL	(revision 41)
++++ Makefile.PL	(working copy)
+@@ -3,10 +3,10 @@
+ #
+ use ExtUtils::MakeMaker;
+ 
+-my $libs = qx{dumbnet-config --libs 2>/dev/null}
+-   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet'];
++my $libs = qx{dnet-config --libs 2>/dev/null}
++   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldnet'];
+ 
+-my $inc = qx{dumbnet-config --cflags 2>/dev/null}
++my $inc = qx{dnet-config --cflags 2>/dev/null}
+    || '-I/include -I/usr/include -I/usr/local/include';
+ 
+ WriteMakefile(

Added: branches/upstream/libnet-libdnet-perl/current/standard-old.patch
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/standard-old.patch?rev=71440&op=file
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/standard-old.patch (added)
+++ branches/upstream/libnet-libdnet-perl/current/standard-old.patch Tue Mar 15 02:19:55 2011
@@ -1,0 +1,133 @@
+Index: Makefile.PL
+===================================================================
+--- Makefile.PL	(revision 42)
++++ Makefile.PL	(working copy)
+@@ -3,10 +3,10 @@
+ #
+ use ExtUtils::MakeMaker;
+ 
+-my $libs = qx{dumbnet-config --libs 2>/dev/null}
+-   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet'];
++my $libs = qx{dnet-config --libs 2>/dev/null}
++   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldnet'];
+ 
+-my $inc = qx{dumbnet-config --cflags 2>/dev/null}
++my $inc = qx{dnet-config --cflags 2>/dev/null}
+    || '-I/include -I/usr/include -I/usr/local/include';
+ 
+ WriteMakefile(
+Index: Libdnet.xs
+===================================================================
+--- Libdnet.xs	(revision 42)
++++ Libdnet.xs	(working copy)
+@@ -34,38 +34,38 @@
+ #include "XSUB.h"
+ 
+ #include <stdio.h>
+-#include <dumbnet.h>
++#include <dnet.h>
+ 
+-#ifdef DUMBNET_BLOB_H
++#ifdef DNET_BLOB_H
+ typedef blob_t              Blob;
+ #endif
+ 
+-#ifdef DUMBNET_ETH_H
++#ifdef DNET_ETH_H
+ typedef eth_t               EthHandle;
+ typedef eth_addr_t          EthAddr;
+ #endif
+ 
+-#ifdef DUMBNET_INTF_H
++#ifdef DNET_INTF_H
+ typedef intf_t              IntfHandle;
+ #endif
+ 
+-#ifdef DUMBNET_ARP_H
++#ifdef DNET_ARP_H
+ typedef arp_t               ArpHandle;
+ #endif
+ 
+-#ifdef DUMBNET_FW_H
++#ifdef DNET_FW_H
+ typedef fw_t                FwHandle;
+ #endif
+ 
+-#ifdef DUMBNET_ROUTE_H
++#ifdef DNET_ROUTE_H
+ typedef route_t             RouteHandle;
+ #endif
+ 
+-#ifdef DUMBNET_TUN_H
++#ifdef DNET_TUN_H
+ typedef tun_t               TunHandle;
+ #endif
+ 
+-#ifdef DUMBNET_IP_H
++#ifdef DNET_IP_H
+ typedef ip_t                IpHandle;
+ #endif
+ 
+@@ -866,7 +866,7 @@
+ # obsolete XS implementation.
+ #
+ 
+-#if defined DUMBNET_INTF_H
++#if defined DNET_INTF_H
+ 
+ IntfHandle *
+ dnet_intf_open()
+@@ -981,7 +981,7 @@
+ 
+ #endif
+ 
+-#if defined DUMBNET_ARP_H
++#if defined DNET_ARP_H
+ 
+ ArpHandle *
+ dnet_arp_open()
+@@ -1064,7 +1064,7 @@
+ 
+ #endif
+ 
+-#if defined DUMBNET_ROUTE_H
++#if defined DNET_ROUTE_H
+ 
+ RouteHandle *
+ dnet_route_open()
+@@ -1148,7 +1148,7 @@
+ 
+ #endif
+ 
+-#if defined DUMBNET_FW_H
++#if defined DNET_FW_H
+ 
+ FwHandle *
+ dnet_fw_open()
+@@ -1215,7 +1215,7 @@
+ 
+ #endif
+ 
+-#if defined DUMBNET_TUN_H
++#if defined DNET_TUN_H
+ 
+ TunHandle *
+ dnet_tun_open(src, dst, size)
+@@ -1290,7 +1290,7 @@
+ 
+ #endif
+ 
+-#if defined DUMBNET_ETH_H
++#if defined DNET_ETH_H
+ 
+ EthHandle *
+ dnet_eth_open(device)
+@@ -1346,7 +1346,7 @@
+ 
+ #endif
+ 
+-#if defined DUMBNET_IP_H
++#if defined DNET_IP_H
+ 
+ IpHandle *
+ dnet_ip_open()

Added: branches/upstream/libnet-libdnet-perl/current/ubuntu-new.patch
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/ubuntu-new.patch?rev=71440&op=file
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/ubuntu-new.patch (added)
+++ branches/upstream/libnet-libdnet-perl/current/ubuntu-new.patch Tue Mar 15 02:19:55 2011
@@ -1,0 +1,31 @@
+Index: Libdnet.xs
+===================================================================
+--- Libdnet.xs	(revision 41)
++++ Libdnet.xs	(working copy)
+@@ -34,7 +34,7 @@
+ #include "XSUB.h"
+ 
+ #include <stdio.h>
+-#include <dnet.h>
++#include <dumbnet.h>
+ 
+ #ifdef DNET_BLOB_H
+ typedef blob_t              Blob;
+Index: Makefile.PL
+===================================================================
+--- Makefile.PL	(revision 41)
++++ Makefile.PL	(working copy)
+@@ -3,10 +3,10 @@
+ #
+ use ExtUtils::MakeMaker;
+ 
+-my $libs = qx{dnet-config --libs 2>/dev/null}
+-   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldnet'];
++my $libs = qx{dumbnet-config --libs 2>/dev/null}
++   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet'];
+ 
+-my $inc = qx{dnet-config --cflags 2>/dev/null}
++my $inc = qx{dumbnet-config --cflags 2>/dev/null}
+    || '-I/include -I/usr/include -I/usr/local/include';
+ 
+ WriteMakefile(

Added: branches/upstream/libnet-libdnet-perl/current/ubuntu-old.patch
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-libdnet-perl/current/ubuntu-old.patch?rev=71440&op=file
==============================================================================
--- branches/upstream/libnet-libdnet-perl/current/ubuntu-old.patch (added)
+++ branches/upstream/libnet-libdnet-perl/current/ubuntu-old.patch Tue Mar 15 02:19:55 2011
@@ -1,0 +1,133 @@
+Index: Makefile.PL
+===================================================================
+--- Makefile.PL	(revision 42)
++++ Makefile.PL	(working copy)
+@@ -3,10 +3,10 @@
+ #
+ use ExtUtils::MakeMaker;
+ 
+-my $libs = qx{dnet-config --libs 2>/dev/null}
+-   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldnet'];
++my $libs = qx{dumbnet-config --libs 2>/dev/null}
++   || ['-L/lib -L/usr/lib -L/usr/local/lib -ldumbnet'];
+ 
+-my $inc = qx{dnet-config --cflags 2>/dev/null}
++my $inc = qx{dumbnet-config --cflags 2>/dev/null}
+    || '-I/include -I/usr/include -I/usr/local/include';
+ 
+ WriteMakefile(
+Index: Libdnet.xs
+===================================================================
+--- Libdnet.xs	(revision 42)
++++ Libdnet.xs	(working copy)
+@@ -34,38 +34,38 @@
+ #include "XSUB.h"
+ 
+ #include <stdio.h>
+-#include <dnet.h>
++#include <dumbnet.h>
+ 
+-#ifdef DNET_BLOB_H
++#ifdef DUMBNET_BLOB_H
+ typedef blob_t              Blob;
+ #endif
+ 
+-#ifdef DNET_ETH_H
++#ifdef DUMBNET_ETH_H
+ typedef eth_t               EthHandle;
+ typedef eth_addr_t          EthAddr;
+ #endif
+ 
+-#ifdef DNET_INTF_H
++#ifdef DUMBNET_INTF_H
+ typedef intf_t              IntfHandle;
+ #endif
+ 
+-#ifdef DNET_ARP_H
++#ifdef DUMBNET_ARP_H
+ typedef arp_t               ArpHandle;
+ #endif
+ 
+-#ifdef DNET_FW_H
++#ifdef DUMBNET_FW_H
+ typedef fw_t                FwHandle;
+ #endif
+ 
+-#ifdef DNET_ROUTE_H
++#ifdef DUMBNET_ROUTE_H
+ typedef route_t             RouteHandle;
+ #endif
+ 
+-#ifdef DNET_TUN_H
++#ifdef DUMBNET_TUN_H
+ typedef tun_t               TunHandle;
+ #endif
+ 
+-#ifdef DNET_IP_H
++#ifdef DUMBNET_IP_H
+ typedef ip_t                IpHandle;
+ #endif
+ 
+@@ -866,7 +866,7 @@
+ # obsolete XS implementation.
+ #
+ 
+-#if defined DNET_INTF_H
++#if defined DUMBNET_INTF_H
+ 
+ IntfHandle *
+ dnet_intf_open()
+@@ -981,7 +981,7 @@
+ 
+ #endif
+ 
+-#if defined DNET_ARP_H
++#if defined DUMBNET_ARP_H
+ 
+ ArpHandle *
+ dnet_arp_open()
+@@ -1064,7 +1064,7 @@
+ 
+ #endif
+ 
+-#if defined DNET_ROUTE_H
++#if defined DUMBNET_ROUTE_H
+ 
+ RouteHandle *
+ dnet_route_open()
+@@ -1148,7 +1148,7 @@
+ 
+ #endif
+ 
+-#if defined DNET_FW_H
++#if defined DUMBNET_FW_H
+ 
+ FwHandle *
+ dnet_fw_open()
+@@ -1215,7 +1215,7 @@
+ 
+ #endif
+ 
+-#if defined DNET_TUN_H
++#if defined DUMBNET_TUN_H
+ 
+ TunHandle *
+ dnet_tun_open(src, dst, size)
+@@ -1290,7 +1290,7 @@
+ 
+ #endif
+ 
+-#if defined DNET_ETH_H
++#if defined DUMBNET_ETH_H
+ 
+ EthHandle *
+ dnet_eth_open(device)
+@@ -1346,7 +1346,7 @@
+ 
+ #endif
+ 
+-#if defined DNET_IP_H
++#if defined DUMBNET_IP_H
+ 
+ IpHandle *
+ dnet_ip_open()




More information about the Pkg-perl-cvs-commits mailing list