Bootstrap pwd_mkdb(8) and use its new feature during "make distribute".
This commit is contained in:
parent
a09150446d
commit
0c5397aa69
@ -796,6 +796,10 @@ _mklocale= usr.bin/mklocale
|
|||||||
_crunchgen= usr.sbin/crunch/crunchgen
|
_crunchgen= usr.sbin/crunch/crunchgen
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if ${BOOTSTRAPPING} < 600020
|
||||||
|
_pwd_mkdb= usr.sbin/pwd_mkdb
|
||||||
|
.endif
|
||||||
|
|
||||||
bootstrap-tools:
|
bootstrap-tools:
|
||||||
.for _tool in \
|
.for _tool in \
|
||||||
${_strfile} \
|
${_strfile} \
|
||||||
@ -811,7 +815,8 @@ bootstrap-tools:
|
|||||||
usr.bin/rpcgen \
|
usr.bin/rpcgen \
|
||||||
usr.bin/xinstall \
|
usr.bin/xinstall \
|
||||||
usr.sbin/config \
|
usr.sbin/config \
|
||||||
${_crunchgen}
|
${_crunchgen} \
|
||||||
|
${_pwd_mkdb}
|
||||||
${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
|
${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
|
||||||
cd ${.CURDIR}/${_tool}; \
|
cd ${.CURDIR}/${_tool}; \
|
||||||
${MAKE} DIRPRFX=${_tool}/ obj; \
|
${MAKE} DIRPRFX=${_tool}/ obj; \
|
||||||
|
@ -76,8 +76,10 @@ distribute:
|
|||||||
.include <bsd.endian.mk>
|
.include <bsd.endian.mk>
|
||||||
.if ${TARGET_ENDIANNESS} == "1234"
|
.if ${TARGET_ENDIANNESS} == "1234"
|
||||||
CAP_MKDB_ENDIAN= -l
|
CAP_MKDB_ENDIAN= -l
|
||||||
|
PWD_MKDB_ENDIAN= -L
|
||||||
.elif ${TARGET_ENDIANNESS} == "4321"
|
.elif ${TARGET_ENDIANNESS} == "4321"
|
||||||
CAP_MKDB_ENDIAN= -b
|
CAP_MKDB_ENDIAN= -b
|
||||||
|
PWD_MKDB_ENDIAN= -B
|
||||||
.else
|
.else
|
||||||
CAP_MKDB_ENDIAN=
|
CAP_MKDB_ENDIAN=
|
||||||
.endif
|
.endif
|
||||||
@ -91,7 +93,8 @@ distribution:
|
|||||||
${BIN2} ${DESTDIR}/etc; \
|
${BIN2} ${DESTDIR}/etc; \
|
||||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
||||||
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \
|
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \
|
||||||
pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
|
pwd_mkdb ${PWD_MKDB_ENDIAN} -p -d ${DESTDIR}/etc \
|
||||||
|
${DESTDIR}/etc/master.passwd
|
||||||
cd ${.CURDIR}/bluetooth; ${MAKE} install
|
cd ${.CURDIR}/bluetooth; ${MAKE} install
|
||||||
cd ${.CURDIR}/defaults; ${MAKE} install
|
cd ${.CURDIR}/defaults; ${MAKE} install
|
||||||
cd ${.CURDIR}/periodic; ${MAKE} install
|
cd ${.CURDIR}/periodic; ${MAKE} install
|
||||||
|
Loading…
Reference in New Issue
Block a user