Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jun 2000 00:54:41 +0200 (CEST)
From:      rguyom@321.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19185: mail/postfix: manual pages contains !!PREFIX!! instead of the real value
Message-ID:  <20000610225441.314EF2EA@diabolic-cow.321.net>

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

>Number:         19185
>Category:       ports
>Synopsis:       mail/postfix: manual pages contains !!PREFIX!! instead of the real value
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 10 16:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rémi Guyomarch
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
disorganized
>Environment:

	4.0-STABLE built June 5

>Description:

	The FILES section of some postfix man pages contain literrally
        "!!PREFIX!!" instead of the real value (ie /usr/local most of the
        time).

>How-To-Repeat:

	Build and install the port.
	Do "man newaliases" and look and the FILES section.

>Fix:

In the "configure" script, sed and soelim aren't piped in the right order.
"!!PREFIX!!" isn't replaced by the real value because there is just ".so
man1/sendmail.1" in mailq.1 and newaliases.1 before "soelim".

--- /usr/ports/mail/postfix/scripts/configure   Mon Aug 30 14:06:27 1999
+++ scripts/configure   Sat Jun 10 22:02:48 2000
@@ -12,15 +12,15 @@

 for f in ${MAN1} ; do
        mv man1/$f man1/$f.bak && \
-               sed s+!!PREFIX!!+$PREFIX+g <man1/$f.bak | soelim >man1/$f
+               soelim < man1/$f.bak | sed s+!!PREFIX!!+$PREFIX+g > man1/$f
 done

 for f in ${MAN5} ; do
        mv man5/$f man5/$f.bak && \
-               sed s+!!PREFIX!!+$PREFIX+g <man5/$f.bak | soelim >man5/$f
+               soelim < man5/$f.bak | sed s+!!PREFIX!!+$PREFIX+g > man5/$f
 done

 for f in ${MAN8} ; do
        mv man8/$f man8/$f.bak && \
-               sed s+!!PREFIX!!+$PREFIX+g <man8/$f.bak | soelim >man8/$f
+               soelim < man8/$f.bak | sed s+!!PREFIX!!+$PREFIX+g > man8/$f
 done
 

>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?20000610225441.314EF2EA>