summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-03-03 11:19:18 +0000
committerru <ru@FreeBSD.org>2003-03-03 11:19:18 +0000
commitb6a38ff592aed34e01840647cb9ebb7c5e5975ba (patch)
treeae983cfb01fae65e0391bb70fd29ba85e95909ef
parente29bfdefccf5eeea7d608b0eba4cc3ab25cb424e (diff)
downloadFreeBSD-src-b6a38ff592aed34e01840647cb9ebb7c5e5975ba.zip
FreeBSD-src-b6a38ff592aed34e01840647cb9ebb7c5e5975ba.tar.gz
Make sure the default install comes with /etc/login.conf hashed.
-rw-r--r--Makefile.inc13
-rw-r--r--etc/Makefile1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 137c38c..42db2fb 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -386,7 +386,8 @@ installcheck:
#
distributeworld installworld: installcheck
mkdir -p ${INSTALLTMP}
- for prog in [ awk cat chflags chmod chown date echo egrep find grep \
+ for prog in [ awk cat cap_mkdb chflags chmod chown \
+ date echo egrep find grep \
ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl \
test true uname wc zic; do \
cp `which $$prog` ${INSTALLTMP}; \
diff --git a/etc/Makefile b/etc/Makefile
index be005a4..43f1178 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -68,6 +68,7 @@ distribution:
cd ${.CURDIR}; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
${BIN1} ${DESTDIR}/etc; \
+ cap_mkdb ${DESTDIR}/etc/login.conf; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 \
${BIN2} ${DESTDIR}/etc; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
OpenPOWER on IntegriCloud