From khera@kciLink.com  Thu Jan 10 10:20:35 2002
Return-Path: <khera@kciLink.com>
Received: from kci.kciLink.com (kci.kcilink.com [206.112.95.6])
	by hub.freebsd.org (Postfix) with ESMTP
	id 76F6337B416; Thu, 10 Jan 2002 10:20:33 -0800 (PST)
Received: from onceler.kciLink.com (onceler.kcilink.com [216.194.193.106])
	by kci.kciLink.com (Postfix) with ESMTP
	id 9ABF5144; Thu, 10 Jan 2002 13:20:30 -0500 (EST)
Received: (from khera@localhost)
	by onceler.kciLink.com (8.11.6/8.11.6) id g0AIKT475511;
	Thu, 10 Jan 2002 13:20:29 -0500 (EST)
	(envelope-from khera)
Message-Id: <200201101820.g0AIKT475511@onceler.kciLink.com>
Date: Thu, 10 Jan 2002 13:20:29 -0500 (EST)
From: Vivek Khera <khera@kciLink.com>
Reply-To: Vivek Khera <khera@kciLink.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dwcjr@FreeBSD.org
Subject: postfix-current fails to install
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33768
>Category:       ports
>Synopsis:       postfix-current fails to install
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    dwcjr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 10 10:30:00 PST 2002
>Closed-Date:    Wed Jan 30 12:57:56 PST 2002
>Last-Modified:  Wed Jan 30 12:58:03 PST 2002
>Originator:     Vivek Khera
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD onceler.kciLink.com 4.4-STABLE FreeBSD 4.4-STABLE #4: Tue Dec 11 10:12:07 EST 2001 khera@onceler.kciLink.com:/amd/yertle/u/yertle2/usr.obj/amd/onceler/u/onceler1/usr/src/sys/ONCELER i386


	
ports updated today via cvsup.  existing postfix package removed
via pkg_delete.

>Description:
	
postfix-current fails to install thusly:

===>  Installing for postfix-20020107
===>   postfix-20020107 depends on shared library: db3.2 - found
postfix:*:126:
You already have a group "postfix", so I will use it.
maildrop:*:125:
You already have a group "maildrop", so I will use it.
postfix:*:73:126::0:0:Postfix Mailer System Account:/var/spool/postfix:/sbin/nologin
You already have a user "postfix", so I will use it.
Installed HTML documentation in /usr/local/share/doc/postfix
Installed text documentation in /usr/local/share/doc/postfix
Installed readme in /usr/local/share/doc/postfix
--------------------------------------------------
- To replace your existing sendmail with postfix -
- type "make replace"                            -
--------------------------------------------------
******You may need to update your master.cf*******
**************due to recent changes***************
===>   Generating temporary packing list
/usr/local/etc/postfix/postfix-script: /usr/sbin/postsuper: not found
*** Error code 1

Stop in /amd/onceler/u/onceler1/usr/ports/mail/postfix-current.
*** Error code 1


>How-To-Repeat:
	
make install

>Fix:

	
hack workaround:

make install
pushd /usr/sbin; ln -s /usr/local/sbin/postsuper; popd
make install
rm /usr/sbin/postsuper

In /usr/local/etc/postfix/main.cf, program_directory is defined as
/usr/local/bin, and command_directory is its default, which should be
$program_directory.  Apparently it is not any more...
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->dwcjr 
Responsible-Changed-By: pat 
Responsible-Changed-When: Thu Jan 10 17:21:54 PST 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33768 

From: "David W. Chapman Jr." <dwcjr@inethouston.net>
To: <FreeBSD-gnats-submit@freebsd.org>,
	"Vivek Khera" <khera@kcilink.com>
Cc:  
Subject: Re: ports/33768: postfix-current fails to install
Date: Thu, 10 Jan 2002 21:43:17 -0600

 I think the proper hack for this would be to make postfix default
 command_directory to /usr/local/sbin (yes /usr/local/sbin not
 /usr/local/bin), since we are not supposed to touch anything below
 /usr/local in ports
 
 I've had to hack postfix-current to default its maildrop user to maildrop
 instead of postdrop...will the patches ever stop growing!!!
 
 I'll look at this when I get some time.
 
 
State-Changed-From-To: open->closed 
State-Changed-By: dwcjr 
State-Changed-When: Wed Jan 30 12:57:56 PST 2002 
State-Changed-Why:  
Committed, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33768 
>Unformatted:
