From nobody@FreeBSD.org  Wed Mar 15 07:36:17 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id E8F8E37B697
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Mar 2000 07:36:16 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id HAA41576;
	Wed, 15 Mar 2000 07:36:16 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200003151536.HAA41576@freefall.freebsd.org>
Date: Wed, 15 Mar 2000 07:36:16 -0800 (PST)
From: godsey@shaw.fidalgo.net
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: mailwrapper is installed regardless of NO_SENDMAIL definition
X-Send-Pr-Version: www-1.0

>Number:         17394
>Category:       misc
>Synopsis:       mailwrapper is installed regardless of NO_SENDMAIL definition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 15 07:40:00 PST 2000
>Closed-Date:    Fri Mar 31 01:25:19 PST 2000
>Last-Modified:  Fri Mar 31 01:27:50 PST 2000
>Originator:     Jason Godsey
>Release:        4.0-STABLE
>Organization:
Fidalgo Networking
>Environment:
FreeBSD shaw.fidalgo.net 4.0-STABLE FreeBSD 4.0-STABLE #5: Wed Mar 15 05:05:25 PST 2000     root@shaw.fidalgo.net:/usr/src/sys/compile/SHAW  i386

>Description:
mailwrapper should not be installed if NO_SENDMAIL is defined.
>How-To-Repeat:

>Fix:
diff -c sendmail/Makefile sendmail.fixed/Makefile
*** sendmail/Makefile   Wed Mar 15 07:33:26 2000
--- sendmail.fixed/Makefile     Wed Mar 15 07:33:45 2000
***************
*** 42,48 ****
        kernbb \
        keyserv \
        lpr \
-       mailwrapper \
        manctl \
        memcontrol \
        mergemaster \
--- 42,47 ----
***************
*** 133,138 ****
--- 132,138 ----
  SUBDIR+=mailstats \
        makemap \
        praliases \
+       mailwrapper \
        sendmail
  .endif



>Release-Note:
>Audit-Trail:

From: Neil Blakey-Milner <nbm@mithrandr.moria.org>
To: godsey@shaw.fidalgo.net
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/17394: mailwrapper is installed regardless of NO_SENDMAIL definition
Date: Wed, 15 Mar 2000 18:05:21 +0200

 On Wed 2000-03-15 (07:36), godsey@shaw.fidalgo.net wrote:
 > >Description:
 > mailwrapper should not be installed if NO_SENDMAIL is defined.
 
 This isn't intuitive, since mailwrapper isn't part of sendmail.
 
 You could ask for NO_MAILWRAPPER, if you must, or simply use
 mailwrapper the way it is supposed to be used.
 
 Neil
 -- 
 Neil Blakey-Milner
 nbm@rucus.ru.ac.za
 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Wed Mar 15 08:35:42 PST 2000 
State-Changed-Why:  
Mailwrapper is not part of the sendmail distribution.  I'm communicating 
with the originator to find out what the problem with mailwrapper is. 

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: Jason Godsey <godsey@shaw.fidalgo.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/17394: mailwrapper is installed regardless of NO_SENDMAIL definition (fwd) 
Date: Wed, 15 Mar 2000 19:30:31 +0200

 On Wed, 15 Mar 2000 09:30:40 PST, Jason Godsey wrote:
 
 > Sendmail out of box uses /usr/sbin/sendmail as it's install path.  I
 > tried in passing this morning to change the EBINDIR in FreeBSD defines
 > w/ no sucess.
 
 Oookay.  So you're unhappy that mailwrapper makes it difficult for you
 to use a development version of sendmail.  That sounds like
 justification enough for the NO_MAILWRAPPER knob that nbm suggested.
 
 Ciao,
 Sheldon.
 

From: Jason Godsey <godsey@shaw.fidalgo.net>
To: Sheldon Hearn <sheldonh@uunet.co.za>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: misc/17394: mailwrapper is installed regardless of NO_SENDMAIL
 definition (fwd) 
Date: Wed, 15 Mar 2000 12:21:28 -0800 (PST)

 Yes, it just makes it a bit more difficult to install sendmail from
 sendmail inc.  I'm using -STABLE and have not seen any mention of it
 migrating to 8.10.0.  If it's not too hard to get sendmail to build using
 /usr/libexec/sendmail as it's binary dest dir, I would be happy to do
 it.  I poked around the mailing lists and didn't see any pointers on how
 to do it.  Like I said, I tried setting confEBINDIR w/ no luck on it
 working as I had hoped.  If you know an easy way to do it, it would be
 helpful to make a note of it in the mailwrapper(8) man page.  I looked and
 it seems quite easy to do w/ postfix and exim.
 
 Thank you so much for you help w/ this and FreeBSD in general!  The entire
 team is a wonderful resource to the world :)
 
 --
 Jason Godsey                     mailto:godsey@fidalgo.net
 
 
 On Wed, 15 Mar 2000, Sheldon Hearn wrote:
 
 > Date: Wed, 15 Mar 2000 19:30:31 +0200
 > From: Sheldon Hearn <sheldonh@uunet.co.za>
 > To: Jason Godsey <godsey@shaw.fidalgo.net>
 > Cc: freebsd-gnats-submit@freebsd.org
 > Subject: Re: misc/17394: mailwrapper is installed regardless of
 >     NO_SENDMAIL definition (fwd) 
 > 
 > 
 > 
 > On Wed, 15 Mar 2000 09:30:40 PST, Jason Godsey wrote:
 > 
 > > Sendmail out of box uses /usr/sbin/sendmail as it's install path.  I
 > > tried in passing this morning to change the EBINDIR in FreeBSD defines
 > > w/ no sucess.
 > 
 > Oookay.  So you're unhappy that mailwrapper makes it difficult for you
 > to use a development version of sendmail.  That sounds like
 > justification enough for the NO_MAILWRAPPER knob that nbm suggested.
 > 
 > Ciao,
 > Sheldon.
 > 
 
 
State-Changed-From-To: closed->open 
State-Changed-By: sheldonh 
State-Changed-When: Wed Mar 15 13:03:53 PST 2000 
State-Changed-Why:  
It's a fair request for folks wanting to test sendmail beta's in the base 
system without having to muck around with their bmake glue too much. 


Responsible-Changed-From-To: freebsd-bugs->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Mar 15 13:03:53 PST 2000 
Responsible-Changed-Why:  
I'll add a NO_MAILWRAPPER soon unless I get something other than 
"I don't like that". 

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: godsey@shaw.fidalgo.net
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/17394: mailwrapper is installed regardless of NO_SENDMAIL definition 
Date: Thu, 16 Mar 2000 13:12:26 +0200

 On Wed, 15 Mar 2000 13:07:37 PST, sheldonh@FreeBSD.org wrote:
 
 > I'll add a NO_MAILWRAPPER soon unless I get something other than
 > "I don't like that".
 
 Please let me know how this works for you.
 
 Obviously, you'll want to add ``NO_MAILWRAPPER=YES'' to /etc/make.conf
 before the ``make world'' that you use to test this out.
 
 Ciao,
 Sheldon.
 
 Index: etc/defaults/make.conf
 ===================================================================
 RCS file: /home/ncvs/src/etc/defaults/make.conf,v
 retrieving revision 1.97
 diff -u -d -r1.97 make.conf
 --- etc/defaults/make.conf	2000/03/05 10:53:24	1.97
 +++ etc/defaults/make.conf	2000/03/16 11:10:02
 @@ -32,6 +32,7 @@
  # To avoid building various parts of the base system:
  #NO_CVS=	true	# do not build CVS
  #NO_FORTRAN=	true	# do not build g77 and related libraries
 +#NO_MAILWRAPPER=true	# do not build the mailwrapper MTA selector
  #NO_OBJC=	true	# do not build Objective C support
  #NO_OPENSSH=	true	# do not build OpenSSH
  #NO_OPENSSL=	true	# do not build OpenSSL (implies NO_OPENSSH)
 Index: usr.sbin/Makefile
 ===================================================================
 RCS file: /home/ncvs/src/usr.sbin/Makefile,v
 retrieving revision 1.183
 diff -u -d -r1.183 Makefile
 --- usr.sbin/Makefile	2000/01/28 05:10:10	1.183
 +++ usr.sbin/Makefile	2000/03/16 11:07:14
 @@ -42,7 +42,6 @@
  	kernbb \
  	keyserv \
  	lpr \
 -	mailwrapper \
  	manctl \
  	memcontrol \
  	mergemaster \
 @@ -127,6 +126,10 @@
  	ndc \
  	nslookup \
  	nsupdate
 +.endif
 +
 +.if !defined(NO_MAILWRAPPER)
 +SUBDIR+=mailwrapper
  .endif
  
  .if !defined(NO_SENDMAIL)
 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Fri Mar 31 01:25:19 PST 2000 
State-Changed-Why:  
The mailwrapper(8) utility is now built and installed only in the  
absence of NO_MAILWRAPPER (rev 1.184 of src/usr.sbin/Makefile). 

This change has been merged onto the RELENG_4 branch in rev 1.183.2.1 
>Unformatted:
