Date: Mon, 10 Nov 2003 10:21:41 +0200 (EET) From: Toni Viemero <toni.viemero@iki.fi> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/59104: Update security/makepasswd Message-ID: <20031110082141.AAABC207B65@iso.egotaivas.com> Resent-Message-ID: <200311100830.hAA8UTX0016877@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 59104 >Category: ports >Synopsis: Update security/makepasswd >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Nov 10 00:30:27 PST 2003 >Closed-Date: >Last-Modified: >Originator: Toni Viemerö >Release: FreeBSD 4.9-RELEASE i386 >Organization: >Environment: System: FreeBSD iso.egotaivas.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Sun Nov 9 02:41:54 EET 2003 root@iso.egotaivas.com:/usr/src/sys/compile/ISO i386 >Description: makepasswd didn't run with Perl <5.6 making the port unusable with FreeBSD 4.x default Perl. Comment out "use bytes;", since makepasswd works fine without it. >How-To-Repeat: >Fix: Note that it's \t in REINCPLACE_CMD "s/use bytes;/#use bytes;/" diff -ruN makepasswd.org/Makefile makepasswd/Makefile --- makepasswd.org/Makefile Sun Nov 9 18:38:32 2003 +++ makepasswd/Makefile Mon Nov 10 10:16:23 2003 @@ -7,7 +7,7 @@ PORTNAME= makepasswd PORTVERSION= 1.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_DEBIAN} MASTER_SITE_SUBDIR= pool/main/m/makepasswd @@ -34,7 +34,8 @@ .include <bsd.port.pre.mk> -pre-patch: +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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031110082141.AAABC207B65>