Move Digest::SHA from ext/ to cpan/
Nicholas Clark [Thu, 1 Oct 2009 14:24:50 +0000 (15:24 +0100)]
Move the shasum binary to the top level, to remove the need for a MAP entry in
Maintainers.PL

37 files changed:
MANIFEST
Porting/Maintainers.pl
cpan/Digest-SHA/Changes [moved from ext/Digest-SHA/Changes with 100% similarity]
cpan/Digest-SHA/Makefile.PL [moved from ext/Digest-SHA/Makefile.PL with 100% similarity]
cpan/Digest-SHA/README [moved from ext/Digest-SHA/README with 100% similarity]
cpan/Digest-SHA/SHA.xs [moved from ext/Digest-SHA/SHA.xs with 100% similarity]
cpan/Digest-SHA/lib/Digest/SHA.pm [moved from ext/Digest-SHA/lib/Digest/SHA.pm with 100% similarity]
cpan/Digest-SHA/shasum [moved from ext/Digest-SHA/bin/shasum with 100% similarity]
cpan/Digest-SHA/src/hmac.c [moved from ext/Digest-SHA/src/hmac.c with 100% similarity]
cpan/Digest-SHA/src/hmac.h [moved from ext/Digest-SHA/src/hmac.h with 100% similarity]
cpan/Digest-SHA/src/hmacxtra.c [moved from ext/Digest-SHA/src/hmacxtra.c with 100% similarity]
cpan/Digest-SHA/src/sha.c [moved from ext/Digest-SHA/src/sha.c with 100% similarity]
cpan/Digest-SHA/src/sha.h [moved from ext/Digest-SHA/src/sha.h with 100% similarity]
cpan/Digest-SHA/src/sha64bit.c [moved from ext/Digest-SHA/src/sha64bit.c with 100% similarity]
cpan/Digest-SHA/src/sha64bit.h [moved from ext/Digest-SHA/src/sha64bit.h with 100% similarity]
cpan/Digest-SHA/src/shaxtra.c [moved from ext/Digest-SHA/src/shaxtra.c with 100% similarity]
cpan/Digest-SHA/t/allfcns.t [moved from ext/Digest-SHA/t/allfcns.t with 100% similarity]
cpan/Digest-SHA/t/base64.t [moved from ext/Digest-SHA/t/base64.t with 100% similarity]
cpan/Digest-SHA/t/bitbuf.t [moved from ext/Digest-SHA/t/bitbuf.t with 100% similarity]
cpan/Digest-SHA/t/dumpload.t [moved from ext/Digest-SHA/t/dumpload.t with 100% similarity]
cpan/Digest-SHA/t/fips198.t [moved from ext/Digest-SHA/t/fips198.t with 100% similarity]
cpan/Digest-SHA/t/gg.t [moved from ext/Digest-SHA/t/gg.t with 100% similarity]
cpan/Digest-SHA/t/gglong.t [moved from ext/Digest-SHA/t/gglong.t with 100% similarity]
cpan/Digest-SHA/t/hmacsha.t [moved from ext/Digest-SHA/t/hmacsha.t with 100% similarity]
cpan/Digest-SHA/t/ireland.t [moved from ext/Digest-SHA/t/ireland.t with 100% similarity]
cpan/Digest-SHA/t/methods.t [moved from ext/Digest-SHA/t/methods.t with 100% similarity]
cpan/Digest-SHA/t/nistbit.t [moved from ext/Digest-SHA/t/nistbit.t with 100% similarity]
cpan/Digest-SHA/t/nistbyte.t [moved from ext/Digest-SHA/t/nistbyte.t with 100% similarity]
cpan/Digest-SHA/t/rfc2202.t [moved from ext/Digest-SHA/t/rfc2202.t with 100% similarity]
cpan/Digest-SHA/t/sha1.t [moved from ext/Digest-SHA/t/sha1.t with 100% similarity]
cpan/Digest-SHA/t/sha224.t [moved from ext/Digest-SHA/t/sha224.t with 100% similarity]
cpan/Digest-SHA/t/sha256.t [moved from ext/Digest-SHA/t/sha256.t with 100% similarity]
cpan/Digest-SHA/t/sha384.t [moved from ext/Digest-SHA/t/sha384.t with 100% similarity]
cpan/Digest-SHA/t/sha512.t [moved from ext/Digest-SHA/t/sha512.t with 100% similarity]
cpan/Digest-SHA/t/woodbury.t [moved from ext/Digest-SHA/t/woodbury.t with 100% similarity]
cpan/Digest-SHA/typemap [moved from ext/Digest-SHA/typemap with 100% similarity]
utils/shasum.PL

index 050d8ca..f2b9520 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -656,6 +656,40 @@ cpan/Digest-MD5/t/files.t          See if Digest::MD5 extension works
 cpan/Digest-MD5/t/md5-aaa.t            See if Digest::MD5 extension works
 cpan/Digest-MD5/t/utf8.t               See if Digest::MD5 extension works
 cpan/Digest-MD5/typemap                        Digest::MD5 extension
+cpan/Digest-SHA/Changes                        Digest::SHA changes
+cpan/Digest-SHA/lib/Digest/SHA.pm      Digest::SHA extension
+cpan/Digest-SHA/Makefile.PL            Digest::SHA Makefile.PL
+cpan/Digest-SHA/README                 Digest::SHA README
+cpan/Digest-SHA/shasum                 shasum script
+cpan/Digest-SHA/SHA.xs                 Digest::SHA extension
+cpan/Digest-SHA/src/hmac.c             Digest::SHA extension
+cpan/Digest-SHA/src/hmac.h             Digest::SHA extension
+cpan/Digest-SHA/src/hmacxtra.c         Digest::SHA extension
+cpan/Digest-SHA/src/sha64bit.c         Digest::SHA extension
+cpan/Digest-SHA/src/sha64bit.h         Digest::SHA extension
+cpan/Digest-SHA/src/sha.c              Digest::SHA extension
+cpan/Digest-SHA/src/sha.h              Digest::SHA extension
+cpan/Digest-SHA/src/shaxtra.c          Digest::SHA extension
+cpan/Digest-SHA/t/allfcns.t            See if Digest::SHA works
+cpan/Digest-SHA/t/base64.t             See if Digest::SHA works
+cpan/Digest-SHA/t/bitbuf.t             See if Digest::SHA works
+cpan/Digest-SHA/t/dumpload.t           See if Digest::SHA works
+cpan/Digest-SHA/t/fips198.t            See if Digest::SHA works
+cpan/Digest-SHA/t/gglong.t             See if Digest::SHA works
+cpan/Digest-SHA/t/gg.t                 See if Digest::SHA works
+cpan/Digest-SHA/t/hmacsha.t            See if Digest::SHA works
+cpan/Digest-SHA/t/ireland.t            See if Digest::SHA works
+cpan/Digest-SHA/t/methods.t            See if Digest::SHA works
+cpan/Digest-SHA/t/nistbit.t            See if Digest::SHA works
+cpan/Digest-SHA/t/nistbyte.t           See if Digest::SHA works
+cpan/Digest-SHA/t/rfc2202.t            See if Digest::SHA works
+cpan/Digest-SHA/t/sha1.t               See if Digest::SHA works
+cpan/Digest-SHA/t/sha224.t             See if Digest::SHA works
+cpan/Digest-SHA/t/sha256.t             See if Digest::SHA works
+cpan/Digest-SHA/t/sha384.t             See if Digest::SHA works
+cpan/Digest-SHA/t/sha512.t             See if Digest::SHA works
+cpan/Digest-SHA/t/woodbury.t           See if Digest::SHA works
+cpan/Digest-SHA/typemap                        Typemap for Digest::SHA
 cpan/Digest/t/base.t           See if Digest extensions work
 cpan/Digest/t/digest.t         See if Digest extensions work
 cpan/Digest/t/file.t           See if Digest extensions work
@@ -1694,40 +1728,6 @@ ext/Devel-Peek/Peek.xs           Data debugging tool, externals
 ext/Devel-Peek/t/Peek.t                See if Devel::Peek works
 ext/Devel-SelfStubber/lib/Devel/SelfStubber.pm Generate stubs for SelfLoader.pm
 ext/Devel-SelfStubber/t/Devel-SelfStubber.t    See if Devel::SelfStubber works
-ext/Digest-SHA/bin/shasum      shasum script
-ext/Digest-SHA/Changes         Digest::SHA changes
-ext/Digest-SHA/lib/Digest/SHA.pm       Digest::SHA extension
-ext/Digest-SHA/Makefile.PL     Digest::SHA Makefile.PL
-ext/Digest-SHA/README          Digest::SHA README
-ext/Digest-SHA/SHA.xs          Digest::SHA extension
-ext/Digest-SHA/src/hmac.c      Digest::SHA extension
-ext/Digest-SHA/src/hmac.h      Digest::SHA extension
-ext/Digest-SHA/src/hmacxtra.c  Digest::SHA extension
-ext/Digest-SHA/src/sha64bit.c  Digest::SHA extension
-ext/Digest-SHA/src/sha64bit.h  Digest::SHA extension
-ext/Digest-SHA/src/sha.c       Digest::SHA extension
-ext/Digest-SHA/src/sha.h       Digest::SHA extension
-ext/Digest-SHA/src/shaxtra.c   Digest::SHA extension
-ext/Digest-SHA/t/allfcns.t     See if Digest::SHA works
-ext/Digest-SHA/t/base64.t      See if Digest::SHA works
-ext/Digest-SHA/t/bitbuf.t      See if Digest::SHA works
-ext/Digest-SHA/t/dumpload.t    See if Digest::SHA works
-ext/Digest-SHA/t/fips198.t     See if Digest::SHA works
-ext/Digest-SHA/t/gglong.t      See if Digest::SHA works
-ext/Digest-SHA/t/gg.t          See if Digest::SHA works
-ext/Digest-SHA/t/hmacsha.t     See if Digest::SHA works
-ext/Digest-SHA/t/ireland.t     See if Digest::SHA works
-ext/Digest-SHA/t/methods.t     See if Digest::SHA works
-ext/Digest-SHA/t/nistbit.t     See if Digest::SHA works
-ext/Digest-SHA/t/nistbyte.t    See if Digest::SHA works
-ext/Digest-SHA/t/rfc2202.t     See if Digest::SHA works
-ext/Digest-SHA/t/sha1.t                See if Digest::SHA works
-ext/Digest-SHA/t/sha224.t      See if Digest::SHA works
-ext/Digest-SHA/t/sha256.t      See if Digest::SHA works
-ext/Digest-SHA/t/sha384.t      See if Digest::SHA works
-ext/Digest-SHA/t/sha512.t      See if Digest::SHA works
-ext/Digest-SHA/t/woodbury.t    See if Digest::SHA works
-ext/Digest-SHA/typemap         Typemap for Digest::SHA
 ext/DynaLoader/dl_aix.xs       AIX implementation
 ext/DynaLoader/dl_beos.xs      BeOS implementation
 ext/DynaLoader/dl_dld.xs       GNU dld style implementation
index 98ed508..0a10238 100755 (executable)
@@ -502,11 +502,8 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'mshelor',
        'DISTRIBUTION'  => 'MSHELOR/Digest-SHA-5.47.tar.gz',
-       'FILES'         => q[ext/Digest-SHA],
+       'FILES'         => q[cpan/Digest-SHA],
        'EXCLUDED'      => [ qw{t/pod.t t/podcover.t examples/dups} ],
-       'MAP'           => { 'shasum'   => 'ext/Digest-SHA/bin/shasum',
-                            ''         => 'ext/Digest-SHA/',
-                          },
        'CPAN'          => 1,
        'UPSTREAM'      => undef,
        },
similarity index 100%
rename from ext/Digest-SHA/README
rename to cpan/Digest-SHA/README
similarity index 100%
rename from ext/Digest-SHA/SHA.xs
rename to cpan/Digest-SHA/SHA.xs
similarity index 100%
rename from ext/Digest-SHA/t/gg.t
rename to cpan/Digest-SHA/t/gg.t
index 06f5cfc..852e6d2 100644 (file)
@@ -35,7 +35,7 @@ use File::Spec;
 
 my $script = File::Spec->catfile(
             File::Spec->catdir(
-                File::Spec->updir, qw[ext Digest-SHA bin]
+                File::Spec->updir, qw[cpan Digest-SHA]
             ), "shasum");
 
 if (open(IN, $script)) {