Subject: | Pkgsrc changes for adoption? |
Date: | Wed, 30 Jul 2008 15:32:47 +0200 (CEST) |
To: | bug-GnuPG-Interface [...] rt.cpan.org |
From: | Havard Eidnes <he [...] NetBSD.org> |
Hi,
I just updated NetBSD's pkgsrc package for this one from 0.34 to
0.36, and found the attached patches & build fixes(?) in the
package. Perhaps you would want to adopt at least the first one,
adding search_keys? (I don't get why we have the second one; we
package Class::MethodMaker as well...)
Best regards
- Havard
------------------------------
$NetBSD: patch-aa,v 1.1.1.1 2005/01/10 18:22:23 tv Exp $
--- lib/GnuPG/Interface.pm.orig Fri Aug 15 14:37:00 2003
+++ lib/GnuPG/Interface.pm
@@ -690,6 +690,15 @@ sub recv_keys( $% )
+sub search_keys( $% )
+{
+ my ( $self, %args ) = @_;
+ return $self->wrap_call( %args,
+ commands => [ '--search-keys' ] );
+}
+
+
+
sub send_keys( $% )
{
my ( $self, %args ) = @_;
@@ -885,6 +894,8 @@ This methods work as described in L<Clas
=item export_keys( % )
=item recv_keys( % )
+
+=item search_keys( % )
=item send_keys( % )
$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 },
Plus, from Makefile:
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