From ls@gambit.com.ru  Mon Mar 31 03:57:42 2003
Return-Path: <ls@gambit.com.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DB46637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Mar 2003 03:57:42 -0800 (PST)
Received: from [127.0.0.1] (hedgehog.stoys.ru [195.128.73.139])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ED91243F85
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Mar 2003 03:57:40 -0800 (PST)
	(envelope-from ls@gambit.com.ru)
Received: by amber.intranet (Postfix, from userid 441)
	id D832419318; Mon, 31 Mar 2003 15:52:08 +0400 (MSD)
Message-Id: <20030331115208.D832419318@amber.intranet>
Date: Mon, 31 Mar 2003 15:52:08 +0400 (MSD)
From: Sergii Laskavyi <ls+FreeBSD-gnats-submit.freebsd.org@gambit.com.ru>
To: FreeBSD-gnats-submit@freebsd.org
Subject: RELENG_4: src/etc/Makefile does not check for NO_SENDMAIL variable
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         50477
>Category:       conf
>Synopsis:       RELENG_4: src/etc/Makefile does not check for NO_SENDMAIL variable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gshapiro
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 04:00:26 PST 2003
>Closed-Date:    Sat Jul 12 16:36:42 PDT 2003
>Last-Modified:  Sat Jul 12 16:36:42 PDT 2003
>Originator:     Sergii Laskavyi
>Release:        FreeBSD 4.8-RC i386
>Organization:
RELENG_4 users
>Environment:
System: FreeBSD 4.8-RC Sat Mar 29 19:39:23 MSK 2003 (OM-MANI-PADME-HUM) i386
$FreeBSD: src/etc/mail/Makefile,v 1.9.2.23 2003/02/12 03:57:52 gshapiro Exp $
>Description:
Sendmail-only files are installed by src/etc/mail/Makefile
even when NO_SENDMAIL make variable is defined:

	Makefile	      access.sample	    virtusertable.sample
	README		      mailertable.sample

>How-To-Repeat:
	ROOT=/tmp/root
	mkdir "$ROOT" &&
	cd /usr/src/etc &&
	make -D NO_SENDMAIL DESTDIR="$ROOT" distrib-dirs distribution
	ls $ROOT/etc/mail/
Makefile		aliases 		virtusertable.sample
README			mailer.conf
access.sample		mailertable.sample
>Fix:
In src/etc/mail/Makefile check if NO_SENDMAIL make variable is defined.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->gshapiro 
Responsible-Changed-By: ru 
Responsible-Changed-When: Mon Mar 31 06:37:09 PST 2003 
Responsible-Changed-Why:  
Over to a maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50477 

From: Makoto Matsushita <matusita@jp.FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/50477: RELENG_4: src/etc/Makefile does not check for
 NO_SENDMAIL variable
Date: Tue, 01 Apr 2003 13:42:36 +0900

 >Synopsis:       RELENG_4: src/etc/Makefile does not check for NO_SENDMAIL variable
 
 Apprantly there's a NO_SENDMAIL check in that file:
 
 % grep NO_SENDMAIL /usr/src/etc/Makefile | wc
        4       8     104
 %
 
 And it seems working as it should be.  Would you please check that
 your src/etc/Makefile is up-to-date?
 
 -- -
 Makoto `MAR' Matsushita
State-Changed-From-To: open->patched 
State-Changed-By: gshapiro 
State-Changed-When: Sun Jul 6 12:18:58 PDT 2003 
State-Changed-Why:  
A fix has been committed to the HEAD.  The PR will be closed when it is 
MFC'ed to RELENG_4. 

After the patch, the only two files installed in the NO_SENDMAIL case 
are /etc/mail/aliases (which I believe other MTAs may use) and 
/etc/mail/mailer.conf (which isn't sendmail, it belongs to mailwrapper). 


http://www.freebsd.org/cgi/query-pr.cgi?pr=50477 
State-Changed-From-To: patched->closed 
State-Changed-By: gshapiro 
State-Changed-When: Sat Jul 12 16:36:33 PDT 2003 
State-Changed-Why:  
The change has been MFC'ed to RELENG_4. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50477 
>Unformatted:
