From: Chris Williams Date: Tue, 8 Sep 2009 12:25:04 +0000 (+0100) Subject: Moved libnet from lib/ to ext/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cb82353cb54730fb7ae6fdbe92841cc51a6af7a8;p=p5sagit%2Fp5-mst-13.2.git Moved libnet from lib/ to ext/ --- diff --git a/MANIFEST b/MANIFEST index f0e38ca..d4f68ca 100644 --- 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 diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 1672c6e..52434fc 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -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, }, diff --git a/lib/Net/Changes b/ext/libnet/Changes similarity index 100% rename from lib/Net/Changes rename to ext/libnet/Changes diff --git a/lib/Net/Config.eg b/ext/libnet/Config.eg similarity index 100% rename from lib/Net/Config.eg rename to ext/libnet/Config.eg diff --git a/lib/Net/Hostname.pm.eg b/ext/libnet/Hostname.pm.eg similarity index 100% rename from lib/Net/Hostname.pm.eg rename to ext/libnet/Hostname.pm.eg diff --git a/ext/libnet/Makefile.PL b/ext/libnet/Makefile.PL new file mode 100644 index 0000000..92c7d5f --- /dev/null +++ b/ext/libnet/Makefile.PL @@ -0,0 +1,10 @@ +use strict; +use ExtUtils::MakeMaker; + +WriteMakefile ( + NAME => 'Net', + DISTNAME => 'libnet', + VERSION => '1.22', # finds $VERSION + AUTHOR => 'Graham Barr ', + ABSTRACT => 'Collection of Network protocol modules', +); diff --git a/lib/Net/README b/ext/libnet/README similarity index 100% rename from lib/Net/README rename to ext/libnet/README diff --git a/lib/Net/demos/ftp b/ext/libnet/demos/ftp similarity index 100% rename from lib/Net/demos/ftp rename to ext/libnet/demos/ftp diff --git a/lib/Net/demos/inetd b/ext/libnet/demos/inetd similarity index 100% rename from lib/Net/demos/inetd rename to ext/libnet/demos/inetd diff --git a/lib/Net/demos/nntp b/ext/libnet/demos/nntp similarity index 100% rename from lib/Net/demos/nntp rename to ext/libnet/demos/nntp diff --git a/lib/Net/demos/nntp.mirror b/ext/libnet/demos/nntp.mirror similarity index 100% rename from lib/Net/demos/nntp.mirror rename to ext/libnet/demos/nntp.mirror diff --git a/lib/Net/demos/pop3 b/ext/libnet/demos/pop3 similarity index 100% rename from lib/Net/demos/pop3 rename to ext/libnet/demos/pop3 diff --git a/lib/Net/demos/smtp.self b/ext/libnet/demos/smtp.self similarity index 100% rename from lib/Net/demos/smtp.self rename to ext/libnet/demos/smtp.self diff --git a/lib/Net/demos/time b/ext/libnet/demos/time similarity index 100% rename from lib/Net/demos/time rename to ext/libnet/demos/time diff --git a/lib/Net/Cmd.pm b/ext/libnet/lib/Net/Cmd.pm similarity index 100% rename from lib/Net/Cmd.pm rename to ext/libnet/lib/Net/Cmd.pm diff --git a/lib/Net/Config.pm b/ext/libnet/lib/Net/Config.pm similarity index 100% rename from lib/Net/Config.pm rename to ext/libnet/lib/Net/Config.pm diff --git a/lib/Net/Domain.pm b/ext/libnet/lib/Net/Domain.pm similarity index 100% rename from lib/Net/Domain.pm rename to ext/libnet/lib/Net/Domain.pm diff --git a/lib/Net/FTP.pm b/ext/libnet/lib/Net/FTP.pm similarity index 100% rename from lib/Net/FTP.pm rename to ext/libnet/lib/Net/FTP.pm diff --git a/lib/Net/FTP/A.pm b/ext/libnet/lib/Net/FTP/A.pm similarity index 100% rename from lib/Net/FTP/A.pm rename to ext/libnet/lib/Net/FTP/A.pm diff --git a/lib/Net/FTP/E.pm b/ext/libnet/lib/Net/FTP/E.pm similarity index 100% rename from lib/Net/FTP/E.pm rename to ext/libnet/lib/Net/FTP/E.pm diff --git a/lib/Net/FTP/I.pm b/ext/libnet/lib/Net/FTP/I.pm similarity index 100% rename from lib/Net/FTP/I.pm rename to ext/libnet/lib/Net/FTP/I.pm diff --git a/lib/Net/FTP/L.pm b/ext/libnet/lib/Net/FTP/L.pm similarity index 100% rename from lib/Net/FTP/L.pm rename to ext/libnet/lib/Net/FTP/L.pm diff --git a/lib/Net/FTP/dataconn.pm b/ext/libnet/lib/Net/FTP/dataconn.pm similarity index 100% rename from lib/Net/FTP/dataconn.pm rename to ext/libnet/lib/Net/FTP/dataconn.pm diff --git a/lib/Net/NNTP.pm b/ext/libnet/lib/Net/NNTP.pm similarity index 100% rename from lib/Net/NNTP.pm rename to ext/libnet/lib/Net/NNTP.pm diff --git a/lib/Net/Netrc.pm b/ext/libnet/lib/Net/Netrc.pm similarity index 100% rename from lib/Net/Netrc.pm rename to ext/libnet/lib/Net/Netrc.pm diff --git a/lib/Net/POP3.pm b/ext/libnet/lib/Net/POP3.pm similarity index 100% rename from lib/Net/POP3.pm rename to ext/libnet/lib/Net/POP3.pm diff --git a/lib/Net/SMTP.pm b/ext/libnet/lib/Net/SMTP.pm similarity index 100% rename from lib/Net/SMTP.pm rename to ext/libnet/lib/Net/SMTP.pm diff --git a/lib/Net/Time.pm b/ext/libnet/lib/Net/Time.pm similarity index 100% rename from lib/Net/Time.pm rename to ext/libnet/lib/Net/Time.pm diff --git a/lib/Net/libnetFAQ.pod b/ext/libnet/lib/Net/libnetFAQ.pod similarity index 100% rename from lib/Net/libnetFAQ.pod rename to ext/libnet/lib/Net/libnetFAQ.pod diff --git a/lib/Net/t/config.t b/ext/libnet/t/config.t similarity index 100% rename from lib/Net/t/config.t rename to ext/libnet/t/config.t diff --git a/lib/Net/t/datasend.t b/ext/libnet/t/datasend.t similarity index 100% rename from lib/Net/t/datasend.t rename to ext/libnet/t/datasend.t diff --git a/lib/Net/t/ftp.t b/ext/libnet/t/ftp.t similarity index 100% rename from lib/Net/t/ftp.t rename to ext/libnet/t/ftp.t diff --git a/lib/Net/t/hostname.t b/ext/libnet/t/hostname.t similarity index 100% rename from lib/Net/t/hostname.t rename to ext/libnet/t/hostname.t diff --git a/lib/Net/t/libnet_t.pl b/ext/libnet/t/libnet_t.pl similarity index 100% rename from lib/Net/t/libnet_t.pl rename to ext/libnet/t/libnet_t.pl diff --git a/lib/Net/t/netrc.t b/ext/libnet/t/netrc.t similarity index 100% rename from lib/Net/t/netrc.t rename to ext/libnet/t/netrc.t diff --git a/lib/Net/t/nntp.t b/ext/libnet/t/nntp.t similarity index 100% rename from lib/Net/t/nntp.t rename to ext/libnet/t/nntp.t diff --git a/lib/Net/t/require.t b/ext/libnet/t/require.t similarity index 100% rename from lib/Net/t/require.t rename to ext/libnet/t/require.t diff --git a/lib/Net/t/smtp.t b/ext/libnet/t/smtp.t similarity index 100% rename from lib/Net/t/smtp.t rename to ext/libnet/t/smtp.t diff --git a/lib/Net/t/time.t b/ext/libnet/t/time.t similarity index 100% rename from lib/Net/t/time.t rename to ext/libnet/t/time.t diff --git a/lib/.gitignore b/lib/.gitignore index 85422de..5d7defd 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -173,6 +173,23 @@ /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