summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/CHANGES3
-rw-r--r--security/PAM/Makefile14
2 files changed, 13 insertions, 4 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index e4ea106cf61..050ffe77943 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -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 @@ Changes to the packages collection and infrastructure in 2004:
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 --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