Skip site navigation (1)Skip section navigation (2)
Date:      15 May 2002 14:30:15 -0000
From:      Joe Kelsey <joe@zircon.seattle.wa.us>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/38108: NO_SENDMAIL means NO_SENDMAIL
Message-ID:  <20020515143015.1930.qmail@zircon.seattle.wa.us>

next in thread | raw e-mail | index | archive | help

>Number:         38108
>Category:       docs
>Synopsis:       NO_SENDMAIL means NO_SENDMAIL
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 15 07:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joe Kelsey
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zircon.zircon.seattle.wa.us 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #31: Tue May 14 17:49:58 PDT 2002 joe@zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON i386

>Description:
	NO_SENDMAIL in make.conf means that no files named sendmail
	should be installed anywhere on the system.  buildworld dies in
	src/etc and src/share/man/man8 due to someone sneaking in
	rc.sendmail and rc.sendmail.8 without paying attention to
	NO_SENDMAIL.
>How-To-Repeat:
	Attempt to buildworld without said files.
>Fix:

--- src/etc/Makefile.old	Sun Apr 28 12:57:41 2002
+++ src/etc/Makefile	Tue May 14 11:43:05 2002
@@ -13,7 +13,7 @@
 	motd modems networks newsyslog.conf \
 	pam.conf phones printcap profile protocols \
 	rc rc.atm rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \
-	rc.network rc.network6 rc.pccard rc.sendmail rc.serial rc.shutdown \
+	rc.network rc.network6 rc.pccard rc.serial rc.shutdown \
 	rc.syscons rc.sysctl remote rpc services shells sysctl.conf \
 	syslog.conf usbd.conf \
 	etc.${MACHINE_ARCH}/disktab \
@@ -22,6 +22,10 @@
 	${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \
 	${.CURDIR}/../usr.bin/mail/misc/mail.rc \
 	${.CURDIR}/../usr.bin/locate/locate/locate.rc
+
+.if !defined(NO_SENDMAIL)
+BIN1+= rc.sendmail
+.endif
 
 .if !defined(NO_I4B)
 BIN1+=	rc.isdn


--- src/share/man/man8/Makefile.old	Wed Apr 24 10:28:11 2002
+++ src/share/man/man8/Makefile	Tue May 14 11:49:24 2002
@@ -9,9 +9,12 @@
 	intro.8 \
 	picobsd.8 \
 	rc.8 \
-	rc.sendmail.8 \
 	sticky.8 \
 	yp.8
+
+.if !defined(NO_SENDMAIL)
+MAN+= rc.sendmail.8
+.endif
 
 .if exists(${.CURDIR}/../../../release/sysinstall)
 MAN+=	sysinstall.8
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020515143015.1930.qmail>