Move CPAN from ext/ to cpan/
Nicholas Clark [Sat, 26 Sep 2009 09:06:30 +0000 (10:06 +0100)]
47 files changed:
MANIFEST
Porting/Maintainers.pl
cpan/CPAN/Makefile.PL [moved from ext/CPAN/Makefile.PL with 100% similarity]
cpan/CPAN/lib/CPAN.pm [moved from ext/CPAN/lib/CPAN.pm with 100% similarity]
cpan/CPAN/lib/CPAN/API/HOWTO.pod [moved from ext/CPAN/lib/CPAN/API/HOWTO.pod with 100% similarity]
cpan/CPAN/lib/CPAN/Author.pm [moved from ext/CPAN/lib/CPAN/Author.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Bundle.pm [moved from ext/CPAN/lib/CPAN/Bundle.pm with 100% similarity]
cpan/CPAN/lib/CPAN/CacheMgr.pm [moved from ext/CPAN/lib/CPAN/CacheMgr.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Complete.pm [moved from ext/CPAN/lib/CPAN/Complete.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Debug.pm [moved from ext/CPAN/lib/CPAN/Debug.pm with 100% similarity]
cpan/CPAN/lib/CPAN/DeferredCode.pm [moved from ext/CPAN/lib/CPAN/DeferredCode.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Distribution.pm [moved from ext/CPAN/lib/CPAN/Distribution.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Distroprefs.pm [moved from ext/CPAN/lib/CPAN/Distroprefs.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Distrostatus.pm [moved from ext/CPAN/lib/CPAN/Distrostatus.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Exception/RecursiveDependency.pm [moved from ext/CPAN/lib/CPAN/Exception/RecursiveDependency.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Exception/blocked_urllist.pm [moved from ext/CPAN/lib/CPAN/Exception/blocked_urllist.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Exception/yaml_not_installed.pm [moved from ext/CPAN/lib/CPAN/Exception/yaml_not_installed.pm with 100% similarity]
cpan/CPAN/lib/CPAN/FTP.pm [moved from ext/CPAN/lib/CPAN/FTP.pm with 100% similarity]
cpan/CPAN/lib/CPAN/FTP/netrc.pm [moved from ext/CPAN/lib/CPAN/FTP/netrc.pm with 100% similarity]
cpan/CPAN/lib/CPAN/FirstTime.pm [moved from ext/CPAN/lib/CPAN/FirstTime.pm with 100% similarity]
cpan/CPAN/lib/CPAN/HandleConfig.pm [moved from ext/CPAN/lib/CPAN/HandleConfig.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Index.pm [moved from ext/CPAN/lib/CPAN/Index.pm with 100% similarity]
cpan/CPAN/lib/CPAN/InfoObj.pm [moved from ext/CPAN/lib/CPAN/InfoObj.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Kwalify.pm [moved from ext/CPAN/lib/CPAN/Kwalify.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Kwalify/distroprefs.dd [moved from ext/CPAN/lib/CPAN/Kwalify/distroprefs.dd with 100% similarity]
cpan/CPAN/lib/CPAN/Kwalify/distroprefs.yml [moved from ext/CPAN/lib/CPAN/Kwalify/distroprefs.yml with 100% similarity]
cpan/CPAN/lib/CPAN/LWP/UserAgent.pm [moved from ext/CPAN/lib/CPAN/LWP/UserAgent.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Module.pm [moved from ext/CPAN/lib/CPAN/Module.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Nox.pm [moved from ext/CPAN/lib/CPAN/Nox.pm with 100% similarity]
cpan/CPAN/lib/CPAN/PAUSE2003.pub [moved from ext/CPAN/lib/CPAN/PAUSE2003.pub with 100% similarity]
cpan/CPAN/lib/CPAN/PAUSE2005.pub [moved from ext/CPAN/lib/CPAN/PAUSE2005.pub with 100% similarity]
cpan/CPAN/lib/CPAN/PAUSE2007.pub [moved from ext/CPAN/lib/CPAN/PAUSE2007.pub with 100% similarity]
cpan/CPAN/lib/CPAN/PAUSE2009.pub [moved from ext/CPAN/lib/CPAN/PAUSE2009.pub with 100% similarity]
cpan/CPAN/lib/CPAN/Prompt.pm [moved from ext/CPAN/lib/CPAN/Prompt.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Queue.pm [moved from ext/CPAN/lib/CPAN/Queue.pm with 100% similarity]
cpan/CPAN/lib/CPAN/SIGNATURE [moved from ext/CPAN/lib/CPAN/SIGNATURE with 100% similarity]
cpan/CPAN/lib/CPAN/Shell.pm [moved from ext/CPAN/lib/CPAN/Shell.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Tarzip.pm [moved from ext/CPAN/lib/CPAN/Tarzip.pm with 100% similarity]
cpan/CPAN/lib/CPAN/URL.pm [moved from ext/CPAN/lib/CPAN/URL.pm with 100% similarity]
cpan/CPAN/lib/CPAN/Version.pm [moved from ext/CPAN/lib/CPAN/Version.pm with 100% similarity]
cpan/CPAN/scripts/cpan [moved from ext/CPAN/scripts/cpan with 100% similarity]
cpan/CPAN/t/01loadme.t [moved from ext/CPAN/t/01loadme.t with 100% similarity]
cpan/CPAN/t/02nox.t [moved from ext/CPAN/t/02nox.t with 100% similarity]
cpan/CPAN/t/03pkgs.t [moved from ext/CPAN/t/03pkgs.t with 100% similarity]
cpan/CPAN/t/10version.t [moved from ext/CPAN/t/10version.t with 100% similarity]
cpan/CPAN/t/11mirroredby.t [moved from ext/CPAN/t/11mirroredby.t with 100% similarity]
utils/cpan.PL

index 9634862..f00f8f1 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -135,6 +135,50 @@ cpan/Class-ISA/ChangeLog           Changes for Class::ISA
 cpan/Class-ISA/lib/Class/ISA.pm                Class::ISA
 cpan/Class-ISA/t/00_about_verbose.t    Tests for Class::ISA
 cpan/Class-ISA/t/01_old_junk.t         Tests for Class::ISA
+cpan/CPAN/lib/CPAN/API/HOWTO.pod               recipe book for programming with CPAN.pm
+cpan/CPAN/lib/CPAN/Author.pm           helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Bundle.pm           helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/CacheMgr.pm         helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Complete.pm         helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Debug.pm            helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/DeferredCode.pm     helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Distribution.pm     helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Distroprefs.pm              helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Distrostatus.pm     helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Exception/blocked_urllist.pm        helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Exception/RecursiveDependency.pm    helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Exception/yaml_not_installed.pm     helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/FirstTime.pm                Utility for creating CPAN config files
+cpan/CPAN/lib/CPAN/FTP/netrc.pm                helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/FTP.pm                      helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/HandleConfig.pm     helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Index.pm            helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/InfoObj.pm          helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Kwalify/distroprefs.dd              helper file for validating config files
+cpan/CPAN/lib/CPAN/Kwalify/distroprefs.yml     helper file for validating config files
+cpan/CPAN/lib/CPAN/Kwalify.pm          helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/LWP/UserAgent.pm    helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Module.pm           helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/Nox.pm                      Runs CPAN while avoiding compiled extensions
+cpan/CPAN/lib/CPAN/PAUSE2003.pub               CPAN public key
+cpan/CPAN/lib/CPAN/PAUSE2005.pub               CPAN public key
+cpan/CPAN/lib/CPAN/PAUSE2007.pub               CPAN public key
+cpan/CPAN/lib/CPAN/PAUSE2009.pub               CPAN public key
+cpan/CPAN/lib/CPAN.pm                  Interface to Comprehensive Perl Archive Network
+cpan/CPAN/lib/CPAN/Prompt.pm
+cpan/CPAN/lib/CPAN/Queue.pm            queueing system for CPAN.pm
+cpan/CPAN/lib/CPAN/Shell.pm
+cpan/CPAN/lib/CPAN/SIGNATURE           CPAN public key
+cpan/CPAN/lib/CPAN/Tarzip.pm           helper package for CPAN.pm
+cpan/CPAN/lib/CPAN/URL.pm
+cpan/CPAN/lib/CPAN/Version.pm          Simple math with different flavors of version strings
+cpan/CPAN/Makefile.PL
+cpan/CPAN/scripts/cpan         easily interact with CPAN from the command line
+cpan/CPAN/t/01loadme.t         See if CPAN the module works
+cpan/CPAN/t/02nox.t            See if CPAN::Nox works
+cpan/CPAN/t/03pkgs.t           See if CPAN::Version works
+cpan/CPAN/t/10version.t                See if CPAN the module works
+cpan/CPAN/t/11mirroredby.t             See if CPAN::Mirrored::By works
 cpan/DB_File/Changes           Berkeley DB extension change log
 cpan/DB_File/config.in         Part of Berkeley DB configuration
 cpan/DB_File/DB_File_BS                Berkeley DB extension mkbootstrap fodder
@@ -671,44 +715,6 @@ ext/Compress-Raw-Zlib/zlib-src/zutil.h     Compress::Raw::Zlib
 ext/Compress-Raw-Zlib/Zlib.xs          Compress::Raw::Zlib
 ext/constant/lib/constant.pm   For "use constant"
 ext/constant/t/constant.t      See if compile-time constants work
-ext/CPAN/lib/CPAN/API/HOWTO.pod                recipe book for programming with CPAN.pm
-ext/CPAN/lib/CPAN/Author.pm            helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Bundle.pm            helper package for CPAN.pm
-ext/CPAN/lib/CPAN/CacheMgr.pm          helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Complete.pm          helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Debug.pm             helper package for CPAN.pm
-ext/CPAN/lib/CPAN/DeferredCode.pm      helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Distribution.pm      helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Distroprefs.pm               helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Distrostatus.pm      helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Exception/blocked_urllist.pm helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Exception/RecursiveDependency.pm     helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Exception/yaml_not_installed.pm      helper package for CPAN.pm
-ext/CPAN/lib/CPAN/FirstTime.pm         Utility for creating CPAN config files
-ext/CPAN/lib/CPAN/FTP/netrc.pm         helper package for CPAN.pm
-ext/CPAN/lib/CPAN/FTP.pm                       helper package for CPAN.pm
-ext/CPAN/lib/CPAN/HandleConfig.pm      helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Index.pm             helper package for CPAN.pm
-ext/CPAN/lib/CPAN/InfoObj.pm           helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Kwalify/distroprefs.dd               helper file for validating config files
-ext/CPAN/lib/CPAN/Kwalify/distroprefs.yml      helper file for validating config files
-ext/CPAN/lib/CPAN/Kwalify.pm           helper package for CPAN.pm
-ext/CPAN/lib/CPAN/LWP/UserAgent.pm     helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Module.pm            helper package for CPAN.pm
-ext/CPAN/lib/CPAN/Nox.pm                       Runs CPAN while avoiding compiled extensions
-ext/CPAN/lib/CPAN/PAUSE2003.pub                CPAN public key
-ext/CPAN/lib/CPAN/PAUSE2005.pub                CPAN public key
-ext/CPAN/lib/CPAN/PAUSE2007.pub                CPAN public key
-ext/CPAN/lib/CPAN/PAUSE2009.pub                CPAN public key
-ext/CPAN/lib/CPAN.pm                   Interface to Comprehensive Perl Archive Network
-ext/CPAN/lib/CPAN/Prompt.pm
-ext/CPAN/lib/CPAN/Queue.pm             queueing system for CPAN.pm
-ext/CPAN/lib/CPAN/Shell.pm
-ext/CPAN/lib/CPAN/SIGNATURE            CPAN public key
-ext/CPAN/lib/CPAN/Tarzip.pm            helper package for CPAN.pm
-ext/CPAN/lib/CPAN/URL.pm
-ext/CPAN/lib/CPAN/Version.pm           Simple math with different flavors of version strings
-ext/CPAN/Makefile.PL
 ext/CPANPLUS/bin/cpan2dist     the cpan2dist utility
 ext/CPANPLUS/bin/cpanp the cpanp utility
 ext/CPANPLUS/bin/cpanp-run-perl        the cpanp-run-perl utility
@@ -803,12 +809,6 @@ ext/CPANPLUS/t/dummy-CPAN/autobundle/Snapshot.pm   CPANPLUS tests
 ext/CPANPLUS/t/dummy-CPAN/modules/02packages.details.txt.gz    CPANPLUS tests
 ext/CPANPLUS/t/dummy-CPAN/modules/03modlist.data.gz    CPANPLUS tests
 ext/CPANPLUS/t/inc/conf.pl     CPANPLUS tests
-ext/CPAN/scripts/cpan          easily interact with CPAN from the command line
-ext/CPAN/t/01loadme.t          See if CPAN the module works
-ext/CPAN/t/02nox.t             See if CPAN::Nox works
-ext/CPAN/t/03pkgs.t            See if CPAN::Version works
-ext/CPAN/t/10version.t         See if CPAN the module works
-ext/CPAN/t/11mirroredby.t              See if CPAN::Mirrored::By works
 ext/Cwd/Changes                                Cwd extension Changelog
 ext/Cwd/Cwd.pm                         Various cwd routines (getcwd, fastcwd, chdir)
 ext/Cwd/Cwd.xs                         Cwd extension external subroutines
index 124ee25..16a4c8e 100755 (executable)
@@ -370,7 +370,7 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'andk',
        'DISTRIBUTION'  => 'ANDK/CPAN-1.9402.tar.gz',
-       'FILES'         => q[ext/CPAN],
+       'FILES'         => q[cpan/CPAN],
        'EXCLUDED'      => [ qr{^distroprefs/},
                             qr{^inc/Test/},
                             qr{^t/CPAN/authors/},
@@ -407,7 +407,7 @@ use File::Glob qw(:case);
                               },
                           ],
        'CPAN'          => 1,
-       'UPSTREAM'      => 'CPAN',
+       'UPSTREAM'      => 'cpan',
        },
 
     'CPANPLUS' =>
similarity index 100%
rename from ext/CPAN/Makefile.PL
rename to cpan/CPAN/Makefile.PL
similarity index 100%
rename from ext/CPAN/lib/CPAN.pm
rename to cpan/CPAN/lib/CPAN.pm
similarity index 100%
rename from ext/CPAN/scripts/cpan
rename to cpan/CPAN/scripts/cpan
similarity index 100%
rename from ext/CPAN/t/01loadme.t
rename to cpan/CPAN/t/01loadme.t
similarity index 100%
rename from ext/CPAN/t/02nox.t
rename to cpan/CPAN/t/02nox.t
similarity index 100%
rename from ext/CPAN/t/03pkgs.t
rename to cpan/CPAN/t/03pkgs.t
index 4752843..c7c2668 100644 (file)
@@ -33,7 +33,7 @@ $Config{startperl}
 
 use File::Spec;
 
-my $cpan = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, "ext", "CPAN", "scripts"), "cpan");
+my $cpan = File::Spec->catfile(File::Spec->catdir(File::Spec->updir, qw(cpan CPAN scripts)), "cpan");
 
 if (open(CPAN, $cpan)) {
     print OUT <CPAN>;