Subject: pkg/7862: postfix pkg doesn't follow LOCALBASE
To: None <gnats-bugs@gnats.netbsd.org>
From: Damon <damon@nomad.worldmap.net>
List: netbsd-bugs
Date: 06/26/1999 21:05:41
>Number:         7862
>Category:       pkg
>Synopsis:       postfix pkg doesn't follow LOCALBASE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 26 21:05:01 1999
>Last-Modified:
>Originator:     Damon
>Organization:
	
>Release:        NetBSD 1.4
>Environment:
i486, NetBSD 1.4
System: NetBSD nomad.worldmap.net 1.4 NetBSD 1.4 (NOMAD) #2: Mon Jun 7 11:00:51 EDT 1999 damon@winddance.net:/usr/src/sys/arch/i386/compile/NOMAD i386


>Description:
	postfix does not install certain files into proper location when a different LOCALBASE is specified in /etc/mk.conf.  Here is the output of the make install:

-------- OUTPUT HERE -------------------
===>  Installing for postfix-19990317p05
/bin/mkdir -p /etc/postfix /usr/local/share/postfix  /usr/local/share/doc/postfix /usr/local/libexec/postfix
chown root:wheel /usr/local/share/postfix /usr/local/libexec/postfix
chmod 755 /usr/local/share/postfix /usr/local/libexec/postfix
install ===> util
install ===> global
install ===> dns
install ===> master
install   -c -s -o root  -g wheel -m 555 master /usr/pkg/libexec/postfix/master
install: /usr/pkg/libexec/postfix/master: No such file or directory
*** Error code 1

Stop.
*** Error code 1

---------- END OF OUTPUT ---------------

>How-To-Repeat:
      rm -r /usr/pkg
      echo 'LOCALBASE=/usr/local' >> /etc/mk.conf
      cd /usr/pkgsrc/mail/postfix
      make install
>Fix:
>Audit-Trail:
>Unformatted: