From spidey@anarcat.dyndns.org  Wed Feb 16 12:55:40 2000
Return-Path: <spidey@anarcat.dyndns.org>
Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24])
	by hub.freebsd.org (Postfix) with ESMTP id 04B9037B54B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Feb 2000 12:55:40 -0800 (PST)
	(envelope-from spidey@anarcat.dyndns.org)
Received: from anarcat.dyndns.org (phobos.IRO.UMontreal.CA [132.204.20.20])
	by builder.freebsd.org (Postfix) with ESMTP id BEB7D132E8
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Feb 2000 12:54:51 -0800 (PST)
Received: by anarcat.dyndns.org (Postfix, from userid 1000)
	id CE9F01AD0; Wed, 16 Feb 2000 14:29:41 -0500 (EST)
Message-Id: <20000216192941.CE9F01AD0@anarcat.dyndns.org>
Date: Wed, 16 Feb 2000 14:29:41 -0500 (EST)
From: anarcat@anarcat.dyndns.org
Sender: spidey@anarcat.dyndns.org
Reply-To: beaupran@iro.umontreal.ca
To: FreeBSD-gnats-submit@freebsd.org
Subject: Correction for the latest Postfix doc patch
X-Send-Pr-Version: 3.2

>Number:         16756
>Category:       ports
>Synopsis:       Correction for the latest Postfix doc patch
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    torstenb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 16 15:30:05 PST 2000
>Closed-Date:    Sun Apr 2 18:30:29 PDT 2000
>Last-Modified:  Sun Apr  2 18:30:51 PDT 2000
>Originator:     Anarcat
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

	Recent ports collection.

>Description:

        The latest patch for the Makefile of the mail/postfix package
is broken. Here's the correction.

>How-To-Repeat:

Apply the patches from the latest PR, and:

$ cd ${PORTSDIR}/mail/postfix && make install
===>  Installing for postfix-19991231.03
install -C -d -m 555 -o root -f wheel /usr/local/share/doc/postfix
install: wheel: invalid flag
*** Error code 64

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
$

>Fix:

$ make reinstall
===>  Installing for postfix-19991231.03
Installed documentation in /usr/local/share/doc/postfix
--------------------------------------------------
- To replace your existing sendmail with postfix -
- type "make replace"                          -
--------------------------------------------------
===>   Generating temporary packing list
[...]
$

This patch replaces the one in the other PR:

--- Makefile.orig       Wed Feb 16 00:49:21 2000
+++ Makefile    Wed Feb 16 14:25:23 2000
@@ -49,6 +49,8 @@
 
 SHAREMODE=     0644
 
+PDOC=   ${PREFIX}/share/doc/postfix
+
 do-install:
        @${MKDIR} -m 755 ${PREFIX}/etc/postfix
        @${CHOWN} root:wheel ${PREFIX}/etc/postfix
@@ -93,6 +95,12 @@
                ${INSTALL} -C -o root -g wheel -m 0755 ${WRKSRC}/man/man8/$$f \
                        ${PREFIX}/man/man8/$$f ;\
        done
+       @${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${PDOC}
+       @cd ${WRKSRC} && ${INSTALL_DATA} \
+        html/*.html html/*.gif ${PDOC} && \
+        echo "Installed html documentation in ${PDOC}"
        @${MKDIR} -m 0755 /var/spool/postfix
        @if [ ! -e ${PREFIX}/etc/postfix/main.cf ]; then \
                ${CP} -p ${PREFIX}/etc/postfix/sample-main.cf \

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->torstenb  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Wed Feb 16 16:08:07 PST 2000 
Responsible-Changed-Why:  
Over to maintainer 
State-Changed-From-To: open->closed 
State-Changed-By: vanilla 
State-Changed-When: Sun Apr 2 18:30:29 PDT 2000 
State-Changed-Why:  
Fix by PR 17749. thanks. 
>Unformatted:
