summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg>2008-10-02 18:21:06 +0000
committerjoerg <joerg>2008-10-02 18:21:06 +0000
commit5b896e5e48523dd1a2c98f88d9cd3356e94cf614 (patch)
treea69d6127f86dc1fc1cb8a593ef9865f12013ab0f /security
parent4aafda859d80765b36233679f9cf4cb83581336d (diff)
downloadpkgsrc-5b896e5e48523dd1a2c98f88d9cd3356e94cf614.tar.gz
Don't mess with /etc on installation. Add DESTDIR support.
Diffstat (limited to 'security')
-rw-r--r--security/pam-dbm/Makefile6
-rw-r--r--security/pam-dbm/distinfo4
-rw-r--r--security/pam-dbm/patches/patch-aa13
3 files changed, 17 insertions, 6 deletions
diff --git a/security/pam-dbm/Makefile b/security/pam-dbm/Makefile
index 22652b67e8e..f5e5d142341 100644
--- a/security/pam-dbm/Makefile
+++ b/security/pam-dbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/10/04 21:58:14 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/10/02 18:21:06 joerg Exp $
#
DISTNAME= pam_dbm-0.2
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.feep.net/PAM/pam_dbm/
COMMENT= PAM module for DBM authentication
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
BDB_ACCEPTED= db1
@@ -19,6 +21,6 @@ BDB_ACCEPTED= db1
.include "../../mk/pam.buildlink3.mk"
post-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/authtest ${PREFIX}/sbin/pam_dbm-authtest
+ ${INSTALL_PROGRAM} ${WRKSRC}/authtest ${DESTDIR}${PREFIX}/sbin/pam_dbm-authtest
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pam-dbm/distinfo b/security/pam-dbm/distinfo
index e959afe9024..9db2091cc04 100644
--- a/security/pam-dbm/distinfo
+++ b/security/pam-dbm/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/08/18 14:02:12 adrianp Exp $
+$NetBSD: distinfo,v 1.4 2008/10/02 18:21:06 joerg Exp $
SHA1 (pam_dbm-0.2.tar.gz) = 9e9404bb4d8ed1e34c8198ad8e7a2b38735beb6c
RMD160 (pam_dbm-0.2.tar.gz) = bc4226a1cd3bd379e01b3245f3c6480d620dc2c3
Size (pam_dbm-0.2.tar.gz) = 109079 bytes
-SHA1 (patch-aa) = bd6ae08db85e1f428009d022355c7ef18f53f3c9
+SHA1 (patch-aa) = a2a07a6cab8b38a44487c7ff1bbacc1966a0196a
diff --git a/security/pam-dbm/patches/patch-aa b/security/pam-dbm/patches/patch-aa
index 15b1c44f88f..c1bc266f4f1 100644
--- a/security/pam-dbm/patches/patch-aa
+++ b/security/pam-dbm/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.1 2006/08/18 14:02:12 adrianp Exp $
+$NetBSD: patch-aa,v 1.2 2008/10/02 18:21:06 joerg Exp $
---- Makefile.in.orig 2003-12-20 14:19:18.000000000 +0000
+--- Makefile.in.orig 2003-12-20 15:19:18.000000000 +0100
+++ Makefile.in
+@@ -69,7 +69,7 @@ clean:
+ distclean: clean
+ rm -f Makefile config.cache config.h config.log config.status
+
+-install: install-real @ENCAP_INSTALL_TARGET@
++install: install-real
+
+ install-real: all
+ ${MKDIR} ${DESTDIR}${libdir}/security
@@ -77,7 +77,7 @@ install-real: all
${MKDIR} ${DESTDIR}${mandir}/man5
${INSTALL_DATA} ${srcdir}/pam_dbm.5 ${DESTDIR}${mandir}/man5