905b7d61f0
[Changes for 0.73 - Wed Jun 5 23:44:57 CST 2013] * Properly redo the previous fix using File::Spec->file_name_is_absolute. [Changes for 0.72 - Wed Jun 5 23:19:02 CST 2013] * Only allow loading Digest::* from absolute paths in @INC, by ensuring they begin with \ or / characters. Contributed by: Florian Weimer (CVE-2013-2145) [Changes for 0.71 - Tue Jun 4 18:24:10 CST 2013] * Constrain the user-specified digest name to /^\w+\d+$/. * Avoid loading Digest::* from relative paths in @INC. Contributed by: Florian Weimer (CVE-2013-2145) [Changes for 0.70 - Thu Nov 29 01:45:54 CST 2012] * Don't check gpg version if gpg does not exist. This avoids unnecessary warnings during installation when gpg executable is not installed. Contributed by: Kenichi Ishigaki [Changes for 0.69 - Fri Nov 2 23:04:19 CST 2012] * Support for gpg under these alternate names: gpg gpg2 gnupg gnupg2 Contributed by: Michael Schwern
62 lines
2.6 KiB
Makefile
62 lines
2.6 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2014/06/11 20:17:58 wiz Exp $
|
|
|
|
DISTNAME= Module-Signature-0.73
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5ms
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Module-Signature/
|
|
COMMENT= Perl 5 module for module signature file manipulation
|
|
LICENSE= public-domain
|
|
|
|
#DEPENDS+= gnupg-[0-9]*:../../security/gnupg
|
|
DEPENDS+= {perl>=5.10.0,p5-Digest-SHA-[0-9]*}:../../security/p5-Digest-SHA
|
|
DEPENDS+= p5-Crypt-OpenPGP>=1.00:../../security/p5-Crypt-OpenPGP
|
|
|
|
# OpenPGP dependencies used
|
|
DEPENDS+= p5-Class-Loader-[0-9]*:../../devel/p5-Class-Loader
|
|
DEPENDS+= p5-Convert-ASCII-Armour-[0-9]*:../../textproc/p5-Convert-ASCII-Armour
|
|
DEPENDS+= p5-Convert-ASN1-[0-9]*:../../textproc/p5-Convert-ASN1
|
|
DEPENDS+= p5-Convert-PEM-[0-9]*:../../textproc/p5-Convert-PEM
|
|
DEPENDS+= p5-Crypt-Blowfish-[0-9]*:../../security/p5-Crypt-Blowfish
|
|
DEPENDS+= p5-Crypt-CBC-[0-9]*:../../security/p5-Crypt-CBC
|
|
DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
|
|
DEPENDS+= p5-Crypt-DES_EDE3-[0-9]*:../../security/p5-Crypt-DES_EDE3
|
|
DEPENDS+= p5-Crypt-DSA>=1.16nb1:../../security/p5-Crypt-DSA
|
|
DEPENDS+= p5-Crypt-RIPEMD160>=0.04nb4:../../security/p5-Crypt-RIPEMD160
|
|
DEPENDS+= p5-Crypt-RSA-[0-9]*:../../security/p5-Crypt-RSA
|
|
DEPENDS+= p5-Crypt-Random-[0-9]*:../../security/p5-Crypt-Random
|
|
DEPENDS+= p5-Crypt-Rijndael-[0-9]*:../../security/p5-Crypt-Rijndael
|
|
DEPENDS+= p5-Crypt-Primes-[0-9]*:../../security/p5-Crypt-Primes
|
|
DEPENDS+= p5-Crypt-Twofish>=2.00:../../security/p5-Crypt-Twofish
|
|
DEPENDS+= p5-Data-Buffer>=0.04:../../devel/p5-Data-Buffer
|
|
DEPENDS+= p5-Digest-MD2-[0-9]*:../../security/p5-Digest-MD2
|
|
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
|
|
DEPENDS+= {perl>=5.9.3,p5-IO-Compress-[0-9]*}:../../devel/p5-IO-Compress # Compress::Zlib
|
|
DEPENDS+= p5-File-HomeDir-[0-9]*:../../devel/p5-File-HomeDir
|
|
DEPENDS+= p5-IPC-Run-[0-9]*:../../devel/p5-IPC-Run
|
|
DEPENDS+= p5-Math-Pari-[0-9]*:../../math/p5-Math-Pari
|
|
DEPENDS+= {perl>=5.7.3,p5-MIME-Base64-[0-9]*}:../../converters/p5-MIME-Base64
|
|
DEPENDS+= p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/Module/Signature/.packlist
|
|
|
|
INSTALLATION_DIRS+= share/Module-Signature
|
|
|
|
PERL5_MODULE_TYPE= Module::Install::Bundled
|
|
MAKE_ENV+= TEST_SIGNATURE=1
|
|
|
|
# this package has patch files so the signature check test fails
|
|
#post-extract:
|
|
# ${MV} ${WRKSRC}/t/0-signature.t ${WRKSRC}/t/0-signature.t.SKIP
|
|
|
|
post-install:
|
|
${RUN} for f in ${WRKSRC}/*.pub; do ${INSTALL_DATA} "$$f" \
|
|
${DESTDIR}${PREFIX}/share/Module-Signature; \
|
|
done
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|