From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 24 20:30:10 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8593106564A for ; Sat, 24 Sep 2011 20:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C22B88FC13 for ; Sat, 24 Sep 2011 20:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8OKU9Os072428 for ; Sat, 24 Sep 2011 20:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8OKU9fi072424; Sat, 24 Sep 2011 20:30:09 GMT (envelope-from gnats) Resent-Date: Sat, 24 Sep 2011 20:30:09 GMT Resent-Message-Id: <201109242030.p8OKU9fi072424@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Glen Barber Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88FAC1065680 for ; Sat, 24 Sep 2011 20:20:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 585F58FC25 for ; Sat, 24 Sep 2011 20:20:06 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8OKK6Yr086933 for ; Sat, 24 Sep 2011 20:20:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p8OKK5db086928; Sat, 24 Sep 2011 20:20:06 GMT (envelope-from nobody) Message-Id: <201109242020.p8OKK5db086928@red.freebsd.org> Date: Sat, 24 Sep 2011 20:20:06 GMT From: Glen Barber To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/160995: [patch] etc/sendmail/Makefile: 'make distribution' fails to install freebsd.cf and freebsd.submit.cf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2011 20:30:10 -0000 >Number: 160995 >Category: misc >Synopsis: [patch] etc/sendmail/Makefile: 'make distribution' fails to install freebsd.cf and freebsd.submit.cf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 24 20:30:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Glen Barber >Release: 9.0-BETA1, 64-bit >Organization: >Environment: FreeBSD kaos 9.0-BETA1 FreeBSD 9.0-BETA1 #1 r224632: Wed Aug 3 14:36:24 EDT 2011 root@kaos:/usr/obj/usr/src/sys/KAOS amd64 >Description: Configuring a 9.0-STABLE (r225746), 32-bit Tinderbox jail on a 9.0-BETA2, 64-bit host machine consistently fails when 'make distribution' is run. This does not happen when configuring 64-bit Tinderbox jails. Output from distribution.tmp shows the following: ===> master (install) install -o root -g wheel -m 644 empty.db localhost-forward.db localhost-reverse.db /tinderbox/jails/9-STABLE-32/tmp/etc/namedb/master cd /tinderbox/jails/9-STABLE-32/src/etc/sendmail; make distribution install -o root -g wheel -m 644 /tinderbox/jails/9-STABLE-32/src/etc/sendmail/freebsd.mc freebsd.cf /tinderbox/jails/9-STABLE-32/tmp/etc/mail install: freebsd.cf: No such file or directory *** Error code 71 Stop in /tinderbox/jails/9-STABLE-32/src/etc/sendmail. *** Error code 1 Stop in /tinderbox/jails/9-STABLE-32/src/etc. >How-To-Repeat: >Fix: The attached patch fixes the problem for me. Patch attached with submission follows: Index: etc/sendmail/Makefile =================================================================== --- etc/sendmail/Makefile (revision 225746) +++ etc/sendmail/Makefile (working copy) @@ -64,9 +64,9 @@ distribution: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ - ${.CURDIR}/freebsd.mc freebsd.cf ${DESTDIR}/etc/mail + ${.CURDIR}/freebsd.mc freebsd.cf ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${.CURDIR}/freebsd.submit.mc freebsd.submit.cf ${DESTDIR}/etc/mail + ${.CURDIR}/freebsd.submit.mc freebsd.submit.cf ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${SMDIR}/helpfile ${DESTDIR}/etc/mail ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 \ >Release-Note: >Audit-Trail: >Unformatted: