Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 10:56:46 -0500
From:      "Bryan Drewery" <bryan@shatow.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        eadler@FreeBSD.org
Subject:   ports/169975: [PATCH] devel/ioncube: Use DIST_SUBDIR to fix upgrade distfile caching issues
Message-ID:  <20120718155704.0CE15106567A@hub.freebsd.org>
Resent-Message-ID: <201207181600.q6IG08i0061498@freefall.freebsd.org>

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

>Number:         169975
>Category:       ports
>Synopsis:       [PATCH] devel/ioncube: Use DIST_SUBDIR to fix upgrade distfile caching issues
>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:   Wed Jul 18 16:00:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Drewery
>Release:        FreeBSD 8.3-RELEASE i386
>Organization:
>Environment:

	
>Description:
	ports/163872 reported an issue where the old local distfile is reused even during upgrade.
>How-To-Repeat:
	
>Fix:

	Fix uses a versioned subdir. The upstream is already mirrored using a versioned directory, so nothing further is needed there.

--- patch-ioncube-distsubdir.txt begins here ---
diff -u /usr/ports/devel/ioncube.orig/Makefile ./Makefile
--- /usr/ports/devel/ioncube.orig/Makefile	2012-06-20 16:24:14.000000000 -0500
+++ ./Makefile	2012-07-18 10:54:02.000000000 -0500
@@ -22,6 +22,7 @@
 
 SUB_FILES=	pkg-message
 WRKSRC=		${WRKDIR}/${PORTNAME}
+DIST_SUBDIR=	${PORTNAME}/${DISTVERSION}
 
 .include <bsd.port.pre.mk>
 
diff -u /usr/ports/devel/ioncube.orig/distinfo ./distinfo
--- /usr/ports/devel/ioncube.orig/distinfo	2012-06-20 16:24:14.000000000 -0500
+++ ./distinfo	2012-07-18 10:35:58.000000000 -0500
@@ -1,8 +1,8 @@
-SHA256 (ioncube_loaders_fre_7_x86.tar.bz2) = 382435cbd74527857f0a15c94c5364cc7a2ede48ce92cabcbe045229795202f4
-SIZE (ioncube_loaders_fre_7_x86.tar.bz2) = 3330295
-SHA256 (ioncube_loaders_fre_7_x86-64.tar.bz2) = f54d5fe28c47d0b3d43f7fda2ad5cc800fe3aef6f852e9e0033f1400a1e4fc60
-SIZE (ioncube_loaders_fre_7_x86-64.tar.bz2) = 3441909
-SHA256 (ioncube_loaders_fre_8_x86.tar.bz2) = edcbdb01bedd94bae53a4c07515950fcaee3c3b241a3d39567cd289964047504
-SIZE (ioncube_loaders_fre_8_x86.tar.bz2) = 3332128
-SHA256 (ioncube_loaders_fre_8_x86-64.tar.bz2) = 2a8a59f03f0a815bf41c5a1e59dfdc733be9d98cd4cae0c02c9366d68e3ec2cf
-SIZE (ioncube_loaders_fre_8_x86-64.tar.bz2) = 3442231
+SHA256 (ioncube/4.2.1/ioncube_loaders_fre_7_x86.tar.bz2) = 382435cbd74527857f0a15c94c5364cc7a2ede48ce92cabcbe045229795202f4
+SIZE (ioncube/4.2.1/ioncube_loaders_fre_7_x86.tar.bz2) = 3330295
+SHA256 (ioncube/4.2.1/ioncube_loaders_fre_7_x86-64.tar.bz2) = f54d5fe28c47d0b3d43f7fda2ad5cc800fe3aef6f852e9e0033f1400a1e4fc60
+SIZE (ioncube/4.2.1/ioncube_loaders_fre_7_x86-64.tar.bz2) = 3441909
+SHA256 (ioncube/4.2.1/ioncube_loaders_fre_8_x86.tar.bz2) = edcbdb01bedd94bae53a4c07515950fcaee3c3b241a3d39567cd289964047504
+SIZE (ioncube/4.2.1/ioncube_loaders_fre_8_x86.tar.bz2) = 3332128
+SHA256 (ioncube/4.2.1/ioncube_loaders_fre_8_x86-64.tar.bz2) = 2a8a59f03f0a815bf41c5a1e59dfdc733be9d98cd4cae0c02c9366d68e3ec2cf
+SIZE (ioncube/4.2.1/ioncube_loaders_fre_8_x86-64.tar.bz2) = 3442231
--- patch-ioncube-distsubdir.txt ends here ---


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



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