summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-12-06 13:18:32 +0000
committerdes <des@FreeBSD.org>2001-12-06 13:18:32 +0000
commit3de059d62151313c4bca22c4358a50c4e4eb3bfe (patch)
tree3783cd023f2dfc79a8524841adcd2d3287a066d8 /etc
parentd546e6cd0823f4510c181d9d389154aa163de3f8 (diff)
downloadFreeBSD-src-3de059d62151313c4bca22c4358a50c4e4eb3bfe.zip
FreeBSD-src-3de059d62151313c4bca22c4358a50c4e4eb3bfe.tar.gz
Introduce the variable USE_PAM_D, which, if set, will cause pam.d to be
installed instead of pam.conf. This is for testing; the conditionals will be removed once we are confident that pam.d works as intended. Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index bdec982..fea950b 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -11,7 +11,7 @@ BIN1= amd.map apmd.conf auth.conf \
hosts hosts.allow hosts.equiv hosts.lpd \
inetd.conf login.access login.conf \
motd modems netconfig networks newsyslog.conf \
- pam.conf phones printcap profile protocols \
+ phones printcap profile protocols \
rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
rc.network rc.network6 rc.pccard rc.serial rc.shutdown \
rc.syscons rc.sysctl remote rpc security services shells sysctl.conf \
@@ -23,6 +23,10 @@ BIN1= amd.map apmd.conf auth.conf \
${.CURDIR}/../usr.bin/mail/misc/mail.rc \
${.CURDIR}/../usr.bin/locate/locate/locate.rc
+.if !defined(USE_PAM_D)
+BIN1+= pam.conf
+.endif
+
.if !defined(NO_I4B)
BIN1+= rc.isdn
.endif
@@ -79,6 +83,9 @@ distribution:
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; )
+.if defined(USE_PAM_D)
+ ( cd ${.CURDIR}/pam.d; ${MAKE} install )
+.endif
.if !defined(NO_I4B)
( cd ${.CURDIR}/isdn; ${MAKE} install )
.endif
OpenPOWER on IntegriCloud