Subject: pkg/21780: Package update: apg-2.1.0
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cube@cubidou.net>
List: netbsd-bugs
Date: 06/04/2003 11:33:12
>Number:         21780
>Category:       pkg
>Synopsis:       Package update: apg-2.1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 04 09:42:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Quentin Garnier
>Release:        NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD re.eve 1.6T NetBSD 1.6T (RE) #0: Fri May 30 13:16:43 CEST 2003 cube@re.eve:/usr/src/sys/arch/i386/compile/RE i386
Architecture: i386
Machine: i386
>Description:
	Our apg package is slightly outdated. The attached patch updates it
	to 2.1.0.

	A new front-end was introduced, in PHP, which I think deserves its
	own package, which I will do later.

apg-2.1.0
    Some code cleanup.

apg-2.1.0b1
    Option [-E char_string] now works for pronounceable
    password generation too (see apg(1), apgd(8)).

apg-2.1.0b0
    Added new option [-e char_string] that allow to exclude some
    characters from password generation process.
    (works only for random password generation yet)

apg-2.1.0a0
    Added support for /dev/arandom for OpenBSD

apg-2.1.0a0
    Fixed some typing errors in the man pages
    System getopt() replaced with own apg_getopt().
    All calls of bcopy() and bzero() replaced with memcpy() and memset().
    Changed documentation.
    PRNG algorithm changed to use PID as an element of initial seed.
    Redesigned PHP frontend. Added support for German language.
    Implemented password quality ckeck based on filter. Now you can enforce
    APG to generate passwords that must contain numbers, special characters etc.
    Removed support for old style password generation mode definition.

apg-2.0.0final
    Changed PHP frontend to work with PHP safe-mode.
    Version numbers of apg, apgd, apgbfm, apgonline changed to 2.0.0final.

apg-2.0.0b1
    Fixed error that has forced user to set world-write privileges on
    Bloom-filter file. (Thanks to Mike Robbins <mike.robbins@sweetolive.net>)
    Fixed PHP frontend to clean-up generated HTML code.
    (Thanks to Mike Robbins <mike.robbins@sweetolive.net>)

apg-2.0.0b0
    Some code style fixes.
    Support for "special" symbol-set usage for password generation
    in pronounceable mode (S mode).
    Support for "resticted special" symbol-set usage for password generation
    in pronounceable mode (R mode).
    New style of hyphenated password output for pronounceable
    password generation mode.

apg-2.0.0a3
    Better error handling in apgbfm.
    Added -q option for apgbfm and apg (quiet mode).
    Added PHP frontend for APG.

apg-2.0.0a2
    Added support for SHA1 algorithm used for random numbers and hash
    generation.
    Hash function used in apgbfm changed to SHA1.
    Added info to APG_TIPS file.

apg-2.0.0a1 (not published)
    Finaly fixed some warnings during compilation process.
    Added support for OpenBSD.
    Added info to APG_TIPS file.

apg-2.0.0a0
    Added new algorithm (-b option) to check generated passwords
    quality (Bloom filter).
    Added utility apgbfm to manage Bloom filter.
    Some code style fixes.
    Added APG_TIPS file in documentation.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/apg/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	2001/03/24 19:32:41	1.3
+++ Makefile	2003/06/04 09:30:29
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.3 2001/03/24 19:32:41 zuntum Exp $
 #
 
-DISTNAME=	apg-1.2.13
+DISTNAME=	apg-2.1.0
 CATEGORIES=	security
 MASTER_SITES=	http://www.adel.nursat.kz/apg/download/
 
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/security/apg/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST	2001/11/01 01:16:31	1.1
+++ PLIST	2003/06/04 09:30:29
@@ -1,6 +1,8 @@
 @comment $NetBSD: PLIST,v 1.1 2001/11/01 01:16:31 zuntum Exp $
 bin/apg
+bin/apgbfm
 bin/apgcli
 sbin/apgd
 man/man1/apg.1
+man/man1/apgbfm.1
 man/man8/apgd.8
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/security/apg/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	2001/04/19 15:40:29	1.2
+++ distinfo	2003/06/04 09:30:29
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.2 2001/04/19 15:40:29 agc Exp $
 
-SHA1 (apg-1.2.13.tar.gz) = 0619957437e4804ef09a550602aa1655d2d0690f
-Size (apg-1.2.13.tar.gz) = 72243 bytes
-SHA1 (patch-aa) = 90b2a66305d361a650160e0b3fb7cd93632e2b46
+SHA1 (apg-2.1.0.tar.gz) = 415aeeae944c184bdc67ef36af9ea68c062c7cf9
+Size (apg-2.1.0.tar.gz) = 99202 bytes
+SHA1 (patch-aa) = d66d56ff653e66185a1af83d7b5330c1759e7573
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/security/apg/patches/patch-aa,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-aa
--- patches/patch-aa	2001/03/05 23:21:03	1.1.1.1
+++ patches/patch-aa	2003/06/04 09:30:29
@@ -1,21 +1,23 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/03/05 23:21:03 hubertf Exp $
+$NetBSD$
 
---- Makefile.orig	Thu Feb 22 12:00:10 2001
+--- Makefile.orig	2002-09-13 10:10:49.000000000 +0200
 +++ Makefile
-@@ -1,10 +1,8 @@
+@@ -1,12 +1,10 @@
+ ##################################################################
  # You can modify CC variable if you have compiler other than GCC
  # But the code was designed and tested with GCC
 -CC = gcc
  
- # compilation flags
+ ##################################################################
+ # Compilation flags
  # You should comment the line below for AIX+native cc
 -FLAGS = -Wall
  
- # libraries
- LIBS = -lcrypt
-@@ -15,7 +13,6 @@
- CRYPTED_PASS = APG_USE_CRYPT
- 
+ ##################################################################
+ # Libraries
+@@ -37,7 +35,6 @@ USE_SHA = APG_DONOTUSE_SHA
+ ##################################################################
+ # Directories
  # Install dirs
 -INSTALL_PREFIX = /usr/local
  APG_BIN_DIR = /bin
>Release-Note:
>Audit-Trail:
>Unformatted: