From owner-freebsd-doc Wed May 15 7:40:21 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A9DB237B40B for ; Wed, 15 May 2002 07:40:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4FEe2d45179; Wed, 15 May 2002 07:40:02 -0700 (PDT) (envelope-from gnats) Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-80.oz.net [216.39.147.80]) by hub.freebsd.org (Postfix) with SMTP id 1D49C37B438 for ; Wed, 15 May 2002 07:30:17 -0700 (PDT) Received: (qmail 1931 invoked by uid 0); 15 May 2002 14:30:15 -0000 Message-Id: <20020515143015.1930.qmail@zircon.seattle.wa.us> Date: 15 May 2002 14:30:15 -0000 From: Joe Kelsey Reply-To: Joe Kelsey To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/38108: NO_SENDMAIL means NO_SENDMAIL Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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