Move Net::Ping from lib to ext
authorNicholas Clark <nick@ccl4.org>
Sun, 30 Aug 2009 18:21:53 +0000 (19:21 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 30 Aug 2009 18:21:53 +0000 (19:21 +0100)
21 files changed:
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/Net-Ping/Changes [moved from lib/Net/Ping/Changes with 100% similarity]
ext/Net-Ping/lib/Net/Ping.pm [moved from lib/Net/Ping.pm with 100% similarity]
ext/Net-Ping/t/100_load.t [moved from lib/Net/Ping/t/100_load.t with 100% similarity]
ext/Net-Ping/t/110_icmp_inst.t [moved from lib/Net/Ping/t/110_icmp_inst.t with 100% similarity]
ext/Net-Ping/t/120_udp_inst.t [moved from lib/Net/Ping/t/120_udp_inst.t with 100% similarity]
ext/Net-Ping/t/130_tcp_inst.t [moved from lib/Net/Ping/t/130_tcp_inst.t with 100% similarity]
ext/Net-Ping/t/140_stream_inst.t [moved from lib/Net/Ping/t/140_stream_inst.t with 100% similarity]
ext/Net-Ping/t/150_syn_inst.t [moved from lib/Net/Ping/t/150_syn_inst.t with 100% similarity]
ext/Net-Ping/t/190_alarm.t [moved from lib/Net/Ping/t/190_alarm.t with 100% similarity]
ext/Net-Ping/t/200_ping_tcp.t [moved from lib/Net/Ping/t/200_ping_tcp.t with 97% similarity]
ext/Net-Ping/t/250_ping_hires.t [moved from lib/Net/Ping/t/250_ping_hires.t with 96% similarity]
ext/Net-Ping/t/300_ping_stream.t [moved from lib/Net/Ping/t/300_ping_stream.t with 97% similarity]
ext/Net-Ping/t/400_ping_syn.t [moved from lib/Net/Ping/t/400_ping_syn.t with 97% similarity]
ext/Net-Ping/t/410_syn_host.t [moved from lib/Net/Ping/t/410_syn_host.t with 97% similarity]
ext/Net-Ping/t/450_service.t [moved from lib/Net/Ping/t/450_service.t with 100% similarity]
ext/Net-Ping/t/500_ping_icmp.t [moved from lib/Net/Ping/t/500_ping_icmp.t with 100% similarity]
ext/Net-Ping/t/510_ping_udp.t [moved from lib/Net/Ping/t/510_ping_udp.t with 100% similarity]
lib/.gitignore

index 4a9503b..0e741cb 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1133,6 +1133,23 @@ ext/NDBM_File/NDBM_File.pm       NDBM extension Perl module
 ext/NDBM_File/NDBM_File.xs     NDBM extension external subroutines
 ext/NDBM_File/t/ndbm.t         See if NDBM_File works
 ext/NDBM_File/typemap          NDBM extension interface types
+ext/Net-Ping/Changes                   Net::Ping
+ext/Net-Ping/lib/Net/Ping.pm           Hello, anybody home?
+ext/Net-Ping/t/100_load.t              Ping Net::Ping
+ext/Net-Ping/t/110_icmp_inst.t         Ping Net::Ping
+ext/Net-Ping/t/120_udp_inst.t          Ping Net::Ping
+ext/Net-Ping/t/130_tcp_inst.t          Ping Net::Ping
+ext/Net-Ping/t/140_stream_inst.t       Ping Net::Ping
+ext/Net-Ping/t/150_syn_inst.t          Ping Net::Ping
+ext/Net-Ping/t/190_alarm.t             Ping Net::Ping
+ext/Net-Ping/t/200_ping_tcp.t          Ping Net::Ping
+ext/Net-Ping/t/250_ping_hires.t                Ping Net::Ping
+ext/Net-Ping/t/300_ping_stream.t       Ping Net::Ping
+ext/Net-Ping/t/400_ping_syn.t          Ping Net::Ping
+ext/Net-Ping/t/410_syn_host.t          Ping Net::Ping
+ext/Net-Ping/t/450_service.t           Ping Net::Ping
+ext/Net-Ping/t/500_ping_icmp.t         Ping Net::Ping
+ext/Net-Ping/t/510_ping_udp.t          Ping Net::Ping
 ext/ODBM_File/hints/cygwin.pl  Hint for ODBM_File for named architecture
 ext/ODBM_File/hints/dec_osf.pl Hint for ODBM_File for named architecture
 ext/ODBM_File/hints/gnukfreebsd.pl     Hint for NDBM_File for named architecture
@@ -2776,23 +2793,6 @@ lib/Net/netent.pm                By-name interface to Perl's builtin getnet*
 lib/Net/netent.t               See if Net::netent works
 lib/Net/Netrc.pm               libnet
 lib/Net/NNTP.pm                        libnet
-lib/Net/Ping/Changes           Net::Ping
-lib/Net/Ping.pm                        Hello, anybody home?
-lib/Net/Ping/t/100_load.t      Ping Net::Ping
-lib/Net/Ping/t/110_icmp_inst.t Ping Net::Ping
-lib/Net/Ping/t/120_udp_inst.t  Ping Net::Ping
-lib/Net/Ping/t/130_tcp_inst.t  Ping Net::Ping
-lib/Net/Ping/t/140_stream_inst.t       Ping Net::Ping
-lib/Net/Ping/t/150_syn_inst.t  Ping Net::Ping
-lib/Net/Ping/t/190_alarm.t     Ping Net::Ping
-lib/Net/Ping/t/200_ping_tcp.t  Ping Net::Ping
-lib/Net/Ping/t/250_ping_hires.t        Ping Net::Ping
-lib/Net/Ping/t/300_ping_stream.t       Ping Net::Ping
-lib/Net/Ping/t/400_ping_syn.t  Ping Net::Ping
-lib/Net/Ping/t/410_syn_host.t  Ping Net::Ping
-lib/Net/Ping/t/450_service.t   Ping Net::Ping
-lib/Net/Ping/t/500_ping_icmp.t Ping Net::Ping
-lib/Net/Ping/t/510_ping_udp.t  Ping Net::Ping
 lib/Net/POP3.pm                        libnet
 lib/Net/protoent.pm            By-name interface to Perl's builtin getproto*
 lib/Net/protoent.t             See if Net::protoent works
index 773cd27..79a8439 100755 (executable)
@@ -1228,7 +1228,7 @@ package Maintainers;
        {
        'MAINTAINER'    => 'smpeters',
        'DISTRIBUTION'  => 'SMPETERS/Net-Ping-2.36.tar.gz',
-       'FILES'         => q[lib/Net/Ping.pm lib/Net/Ping],
+       'FILES'         => q[ext/Net-Ping],
        'CPAN'          => 1,
        'UPSTREAM'      => 'blead',
        },
index 620e514..2ecea00 100644 (file)
@@ -42,6 +42,7 @@ ppport.h
 /base/Makefile.PL
 /Filter-Simple/Makefile.PL
 /I18N-LangTags/Makefile.PL
+/Net-Ping/Makefile.PL
 
 # ignore all vim swap files but the one bundled in Module::Pluggable for testing
 *.swp
similarity index 100%
rename from lib/Net/Ping/Changes
rename to ext/Net-Ping/Changes
similarity index 100%
rename from lib/Net/Ping.pm
rename to ext/Net-Ping/lib/Net/Ping.pm
similarity index 97%
rename from lib/Net/Ping/t/200_ping_tcp.t
rename to ext/Net-Ping/t/200_ping_tcp.t
index 2ac2236..0f59234 100644 (file)
@@ -4,8 +4,6 @@ BEGIN {
       print "1..0 # Skip: network dependent test\n";
         exit;
     }
-    chdir 't' if -d 't';
-    @INC = qw(../lib);
   }
   unless (eval "require Socket") {
     print "1..0 \# Skip: no Socket\n";
similarity index 96%
rename from lib/Net/Ping/t/250_ping_hires.t
rename to ext/Net-Ping/t/250_ping_hires.t
index a2187d0..1f4bcb3 100644 (file)
@@ -6,8 +6,6 @@ BEGIN {
       print "1..0 # Skip: network dependent test\n";
         exit;
     }
-    chdir 't' if -d 't';
-    @INC = qw(../lib);
   }
   unless (eval "require Socket") {
     print "1..0 \# Skip: no Socket\n";
similarity index 97%
rename from lib/Net/Ping/t/300_ping_stream.t
rename to ext/Net-Ping/t/300_ping_stream.t
index 3a2f444..d5a3a3f 100644 (file)
@@ -4,8 +4,6 @@ BEGIN {
       print "1..0 # Skip: network dependent test\n";
         exit;
     }
-    chdir 't' if -d 't';
-    @INC = qw(../lib);
   }
   unless (eval "require Socket") {
     print "1..0 \# Skip: no Socket\n";
similarity index 97%
rename from lib/Net/Ping/t/400_ping_syn.t
rename to ext/Net-Ping/t/400_ping_syn.t
index ae89800..915e0ff 100644 (file)
@@ -4,8 +4,6 @@ BEGIN {
       print "1..0 # Skip: network dependent test\n";
         exit;
     }
-    chdir 't' if -d 't';
-    @INC = qw(../lib);
   }
   unless (eval "require Socket") {
     print "1..0 \# Skip: no Socket\n";
similarity index 97%
rename from lib/Net/Ping/t/410_syn_host.t
rename to ext/Net-Ping/t/410_syn_host.t
index 8374b20..efadcb4 100644 (file)
@@ -6,8 +6,6 @@ BEGIN {
       print "1..0 # Skip: network dependent test\n";
         exit;
     }
-    chdir 't' if -d 't';
-    @INC = qw(../lib);
   }
   unless (eval "require Socket") {
     print "1..0 \# Skip: no Socket\n";
index a328052..3309b9b 100644 (file)
@@ -50,6 +50,7 @@
 /Math/BigInt/FastCalc.pm
 /Module/Pluggable.pm
 /Module/Pluggable
+/Net/Ping.pm
 /NDBM_File.pm
 /O.pm
 /ODBM_File.pm