Changeset View
Changeset View
Standalone View
Standalone View
head/etc/Makefile
Show All 12 Lines | |||||
.if ${MK_SENDMAIL} != "no" | .if ${MK_SENDMAIL} != "no" | ||||
SUBDIR+=sendmail | SUBDIR+=sendmail | ||||
.endif | .endif | ||||
BIN1= \ | BIN1= \ | ||||
group \ | group \ | ||||
login.access \ | login.access \ | ||||
rc.bsdextended \ | rc.bsdextended \ | ||||
rc.firewall \ | |||||
termcap.small | termcap.small | ||||
# NB: keep these sorted by MK_* knobs | # NB: keep these sorted by MK_* knobs | ||||
.if ${MK_SENDMAIL} != "no" | |||||
BIN1+= rc.sendmail | |||||
.endif | |||||
.if ${MK_SENDMAIL} == "no" | .if ${MK_SENDMAIL} == "no" | ||||
ETCMAIL=mailer.conf aliases | ETCMAIL=mailer.conf aliases | ||||
.else | .else | ||||
ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \ | ETCMAIL=Makefile README mailer.conf access.sample virtusertable.sample \ | ||||
mailertable.sample aliases | mailertable.sample aliases | ||||
.endif | .endif | ||||
# Special top level files for FreeBSD | # Special top level files for FreeBSD | ||||
Show All 20 Lines | |||||
METALOG.add?= cat -l >> ${METALOG} | METALOG.add?= cat -l >> ${METALOG} | ||||
.endif | .endif | ||||
distribution: | distribution: | ||||
.if !defined(DESTDIR) | .if !defined(DESTDIR) | ||||
@echo "set DESTDIR before running \"make ${.TARGET}\"" | @echo "set DESTDIR before running \"make ${.TARGET}\"" | ||||
@false | @false | ||||
.endif | .endif | ||||
.if ${MK_SENDMAIL} != "no" | |||||
cd ${.CURDIR}; \ | cd ${.CURDIR}; \ | ||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ | ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 -T "tags=package=sendmail"\ | ||||
rc.sendmail ${DESTDIR}/etc; | |||||
.endif | |||||
.if ${MK_IPFW} != "no" | |||||
cd ${.CURDIR}; \ | |||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 -T "tags=package=ipfw"\ | |||||
rc.firewall ${DESTDIR}/etc; | |||||
.endif | |||||
cd ${.CURDIR}; \ | |||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 -T "tags=package=runtime"\ | |||||
${BIN1} ${DESTDIR}/etc; \ | ${BIN1} ${DESTDIR}/etc; \ | ||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ | ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 -T "tags=package=runtime"\ | ||||
master.passwd ${DESTDIR}/etc; | master.passwd ${DESTDIR}/etc; | ||||
.if ${MK_TCSH} == "no" | .if ${MK_TCSH} == "no" | ||||
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd | sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd | ||||
.endif | .endif | ||||
pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd | pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd | ||||
.if defined(NO_ROOT) | .if defined(NO_ROOT) | ||||
( \ | ( \ | ||||
echo "./etc/passwd type=file mode=0644 uname=root gname=wheel"; \ | echo "./etc/passwd type=file mode=0644 uname=root gname=wheel"; \ | ||||
echo "./etc/pwd.db type=file mode=0644 uname=root gname=wheel"; \ | echo "./etc/pwd.db type=file mode=0644 uname=root gname=wheel"; \ | ||||
echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \ | echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \ | ||||
) | ${METALOG.add} | ) | ${METALOG.add} | ||||
.endif | .endif | ||||
${_+_}cd ${.CURDIR}/gss; ${MAKE} install | ${_+_}cd ${.CURDIR}/gss; ${MAKE} install | ||||
${_+_}cd ${.CURDIR}/mtree; ${MAKE} install | ${_+_}cd ${.CURDIR}/mtree; ${MAKE} install | ||||
${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap | ${_+_}cd ${SRCTOP}/share/termcap; ${MAKE} etc-termcap | ||||
${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt | ${_+_}cd ${SRCTOP}/usr.sbin/rmt; ${MAKE} etc-rmt | ||||
.if ${MK_UNBOUND} != "no" | .if ${MK_UNBOUND} != "no" | ||||
if [ ! -e ${DESTDIR}/etc/unbound ]; then \ | if [ ! -e ${DESTDIR}/etc/unbound ]; then \ | ||||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |