ports/178400: [patch] mail/postgrey shebangfix
Darren Pilgrim
ports.maintainer at evilphi.com
Wed May 8 03:40:02 UTC 2013
The following reply was made to PR ports/178400; it has been noted by GNATS.
From: Darren Pilgrim <ports.maintainer at evilphi.com>
To: bug-followup at FreeBSD.org, lifanov at mail.lifanov.com
Cc:
Subject: Re: ports/178400: [patch] mail/postgrey shebangfix
Date: Tue, 07 May 2013 20:29:55 -0700
This is a multi-part message in MIME format.
--------------030002090101040401030602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Thanks for the diff! There were some minor issues with it:
- You shouldn't reset the CVS tag
- Don't need to bump to PORTREVISION
The first is documented. The second is a judgement call. The change is
a no-op for the vast majority of users, so I'm not going to bug them
with an upgrade cycle. Please confirm the attached patch works for you.
--------------030002090101040401030602
Content-Type: text/plain; charset=windows-1252;
name="postgrey_shebangfix.patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="postgrey_shebangfix.patch.txt"
--- Makefile.orig 2012-11-16 21:59:11.000000000 -0800
+++ Makefile 2013-05-07 20:16:28.177286116 -0700
@@ -1,9 +1,5 @@
-# New ports collection makefile for: postgrey
-# Date created: 24 August 2004
-# Whom: Will Andrews <will at FreeBSD.org>
-#
+# Created by: Will Andrews <will at FreeBSD.org>
# $FreeBSD: ports/mail/postgrey/Makefile,v 1.35 2012/11/17 05:59:11 svnexp Exp $
-#
PORTNAME= postgrey
PORTVERSION= 1.34
@@ -41,6 +37,9 @@
GROUPS= ${PGY_GROUPNAME}
MAN1= ${PORTNAME}.1 policy-test.1 postgreyreport.1
+USES= shebangfix
+SHEBANG_FILES= ${WRKSRC}/postgrey
+
post-patch:
@${REINPLACE_CMD} -e 's#/etc/main.cf#/etc/postfix/main.cf#' ${WRKSRC}/postgrey
@${REINPLACE_CMD} -e 's#/etc/postfix#${PREFIX}&#' ${WRKSRC}/postgrey ${WRKSRC}/postgrey_whitelist_*
--------------030002090101040401030602--
More information about the freebsd-ports-bugs
mailing list