From owner-freebsd-ports Wed Aug 28 18:30:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3D0737B400 for ; Wed, 28 Aug 2002 18:30:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3144C43E6A for ; Wed, 28 Aug 2002 18:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7T1U2JU039898 for ; Wed, 28 Aug 2002 18:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7T1U2DI039897; Wed, 28 Aug 2002 18:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1858F37B400 for ; Wed, 28 Aug 2002 18:22:03 -0700 (PDT) Received: from squigy.ddm.wox.org (p14b.neon.sentex.ca [64.7.130.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA77D43E4A for ; Wed, 28 Aug 2002 18:22:00 -0700 (PDT) (envelope-from dchapes@ddm.wox.org) Received: from rama.ddm.wox.org (rama.ddm.wox.org [204.50.152.20]) by squigy.ddm.wox.org (Postfix) with ESMTP id 8E2068B802 for ; Wed, 28 Aug 2002 21:21:58 -0400 (EDT) Received: by rama.ddm.wox.org (Postfix, from userid 5000) id 6267A73054; Wed, 28 Aug 2002 21:21:58 -0400 (EDT) Message-Id: <20020829012158.GA19142@ddm.wox.org> Date: Wed, 28 Aug 2002 21:21:58 -0400 From: Dave Chapeskie Reply-To: Dave Chapeskie To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42142: New port: apg - automated password generator Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42142 >Category: ports >Synopsis: New port: apg - automated password generator >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 28 18:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dave Chapeskie >Release: FreeBSD 4.6-STABLE i386 >Organization: DDM Consulting >Environment: System: FreeBSD ddm.wox.org 4.6-STABLE FreeBSD 4.6-STABLE #1: Sun Aug 25 13:03:54 EDT 2002 bsdport@ddm.wox.org:/usr/obj/usr/src/sys/RAMA i386 >Description: See http://www.adel.nursat.kz/apg/ APG is a small program that generates random passwords, either pronouncable or random characters. >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: # # apg # apg/Makefile # apg/distinfo # apg/pkg-comment # apg/pkg-descr # apg/pkg-plist # apg/files # apg/files/patch-Makefile # echo c - apg mkdir -p apg > /dev/null 2>&1 echo x - apg/Makefile sed 's/^X//' >apg/Makefile << 'END-of-apg/Makefile' X# New ports collection makefile for: apg X# Date created: Wed Aug 28 19:57:31 EDT 2002 X# Whom: bsdport@ddm.wox.org X# X# $FreeBSD$ X# X XPORTNAME= apg XPORTVERSION= 2.1.0b1 XCATEGORIES= security XMASTER_SITES= http://www.adel.nursat.kz/apg/download/ X XMAINTAINER= bsdport@ddm.wox.org X X#USE_GMAKE= YES X#GNU_CONFIGURE= YES XMAN1= apg.1 apgbfm.1 X XALL_TARGET= standalone X XPROGRAMS= apg apgbfm X Xdo-install: X cd ${INSTALL_WRKSRC} && ${INSTALL_PROGRAM} ${PROGRAMS}\ X ${PREFIX}/bin X cd ${INSTALL_WRKSRC}/doc/man && ${INSTALL_MAN} ${MAN1} \ X ${PREFIX}/man/man1 X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/apg X cd ${INSTALL_WRKSRC}/doc && ${INSTALL_DATA} \ X APG_TIPS pronun.txt rfc0972.txt rfc1750.txt \ X ${PREFIX}/share/doc/apg X.endif X X.include END-of-apg/Makefile echo x - apg/distinfo sed 's/^X//' >apg/distinfo << 'END-of-apg/distinfo' XMD5 (apg-2.1.0b1.tar.gz) = 0bec34f44ee4bf2e90143da38fd8250a END-of-apg/distinfo echo x - apg/pkg-comment sed 's/^X//' >apg/pkg-comment << 'END-of-apg/pkg-comment' XAutomated Password Generator END-of-apg/pkg-comment echo x - apg/pkg-descr sed 's/^X//' >apg/pkg-descr << 'END-of-apg/pkg-descr' Xapg generates several random passwords. It uses several password generation Xalgorithms (currently two) and a built-in pseudo random number generator. X XDefault algorithm is pronounceable password generation algorithm designed Xby Morrie Gasser and described in A Random Word Generator For Pronounceable XPasswords National Technical Information Service (NTIS) AD-A-017676. The Xoriginal paper is very old and had never been put online, so I have to use NIST Ximplementation described in FIPS-181. X XAnother algorithm is simple random character generation algorithm, but it uses Xfour user-defined symbol sets to produce random password. It means that user Xcan choose type of symbols that should appear in password. Symbol sets are: Xnumeric symbol set (0,...,9) , capital letters symbol set (A,...,Z) , small Xletters symbol set (a,...,z) and special symbols symbol set (#,@,!,...). X XWWW: http://www.adel.nursat.kz/apg/ END-of-apg/pkg-descr echo x - apg/pkg-plist sed 's/^X//' >apg/pkg-plist << 'END-of-apg/pkg-plist' Xbin/apg Xbin/apgbfm X%%PORTDOCS%%share/doc/apg/APG_TIPS X%%PORTDOCS%%share/doc/apg/pronun.txt X%%PORTDOCS%%share/doc/apg/rfc0972.txt X%%PORTDOCS%%share/doc/apg/rfc1750.txt X@dirrm share/doc/apg END-of-apg/pkg-plist echo c - apg/files mkdir -p apg/files > /dev/null 2>&1 echo x - apg/files/patch-Makefile sed 's/^X//' >apg/files/patch-Makefile << 'END-of-apg/files/patch-Makefile' X--- Makefile.orig Tue Jun 11 05:56:04 2002 X+++ Makefile Wed Aug 28 20:54:44 2002 X@@ -6,7 +6,7 @@ X ################################################################## X # Compilation flags X # You should comment the line below for AIX+native cc X-FLAGS = -Wall X+FLAGS = ${CFLAGS} X X ################################################################## X # Libraries END-of-apg/files/patch-Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message