dev-php5/ioncube_loaders: Bump
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2446 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
a16050a0a7
commit
b27ade3a52
@ -2,6 +2,10 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
30 Sep 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
+ioncube_loaders-3.3.20.ebuild, +ioncube_loaders-3.3.20-r1.ebuild:
|
||||
Bump
|
||||
|
||||
27 May 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||
ioncube_loaders-3.3.17.ebuild, ioncube_loaders-3.3.18.ebuild:
|
||||
correct wizard install
|
||||
|
@ -1,6 +1,10 @@
|
||||
DIST ioncube_loaders_lin_x86-3.3.20.tar.bz2 2461377 RMD160 171cf2ed86495f9d12582aa7f3e861ba6c83be01 SHA1 81f8cfa163d50649bb6dfba5beb753616c6ebd10 SHA256 486abbff5dae3456ae26457ba95e6ae2737ebab9a49bd9d3c21e9f10f5800ae8
|
||||
DIST ioncube_loaders_lin_x86-64-3.3.17.tar.bz2 2596838 RMD160 238b6e56f0bac800b5ac8f0316284385a78bf012 SHA1 865feb29a8fa8886fddfc0f375f11fb2dee3ffe8 SHA256 326159308f4bdfeed0374f1dcd33b4997620ecbdbbf78d29272506c8828baf9e
|
||||
DIST ioncube_loaders_lin_x86-64-3.3.18.tar.bz2 2596838 RMD160 238b6e56f0bac800b5ac8f0316284385a78bf012 SHA1 865feb29a8fa8886fddfc0f375f11fb2dee3ffe8 SHA256 326159308f4bdfeed0374f1dcd33b4997620ecbdbbf78d29272506c8828baf9e
|
||||
DIST ioncube_loaders_lin_x86-64-3.3.20.tar.bz2 2593207 RMD160 4b0391889860f38df058166aa79674961e2a3dc5 SHA1 da7ca9b744bf834ccdbbd2dca7fdec1ac5e91ea4 SHA256 9adddc5f8b47789d4261c33c72c517eadb558143ff0eccc3e6d6cdfa6e50228c
|
||||
EBUILD ioncube_loaders-3.3.17.ebuild 2000 RMD160 dad91aa82d42b59d7d1c2cb60d8c3c75cd3bce79 SHA1 ea34a3f0cb4beb56da7d1f5dd6be6ebb0c177877 SHA256 b9fe892422d2b0db7a2d38538d3fddbf4cee86a07432af0805b20640913da11c
|
||||
EBUILD ioncube_loaders-3.3.18.ebuild 2002 RMD160 9ce8eb64f7aa7aaf19d41a54072b7827a1046073 SHA1 7d59cbc497fa7cfa74327f83e163bf37f018bc0c SHA256 64a458b2643ddb752c924a420da7f14018e8db015417c138dcf89e962fba3d5e
|
||||
MISC ChangeLog 607 RMD160 ba8ea10a72e3cbf8f0bf95657c5baa28f146115b SHA1 51a815fdb251d8dfa67ab96deb22b90bea47bba1 SHA256 47d833bc45e7d761cc309538aebf16a8852f0971fc25f0e5f559e136ec995c2b
|
||||
EBUILD ioncube_loaders-3.3.20-r1.ebuild 1994 RMD160 bd06d164ba47078a26d7d4de243dd676b404bfe9 SHA1 38cb37dded985a928cf68b5eb10867e4f31be00b SHA256 724610c624d47fd2e61e07c220309d9fa15302b80d7eed3ab209074d3ea90426
|
||||
EBUILD ioncube_loaders-3.3.20.ebuild 1957 RMD160 977b864e95e2f095a4b3f65d63cabc859104c8e7 SHA1 bc1f802dc252bac2e3b3024e180017c14250fbf3 SHA256 a6f6dd2036a7603b538e5186f6e9e32a9110ac300d6bbbb2e7607a8532d5bea6
|
||||
MISC ChangeLog 735 RMD160 856b19f4d79b9737efdb8efdb6fc2f8ed513fd82 SHA1 b5e69e08bfd1f98ab53d9e5098db5511fa56f6ba SHA256 bd115c50a2ef1341bd9a5327be193146a11d6b9cada264d29899b212bcb68c20
|
||||
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
||||
|
91
dev-php5/ioncube_loaders/ioncube_loaders-3.3.20-r1.ebuild
Normal file
91
dev-php5/ioncube_loaders/ioncube_loaders-3.3.20-r1.ebuild
Normal file
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
PHP_EXT_NAME="ioncube_loader"
|
||||
PHP_EXT_ZENDEXT="yes"
|
||||
PHP_EXT_INI="yes"
|
||||
|
||||
inherit php-ext-base-r1
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
MY_P="${PN}"
|
||||
MY_ARCH=${ARCH/amd64/x86-64}
|
||||
|
||||
SRC_URI="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2 -> ioncube_loaders_lin_x86-64-${PV}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}/ioncube"
|
||||
|
||||
DESCRIPTION="PHP extension that support for running PHP scripts encoded with ionCube's encoder"
|
||||
HOMEPAGE="http://www.ioncube.com/"
|
||||
LICENSE="${PN}"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="nomirror strip"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="!dev-php/eaccelerator !dev-php/PECL-apc"
|
||||
|
||||
PHP_LIB_DIR="/usr/lib/php/${PN}"
|
||||
|
||||
need_php_by_category
|
||||
|
||||
pkg_setup() {
|
||||
PHP_VER=$(best_version =dev-lang/php-5*)
|
||||
PHP_VER=$(echo ${PHP_VER} | sed -e's#dev-lang/php-\([0-9]*\.[0-9]*\)\..*#\1#')
|
||||
QA_TEXTRELS="${EXT_DIR/\//}/${PHP_EXT_NAME}.so"
|
||||
QA_EXECSTACK="${EXT_DIR/\//}/${PHP_EXT_NAME}.so"
|
||||
|
||||
php_binary_extension
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Detect if we use ZTS and change the file path accordingly
|
||||
if has_zts ; then
|
||||
IONCUBE_SO_FILE="${PHP_EXT_NAME}_lin_${PHP_VER}_ts.so"
|
||||
else
|
||||
IONCUBE_SO_FILE="${PHP_EXT_NAME}_lin_${PHP_VER}.so"
|
||||
fi
|
||||
|
||||
cd ${S}
|
||||
mv ${IONCUBE_SO_FILE} "${PHP_EXT_NAME}.so"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-base-r1_src_install
|
||||
|
||||
# Install the binary
|
||||
insinto ${EXT_DIR}
|
||||
doins "${PHP_EXT_NAME}.so"
|
||||
|
||||
insinto "${PHP_LIB_DIR}"
|
||||
doins loader-wizard.php
|
||||
|
||||
dodoc-php README.txt
|
||||
dodoc-php LICENSE.txt
|
||||
}
|
||||
|
||||
pkg_config () {
|
||||
einfo "Please remember to create the 'ioncube' directory as documented"
|
||||
einfo "in /usr/share/doc/${P}/README."
|
||||
einfo
|
||||
einfo "The ioncube loader runtime test script has been installed into"
|
||||
einfo "${PHP_LIB_DIR}/ioncube-rtl-tester.php"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
has_php
|
||||
|
||||
# You only need to restart apache2 if you're using mod_php
|
||||
if built_with_use =${PHP_PKG} apache2 ; then
|
||||
elog
|
||||
elog "You need to restart apache2 to activate the ${PN}."
|
||||
elog
|
||||
fi
|
||||
}
|
90
dev-php5/ioncube_loaders/ioncube_loaders-3.3.20.ebuild
Normal file
90
dev-php5/ioncube_loaders/ioncube_loaders-3.3.20.ebuild
Normal file
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
PHP_EXT_NAME="ioncube_loader"
|
||||
PHP_EXT_ZENDEXT="yes"
|
||||
PHP_EXT_INI="yes"
|
||||
|
||||
inherit php-ext-base-r1
|
||||
|
||||
KEYWORDS="~x86"
|
||||
|
||||
MY_P="${PN}"
|
||||
|
||||
SRC_URI="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2 -> ioncube_loaders_lin_x86-${PV}.tar.bz2"
|
||||
|
||||
S="${WORKDIR}/ioncube"
|
||||
|
||||
DESCRIPTION="PHP extension that support for running PHP scripts encoded with ionCube's encoder"
|
||||
HOMEPAGE="http://www.ioncube.com/"
|
||||
LICENSE="${PN}"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="nomirror strip"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="!dev-php/eaccelerator !dev-php/PECL-apc"
|
||||
|
||||
PHP_LIB_DIR="/usr/lib/php/${PN}"
|
||||
|
||||
need_php_by_category
|
||||
|
||||
pkg_setup() {
|
||||
PHP_VER=$(best_version =dev-lang/php-5*)
|
||||
PHP_VER=$(echo ${PHP_VER} | sed -e's#dev-lang/php-\([0-9]*\.[0-9]*\)\..*#\1#')
|
||||
QA_TEXTRELS="${EXT_DIR/\//}/${PHP_EXT_NAME}.so"
|
||||
QA_EXECSTACK="${EXT_DIR/\//}/${PHP_EXT_NAME}.so"
|
||||
|
||||
php_binary_extension
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Detect if we use ZTS and change the file path accordingly
|
||||
if has_zts ; then
|
||||
IONCUBE_SO_FILE="${PHP_EXT_NAME}_lin_${PHP_VER}_ts.so"
|
||||
else
|
||||
IONCUBE_SO_FILE="${PHP_EXT_NAME}_lin_${PHP_VER}.so"
|
||||
fi
|
||||
|
||||
cd ${S}
|
||||
mv ${IONCUBE_SO_FILE} "${PHP_EXT_NAME}.so"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-base-r1_src_install
|
||||
|
||||
# Install the binary
|
||||
insinto ${EXT_DIR}
|
||||
doins "${PHP_EXT_NAME}.so"
|
||||
|
||||
insinto "${PHP_LIB_DIR}"
|
||||
doins loader-wizard.php
|
||||
|
||||
dodoc-php README.txt
|
||||
dodoc-php LICENSE.txt
|
||||
}
|
||||
|
||||
pkg_config () {
|
||||
einfo "Please remember to create the 'ioncube' directory as documented"
|
||||
einfo "in /usr/share/doc/${P}/README."
|
||||
einfo
|
||||
einfo "The ioncube loader runtime test script has been installed into"
|
||||
einfo "${PHP_LIB_DIR}/ioncube-rtl-tester.php"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
has_php
|
||||
|
||||
# You only need to restart apache2 if you're using mod_php
|
||||
if built_with_use =${PHP_PKG} apache2 ; then
|
||||
elog
|
||||
elog "You need to restart apache2 to activate the ${PN}."
|
||||
elog
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user