Fri Feb 14 04:14:41 2014 UTC ()
Updated to apg-2.3.0b, released 09/08/2003. From CHANGES:
    Added support for cracklib
    Improved Makefile structure


(rodent)
diff -r1.16 -r1.17 pkgsrc/security/apg/Makefile
diff -r1.6 -r1.7 pkgsrc/security/apg/distinfo
diff -r1.3 -r1.4 pkgsrc/security/apg/patches/patch-aa

cvs diff -r1.16 -r1.17 pkgsrc/security/apg/Makefile (expand / switch to context diff)
--- pkgsrc/security/apg/Makefile 2013/05/31 12:41:50 1.16
+++ pkgsrc/security/apg/Makefile 2014/02/14 04:14:40 1.17
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2013/05/31 12:41:50 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2014/02/14 04:14:40 rodent Exp $
 #
 
-DISTNAME=	apg-2.2.3
-PKGREVISION=	2
+DISTNAME=	apg-2.3.0b
 CATEGORIES=	security
 MASTER_SITES=	http://www.adel.nursat.kz/apg/download/
 
@@ -22,6 +21,9 @@
 MAKE_ENV+=	CS_LIBS=${CS_LIBS:Q}
 
 INSTALLATION_DIRS+=	bin sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
+
+post-extract:
+	${CHMOD} -R u+w ${WRKSRC}
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${DESTDIR}${PREFIX}/bin/apgcli

cvs diff -r1.6 -r1.7 pkgsrc/security/apg/distinfo (expand / switch to context diff)
--- pkgsrc/security/apg/distinfo 2006/11/03 09:07:30 1.6
+++ pkgsrc/security/apg/distinfo 2014/02/14 04:14:40 1.7
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2006/11/03 09:07:30 joerg Exp $
+$NetBSD: distinfo,v 1.7 2014/02/14 04:14:40 rodent Exp $
 
-SHA1 (apg-2.2.3.tar.gz) = 7bdbc931ef8477717186dc3ab3a2d3c25012b4ca
+SHA1 (apg-2.3.0b.tar.gz) = d729c939adb659c05fd0ea3d9c03842c6fe86fed
-RMD160 (apg-2.2.3.tar.gz) = ccc1d8a90fcac90717a9ee16fcc85de53d5ef90d
+RMD160 (apg-2.3.0b.tar.gz) = 18f9955d6fdb721bec26613860b312d7fea6fba7
-Size (apg-2.2.3.tar.gz) = 108186 bytes
+Size (apg-2.3.0b.tar.gz) = 109995 bytes
-SHA1 (patch-aa) = 51679c0a3a6440ddcca12b4c5d6ebaa7c18a5935
+SHA1 (patch-aa) = 59d5537da45c7fb05480d12d1e73b04d19eed63f

cvs diff -r1.3 -r1.4 pkgsrc/security/apg/patches/patch-aa (expand / switch to context diff)
--- pkgsrc/security/apg/patches/patch-aa 2006/11/03 09:07:30 1.3
+++ pkgsrc/security/apg/patches/patch-aa 2014/02/14 04:14:40 1.4
@@ -1,9 +1,19 @@
-$NetBSD: patch-aa,v 1.3 2006/11/03 09:07:30 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2014/02/14 04:14:40 rodent Exp $
 
---- Makefile.orig	2003-08-07 15:40:30.000000000 +0000
+Don't hardcode CC, CFLAGS, PREFIX. Fix installation stage.
+
+--- Makefile.orig	2003-08-07 15:40:39.000000000 +0000
 +++ Makefile
-@@ -1,12 +1,10 @@
+@@ -1,7 +1,6 @@
  ##################################################################
+ # Directories
+ # Install dirs
+-INSTALL_PREFIX = /usr/local
+ 
+ # Full default path is /usr/local/bin
+ APG_BIN_DIR = /bin
+@@ -60,12 +59,10 @@ APG_CLIBS += -lcrypt
+ ##################################################################
  # You can modify CC variable if you have compiler other than GCC
  # But the code was designed and tested with GCC
 -CC = gcc
@@ -11,19 +21,11 @@
  ##################################################################
  # Compilation flags
  # You should comment the line below for AIX+native cc
--FLAGS = -Wall
+-CFLAGS = -Wall
  
- ##################################################################
- # Libraries
-@@ -39,7 +37,6 @@ USE_SHA = APG_DONOTUSE_SHA
- ##################################################################
- # Directories
- # Install dirs
--INSTALL_PREFIX = /usr/local
- APG_BIN_DIR = /bin
- APG_MAN_DIR = /man/man1
- APGD_BIN_DIR = /sbin
-@@ -110,24 +107,12 @@ strip:
+ ####################################################################
+ # If you plan to install APG daemon you should look at lines below #
+@@ -143,24 +140,12 @@ strip:
  	strip ${BFM_PROGNAME}
  
  install: