summaryrefslogtreecommitdiff
path: root/security/PAM
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-12 04:31:09 +0000
committerjlam <jlam>2004-01-12 04:31:09 +0000
commit617f3811d87744f223710d859e9118fefc79395c (patch)
tree69ec9865106bd64b69564c266222cdd56943ca18 /security/PAM
parent9a48ddf5461a931f8f2b831d211d6c426d1ac798 (diff)
downloadpkgsrc-617f3811d87744f223710d859e9118fefc79395c.tar.gz
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 (limited to 'security/PAM')
-rw-r--r--security/PAM/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/security/PAM/Makefile b/security/PAM/Makefile
index 44bf484a021..63e9be71a97 100644
--- a/security/PAM/Makefile
+++ b/security/PAM/Makefile
@@ -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}/pam.conf ${PKG_SYSCONFBASEDIR}/pam.conf
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