pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Update security/PAM to 0.77nb1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6eeb94fc481f
branches:  trunk
changeset: 466135:6eeb94fc481f
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Jan 12 04:31:09 2004 +0000

description:
Update security/PAM to 0.77nb1:

Actually make this package honor PKG_SYSCONFDIR.  This package now looks
for /usr/pkg/etc/pam.conf if PKG_SYSCONFBASE != "/etc".

diffstat:

 doc/CHANGES           |   3 ++-
 security/PAM/Makefile |  14 +++++++++++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r e1938fad19e8 -r 6eeb94fc481f doc/CHANGES
--- a/doc/CHANGES       Mon Jan 12 04:18:50 2004 +0000
+++ b/doc/CHANGES       Mon Jan 12 04:31:09 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.4432 2004/01/12 04:19:37 kim Exp $
+$NetBSD: CHANGES,v 1.4433 2004/01/12 04:31:39 jlam Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -187,3 +187,4 @@
        Updated samba to 3.0.1nb1 [jlam 2004-01-12]
        Added libshout-2.0 [kim 2004-01-12]
        Added mserv-devel-0.39 [kim 2004-01-12]
+       Updated PAM to 0.77nb1 [jlam 2004-01-12]
diff -r e1938fad19e8 -r 6eeb94fc481f security/PAM/Makefile
--- a/security/PAM/Makefile     Mon Jan 12 04:18:50 2004 +0000
+++ b/security/PAM/Makefile     Mon Jan 12 04:31:09 2004 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.19 2004/01/08 19:18:00 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2004/01/12 04:31:09 jlam Exp $
 #
 
-DISTNAME=      Linux-${PKGNAME}
-PKGNAME=       PAM-0.77
+DISTNAME=      Linux-PAM-0.77
+PKGNAME=       ${DISTNAME:S/Linux-//}
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  http://www.kernel.org/pub/linux/libs/pam/pre/library/ \
                ftp://ftp.kernel.org/pub/linux/libs/pam/pre/library/ \
@@ -74,6 +75,13 @@
 CONF_FILES+=           ${EGDIR}/${FILE} ${PKG_SYSCONFDIR}/${FILE}
 .endfor
 
+post-configure:
+       cd ${WRKSRC}; for file in libpam/pam_private.h; do              \
+               ${SED}  -e "s|/etc/|${PKG_SYSCONFBASEDIR}/|g"           \
+                       $$file > $$file.new;                            \
+               ${MV} -f $$file.new $$file;                             \
+       done
+
 # this is so it won't try to interactively install any configs
 pre-build:
        ${TOUCH} ${WRKSRC}/.quiet_install



Home | Main Index | Thread Index | Old Index