From nobody@FreeBSD.org  Mon Oct 25 17:19:22 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EAC161065670
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 25 Oct 2010 17:19:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D98E48FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 25 Oct 2010 17:19:22 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9PHJMgw057734
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 25 Oct 2010 17:19:22 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o9PHJMaW057733;
	Mon, 25 Oct 2010 17:19:22 GMT
	(envelope-from nobody)
Message-Id: <201010251719.o9PHJMaW057733@www.freebsd.org>
Date: Mon, 25 Oct 2010 17:19:22 GMT
From: Josh Paetzel <jpaetzel@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] add rsyncable option to archivers/gzip
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         151721
>Category:       ports
>Synopsis:       [PATCH] add rsyncable option to archivers/gzip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gabor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 25 17:20:08 UTC 2010
>Closed-Date:    Sat Nov 06 18:32:57 UTC 2010
>Last-Modified:  Sat Nov 06 18:32:57 UTC 2010
>Originator:     Josh Paetzel
>Release:        
>Organization:
>Environment:
FreeBSD cvsup.tcbug.org 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #4: Mon Sep 20 17:49:53 CDT 2010     jpaetzel@cvsup.tcbug.org:/usr/obj/usr/src/sys/EIGHTY  amd64
>Description:
Add the --rsyncable option to gzip, which lowers the compression ratio slightly while producing output that is rsync friendlier.
>How-To-Repeat:
N/A
>Fix:
# fetch -o files/extra-patch-gzip-rsyncable.diff "https://trac.macports.org/raw-attachment/ticket/16446/patch-gzip-rsyncable.diff"

And apply the attached patch to the Makefile

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/archivers/gzip/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile	5 Feb 2010 21:55:09 -0000	1.23
+++ Makefile	25 Oct 2010 17:16:11 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	gzip
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	archivers
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -23,6 +24,14 @@
 DOC_FILES=	AUTHORS COPYING ChangeLog ChangeLog-2007 INSTALL NEWS README \
 		THANKS TODO
 
+OPTIONS=	RSYNCABLE	"Include --rsyncable patch"	OFF
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_RSYNCABLE)
+EXTRA_PATCHES=	${FILESDIR}/extra-patch-gzip-rsyncable.diff
+.endif
+
 post-configure:
 	@${REINPLACE_CMD} -e 's|^SHELL =.*|SHELL=/bin/sh|' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's|need_charset_alias=true|need_charset_alias=false|g' \
@@ -36,4 +45,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gabor 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Oct 25 17:20:14 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151721 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/151721: commit references a PR
Date: Sat,  6 Nov 2010 17:53:54 +0000 (UTC)

 gabor       2010-11-06 17:53:48 UTC
 
   FreeBSD ports repository
 
   Modified files:
     archivers/gzip       Makefile pkg-plist 
   Added files:
     archivers/gzip/files extra-patch-gzip-rsyncable.diff 
   Log:
   - Add support for --rsyncable option
   - Bump PORTREVISION
   - Pet portlint(1)
   
   PR:             ports/151721
   Submitted by:   jpaetzel
   
   Revision  Changes    Path
   1.24      +10 -1     ports/archivers/gzip/Makefile
   1.1       +279 -0    ports/archivers/gzip/files/extra-patch-gzip-rsyncable.diff (new)
   1.7       +1 -2      ports/archivers/gzip/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: gabor 
State-Changed-When: Sat Nov 6 18:32:41 UTC 2010 
State-Changed-Why:  
Committed, thanks! 

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