diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2019-05-08 17:46:59 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2019-05-08 17:46:59 +0000 |
commit | 3d4dafef995a180a5e81651cd2e7075e9bd2d355 (patch) | |
tree | 99e6667eb7c17e809e8862b3f305b064af0d3447 /etc/Makefile | |
parent | ac97da9ad8e5419e5c0926314f4502e1a75180e5 (diff) | |
download | src-3d4dafef995a180a5e81651cd2e7075e9bd2d355.tar.gz src-3d4dafef995a180a5e81651cd2e7075e9bd2d355.zip |
Notes
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/etc/Makefile b/etc/Makefile index 4714b580cc82..b1d4f51a1b97 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -18,15 +18,10 @@ BIN1= \ group \ login.access \ rc.bsdextended \ - rc.firewall \ termcap.small # NB: keep these sorted by MK_* knobs -.if ${MK_SENDMAIL} != "no" -BIN1+= rc.sendmail -.endif - .if ${MK_SENDMAIL} == "no" ETCMAIL=mailer.conf aliases .else @@ -63,10 +58,20 @@ distribution: @echo "set DESTDIR before running \"make ${.TARGET}\"" @false .endif +.if ${MK_SENDMAIL} != "no" 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; \ - ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 -T "tags=package=runtime"\ master.passwd ${DESTDIR}/etc; .if ${MK_TCSH} == "no" @@ -78,6 +83,7 @@ distribution: 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/spwd.db type=file mode=0600 uname=root gname=wheel"; \ + ) | ${METALOG.add} .endif ${_+_}cd ${.CURDIR}/gss; ${MAKE} install |