summaryrefslogtreecommitdiff
path: root/security/PAM
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-12 04:31:09 +0000
committerjlam <jlam@pkgsrc.org>2004-01-12 04:31:09 +0000
commitc4dd17d8b7ad1970a252ea7663a11b35395214cf (patch)
tree69ec9865106bd64b69564c266222cdd56943ca18 /security/PAM
parent22e2f135fdf8b69e9b4c8d4888eb92220f8f5863 (diff)
downloadpkgsrc-c4dd17d8b7ad1970a252ea7663a11b35395214cf.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