Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 16:25:52 +1000 (AEST)
From:      John Marshall <john.marshall@riverwillow.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167996: [patch] devel/ioncube update to 4.2.0 for PHP 5.4 support
Message-ID:  <201205170625.q4H6Pqvo033654@rwsrv04.mby.riverwillow.net.au>
Resent-Message-ID: <201205170650.q4H6o3vo040647@freefall.freebsd.org>

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

>Number:         167996
>Category:       ports
>Synopsis:       [patch] devel/ioncube update to 4.2.0 for PHP 5.4 support
>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:   Thu May 17 06:50:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     John Marshall
>Release:        FreeBSD 8.3-RELEASE i386
>Organization:
Riverwillow Pty Ltd
>Environment:
System: FreeBSD rwsrv04.mby.riverwillow.net.au 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 08:00:23 AEST 2012 root@rwsrv04.mby.riverwillow.net.au:/build/obj/build/src/sys/RWSRV04 i386


	
>Description:

Version 4.2.0 of the loader adds support for PHP 5.4.  The existing
4.0.14 version in ports will not run on PHP 5.4.

>How-To-Repeat:
	
>Fix:

The 4.2.0 tar ball from ioncube includes the .so files only.  The
Makefile can't process non-existent documentation and wizard files, so
those Makefile lines have been removed.


--- ioncube_4-0-14_4-2-0.diff begins here ---
diff -ruN devel/ioncube_4-0-14/Makefile devel/ioncube/Makefile
--- devel/ioncube_4-0-14/Makefile	2012-03-17 20:20:56.000000000 +1100
+++ devel/ioncube/Makefile	2012-05-17 15:50:48.000000000 +1000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ioncube
-DISTVERSION=	4.0.14
+DISTVERSION=	4.2.0
 CATEGORIES=	devel
 MASTER_SITES=	http://downloads2.ioncube.com/loader_downloads/ \
 		http://ls.fvds.ru/ioncube/${DISTVERSION}/
@@ -19,7 +19,6 @@
 NO_BUILD=	yes
 USE_BZIP2=	yes
 USE_PHP=	yes
-USE_DOS2UNIX=	LICENSE.txt README.txt loader-wizard.php
 
 SUB_FILES=	pkg-message
 WRKSRC=		${WRKDIR}/${PORTNAME}
@@ -37,17 +36,11 @@
 
 do-install:
 	@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/
-	@${MKDIR} ${PREFIX}/www/${PORTNAME}
 	${INSTALL_DATA} ${WRKSRC}/ioncube_loader_fre_${PHP_INSTVER}.so \
 		${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader.so
 	${INSTALL_DATA} ${WRKSRC}/ioncube_loader_fre_${PHP_INSTVER}_ts.so \
 		${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/ioncube_loader_ts.so
-	${INSTALL_DATA} ${WRKSRC}/loader-wizard.php ${PREFIX}/www/${PORTNAME}/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
-.endif
+
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
diff -ruN devel/ioncube_4-0-14/distinfo devel/ioncube/distinfo
--- devel/ioncube_4-0-14/distinfo	2012-03-17 20:20:56.000000000 +1100
+++ devel/ioncube/distinfo	2012-05-17 15:32:01.000000000 +1000
@@ -1,8 +1,8 @@
-SHA256 (ioncube_loaders_fre_7_x86.tar.bz2) = 554aee26f7466393b8e6b01bc07c9988b0c3572fa763a06267d69284d63042d3
-SIZE (ioncube_loaders_fre_7_x86.tar.bz2) = 2617613
-SHA256 (ioncube_loaders_fre_7_x86-64.tar.bz2) = 216991256db1e30ade8922b0467312d5fa867ece21f86e5a9994c03cbc0cb148
-SIZE (ioncube_loaders_fre_7_x86-64.tar.bz2) = 2779537
-SHA256 (ioncube_loaders_fre_8_x86.tar.bz2) = 921dec1f7033c1b57f143013c38f98fd02f6494240e37d4e5d39f03310771bd7
-SIZE (ioncube_loaders_fre_8_x86.tar.bz2) = 2617194
-SHA256 (ioncube_loaders_fre_8_x86-64.tar.bz2) = 296f27cf353a1f9798c757b9f154d16f9576d7be3b83dd17b523348cacf09ac8
-SIZE (ioncube_loaders_fre_8_x86-64.tar.bz2) = 2779039
+SHA256 (ioncube_loaders_fre_7_x86.tar.bz2) = bc011f46aaa51986cab577659b26a0029c2580e64f6bbee3ec92ef3fe91f975d
+SIZE (ioncube_loaders_fre_7_x86.tar.bz2) = 3328869
+SHA256 (ioncube_loaders_fre_7_x86-64.tar.bz2) = 8127914f2cb9ac7777bdd4c6f86fc8ec8e7a631ab8898ccee92400107c3ce72b
+SIZE (ioncube_loaders_fre_7_x86-64.tar.bz2) = 3440513
+SHA256 (ioncube_loaders_fre_8_x86.tar.bz2) = b231892240386d969b9916accbd042e86631c2a1f307c85f5fa836a3a9273d48
+SIZE (ioncube_loaders_fre_8_x86.tar.bz2) = 3331334
+SHA256 (ioncube_loaders_fre_8_x86-64.tar.bz2) = 8878df42b40f4260ab0c0af5ae5234c5a36822def93dc1f2b5ce95fad0029cfa
+SIZE (ioncube_loaders_fre_8_x86-64.tar.bz2) = 3440806
diff -ruN devel/ioncube_4-0-14/pkg-plist devel/ioncube/pkg-plist
--- devel/ioncube_4-0-14/pkg-plist	2011-08-08 23:15:48.000000000 +1000
+++ devel/ioncube/pkg-plist	2012-05-17 15:57:27.000000000 +1000
@@ -1,9 +1,4 @@
 lib/php/%%PHP_EXT_DIR%%/ioncube/ioncube_loader.so
 lib/php/%%PHP_EXT_DIR%%/ioncube/ioncube_loader_ts.so
-%%DOCSDIR%%/LICENSE.txt
-%%DOCSDIR%%/README.txt
-%%WWWDIR%%/loader-wizard.php
-@dirrm %%DOCSDIR%%
-@dirrmtry %%WWWDIR%%
 @dirrm lib/php/%%PHP_EXT_DIR%%/ioncube
 @dirrmtry lib/php/%%PHP_EXT_DIR%%
--- ioncube_4-0-14_4-2-0.diff ends here ---


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



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