the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: module-signature-pm%type_pkg[perl]
Version: 0.68
Revision: 1
Distribution: (%type_pkg[perl] = 586) 10.5
###
Depends: <<
perl%type_pkg[perl]-core,
digest-sha1-pm%type_pkg[perl],
par-dist-pm,
gnupg
<<
BuildDepends: fink (>= 0.24.12-1)
Replaces: %N-man, %{ni}581 (<< 0.44-4), %{ni}586 (<< 0.44-4)
Conflicts: %N-man, %{ni}581 (<< 0.44-4), %{ni}586 (<< 0.44-4)
###
Source: mirror:cpan:authors/id/F/FL/FLORA/Module-Signature-%v.tar.gz
Source-MD5: c63c0b5c4e7162fc0c44512e1f832e5e
###
PatchFile: %{ni}.patch
PatchFile-MD5: 3ff85d23996297292b5c55123fa9cb22
###
Type: perl (5.8.6 5.8.8 5.10.0)
UpdatePOD: true
NoPerlTests: true
###
DocFiles: AUTHORS Changes README
###
InstallScript: <<
%{default_script}
mv %i/share/man %i/lib/perl5/%type_raw[perl]
cd %i/bin && mv cpansign cpansign-%type_pkg[perl]
<<
###
PostInstScript: <<
update-alternatives --install %p/bin/cpansign cpansign %p/bin/cpansign-%type_pkg[perl] %type_pkg[perl]
<<
PreRmScript: <<
update-alternatives --remove cpansign %p/bin/cpansign-%type_pkg[perl]
<<
###
Description: Module signature file manipulation
DescPort: <<
make test disabled, needs a configured gnupg
<<
DescPackaging: <<
Place common bin/cpansign script to update-alternatives control
starting in 0.44-4
Can use either a ton of other modules or just the 'gpg'
command, so make sure we don't trigger CPAN installation of
that other module set.
<<
###
License: Artistic
Maintainer: None
Homepage: http://search.cpan.org/dist/Module-Signature
<<
diff -Nurd -x'*~' Module-Signature-0.64.orig/Makefile.PL Module-Signature-0.64/Makefile.PL
--- Module-Signature-0.64.orig/Makefile.PL 2010-05-08 18:41:13.000000000 -0400
+++ Module-Signature-0.64/Makefile.PL 2010-06-03 21:49:35.000000000 -0400
@@ -61,12 +61,7 @@
};
# Is openpgp currently installed
-if ( can_use('Crypt::OpenPGP') ) {
- # If OpenPGP is already installed, so relist all the
- # dependencies so they will upgrade as needed.
- requires( @OPEN_PGP );
-
-} elsif ( locate_gpg() ) {
+if ( locate_gpg() ) {
# We SHOULD have gpg, double-check formally
requires_external_bin 'gpg';
@@ -113,11 +108,6 @@
return 1 if grep { /^--installdeps/} @ARGV;
- if ( prompt("Import PAUSE and author keys to GnuPG?", 'y' ) =~ /^y/i) {
- print 'Importing... ';
- system 'gpg', '--quiet', '--import', glob('*.pub');
- print "done.\n";
- }
return 1;
}