aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2005-12-22 09:27:37 +0000
committerErwin Lansing <erwin@FreeBSD.org>2005-12-22 09:27:37 +0000
commitb063cb837c430b97d654b30867865c1a2feee085 (patch)
treec35ba487bf581813ea0bf5e06ca41d09d63efe6c
parent22d628b6be85b4c14d74ea44f2ad2c7a308291e6 (diff)
downloadports-b063cb837c430b97d654b30867865c1a2feee085.tar.gz
ports-b063cb837c430b97d654b30867865c1a2feee085.zip
This is not C-code interface (like `Digest::MD5') but a Perl-only
implementation of MD4 (like `Digest::Perl::MD5'). Because of this, it is slow but avoids platform specific complications. For efficiency you should use `Digest::MD4' instead of this module if it is available. WWW: http://search.cpan.org/dist/Digest-Perl-MD4 PR: ports/90771 Submitted by: Gabor Kovesdan
Notes
Notes: svn path=/head/; revision=151820
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Digest-Perl-MD4/Makefile27
-rw-r--r--security/p5-Digest-Perl-MD4/distinfo3
-rw-r--r--security/p5-Digest-Perl-MD4/pkg-descr6
-rw-r--r--security/p5-Digest-Perl-MD4/pkg-plist8
5 files changed, 45 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 040eb67f0110..b6a6a42d492d 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -377,6 +377,7 @@
SUBDIR += p5-Digest-Nilsimsa
SUBDIR += p5-Digest-Pearson
SUBDIR += p5-Digest-Pearson-PurePerl
+ SUBDIR += p5-Digest-Perl-MD4
SUBDIR += p5-Digest-Perl-MD5
SUBDIR += p5-Digest-SHA
SUBDIR += p5-Digest-SHA-PurePerl
diff --git a/security/p5-Digest-Perl-MD4/Makefile b/security/p5-Digest-Perl-MD4/Makefile
new file mode 100644
index 000000000000..c2f14fc1fab5
--- /dev/null
+++ b/security/p5-Digest-Perl-MD4/Makefile
@@ -0,0 +1,27 @@
+# Ports collection Makefile for: p5-Digest-Perl-MD4
+# Date created: 21 Dec, 2005
+# Whom: Gabor Kovesdan
+# $FreeBSD$
+
+PORTNAME= Digest-Perl-MD4
+PORTVERSION= 1.4
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Digest
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gkovesdan@t-hosting.hu
+COMMENT= Perl extension for MD4 hash algorithm in pure Perl
+
+PERL_CONFIGURE= yes
+
+MAN3= Digest::Perl::Digest-MD4.3 \
+ Digest::Perl::MD4.3
+
+WRKSRC= ${WRKDIR}/MD4
+
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} <= 500503
+IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again
+.endif
+.include <bsd.port.post.mk>
diff --git a/security/p5-Digest-Perl-MD4/distinfo b/security/p5-Digest-Perl-MD4/distinfo
new file mode 100644
index 000000000000..4874df3e0cb2
--- /dev/null
+++ b/security/p5-Digest-Perl-MD4/distinfo
@@ -0,0 +1,3 @@
+MD5 (Digest-Perl-MD4-1.4.tar.gz) = 9b18107ea38e18e3f650222df16b65bf
+SHA256 (Digest-Perl-MD4-1.4.tar.gz) = 93dc7bb1816798667999590cb977197091f8b9ed4423dc68dbe4bdad361a1ac6
+SIZE (Digest-Perl-MD4-1.4.tar.gz) = 6646
diff --git a/security/p5-Digest-Perl-MD4/pkg-descr b/security/p5-Digest-Perl-MD4/pkg-descr
new file mode 100644
index 000000000000..9f871dc70be6
--- /dev/null
+++ b/security/p5-Digest-Perl-MD4/pkg-descr
@@ -0,0 +1,6 @@
+This is not C-code interface (like `Digest::MD5') but a Perl-only
+implementation of MD4 (like `Digest::Perl::MD5'). Because of this, it is
+slow but avoids platform specific complications. For efficiency you
+should use `Digest::MD4' instead of this module if it is available.
+
+WWW: http://search.cpan.org/dist/Digest-Perl-MD4
diff --git a/security/p5-Digest-Perl-MD4/pkg-plist b/security/p5-Digest-Perl-MD4/pkg-plist
new file mode 100644
index 000000000000..6d18aae464b5
--- /dev/null
+++ b/security/p5-Digest-Perl-MD4/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Digest/Perl/MD4.pm
+%%SITE_PERL%%/Digest/Perl/Digest-MD4.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/Perl/MD4/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/Perl/MD4/
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/Perl/ 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/ 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Digest/Perl/
+@unexec rmdir %D/%%SITE_PERL%%/Digest/ 2>/dev/null || true