pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/pam-dbm Don't mess with /etc on installation....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/689d156db0a4
branches:  trunk
changeset: 547783:689d156db0a4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Oct 02 18:21:06 2008 +0000

description:
Don't mess with /etc on installation. Add DESTDIR support.

diffstat:

 security/pam-dbm/Makefile         |   6 ++++--
 security/pam-dbm/distinfo         |   4 ++--
 security/pam-dbm/patches/patch-aa |  13 +++++++++++--
 3 files changed, 17 insertions(+), 6 deletions(-)

diffs (60 lines):

diff -r 1f2cf65d68d2 -r 689d156db0a4 security/pam-dbm/Makefile
--- a/security/pam-dbm/Makefile Thu Oct 02 18:08:19 2008 +0000
+++ b/security/pam-dbm/Makefile Thu Oct 02 18:21:06 2008 +0000
@@ -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 @@
 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 @@
 .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 -r 1f2cf65d68d2 -r 689d156db0a4 security/pam-dbm/distinfo
--- a/security/pam-dbm/distinfo Thu Oct 02 18:08:19 2008 +0000
+++ b/security/pam-dbm/distinfo Thu Oct 02 18:21:06 2008 +0000
@@ -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 -r 1f2cf65d68d2 -r 689d156db0a4 security/pam-dbm/patches/patch-aa
--- a/security/pam-dbm/patches/patch-aa Thu Oct 02 18:08:19 2008 +0000
+++ b/security/pam-dbm/patches/patch-aa Thu Oct 02 18:21:06 2008 +0000
@@ -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



Home | Main Index | Thread Index | Old Index