summaryrefslogtreecommitdiff
path: root/security/apg
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-02-14 04:14:40 +0000
committerrodent <rodent@pkgsrc.org>2014-02-14 04:14:40 +0000
commit135f8ebb427196c1da4bf022457d49922126ec17 (patch)
tree28a47efdbf2dcc3c6856c82b5ae6e9b70aa4d27b /security/apg
parenta5bd45d8aff21d4978514c1d763f31ecbdd17400 (diff)
downloadpkgsrc-135f8ebb427196c1da4bf022457d49922126ec17.tar.gz
Updated to apg-2.3.0b, released 09/08/2003. From CHANGES:
Added support for cracklib Improved Makefile structure
Diffstat (limited to 'security/apg')
-rw-r--r--security/apg/Makefile8
-rw-r--r--security/apg/distinfo10
-rw-r--r--security/apg/patches/patch-aa32
3 files changed, 27 insertions, 23 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index 917a3b304cd..8409f70117e 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -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/
@@ -23,6 +22,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
diff --git a/security/apg/distinfo b/security/apg/distinfo
index e5d67c19d35..79c231c18c9 100644
--- a/security/apg/distinfo
+++ b/security/apg/distinfo
@@ -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
-RMD160 (apg-2.2.3.tar.gz) = ccc1d8a90fcac90717a9ee16fcc85de53d5ef90d
-Size (apg-2.2.3.tar.gz) = 108186 bytes
-SHA1 (patch-aa) = 51679c0a3a6440ddcca12b4c5d6ebaa7c18a5935
+SHA1 (apg-2.3.0b.tar.gz) = d729c939adb659c05fd0ea3d9c03842c6fe86fed
+RMD160 (apg-2.3.0b.tar.gz) = 18f9955d6fdb721bec26613860b312d7fea6fba7
+Size (apg-2.3.0b.tar.gz) = 109995 bytes
+SHA1 (patch-aa) = 59d5537da45c7fb05480d12d1e73b04d19eed63f
diff --git a/security/apg/patches/patch-aa b/security/apg/patches/patch-aa
index 9ac3603f3b9..d157d7ed569 100644
--- a/security/apg/patches/patch-aa
+++ b/security/apg/patches/patch-aa
@@ -1,8 +1,18 @@
-$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
@@ -11,19 +21,11 @@ $NetBSD: patch-aa,v 1.3 2006/11/03 09:07:30 joerg Exp $
##################################################################
# 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: