From 14cfc9236618431922a7442bea8153c752d60a3e Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Tue, 5 May 2020 07:03:51 +0000 Subject: [PATCH] - Make fetchable and undeprecate by switching to a higher patch level - Add LICENSE_FILE - Use MANPREFIX for manpage path instead of PREFIX - Update pkg-descr to match the description on WWW - Update WWW to use https PR: 246142 Submitted by: Toshimichi Masubuchi Approved by: toni.viemero@iki.fi (maintainer), ehaupt (mentor) --- security/makepasswd/Makefile | 18 ++++++++---------- security/makepasswd/distinfo | 5 +++-- security/makepasswd/pkg-descr | 8 ++++---- 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