From toni@hippa.egotaivas.com  Fri Mar  7 09:17:40 2003
Return-Path: <toni@hippa.egotaivas.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E55E137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Mar 2003 09:17:40 -0800 (PST)
Received: from hippa.egotaivas.com (hippa.egotaivas.com [193.65.195.252])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 46BC343F93
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  7 Mar 2003 09:17:40 -0800 (PST)
	(envelope-from toni@hippa.egotaivas.com)
Received: by hippa.egotaivas.com (Postfix, from userid 1000)
	id 9A5FD111AFA; Fri,  7 Mar 2003 19:17:33 +0200 (EET)
Message-Id: <20030307171733.9A5FD111AFA@hippa.egotaivas.com>
Date: Fri,  7 Mar 2003 19:17:33 +0200 (EET)
From: Toni Viemero <toni.viemero@iki.fi>
Reply-To: Toni Viemero <toni.viemero@iki.fi>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: makepasswd, random password generator	
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         49008
>Category:       ports
>Synopsis:       New port: makepasswd, random password generator
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 07 09:20:17 PST 2003
>Closed-Date:    Tue Apr 01 00:04:32 PST 2003
>Last-Modified:  Tue Apr 01 00:04:32 PST 2003
>Originator:     Toni Viemero
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD hippa.egotaivas.com 4.8-RC FreeBSD 4.8-RC #0: Wed Mar 5 22:57:47 EET 2003 root@hippa.egotaivas.com:/usr/src/sys/compile/HIPPA i386


	
>Description:
Random password generator.
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       makepasswd
#       makepasswd/Makefile
#       makepasswd/distinfo
#       makepasswd/pkg-plist
#       makepasswd/pkg-descr
#
echo c - makepasswd
mkdir -p makepasswd > /dev/null 2>&1
echo x - makepasswd/Makefile
sed 's/^X//' >makepasswd/Makefile << 'END-of-makepasswd/Makefile'
X# New ports collection makefile for:   makepasswd
X# Date created:                                7 March 2003
X# Whom:                                        Toni Viemer <toni.viemero@iki.fi>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      makepasswd
XPORTVERSION=   1.10
XCATEGORIES=    security
XMASTER_SITES=  http://ftp.debian.org/debian/dists/potato/main/source/admin/
XDISTNAME=      ${PORTNAME}_${PORTVERSION}.orig
X
XMAINTAINER=    ports@FreeBSD.org
XCOMMENT=       Random password generator
X
XNO_BUILD=      yes
X
XWRKSRC=                ${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
X.include <bsd.port.pre.mk>
X
XMAN1=          makepasswd.1
XDOCS=          CHANGES README
X
Xdo-install:
X       ${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${PREFIX}/bin
X       ${INSTALL_DATA} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
X.if !defined(NOPORTDOCS)
X       @${MKDIR} ${DOCSDIR}
X.for file in ${DOCS}
X       ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-makepasswd/Makefile
echo x - makepasswd/distinfo
sed 's/^X//' >makepasswd/distinfo << 'END-of-makepasswd/distinfo'
XMD5 (makepasswd_1.10.orig.tar.gz) = 55842bb4c064ebcdedffb4afd5f0945a
END-of-makepasswd/distinfo
echo x - makepasswd/pkg-plist
sed 's/^X//' >makepasswd/pkg-plist << 'END-of-makepasswd/pkg-plist'
Xbin/makepasswd
END-of-makepasswd/pkg-plist
echo x - makepasswd/pkg-descr
sed 's/^X//' >makepasswd/pkg-descr << 'END-of-makepasswd/pkg-descr'
XGenerates true random passwords by using the /dev/random feature of Linux,
Xwith the emphasis on security over pronounceability. It can also encrypt
Xplaintext passwords given on the command line.
X
XWWW: http://packages.debian.org/stable/admin/makepasswd.html
END-of-makepasswd/pkg-descr
exit

>Release-Note:
>Audit-Trail:

From: "Simon 'portlint' Schubert" <corecode@corecode.ath.cx>
To: Toni Viemero <toni.viemero@iki.fi>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/49008: New port: makepasswd, random password generator
Date: Fri, 7 Mar 2003 20:31:39 +0100

 --=.0N6NrpUcIXKZ1f
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Lately Toni Viemero told:
 
 > sed 's/^X//' >makepasswd/Makefile << 'END-of-makepasswd/Makefile'
 [...]
 > XMASTER_SITES=  http://ftp.debian.org/debian/dists/potato/main/source/admin/
 
 i think you want
 MASTER_SITES=	${MASTER_SITE_DEBIAN}
 MASTER_SITE_SUBDIR=	dists/potato/main/source/admin/
 
 > XDISTNAME=      ${PORTNAME}_${PORTVERSION}.orig
 [...]
 > XWRKSRC=                ${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 i know that portlint isn't happy with that solution but i'd do
 
 DISTFILES=	${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
 and remove the WRKSRC definition
 
 > X.include <bsd.port.pre.mk>
 
 what for?
 
 > X       ${INSTALL_DATA} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
 
 ${INSTALL_MAN}.
 
 you forgot
 USE_PERL5_RUN=	yes
 
 cheers
   simon
 
 -- 
 /"\   http://corecode.ath.cx/#donate
 \ /
  \     ASCII Ribbon Campaign
 / \  Against HTML Mail and News
 
 --=.0N6NrpUcIXKZ1f
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+aPOmr5S+dk6z85oRAh0mAKD4UmRI4D7/5NTRrp7WsQIIOHSYOQCeNtaQ
 oBlEnPzO98eIzBdGO3+kTEM=
 =ErTo
 -----END PGP SIGNATURE-----
 
 --=.0N6NrpUcIXKZ1f--

From: Toni Viemero <toni.viemero@iki.fi>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: Simon 'portlint' Schubert <corecode@corecode.ath.cx>
Subject: Re: ports/49008: New port: makepasswd, random password generator
Date: Sat, 8 Mar 2003 09:49:09 +0200

 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #       makepasswd
 #       makepasswd/Makefile
 #       makepasswd/distinfo
 #       makepasswd/pkg-plist
 #       makepasswd/pkg-descr
 #
 echo c - makepasswd
 mkdir -p makepasswd > /dev/null 2>&1
 echo x - makepasswd/Makefile
 sed 's/^X//' >makepasswd/Makefile << 'END-of-makepasswd/Makefile'
 X# New ports collection makefile for:   makepasswd
 X# Date created:                                7 March 2003
 X# Whom:                                        Toni Viemer <toni.viemero@iki.fi>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=      makepasswd
 XPORTVERSION=   1.10
 XCATEGORIES=    security
 XMASTER_SITES=  ${MASTER_SITE_DEBIAN}
 XMASTER_SITE_SUBDIR=    dists/potato/main/source/admin/
 XDISTFILES=     ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
 X
 XMAINTAINER=    ports@FreeBSD.org
 XCOMMENT=       Random password generator
 X
 XNO_BUILD=      yes
 XUSE_PERL5_RUN= yes
 X
 XMAN1=          makepasswd.1
 XDOCS=          CHANGES README
 X
 Xdo-install:
 X       ${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${PREFIX}/bin
 X       ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
 X.if !defined(NOPORTDOCS)
 X       @${MKDIR} ${DOCSDIR}
 X.for file in ${DOCS}
 X       ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 X.endfor
 X.endif
 X
 X.include <bsd.port.mk>
 END-of-makepasswd/Makefile
 echo x - makepasswd/distinfo
 sed 's/^X//' >makepasswd/distinfo << 'END-of-makepasswd/distinfo'
 XMD5 (makepasswd_1.10.orig.tar.gz) = 55842bb4c064ebcdedffb4afd5f0945a
 END-of-makepasswd/distinfo
 echo x - makepasswd/pkg-plist
 sed 's/^X//' >makepasswd/pkg-plist << 'END-of-makepasswd/pkg-plist'
 Xbin/makepasswd
 END-of-makepasswd/pkg-plist
 echo x - makepasswd/pkg-descr
 sed 's/^X//' >makepasswd/pkg-descr << 'END-of-makepasswd/pkg-descr'
 XGenerates true random passwords by using the /dev/random feature of
 Linux,
 Xwith the emphasis on security over pronounceability. It can also
 encrypt
 Xplaintext passwords given on the command line.
 X
 XWWW: http://packages.debian.org/stable/admin/makepasswd.html
 END-of-makepasswd/pkg-descr
 exit
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Tue Apr 1 00:04:24 PST 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=49008 
>Unformatted:
