Moved libnet from lib/ to ext/
Chris Williams [Tue, 8 Sep 2009 12:25:04 +0000 (13:25 +0100)]
40 files changed:
MANIFEST
Porting/Maintainers.pl
ext/libnet/Changes [moved from lib/Net/Changes with 100% similarity]
ext/libnet/Config.eg [moved from lib/Net/Config.eg with 100% similarity]
ext/libnet/Hostname.pm.eg [moved from lib/Net/Hostname.pm.eg with 100% similarity]
ext/libnet/Makefile.PL [new file with mode: 0644]
ext/libnet/README [moved from lib/Net/README with 100% similarity]
ext/libnet/demos/ftp [moved from lib/Net/demos/ftp with 100% similarity]
ext/libnet/demos/inetd [moved from lib/Net/demos/inetd with 100% similarity]
ext/libnet/demos/nntp [moved from lib/Net/demos/nntp with 100% similarity]
ext/libnet/demos/nntp.mirror [moved from lib/Net/demos/nntp.mirror with 100% similarity]
ext/libnet/demos/pop3 [moved from lib/Net/demos/pop3 with 100% similarity]
ext/libnet/demos/smtp.self [moved from lib/Net/demos/smtp.self with 100% similarity]
ext/libnet/demos/time [moved from lib/Net/demos/time with 100% similarity]
ext/libnet/lib/Net/Cmd.pm [moved from lib/Net/Cmd.pm with 100% similarity]
ext/libnet/lib/Net/Config.pm [moved from lib/Net/Config.pm with 100% similarity]
ext/libnet/lib/Net/Domain.pm [moved from lib/Net/Domain.pm with 100% similarity]
ext/libnet/lib/Net/FTP.pm [moved from lib/Net/FTP.pm with 100% similarity]
ext/libnet/lib/Net/FTP/A.pm [moved from lib/Net/FTP/A.pm with 100% similarity]
ext/libnet/lib/Net/FTP/E.pm [moved from lib/Net/FTP/E.pm with 100% similarity]
ext/libnet/lib/Net/FTP/I.pm [moved from lib/Net/FTP/I.pm with 100% similarity]
ext/libnet/lib/Net/FTP/L.pm [moved from lib/Net/FTP/L.pm with 100% similarity]
ext/libnet/lib/Net/FTP/dataconn.pm [moved from lib/Net/FTP/dataconn.pm with 100% similarity]
ext/libnet/lib/Net/NNTP.pm [moved from lib/Net/NNTP.pm with 100% similarity]
ext/libnet/lib/Net/Netrc.pm [moved from lib/Net/Netrc.pm with 100% similarity]
ext/libnet/lib/Net/POP3.pm [moved from lib/Net/POP3.pm with 100% similarity]
ext/libnet/lib/Net/SMTP.pm [moved from lib/Net/SMTP.pm with 100% similarity]
ext/libnet/lib/Net/Time.pm [moved from lib/Net/Time.pm with 100% similarity]
ext/libnet/lib/Net/libnetFAQ.pod [moved from lib/Net/libnetFAQ.pod with 100% similarity]
ext/libnet/t/config.t [moved from lib/Net/t/config.t with 100% similarity]
ext/libnet/t/datasend.t [moved from lib/Net/t/datasend.t with 100% similarity]
ext/libnet/t/ftp.t [moved from lib/Net/t/ftp.t with 100% similarity]
ext/libnet/t/hostname.t [moved from lib/Net/t/hostname.t with 100% similarity]
ext/libnet/t/libnet_t.pl [moved from lib/Net/t/libnet_t.pl with 100% similarity]
ext/libnet/t/netrc.t [moved from lib/Net/t/netrc.t with 100% similarity]
ext/libnet/t/nntp.t [moved from lib/Net/t/nntp.t with 100% similarity]
ext/libnet/t/require.t [moved from lib/Net/t/require.t with 100% similarity]
ext/libnet/t/smtp.t [moved from lib/Net/t/smtp.t with 100% similarity]
ext/libnet/t/time.t [moved from lib/Net/t/time.t with 100% similarity]
lib/.gitignore

index f0e38ca..d4f68ca 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1338,6 +1338,43 @@ ext/IPC-SysV/t/pod.t     IPC::SysV test file
 ext/IPC-SysV/t/sem.t           IPC::SysV test file
 ext/IPC-SysV/t/shm.t   IPC::SysV test file
 ext/IPC-SysV/typemap   IPC::SysV typemap
+ext/libnet/Changes                     libnet
+ext/libnet/Config.eg           libnet
+ext/libnet/demos/ftp           libnet
+ext/libnet/demos/inetd         libnet
+ext/libnet/demos/nntp          libnet
+ext/libnet/demos/nntp.mirror   libnet
+ext/libnet/demos/pop3          libnet
+ext/libnet/demos/smtp.self             libnet
+ext/libnet/demos/time          libnet
+ext/libnet/Hostname.pm.eg              libnet
+ext/libnet/lib/Net/Cmd.pm                      libnet
+ext/libnet/lib/Net/Config.pm           libnet
+ext/libnet/lib/Net/Domain.pm           libnet
+ext/libnet/lib/Net/FTP/A.pm            libnet
+ext/libnet/lib/Net/FTP/dataconn.pm             libnet
+ext/libnet/lib/Net/FTP/E.pm            libnet
+ext/libnet/lib/Net/FTP/I.pm            libnet
+ext/libnet/lib/Net/FTP/L.pm            libnet
+ext/libnet/lib/Net/FTP.pm                      libnet
+ext/libnet/lib/Net/libnetFAQ.pod               libnet
+ext/libnet/lib/Net/Netrc.pm            libnet
+ext/libnet/lib/Net/NNTP.pm                     libnet
+ext/libnet/lib/Net/POP3.pm                     libnet
+ext/libnet/lib/Net/SMTP.pm                     libnet
+ext/libnet/lib/Net/Time.pm                     libnet
+ext/libnet/Makefile.PL
+ext/libnet/README                      libnet
+ext/libnet/t/config.t          libnet
+ext/libnet/t/datasend.t                libnet
+ext/libnet/t/ftp.t                     libnet
+ext/libnet/t/hostname.t                libnet
+ext/libnet/t/libnet_t.pl               libnet
+ext/libnet/t/netrc.t           libnet
+ext/libnet/t/nntp.t            libnet
+ext/libnet/t/require.t         libnet
+ext/libnet/t/smtp.t            libnet
+ext/libnet/t/time.t            libnet
 ext/List-Util/Changes          Util extension
 ext/List-Util/lib/List/Util.pm List::Util
 ext/List-Util/lib/List/Util/PP.pm      List::Util
@@ -2889,50 +2926,14 @@ lib/Module/Build/t/write_default_maniskip.t     Module::Build tests
 lib/Module/Build/t/xs.t                Module::Build
 lib/Module/Build/Version.pm    Module::Build
 lib/Module/Build/YAML.pm       Module::Build
-lib/Net/Changes                        libnet
-lib/Net/Cmd.pm                 libnet
-lib/Net/Config.eg              libnet
-lib/Net/Config.pm              libnet
-lib/Net/demos/ftp              libnet
-lib/Net/demos/inetd            libnet
-lib/Net/demos/nntp             libnet
-lib/Net/demos/nntp.mirror      libnet
-lib/Net/demos/pop3             libnet
-lib/Net/demos/smtp.self                libnet
-lib/Net/demos/time             libnet
-lib/Net/Domain.pm              libnet
-lib/Net/FTP/A.pm               libnet
-lib/Net/FTP/dataconn.pm                libnet
-lib/Net/FTP/E.pm               libnet
-lib/Net/FTP/I.pm               libnet
-lib/Net/FTP/L.pm               libnet
-lib/Net/FTP.pm                 libnet
 lib/Net/hostent.pm             By-name interface to Perl's builtin gethost*
 lib/Net/hostent.t              See if Net::hostent works
-lib/Net/Hostname.pm.eg         libnet
-lib/Net/libnetFAQ.pod          libnet
 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/POP3.pm                        libnet
 lib/Net/protoent.pm            By-name interface to Perl's builtin getproto*
 lib/Net/protoent.t             See if Net::protoent works
-lib/Net/README                 libnet
 lib/Net/servent.pm             By-name interface to Perl's builtin getserv*
 lib/Net/servent.t              See if Net::servtent works
-lib/Net/SMTP.pm                        libnet
-lib/Net/t/config.t             libnet
-lib/Net/t/datasend.t           libnet
-lib/Net/t/ftp.t                        libnet
-lib/Net/t/hostname.t           libnet
-lib/Net/Time.pm                        libnet
-lib/Net/t/libnet_t.pl          libnet
-lib/Net/t/netrc.t              libnet
-lib/Net/t/nntp.t               libnet
-lib/Net/t/require.t            libnet
-lib/Net/t/smtp.t               libnet
-lib/Net/t/time.t               libnet
 lib/newgetopt.pl               A perl library supporting long option parsing
 lib/NEXT/Changes               NEXT
 lib/NEXT.pm                    Pseudo-class NEXT for method redispatch
index 1672c6e..52434fc 100755 (executable)
@@ -905,20 +905,8 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'gbarr',
        'DISTRIBUTION'  => 'GBARR/libnet-1.22.tar.gz',
-       'FILES'         => q[lib/Net/{Cmd,Config,Domain,FTP,Netrc,NNTP,POP3,SMTP,Time}.pm
-                            lib/Net/Changes
-                            lib/Net/FTP
-                            lib/Net/demos/
-                            lib/Net/*.eg
-                            lib/Net/libnetFAQ.pod
-                            lib/Net/README
-                            lib/Net/t
-                           ],
+       'FILES'         => q[ext/libnet],
        'EXCLUDED'      => [ qw{Configure install-nomake} ],
-       'MAP'           => { 'Net/' => 'lib/Net/',
-                            't/'   => 'lib/Net/t/',
-                            ''     => 'lib/Net/',
-                          },
        'CPAN'          => 1,
        'UPSTREAM'      => undef,
        },
similarity index 100%
rename from lib/Net/Changes
rename to ext/libnet/Changes
similarity index 100%
rename from lib/Net/Config.eg
rename to ext/libnet/Config.eg
diff --git a/ext/libnet/Makefile.PL b/ext/libnet/Makefile.PL
new file mode 100644 (file)
index 0000000..92c7d5f
--- /dev/null
@@ -0,0 +1,10 @@
+use strict;
+use ExtUtils::MakeMaker;
+
+WriteMakefile (
+    NAME            => 'Net',
+    DISTNAME        => 'libnet',
+    VERSION         => '1.22', # finds $VERSION
+    AUTHOR          => 'Graham Barr <gbarr@pobox.com>',
+    ABSTRACT        => 'Collection of Network protocol modules',
+);
similarity index 100%
rename from lib/Net/README
rename to ext/libnet/README
similarity index 100%
rename from lib/Net/demos/ftp
rename to ext/libnet/demos/ftp
similarity index 100%
rename from lib/Net/demos/inetd
rename to ext/libnet/demos/inetd
similarity index 100%
rename from lib/Net/demos/nntp
rename to ext/libnet/demos/nntp
similarity index 100%
rename from lib/Net/demos/pop3
rename to ext/libnet/demos/pop3
similarity index 100%
rename from lib/Net/demos/time
rename to ext/libnet/demos/time
similarity index 100%
rename from lib/Net/Cmd.pm
rename to ext/libnet/lib/Net/Cmd.pm
similarity index 100%
rename from lib/Net/FTP.pm
rename to ext/libnet/lib/Net/FTP.pm
similarity index 100%
rename from lib/Net/FTP/A.pm
rename to ext/libnet/lib/Net/FTP/A.pm
similarity index 100%
rename from lib/Net/FTP/E.pm
rename to ext/libnet/lib/Net/FTP/E.pm
similarity index 100%
rename from lib/Net/FTP/I.pm
rename to ext/libnet/lib/Net/FTP/I.pm
similarity index 100%
rename from lib/Net/FTP/L.pm
rename to ext/libnet/lib/Net/FTP/L.pm
similarity index 100%
rename from lib/Net/NNTP.pm
rename to ext/libnet/lib/Net/NNTP.pm
similarity index 100%
rename from lib/Net/Netrc.pm
rename to ext/libnet/lib/Net/Netrc.pm
similarity index 100%
rename from lib/Net/POP3.pm
rename to ext/libnet/lib/Net/POP3.pm
similarity index 100%
rename from lib/Net/SMTP.pm
rename to ext/libnet/lib/Net/SMTP.pm
similarity index 100%
rename from lib/Net/Time.pm
rename to ext/libnet/lib/Net/Time.pm
similarity index 100%
rename from lib/Net/t/config.t
rename to ext/libnet/t/config.t
similarity index 100%
rename from lib/Net/t/datasend.t
rename to ext/libnet/t/datasend.t
similarity index 100%
rename from lib/Net/t/ftp.t
rename to ext/libnet/t/ftp.t
similarity index 100%
rename from lib/Net/t/hostname.t
rename to ext/libnet/t/hostname.t
similarity index 100%
rename from lib/Net/t/netrc.t
rename to ext/libnet/t/netrc.t
similarity index 100%
rename from lib/Net/t/nntp.t
rename to ext/libnet/t/nntp.t
similarity index 100%
rename from lib/Net/t/require.t
rename to ext/libnet/t/require.t
similarity index 100%
rename from lib/Net/t/smtp.t
rename to ext/libnet/t/smtp.t
similarity index 100%
rename from lib/Net/t/time.t
rename to ext/libnet/t/time.t
index 85422de..5d7defd 100644 (file)
 /Module/Loaded.pm
 /Module/Pluggable.pm
 /Module/Pluggable
+/Net
+/Net/FTP
+/Net/FTP/A.pm
+/Net/FTP/E.pm
+/Net/FTP/I.pm
+/Net/FTP/L.pm
+/Net/FTP/dataconn.pm
+/Net/Cmd.pm
+/Net/Config.pm
+/Net/Domain.pm
+/Net/FTP.pm
+/Net/NNTP.pm
+/Net/Netrc.pm
+/Net/POP3.pm
+/Net/SMTP.pm
+/Net/Time.pm
+/Net/libnetFAQ.pod
 /Net/Ping.pm
 /NDBM_File.pm
 /O.pm