From blaz@amis.net  Wed Dec 20 09:02:29 2000
Return-Path: <blaz@amis.net>
Received: from titanic.medinet.si (titanic.medinet.si [212.18.32.66])
	by hub.freebsd.org (Postfix) with ESMTP id 06D3537B400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Dec 2000 09:02:29 -0800 (PST)
Received: by titanic.medinet.si (Postfix, from userid 1000)
	id 375ED26C06; Wed, 20 Dec 2000 18:02:27 +0100 (CET)
Message-Id: <20001220170227.375ED26C06@titanic.medinet.si>
Date: Wed, 20 Dec 2000 18:02:27 +0100 (CET)
From: blaz@amis.net
Reply-To: blaz@medinet.si
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] postfix port upgrade <Synopsis of the problem (one line)>
X-Send-Pr-Version: 3.2

>Number:         23696
>Category:       ports
>Synopsis:       [PATCH] postfix port upgrade
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 20 09:10:01 PST 2000
>Closed-Date:    Fri Dec 22 16:57:05 PST 2000
>Last-Modified:  Fri Dec 22 16:57:51 PST 2000
>Originator:     Blaz Zupan
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
>Environment:

	

>Description:

Upgrade postfix port to 19991231-pl13.
Don't use "grep -r" which doesn't exist on FreeBSD 3.x.
Create /var/spool/postfix when being installed as a package.

	

>How-To-Repeat:

	

>Fix:

	

diff -urN postfix.old/Makefile postfix/Makefile
--- postfix.old/Makefile	Wed Nov 15 06:19:34 2000
+++ postfix/Makefile	Wed Dec 20 17:30:19 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	postfix
-PORTVERSION= 	19991231.10
+PORTVERSION= 	19991231.13
 CATEGORIES=	mail
 MASTER_SITES=	ftp://ftp.merit.edu/postfix/official/ \
 		ftp://ftp.tux.org/pub/net/postfix/official/ \
@@ -16,7 +16,7 @@
 		ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/ \
 		ftp://ftp.mira.net/pub/unix/mail/postfix/official/ \
 		ftp://coda.nctu.edu.tw/network/mail/postfix/official/
-DISTNAME=	${PORTNAME}-19991231-pl10
+DISTNAME=	${PORTNAME}-19991231-pl13
 
 MAINTAINER=	blaz@amis.net
 
diff -urN postfix.old/distinfo postfix/distinfo
--- postfix.old/distinfo	Wed Nov 15 06:19:34 2000
+++ postfix/distinfo	Wed Dec 20 17:31:54 2000
@@ -1 +1 @@
-MD5 (postfix-19991231-pl10.tar.gz) = 0ff9c13e83ea5123852603904d4f1978
+MD5 (postfix-19991231-pl13.tar.gz) = f119438aae0aa1346953ae326864da9e
diff -urN postfix.old/pkg-install postfix/pkg-install
--- postfix.old/pkg-install	Wed Nov 15 06:19:34 2000
+++ postfix/pkg-install	Wed Dec 20 17:37:15 2000
@@ -87,5 +87,6 @@
     fi
     /usr/sbin/chown root:maildrop ${PKG_PREFIX}/sbin/postdrop
     /bin/chmod 2555 ${PKG_PREFIX}/sbin/postdrop
+    /bin/mkdir -p /var/spool/postfix
     ${PKG_PREFIX}/sbin/postfix check
 fi
diff -urN postfix.old/scripts/configure postfix/scripts/configure
--- postfix.old/scripts/configure	Wed Nov 15 06:19:38 2000
+++ postfix/scripts/configure	Wed Dec 20 17:31:18 2000
@@ -19,7 +19,7 @@
 		soelim man8/$f.bak | sed s+!!PREFIX!!+$PREFIX+g >man8/$f
 done
 
-for f in `grep -r "\!\!PREFIX\!\!" ${WRKSRC} | cut -f 1 -d ':' | uniq` ; do \
+for f in `find ${WRKSRC} | xargs grep -l '\!\!PREFIX\!\!' ` ; do \
 	mv $f $f.orig && sed s+!!PREFIX!!+$PREFIX+g < $f.orig > $f && \
 		rm $f.orig
 done

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-ports 
Responsible-Changed-By: jedgar 
Responsible-Changed-When: Thu Dec 21 06:59:14 PST 2000 
Responsible-Changed-Why:  
Misfiled PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23696 
State-Changed-From-To: open->closed  
State-Changed-By: dannyboy 
State-Changed-When: Fri Dec 22 16:57:05 PST 2000 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23696 
>Unformatted:
