From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 8 03:40:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F01DDE15 for ; Wed, 8 May 2013 03:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E1EF11BF for ; Wed, 8 May 2013 03:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r483e1jN023095 for ; Wed, 8 May 2013 03:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r483e1vp023093; Wed, 8 May 2013 03:40:01 GMT (envelope-from gnats) Date: Wed, 8 May 2013 03:40:01 GMT Message-Id: <201305080340.r483e1vp023093@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Darren Pilgrim Subject: Re: ports/178400: [patch] mail/postgrey shebangfix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Darren Pilgrim List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 03:40:02 -0000 The following reply was made to PR ports/178400; it has been noted by GNATS. From: Darren Pilgrim To: bug-followup@FreeBSD.org, lifanov@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 -# +# Created by: Will Andrews # $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--