Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 14:29:41 -0500 (EST)
From:      anarcat@anarcat.dyndns.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16756: Correction for the latest Postfix doc patch
Message-ID:  <20000216192941.CE9F01AD0@anarcat.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         16756
>Category:       ports
>Synopsis:       Correction for the latest Postfix doc patch
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 16 15:30:05 PST 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000216192941.CE9F01AD0>