ports/163764: [UPDATE] devel/ioncube: Update 4.0.12
Takefu
takefu at airport.fm
Mon Jan 2 06:00:27 UTC 2012
>Number: 163764
>Category: ports
>Synopsis: [PATCH] devel/ioncube: Update 4.0.12
>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: Mon Jan 02 06:00:26 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Takefu
>Release: FreeBSD 8.2-RELEASE-p5 amd64
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
- Update 4.0.12
Port maintainer (svyatoslav.lempert at gmail.com) is cc'd.
>How-To-Repeat:
>Fix:
--- ioncube.patch begins here ---
diff -ruN /usr/ports/devel/ioncube/Makefile devel/ioncube/Makefile
--- /usr/ports/devel/ioncube/Makefile 2011-12-15 08:03:34.000000000 +0900
+++ devel/ioncube/Makefile 2012-01-02 14:53:45.000000000 +0900
@@ -6,17 +6,18 @@
#
PORTNAME= ioncube
-DISTVERSION= 4.0.11
+DISTVERSION= 4.0.12
CATEGORIES= devel
MASTER_SITES= http://downloads2.ioncube.com/loader_downloads/ \
- http://ls.fvds.ru/ioncube/4.0.11/
-DISTNAME= ${PORTNAME}_loaders_fre_${VER}_${ARCH_DIST}
+ http://ls.fvds.ru/ioncube/${DISTVERSION}/
+DISTNAME= ${PORTNAME}_loaders_fre_${VER}_${ARCH:S,i386,x86,:S,amd64,x86-64,}
MAINTAINER= svyatoslav.lempert at gmail.com
COMMENT= An ionCube loader for PHP code
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
+USE_BZIP2= yes
USE_PHP= yes
USE_DOS2UNIX= LICENSE.txt README.txt loader-wizard.php
@@ -32,24 +33,7 @@
VER= 7
.endif
-# Detect OS Architecture
-.if ${ARCH} == amd64
-ARCH_DIST= x86-64
-.else
-ARCH_DIST= x86
-.endif
-
-# Detect PHP version
-.if ${PHP_VER} == 4
-PHP_INSTVER= 4.4
-.endif
-.if ${PHP_VER} == 5
-PHP_INSTVER= 5.3
-.endif
-# If you have old lang/php52
-.if ${PHP_VER} == 52
-PHP_INSTVER= 5.2
-.endif
+PHP_INSTVER= ${PHP_VERSION:C/^([0-9]+\.[0-9]+).*/\1/}
do-install:
@${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR}/ioncube/
diff -ruN /usr/ports/devel/ioncube/distinfo devel/ioncube/distinfo
--- /usr/ports/devel/ioncube/distinfo 2011-12-15 08:03:34.000000000 +0900
+++ devel/ioncube/distinfo 2012-01-02 14:41:20.000000000 +0900
@@ -1,8 +1,8 @@
-SIZE (ioncube_loaders_fre_7_x86-64.tar.gz) = 3158811
-SIZE (ioncube_loaders_fre_7_x86.tar.gz) = 2896976
-SIZE (ioncube_loaders_fre_8_x86-64.tar.gz) = 3159699
-SIZE (ioncube_loaders_fre_8_x86.tar.gz) = 2896869
-SHA256 (ioncube_loaders_fre_7_x86-64.tar.gz) = 2f7f1072da027e7bdbd2b9bd567c405bf24e3944563e8fd16c300acddaf6f11b
-SHA256 (ioncube_loaders_fre_7_x86.tar.gz) = 8aac8611c19afccbab32eb6872ee7d7500322819be3cc44dc6fd0d82fd66dfdc
-SHA256 (ioncube_loaders_fre_8_x86-64.tar.gz) = 5d912187de4eb73a04f767da93ed0ed84a701e50dc3045d773a3f6b5c0491460
-SHA256 (ioncube_loaders_fre_8_x86.tar.gz) = a09b89c8cc0d548115edb10d5a8f55691b4eba52a71fefa61faa275f742c84a5
+SHA256 (ioncube_loaders_fre_7_x86.tar.bz2) = d59727010334d63acf82c4856415a21a91c57572bfc39536d7f5f0b3b5b3f58c
+SIZE (ioncube_loaders_fre_7_x86.tar.bz2) = 2619578
+SHA256 (ioncube_loaders_fre_7_x86-64.tar.bz2) = 4f1ef063503e6ba1d6bd403b0ae34be6f00dff21df46f0a29cee15363990a33c
+SIZE (ioncube_loaders_fre_7_x86-64.tar.bz2) = 2778300
+SHA256 (ioncube_loaders_fre_8_x86.tar.bz2) = 3a4dffad4f0c01be25573167e1758d4dd6a924f215c40510c4d2a71ec61423db
+SIZE (ioncube_loaders_fre_8_x86.tar.bz2) = 2618127
+SHA256 (ioncube_loaders_fre_8_x86-64.tar.bz2) = 67d5f331acb4d30bcb2363a046ebc4d703ee03ea97bacd7c224eebbe5a9e37af
+SIZE (ioncube_loaders_fre_8_x86-64.tar.bz2) = 2778284
--- ioncube.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list