summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2005-07-19 11:21:39 +0000
committerMichael Cummings <mcummings@gentoo.org>2005-07-19 11:21:39 +0000
commitd7275bd3e046f35797d42fd4d7e5301f9933e727 (patch)
tree8920fc9d835b7514bfc8fd126c31c655be8052ba /dev-perl/Class-MethodMaker
parentdep (diff)
downloadgentoo-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')
-rw-r--r--dev-perl/Class-MethodMaker/ChangeLog9
-rw-r--r--dev-perl/Class-MethodMaker/Class-MethodMaker-2.07-r1.ebuild31
-rw-r--r--dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild16
-rw-r--r--dev-perl/Class-MethodMaker/Manifest19
-rw-r--r--dev-perl/Class-MethodMaker/files/0-signature.t19
-rw-r--r--dev-perl/Class-MethodMaker/files/C-MM-Build.patch12
-rw-r--r--dev-perl/Class-MethodMaker/files/digest-Class-MethodMaker-2.07-r11
7 files changed, 92 insertions, 15 deletions
diff --git a/dev-perl/Class-MethodMaker/ChangeLog b/dev-perl/Class-MethodMaker/ChangeLog
index 33b4a03fba68..6a8725b5bf9e 100644
--- a/dev-perl/Class-MethodMaker/ChangeLog
+++ b/dev-perl/Class-MethodMaker/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-perl/Class-MethodMaker
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-MethodMaker/ChangeLog,v 1.17 2005/04/24 17:15:44 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-MethodMaker/ChangeLog,v 1.18 2005/07/19 11:21:39 mcummings Exp $
+
+*Class-MethodMaker-2.07-r1 (19 Jul 2005)
+
+ 19 Jul 2005; Michael Cummings <mcummings@gentoo.org> +files/0-signature.t,
+ +files/C-MM-Build.patch, +Class-MethodMaker-2.07-r1.ebuild,
+ Class-MethodMaker-2.07.ebuild:
+ RT Bug 13755 - the Build.PL had issues
*Class-MethodMaker-2.07 (24 Apr 2005)
diff --git a/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07-r1.ebuild b/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07-r1.ebuild
new file mode 100644
index 000000000000..2cc4c059607f
--- /dev/null
+++ b/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07-r1.ebuild,v 1.1 2005/07/19 11:21:39 mcummings Exp $
+
+inherit perl-module eutils
+
+DESCRIPTION="Perl module for Class::MethodMaker"
+HOMEPAGE="http://search.cpan.org/~fluffy/${MY_P}"
+SRC_URI="mirror://cpan/authors/id/F/FL/FLUFFY/${P}.tar.gz"
+
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
+IUSE=""
+
+SRC_TEST="do"
+
+DEPEND="dev-perl/module-build"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Correct bad Build.PL so that libs are found correctly for building -
+ # mcummings
+ epatch ${FILESDIR}/C-MM-Build.patch
+ # Wipe the signature file - we no longer match since we 'tampered' with the
+ # Build.PL above - mcummings
+ cp -f ${FILESDIR}/0-signature.t ${S}/t/0-signature.t
+
+}
diff --git a/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild b/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild
index 021fd9093d72..a2ee18a6597b 100644
--- a/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild
+++ b/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild,v 1.1 2005/04/24 17:15:44 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-MethodMaker/Class-MethodMaker-2.07.ebuild,v 1.2 2005/07/19 11:21:39 mcummings Exp $
-inherit perl-module
+inherit perl-module eutils
DESCRIPTION="Perl module for Class::MethodMaker"
HOMEPAGE="http://search.cpan.org/~fluffy/${MY_P}"
@@ -17,3 +17,15 @@ IUSE=""
SRC_TEST="do"
DEPEND="dev-perl/module-build"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Correct bad Build.PL so that libs are found correctly for building -
+ # mcummings
+ epatch ${FILESDIR}/C-MM-Build.patch
+ # Wipe the signature file - we no longer match since we 'tampered' with the
+ # Build.PL above - mcummings
+ cp -f ${FILESDIR}/0-signature.t ${S}/t/0-signature.t
+
+}
diff --git a/dev-perl/Class-MethodMaker/Manifest b/dev-perl/Class-MethodMaker/Manifest
index 7b596e274120..2eaf1aa5e26c 100644
--- a/dev-perl/Class-MethodMaker/Manifest
+++ b/dev-perl/Class-MethodMaker/Manifest
@@ -1,16 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 8e7ace92670359de10b0bdf4cfebef84 ChangeLog 2742
-MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+MD5 8dee8be0fa73de0bd2e4310fd533d82a Class-MethodMaker-2.07.ebuild 638
+MD5 c9376f7d16be9e0df2586eabe0c901c9 Class-MethodMaker-2.07-r1.ebuild 885
MD5 c3906a462f3e92f442550ed7884c79d7 Class-MethodMaker-1.11.ebuild 538
-MD5 ba3b690b3a6657c19898db4fdc52d4d3 Class-MethodMaker-2.07.ebuild 554
+MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+MD5 aa928f76f2d2487439ef3f4e5b43e360 files/0-signature.t 616
MD5 8e850cd4da47af44dddb828b7d3f430e files/digest-Class-MethodMaker-2.07 73
+MD5 d8961ba39f7b4c438e50e2ea83300e50 files/C-MM-Build.patch 352
MD5 a2a1bcd1e4774ec6755462b1bc3795c2 files/digest-Class-MethodMaker-1.11 73
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCa9QWtG5z4I8BtQoRAuIQAJ9lwrME4sL3KwDzCs1pzINhddUU1gCcCFvC
-zDiPb4sOVN51GDiY2exlsy0=
-=vFqv
------END PGP SIGNATURE-----
+MD5 8e850cd4da47af44dddb828b7d3f430e files/digest-Class-MethodMaker-2.07-r1 73
+MD5 aa928f76f2d2487439ef3f4e5b43e360 files/0-signature.t.new 616
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