ports/149500: Update port: textproc/diffstat

Frederic Culot frederic at culot.org
Tue Aug 10 14:00:17 UTC 2010


>Number:         149500
>Category:       ports
>Synopsis:       Update port: textproc/diffstat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 14:00:16 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Frederic Culot
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD 0xd0.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Update to 1.53:
- post-patch target updated (to make use of 'xz' instead of 'lzcat', see PR148604)
>How-To-Repeat:
>Fix:
diff -ruN diffstat.bak/Makefile diffstat/Makefile
--- diffstat.bak/Makefile	2010-08-10 14:25:53.776398116 +0200
+++ diffstat/Makefile	2010-08-10 15:36:37.450565084 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	diffstat
-PORTVERSION=	1.51
-PORTREVISION=	1
+PORTVERSION=	1.53
 CATEGORIES=	textproc devel
 MASTER_SITES=	ftp://dickey.his.com/diffstat/
 EXTRACT_SUFX=	.tgz
@@ -22,7 +21,8 @@
 PLIST_FILES=	bin/diffstat
 
 post-patch:	.SILENT
-	${REINPLACE_CMD} 's/lzcat/xz/' ${WRKSRC}/configure
+	${REINPLACE_CMD} 's/=lzcat/=xz/' ${WRKSRC}/configure
+	${REINPLACE_CMD} 's/lzcat//' ${WRKSRC}/configure
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${PREFIX}/bin
diff -ruN diffstat.bak/distinfo diffstat/distinfo
--- diffstat.bak/distinfo	2010-08-10 14:25:53.776398116 +0200
+++ diffstat/distinfo	2010-08-10 14:29:29.978285228 +0200
@@ -1,3 +1,3 @@
-MD5 (diffstat-1.51.tgz) = a7d3fd1ba2a9a6c9e2b32e867b5e8792
-SHA256 (diffstat-1.51.tgz) = c0c83c6eea054cbf0a3a9c0621ae3bef1a9a33914d417f08569159c975644075
-SIZE (diffstat-1.51.tgz) = 209813
+MD5 (diffstat-1.53.tgz) = 0631010aa598a8011259749dd882936a
+SHA256 (diffstat-1.53.tgz) = 8110414819b0cac34afb2a0afd244636572db1cefec5e970e7fa4ca5b71e3f75
+SIZE (diffstat-1.53.tgz) = 215069
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list