summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2010-09-13 19:47:54 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2010-09-13 19:47:54 +0000
commit2fade9f18446098aac955e998f6959daf5023754 (patch)
tree511f8a42a7879691e97b60c4a5c0845dca69df44 /security
parentAssign to doceng@. (diff)
- Update to Debian patchset 1.10-5
- Use /dev/urandom rather than /dev/random - Increase default password length range from 6-8 characters to 8-10 - Use OpenSSL's random number generator, seeded with 256 bits of entropy PR: ports/150536 Submitted by: Toni Viemero <toni dot viemero at iki dot fi> (maintainer) Approved by: beat (co-mentor, implicit)
Notes
Notes: svn path=/head/; revision=261087
Diffstat (limited to 'security')
-rw-r--r--security/makepasswd/Makefile9
-rw-r--r--security/makepasswd/distinfo6
2 files changed, 7 insertions, 8 deletions
diff --git a/security/makepasswd/Makefile b/security/makepasswd/Makefile
index bea204346fa1..731408667330 100644
--- a/security/makepasswd/Makefile
+++ b/security/makepasswd/Makefile
@@ -7,12 +7,12 @@
PORTNAME= makepasswd
PORTVERSION= 1.10
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
-PATCHFILES= ${PORTNAME}_${PORTVERSION}-3.diff.gz
+PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz
PATCH_SITES= ${MASTER_SITES}
PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR}
PATCH_DIST_STRIP= -p1
@@ -23,7 +23,8 @@ COMMENT= Random password generator
NO_BUILD= yes
USE_PERL5_RUN= yes
-RUN_DEPENDS+= ${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5
+RUN_DEPENDS+= ${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/Random.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -34,8 +35,6 @@ DOCS= CHANGES README
post-patch:
${REINPLACE_CMD} -e "s/use bytes;/#use bytes;/" ${WRKSRC}/makepasswd
- ${REINPLACE_CMD} -e "s/\/dev\/random/\/dev\/urandom/" ${WRKSRC}/makepasswd
- ${REINPLACE_CMD} -e "s/\/dev\/random/\/dev\/urandom/" ${WRKSRC}/makepasswd.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${PREFIX}/bin
diff --git a/security/makepasswd/distinfo b/security/makepasswd/distinfo
index 322d34ba416c..1203a3cf048a 100644
--- a/security/makepasswd/distinfo
+++ b/security/makepasswd/distinfo
@@ -1,6 +1,6 @@
MD5 (makepasswd_1.10.orig.tar.gz) = 55842bb4c064ebcdedffb4afd5f0945a
SHA256 (makepasswd_1.10.orig.tar.gz) = 41491f361d810f9bb3e08b40df3c3034faec306d434dab15534e19023f91a75c
SIZE (makepasswd_1.10.orig.tar.gz) = 12382
-MD5 (makepasswd_1.10-3.diff.gz) = 4991a20d60e227d2dad270a7609b73d5
-SHA256 (makepasswd_1.10-3.diff.gz) = 1ec9d1781c4eb77bf9299ec186f90b132dcd25344217aa3cf64c6475a4eb533e
-SIZE (makepasswd_1.10-3.diff.gz) = 5579
+MD5 (makepasswd_1.10-5.diff.gz) = 385062fc5d8c4a246d924f3f10418049
+SHA256 (makepasswd_1.10-5.diff.gz) = b1c039090ad4f60be9f8fe05465b37c32ee20245b14fcd0708a93f78f1392097
+SIZE (makepasswd_1.10-5.diff.gz) = 7506