misc/160995: [patch] etc/sendmail/Makefile: 'make distribution'
fails to install freebsd.cf and freebsd.submit.cf
Glen Barber
gjb at FreeBSD.org
Sat Sep 24 20:30:10 UTC 2011
>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 at 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:
More information about the freebsd-bugs
mailing list