diff options
author | gjb <gjb@FreeBSD.org> | 2016-06-01 20:06:55 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-06-01 20:06:55 +0000 |
commit | 693109989c0d6a5bd4fcc8068277e4ff7161ae5b (patch) | |
tree | 7cd856d53b84fe307d9d767b61f0dbf6f02a46dc /etc | |
parent | fc1de16102dddb41dbc0c49ce2d96f3c048578e5 (diff) | |
download | FreeBSD-src-693109989c0d6a5bd4fcc8068277e4ff7161ae5b.zip FreeBSD-src-693109989c0d6a5bd4fcc8068277e4ff7161ae5b.tar.gz |
Implement a hack to re-enable installation of the dma.conf.
The 'CONFS' entries in share/mk/bsd.confs.mk explicitly check
for the 'installconfig', but does not behave properly with the
'distribute' target.
This seems to be related to the previously-reported issues
with files within /etc in the past.
Reported by: Ben Woods
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile index e01b2a4..43e6f60 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -309,6 +309,10 @@ distribution: cd ${.CURDIR}/ppp; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ ${PPPCNF} ${DESTDIR}/etc/ppp .endif +.if ${MK_DMAGENT} != "no" + cd ${.CURDIR}/../libexec/dma/dmagent; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ + dma.conf ${DESTDIR}/etc/dma +.endif .if ${MK_MAIL} != "no" cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${ETCMAIL} ${DESTDIR}/etc/mail |