diff options
author | Michael Cummings <mcummings@gentoo.org> | 2005-07-19 11:21:39 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2005-07-19 11:21:39 +0000 |
commit | d7275bd3e046f35797d42fd4d7e5301f9933e727 (patch) | |
tree | 8920fc9d835b7514bfc8fd126c31c655be8052ba /dev-perl/Class-MethodMaker/files | |
parent | dep (diff) | |
download | gentoo-2-d7275bd3e046f35797d42fd4d7e5301f9933e727.tar.gz gentoo-2-d7275bd3e046f35797d42fd4d7e5301f9933e727.tar.bz2 gentoo-2-d7275bd3e046f35797d42fd4d7e5301f9933e727.zip |
RT Bug 13755 - the Build.PL had issues
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-perl/Class-MethodMaker/files')
-rw-r--r-- | dev-perl/Class-MethodMaker/files/0-signature.t | 19 | ||||
-rw-r--r-- | dev-perl/Class-MethodMaker/files/C-MM-Build.patch | 12 | ||||
-rw-r--r-- | dev-perl/Class-MethodMaker/files/digest-Class-MethodMaker-2.07-r1 | 1 |
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-perl/Class-MethodMaker/files/0-signature.t b/dev-perl/Class-MethodMaker/files/0-signature.t new file mode 100644 index 000000000000..85ba8559faa4 --- /dev/null +++ b/dev-perl/Class-MethodMaker/files/0-signature.t @@ -0,0 +1,19 @@ +#!/usr/bin/perl +use strict; +print "1..1\n"; + +print("ok 1 #skip", + "Skipping since we had to tamper with the Build.PL\n"); +exit(); +if ( ! eval { require Module::Signature; 1 } ) { + print("ok 1 # skip ", + "Next time around, consider install Module::Signature, ", + "# so you can verify the integrity of this distribution.\n"); +} elsif ( ! eval { require Socket; Socket::inet_aton('subkeys.pgp.net') } ) { + print "ok 1 # skip ", "Cannot connect to the keyserver\n"; +} else { + (Module::Signature::verify() == Module::Signature::SIGNATURE_OK()) + or print "not "; + print "ok 1 # Valid signature\n"; +} + diff --git a/dev-perl/Class-MethodMaker/files/C-MM-Build.patch b/dev-perl/Class-MethodMaker/files/C-MM-Build.patch new file mode 100644 index 000000000000..03f8c52a2a8d --- /dev/null +++ b/dev-perl/Class-MethodMaker/files/C-MM-Build.patch @@ -0,0 +1,12 @@ +--- Build.PL.orig 2005-07-19 06:55:12.000000000 -0400 ++++ Build.PL 2005-07-19 06:55:16.000000000 -0400 +@@ -1,7 +1,7 @@ + use Module::Build; +-use File::Spec::Functions qw( catfile ); ++use File::Spec::Functions qw( catfile catdir ); + +-use lib '.'; ++use lib File::Spec->catdir('lib'); + use Generate qw( %GENERATE ); + + my $class = Module::Build->subclass diff --git a/dev-perl/Class-MethodMaker/files/digest-Class-MethodMaker-2.07-r1 b/dev-perl/Class-MethodMaker/files/digest-Class-MethodMaker-2.07-r1 new file mode 100644 index 000000000000..a18510615e19 --- /dev/null +++ b/dev-perl/Class-MethodMaker/files/digest-Class-MethodMaker-2.07-r1 @@ -0,0 +1 @@ +MD5 fe65529977de6a7ccac86c00ac1f8f1f Class-MethodMaker-2.07.tar.gz 88752 |