aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Digest-DJB/Makefile24
-rw-r--r--security/p5-Digest-DJB/distinfo3
-rw-r--r--security/p5-Digest-DJB/pkg-descr5
-rw-r--r--security/p5-Digest-DJB/pkg-plist7
5 files changed, 40 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 3a6ac9ce11ac..a4f79ea73dbb 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -333,6 +333,7 @@
SUBDIR += p5-Digest-BubbleBabble
SUBDIR += p5-Digest-CRC
SUBDIR += p5-Digest-Crc32
+ SUBDIR += p5-Digest-DJB
SUBDIR += p5-Digest-HMAC
SUBDIR += p5-Digest-Hashcash
SUBDIR += p5-Digest-Haval256
diff --git a/security/p5-Digest-DJB/Makefile b/security/p5-Digest-DJB/Makefile
new file mode 100644
index 000000000000..6fbd06e28464
--- /dev/null
+++ b/security/p5-Digest-DJB/Makefile
@@ -0,0 +1,24 @@
+# Ports collection Makefile for: p5-Digest-DJB
+# Date created: 17 Dec 2005
+# Whom: Gabor Kovesdan
+# $FreeBSD$
+
+PORTNAME= Digest-DJB
+PORTVERSION= 1.00
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Digest
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gkovesdan@t-hosting.hu
+COMMENT= Perl extension for D.J Bernstein's hash algorithm
+
+PERL_CONFIGURE= yes
+
+MAN3= Digest::DJB.3
+
+.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-DJB/distinfo b/security/p5-Digest-DJB/distinfo
new file mode 100644
index 000000000000..d42e81fb546f
--- /dev/null
+++ b/security/p5-Digest-DJB/distinfo
@@ -0,0 +1,3 @@
+MD5 (Digest-DJB-1.00.tar.gz) = 255bb5f41ddfdd4b7e4174ebd32a5efd
+SHA256 (Digest-DJB-1.00.tar.gz) = 81649065fa6d183999d28c6d05382ee3c5086fe8e6f43e1943271a5c2e9e813e
+SIZE (Digest-DJB-1.00.tar.gz) = 1926
diff --git a/security/p5-Digest-DJB/pkg-descr b/security/p5-Digest-DJB/pkg-descr
new file mode 100644
index 000000000000..9caa20a35410
--- /dev/null
+++ b/security/p5-Digest-DJB/pkg-descr
@@ -0,0 +1,5 @@
+Digest::DJB is an implementation of D. J. Bernstein's hash which returns a
+32-bit unsigned value for any variable-length input string. An equivalent pure
+Perl version is also available: Digest::DJB::PurePerl.
+
+WWW: http://search.cpan.org/dist/Digest-DJB
diff --git a/security/p5-Digest-DJB/pkg-plist b/security/p5-Digest-DJB/pkg-plist
new file mode 100644
index 000000000000..e68f5dba2b09
--- /dev/null
+++ b/security/p5-Digest-DJB/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Digest/DJB.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/DJB/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/DJB/DJB.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/DJB/DJB.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/DJB/
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Digest/ 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Digest/ 2>/dev/null || true