aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Crypt-PasswdMD5/Makefile25
-rw-r--r--security/p5-Crypt-PasswdMD5/distinfo1
-rw-r--r--security/p5-Crypt-PasswdMD5/pkg-comment1
-rw-r--r--security/p5-Crypt-PasswdMD5/pkg-descr11
-rw-r--r--security/p5-Crypt-PasswdMD5/pkg-plist4
6 files changed, 43 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 9b39dd7ed376..9b4cfdf9e7ab 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -146,6 +146,7 @@
SUBDIR += p5-Crypt-OpenSSL-Random
SUBDIR += p5-Crypt-PGPSimple
SUBDIR += p5-Crypt-PassGen
+ SUBDIR += p5-Crypt-PasswdMD5
SUBDIR += p5-Crypt-Primes
SUBDIR += p5-Crypt-RC4
SUBDIR += p5-Crypt-RIPEMD160
diff --git a/security/p5-Crypt-PasswdMD5/Makefile b/security/p5-Crypt-PasswdMD5/Makefile
new file mode 100644
index 000000000000..df5306fca0ba
--- /dev/null
+++ b/security/p5-Crypt-PasswdMD5/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Crypt-PasswdMD5
+# Date created: 18 June, 2002
+# Whom: Erwin Lansing <erwin@lansing.dk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Crypt-PasswdMD5
+PORTVERSION= 1.2
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Crypt
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= erwin@lansing.dk
+
+PERL_CONFIGURE= yes
+
+MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Crypt::PasswdMD5.3
+
+pre-patch:
+ @${REINPLACE_CMD} -e 's|\r||g' ${WRKSRC}/PasswdMD5.pm
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-PasswdMD5/distinfo b/security/p5-Crypt-PasswdMD5/distinfo
new file mode 100644
index 000000000000..f89458ac1f4a
--- /dev/null
+++ b/security/p5-Crypt-PasswdMD5/distinfo
@@ -0,0 +1 @@
+MD5 (Crypt-PasswdMD5-1.2.tar.gz) = 35966352a496fd2f30e3d08734bf13e4
diff --git a/security/p5-Crypt-PasswdMD5/pkg-comment b/security/p5-Crypt-PasswdMD5/pkg-comment
new file mode 100644
index 000000000000..ac1422a21648
--- /dev/null
+++ b/security/p5-Crypt-PasswdMD5/pkg-comment
@@ -0,0 +1 @@
+Perl module that provides interoperable MD5-based crypt() function
diff --git a/security/p5-Crypt-PasswdMD5/pkg-descr b/security/p5-Crypt-PasswdMD5/pkg-descr
new file mode 100644
index 000000000000..aae51ff0f2f9
--- /dev/null
+++ b/security/p5-Crypt-PasswdMD5/pkg-descr
@@ -0,0 +1,11 @@
+The `unix_md5_crypt()' provides a crypt()-compatible interface
+to the rather new MD5-based crypt() function found in modern
+operating systems. It's based on the implementation found on
+FreeBSD 2.2.[56]-RELEASE.
+
+`apache_md5_crypt()' provides a function compatible with
+Apache's `.htpasswd' files. This was contributed by Bryan Hart
+<bryan@eai.com>.
+
+- Erwin Lansing
+<erwin@lansing.dk>
diff --git a/security/p5-Crypt-PasswdMD5/pkg-plist b/security/p5-Crypt-PasswdMD5/pkg-plist
new file mode 100644
index 000000000000..59283eb97b48
--- /dev/null
+++ b/security/p5-Crypt-PasswdMD5/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/PasswdMD5.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/PasswdMD5/.packlist
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Crypt 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt 2>/dev/null || true