From owner-cvs-all Thu Apr 11 16:26: 5 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 11F6B37B416; Thu, 11 Apr 2002 16:25:58 -0700 (PDT) Received: (from gshapiro@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3BNPw573716; Thu, 11 Apr 2002 16:25:58 -0700 (PDT) (envelope-from gshapiro) Message-Id: <200204112325.g3BNPw573716@freefall.freebsd.org> From: Gregory Neil Shapiro Date: Thu, 11 Apr 2002 16:25:57 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc src/etc/defaults rc.conf src/etc/mail Makefile src/etc/sendmail Makefile rc.sendmail src/share/man/man5 rc.conf.5 src/share/man/man8 Makefile rc.sendmail.8 X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gshapiro 2002/04/11 16:25:57 PDT Modified files: (Branch: RELENG_4) etc rc etc/defaults rc.conf etc/mail Makefile etc/sendmail Makefile share/man/man5 rc.conf.5 share/man/man8 Makefile Added files: (Branch: RELENG_4) etc/sendmail rc.sendmail share/man/man8 rc.sendmail.8 Log: MFC: Quoting Peter Wemm, "At great personal risk, touch the sendmail startup again." As an alternative to sendmail_enable=NONE, solve the boot time problem for non-sendmail users completely by moving all of the sendmail startup code from /etc/rc to /etc/rc.sendmail. The source for that script will be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will prevent it from being installed. A new rc.conf variable, mta_start_script specifies the script to run to start the user's preferred MTA. For backward compatibility, it will default to /etc/rc.sendmail. The specified script is called out of /etc/rc after checking to make sure it exists. A new rc.sendmail.8 man page has also been added which now houses the sendmail_* variable descriptions formerly in rc.conf.5. Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication. Reviewed by: -current, -stable, obrien, peter, ru MFC after: 1 week Revision Changes Path 1.142 +19 -10 src/etc/defaults/rc.conf 1.27 +38 -70 src/etc/mail/Makefile 1.308 +5 -39 src/etc/rc 1.16 +3 -1 src/etc/sendmail/Makefile 1.1 +193 -0 src/etc/sendmail/rc.sendmail (new) 1.160 +13 -105 src/share/man/man5/rc.conf.5 1.26 +4 -0 src/share/man/man8/Makefile 1.1 +241 -0 src/share/man/man8/rc.sendmail.8 (new) Revision Changes Path 1.53.2.52 +19 -10 src/etc/defaults/rc.conf 1.9.2.17 +38 -70 src/etc/mail/Makefile 1.212.2.47 +5 -39 src/etc/rc 1.3.2.12 +3 -1 src/etc/sendmail/Makefile 1.1.2.1 +193 -0 src/etc/sendmail/rc.sendmail (new) 1.64.2.48 +13 -104 src/share/man/man5/rc.conf.5 1.13.2.10 +4 -0 src/share/man/man8/Makefile 1.1.2.1 +241 -0 src/share/man/man8/rc.sendmail.8 (new) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message