From owner-svn-src-all@freebsd.org Wed Jun 1 20:06:56 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B899B61100; Wed, 1 Jun 2016 20:06:56 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C1631898; Wed, 1 Jun 2016 20:06:56 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u51K6tTx012287; Wed, 1 Jun 2016 20:06:55 GMT (envelope-from gjb@FreeBSD.org) Received: (from gjb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u51K6t0d012285; Wed, 1 Jun 2016 20:06:55 GMT (envelope-from gjb@FreeBSD.org) Message-Id: <201606012006.u51K6t0d012285@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gjb set sender to gjb@FreeBSD.org using -f From: Glen Barber Date: Wed, 1 Jun 2016 20:06:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301163 - in head: etc libexec/dma/dmagent X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2016 20:06:56 -0000 Author: gjb Date: Wed Jun 1 20:06:55 2016 New Revision: 301163 URL: https://svnweb.freebsd.org/changeset/base/301163 Log: 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 Modified: head/etc/Makefile head/libexec/dma/dmagent/Makefile Modified: head/etc/Makefile ============================================================================== --- head/etc/Makefile Wed Jun 1 20:04:24 2016 (r301162) +++ head/etc/Makefile Wed Jun 1 20:06:55 2016 (r301163) @@ -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 Modified: head/libexec/dma/dmagent/Makefile ============================================================================== --- head/libexec/dma/dmagent/Makefile Wed Jun 1 20:04:24 2016 (r301162) +++ head/libexec/dma/dmagent/Makefile Wed Jun 1 20:06:55 2016 (r301163) @@ -18,8 +18,6 @@ SRCS= aliases_parse.y \ spool.c \ util.c MAN8= dma.8 -CONFS= dma.conf -CONFSDIR= ${CONFDIR}/dma YFLAGS+= -i CLEANFILES= aliases_parse.i FILES= mailer.conf