diff options
author | Lars Thegler <lth@FreeBSD.org> | 2004-06-27 15:34:51 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2004-06-27 15:34:51 +0000 |
commit | cce566565ccff93328ca8f6f0289567660652083 (patch) | |
tree | 8fb346f08269fd85992ea5ec6f7b5f1bfdddda31 | |
parent | Require perl 5.6 or later. (diff) |
Add p5-Digest-MD5-M4p 0.01,
Perl interface to a variant of the MD5 algorithm.
Approved by: erwin (implicit)
Notes
Notes:
svn path=/head/; revision=112373
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/p5-Digest-MD5-M4p/Makefile | 38 | ||||
-rw-r--r-- | security/p5-Digest-MD5-M4p/distinfo | 2 | ||||
-rw-r--r-- | security/p5-Digest-MD5-M4p/pkg-descr | 4 | ||||
-rw-r--r-- | security/p5-Digest-MD5-M4p/pkg-plist | 9 |
5 files changed, 54 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 8912290b9ab1..68fdb689722b 100644 --- a/security/Makefile +++ b/security/Makefile @@ -274,6 +274,7 @@ SUBDIR += p5-Digest-MD2 SUBDIR += p5-Digest-MD4 SUBDIR += p5-Digest-MD5 + SUBDIR += p5-Digest-MD5-M4p SUBDIR += p5-Digest-Nilsimsa SUBDIR += p5-Digest-SHA1 SUBDIR += p5-Digest-SHA2 diff --git a/security/p5-Digest-MD5-M4p/Makefile b/security/p5-Digest-MD5-M4p/Makefile new file mode 100644 index 000000000000..98b976206483 --- /dev/null +++ b/security/p5-Digest-MD5-M4p/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: p5-Digest-MD5-M4p +# Date created: 27 June 2004 +# Whom: Lars Thegler <lth@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Digest-MD5-M4p +PORTVERSION= 0.01 +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Digest +PKGNAMEPREFIX= p5- + +MAINTAINER= lth@FreeBSD.org +COMMENT= Perl interface to a variant of the MD5 algorithm + +BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes +CONFIGURE_ARGS= INSTALLDIRS=site + +MAN3= Digest::MD5::M4p.3 + +post-extract: + @${PERL} -pi -e 's/\r//g' ${WRKSRC}/M4p.xs + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} <= 500503 +post-configure: + @${PERL} -pi -e '$$_="" if /use warnings/' ${WRKSRC}/M4p.pm + # make PREFIX-clean under perl 5.005_03 + @${PERL} -pi -e 's,/usr/local/,\$${PREFIX}/,g' ${WRKSRC}/Makefile +.endif + +.include <bsd.port.post.mk> diff --git a/security/p5-Digest-MD5-M4p/distinfo b/security/p5-Digest-MD5-M4p/distinfo new file mode 100644 index 000000000000..8fc45a301f81 --- /dev/null +++ b/security/p5-Digest-MD5-M4p/distinfo @@ -0,0 +1,2 @@ +MD5 (Digest-MD5-M4p-0.01.tar.gz) = da895dd112ab3d06ab06020f675b2f66 +SIZE (Digest-MD5-M4p-0.01.tar.gz) = 9925 diff --git a/security/p5-Digest-MD5-M4p/pkg-descr b/security/p5-Digest-MD5-M4p/pkg-descr new file mode 100644 index 000000000000..3cb05b94646e --- /dev/null +++ b/security/p5-Digest-MD5-M4p/pkg-descr @@ -0,0 +1,4 @@ +The Digest::MD5::M4p module is cloned from the Digest::MD5 module +to support a variant Apple iTunes implementation of the MD5 algorithm. + +WWW: http://search.cpan.org/dist/Digest-MD5-M4p/ diff --git a/security/p5-Digest-MD5-M4p/pkg-plist b/security/p5-Digest-MD5-M4p/pkg-plist new file mode 100644 index 000000000000..47b991696b4f --- /dev/null +++ b/security/p5-Digest-MD5-M4p/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Digest/MD5/M4p.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5/M4p/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5/M4p/M4p.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5/M4p/M4p.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5/M4p +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/MD5 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Digest/MD5 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Digest 2>/dev/null || true |