aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2020-05-05 07:03:51 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2020-05-05 07:03:51 +0000
commit14cfc9236618431922a7442bea8153c752d60a3e (patch)
tree93357dcb203fd8b6c81c326d4a3a063186f46597
parentb18e15493aec481c2e144f9b9579ef56b0843228 (diff)
downloadports-14cfc9236618431922a7442bea8153c752d60a3e.tar.gz
ports-14cfc9236618431922a7442bea8153c752d60a3e.zip
Notes
-rw-r--r--security/makepasswd/Makefile18
-rw-r--r--security/makepasswd/distinfo5
-rw-r--r--security/makepasswd/pkg-descr8
3 files changed, 15 insertions, 16 deletions
diff --git a/security/makepasswd/Makefile b/security/makepasswd/Makefile
index 5129483c30a5..6d3e769c45c6 100644
--- a/security/makepasswd/Makefile
+++ b/security/makepasswd/Makefile
@@ -3,24 +3,22 @@
PORTNAME= makepasswd
PORTVERSION= 1.10
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
-PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz
+PATCHFILES= ${PORTNAME}_${PORTVERSION}-12.diff.gz
PATCH_SITES= ${MASTER_SITES}
PATCH_DIST_STRIP= -p1
MAINTAINER= toni.viemero@iki.fi
COMMENT= Random password generator
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-LICENSE= GPLv1
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING-2.0
+NO_ARCH= yes
NO_BUILD= yes
USES= perl5 shebangfix
SHEBANG_FILES= makepasswd
@@ -29,19 +27,19 @@ USE_PERL5= run
OPTIONS_DEFINE= DOCS
RUN_DEPENDS+= p5-Crypt-PasswdMD5>=0:security/p5-Crypt-PasswdMD5 \
- p5-Crypt-OpenSSL-Random>=0:security/p5-Crypt-OpenSSL-Random
+ p5-Bytes-Random-Secure>=0:security/p5-Bytes-Random-Secure
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-PORTDOCS= CHANGES README
+PORTDOCS= CHANGES README
post-patch:
${REINPLACE_CMD} -e "s/use bytes;/#use bytes;/" ${WRKSRC}/makepasswd
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
diff --git a/security/makepasswd/distinfo b/security/makepasswd/distinfo
index e9be2cf97173..d1b3ec103d33 100644
--- a/security/makepasswd/distinfo
+++ b/security/makepasswd/distinfo
@@ -1,4 +1,5 @@
+TIMESTAMP = 1574004786
SHA256 (makepasswd_1.10.orig.tar.gz) = 41491f361d810f9bb3e08b40df3c3034faec306d434dab15534e19023f91a75c
SIZE (makepasswd_1.10.orig.tar.gz) = 12382
-SHA256 (makepasswd_1.10-5.diff.gz) = b1c039090ad4f60be9f8fe05465b37c32ee20245b14fcd0708a93f78f1392097
-SIZE (makepasswd_1.10-5.diff.gz) = 7506
+SHA256 (makepasswd_1.10-12.diff.gz) = e72d5f45de382fc70b108d692ca4fc2f66fcc280d693a54982ec2ae0ef1d712c
+SIZE (makepasswd_1.10-12.diff.gz) = 8160
diff --git a/security/makepasswd/pkg-descr b/security/makepasswd/pkg-descr
index c666798ef598..ce67d582f73a 100644
--- a/security/makepasswd/pkg-descr
+++ b/security/makepasswd/pkg-descr
@@ -1,5 +1,5 @@
-Generates true random passwords by using the /dev/random feature
-of Linux, with the emphasis on security over pronounceability. It
-can also encrypt plaintext passwords given on the command line.
+Generates true random passwords using /dev/urandom, with the
+emphasis on security over pronounceability. It can also encrypt
+plaintext passwords given in a temporary file.
-WWW: http://packages.debian.org/stable/makepasswd
+WWW: https://packages.debian.org/stable/makepasswd