pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security Make p5-GnuPG-Interface and pgpenvelope work ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f70a4dcdefc7
branches:  trunk
changeset: 490174:f70a4dcdefc7
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Mar 04 20:57:50 2005 +0000

description:
Make p5-GnuPG-Interface and pgpenvelope work again by switching to the
Class::MethodMaker v1 compatibility interface in Class::MakeMethods.
Bump PKGREVISION.

diffstat:

 security/p5-GnuPG-Interface/Makefile         |  12 +++++++++---
 security/p5-GnuPG-Interface/distinfo         |   3 ++-
 security/p5-GnuPG-Interface/patches/patch-ab |  13 +++++++++++++
 security/pgpenvelope/Makefile                |  14 ++++++++++----
 security/pgpenvelope/distinfo                |   3 ++-
 security/pgpenvelope/patches/patch-ab        |  13 +++++++++++++
 6 files changed, 49 insertions(+), 9 deletions(-)

diffs (129 lines):

diff -r 5949fe6fb885 -r f70a4dcdefc7 security/p5-GnuPG-Interface/Makefile
--- a/security/p5-GnuPG-Interface/Makefile      Fri Mar 04 20:42:38 2005 +0000
+++ b/security/p5-GnuPG-Interface/Makefile      Fri Mar 04 20:57:50 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/01/10 18:22:22 tv Exp $
+# $NetBSD: Makefile,v 1.2 2005/03/04 20:57:50 tv Exp $
 #
 
 DISTNAME=              GnuPG-Interface-0.34
 PKGNAME=               p5-${DISTNAME}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            security perl5
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=gnupg-interface/}
 
@@ -11,11 +11,17 @@
 HOMEPAGE=              http://gnupg-interface.sourceforge.net/
 COMMENT=               Perl interface to GnuPG
 
-DEPENDS+=              p5-Class-MethodMaker>=1.00:../../devel/p5-Class-MethodMaker
+DEPENDS+=              p5-Class-MakeMethods>=1.010:../../devel/p5-Class-MakeMethods
 DEPENDS+=              gnupg>=1.2.3:../../security/gnupg
 
 USE_BUILDLINK3=                yes
 PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/GnuPG/Interface/.packlist
 
+pre-configure:
+       cd ${WRKSRC}/lib/GnuPG && for f in *.pm; do \
+               ${SED} -e 's/use Class::MethodMaker/use Class::MakeMethods::Emulator::MethodMaker/' $$f > $$f.new && \
+               ${MV} -f $$f.new $$f; \
+       done
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5949fe6fb885 -r f70a4dcdefc7 security/p5-GnuPG-Interface/distinfo
--- a/security/p5-GnuPG-Interface/distinfo      Fri Mar 04 20:42:38 2005 +0000
+++ b/security/p5-GnuPG-Interface/distinfo      Fri Mar 04 20:57:50 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/03/04 20:57:50 tv Exp $
 
 SHA1 (GnuPG-Interface-0.34.tar.gz) = 992c521db3ac7d1ca7b727d40c944a02c41bc818
 RMD160 (GnuPG-Interface-0.34.tar.gz) = 7ed30ef60ca0bfff2ee948782ed8b753903c47e2
 Size (GnuPG-Interface-0.34.tar.gz) = 38730 bytes
 SHA1 (patch-aa) = 3e050bfd306758e72170c0f353a602cd59345536
+SHA1 (patch-ab) = de27289735f964962a94e938ca11e9376e838d1d
diff -r 5949fe6fb885 -r f70a4dcdefc7 security/p5-GnuPG-Interface/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/p5-GnuPG-Interface/patches/patch-ab      Fri Mar 04 20:57:50 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/03/04 20:57:50 tv Exp $
+
+--- Makefile.PL.orig   2005-03-04 15:44:26.000000000 -0500
++++ Makefile.PL
+@@ -40,7 +40,7 @@ WriteMakefile
+     VERSION_FROM => File::Spec->catfile( $gnupg_base, 'Interface.pm' ),
+     
+     PREREQ_PM    => {
+-                   'Class::MethodMaker' => 1.00,
++                   'Class::MakeMethods' => 1.010,
+                   },
+     
+     PM           => { %pm_install_hash },
diff -r 5949fe6fb885 -r f70a4dcdefc7 security/pgpenvelope/Makefile
--- a/security/pgpenvelope/Makefile     Fri Mar 04 20:42:38 2005 +0000
+++ b/security/pgpenvelope/Makefile     Fri Mar 04 20:57:50 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2005/01/10 18:27:37 tv Exp $
+# $NetBSD: Makefile,v 1.3 2005/03/04 20:57:50 tv Exp $
 #
 
 DISTNAME=              pgpenvelope-2.10.2
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            security mail
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=pgpenvelope/}
 
@@ -11,8 +11,8 @@
 COMMENT=               GnuPG and Pine/Procmail integration tool
 
 DEPENDS+=              p5-AppConfig>=1.52:../../devel/p5-AppConfig
-DEPENDS+=              p5-Class-MethodMaker>=0.96:../../devel/p5-Class-MethodMaker
-DEPENDS+=              p5-GnuPG-Interface>=0.34nb1:../../security/p5-GnuPG-Interface
+DEPENDS+=              p5-Class-MakeMethods>=1.010:../../devel/p5-Class-MakeMethods
+DEPENDS+=              p5-GnuPG-Interface>=0.34nb2:../../security/p5-GnuPG-Interface
 DEPENDS+=              p5-String-Approx>=3.13:../../textproc/p5-String-Approx
 DEPENDS+=              p5-Term-ReadKey>=2.14:../../devel/p5-Term-ReadKey
 DEPENDS+=              p5-Term-ReadLine>=1.01:../../devel/p5-Term-ReadLine
@@ -20,5 +20,11 @@
 USE_BUILDLINK3=                yes
 PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/pgpenvelope/.packlist
 
+pre-configure:
+       cd ${WRKSRC}/lib/PGPEnvelope && for f in *.pm; do \
+               ${SED} -e 's/use Class::MethodMaker/use Class::MakeMethods::Emulator::MethodMaker/' $$f > $$f.new && \
+               ${MV} -f $$f.new $$f; \
+       done
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5949fe6fb885 -r f70a4dcdefc7 security/pgpenvelope/distinfo
--- a/security/pgpenvelope/distinfo     Fri Mar 04 20:42:38 2005 +0000
+++ b/security/pgpenvelope/distinfo     Fri Mar 04 20:57:50 2005 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:11 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/03/04 20:57:50 tv Exp $
 
 SHA1 (pgpenvelope-2.10.2.tar.gz) = 1266a9d2184e5f4ccc0c43a6f32008e4c4218536
 RMD160 (pgpenvelope-2.10.2.tar.gz) = 465c420969001d5de477d58706b9358a913b5f27
 Size (pgpenvelope-2.10.2.tar.gz) = 282070 bytes
 SHA1 (patch-aa) = 8a1a79f6276d24d6dbf8e5dacaeca227a139ae34
+SHA1 (patch-ab) = 26295a1de6d2ea2fbd2e58a70f2634924b5f64ac
diff -r 5949fe6fb885 -r f70a4dcdefc7 security/pgpenvelope/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pgpenvelope/patches/patch-ab     Fri Mar 04 20:57:50 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/03/04 20:57:50 tv Exp $
+
+--- Makefile.PL.orig   2005-03-04 15:53:29.000000000 -0500
++++ Makefile.PL
+@@ -13,7 +13,7 @@ my $prereq_modules = { 'AppConfig'      
+                      'Term::ReadKey'       => 2.14,
+                      'Term::ReadLine::Gnu' => 1.01,
+                      'GnuPG::Interface'    => 0.30,
+-                     'Class::MethodMaker'  => 0.96,
++                     'Class::MakeMethods'  => 1.010,
+                      'String::Approx'      => 3.13,
+                     };
+ 



Home | Main Index | Thread Index | Old Index