Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 11:02:53 GMT
From:      Gordon Shumway <freeserif@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179046: fixing graphics/pngcrush
Message-ID:  <201305281102.r4SB2rl7080555@oldred.FreeBSD.org>
Resent-Message-ID: <201305281110.r4SBA043014864@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179046
>Category:       ports
>Synopsis:       fixing graphics/pngcrush
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 28 11:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gordon Shumway
>Release:        9.1-RELEASE-p3
>Organization:
>Environment:
localhost.localdomain 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #11 r250120: Wed May  1 00:17:23 CEST 2013     root@localhost.localdomain:/usr/obj/usr/src/sys/DTRACE  amd64
>Description:
graphics/pngcrush is marked as BROKEN=Does not fetch
>How-To-Repeat:
cd /usr/ports/graphics/pngcrush && sudo make fetch
>Fix:
apply the attached patch to graphics/pngcrush -- fixes this problem class for good by adding MASTER_SITE locations for not-so-current pngcrush releases plus updates port to the current (as of this writing) version.

Patch attached with submission follows:

Index: graphics/pngcrush/Makefile
===================================================================
--- graphics/pngcrush/Makefile	(revision 319301)
+++ graphics/pngcrush/Makefile	(working copy)
@@ -2,9 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	pngcrush
-PORTVERSION=	1.7.51
+PORTVERSION=	1.7.58
 CATEGORIES=	graphics
-MASTER_SITES=	SF/pmt/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	SF/pmt/${PORTNAME}/${PORTVERSION} \
+		SF/pmt/${PORTNAME}/old-versions/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/${PORTVERSION}
 DISTNAME=	${PORTNAME}-${PORTVERSION}-nolib
 
 MAINTAINER=	jsa@FreeBSD.org
@@ -12,8 +13,6 @@
 
 LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
 
-BROKEN=		Does not fetch
-
 USE_XZ=		yes
 USE_GMAKE=	yes
 CFLAGS+=	-DPNGCRUSH_COUNT_COLORS -I${LOCALBASE}/include
Index: graphics/pngcrush/distinfo
===================================================================
--- graphics/pngcrush/distinfo	(revision 319301)
+++ graphics/pngcrush/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (pngcrush-1.7.51-nolib.tar.xz) = 78df26dd2c6fdb09e55078d173350bef62abb2ba51ccfe352f4be6f6b8cf7762
-SIZE (pngcrush-1.7.51-nolib.tar.xz) = 53912
+SHA256 (pngcrush-1.7.58-nolib.tar.xz) = f3cfdd410ff8508661d974a4561abc220554b20a6a0766b1d3abd7beec479d8a
+SIZE (pngcrush-1.7.58-nolib.tar.xz) = 56336


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305281102.r4SB2rl7080555>