dev-php5/ioncube_loaders: initial ebuild based on http://redmine.kaishome.de/projects/gentoo-overlay/repository/revisions/161/changes/trunk/dev-php5/ioncube_loaders/ioncube_loaders-3.3.1.ebuild
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2233 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
078d7260a0
commit
0fd224d280
11
dev-php5/ioncube_loaders/ChangeLog
Normal file
11
dev-php5/ioncube_loaders/ChangeLog
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# ChangeLog for dev-php5/ioncube_loaders
|
||||||
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
27 May 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
-ioncube_loaders-3.3.1.ebuild, +ioncube_loaders-3.3.17.ebuild,
|
||||||
|
+ioncube_loaders-3.3.18.ebuild, +metadata.xml:
|
||||||
|
initial ebuild based on
|
||||||
|
http://redmine.kaishome.de/projects/gentoo-overlay/repository/revisions/161/
|
||||||
|
changes/trunk/dev-php5/ioncube_loaders/ioncube_loaders-3.3.1.ebuild
|
||||||
|
|
6
dev-php5/ioncube_loaders/Manifest
Normal file
6
dev-php5/ioncube_loaders/Manifest
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
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
|
||||||
|
EBUILD ioncube_loaders-3.3.17.ebuild 2040 RMD160 b75740f5a70ea56771853e63bdcc1dbcc09916ac SHA1 77044a7df25e558297df5fc0926149c284d9cf2d SHA256 5543d094c07245c9499998d55d6c6a10d6258606c424e9d0f42914bdea538505
|
||||||
|
EBUILD ioncube_loaders-3.3.18.ebuild 2042 RMD160 338d2bd10251eaf922aa82de6f1c20c1e5d58cd4 SHA1 adce27cea21517f6a66a8ec3c36cfae2c2e01722 SHA256 a9ff88164adde98fe85e9e3acaefea2287dd60d75f1dfe7d1fe4440126bcb863
|
||||||
|
MISC ChangeLog 466 RMD160 2fe1f49b5ffd0c4db92282c0c56702877cef94b8 SHA1 fd7cf24e25de38cac04cfc95bb8c56c0a5379dfd SHA256 31844660c28013b878a5d0b70b1947c46e5bbf32519d91e8b1caefc65623a0c8
|
||||||
|
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
@ -1,19 +1,21 @@
|
|||||||
# Copyright 1999-2005 Gentoo Foundation
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=2
|
||||||
|
|
||||||
PHP_EXT_NAME="ioncube_loader"
|
PHP_EXT_NAME="ioncube_loader"
|
||||||
PHP_EXT_ZENDEXT="yes"
|
PHP_EXT_ZENDEXT="yes"
|
||||||
PHP_EXT_INI="yes"
|
PHP_EXT_INI="yes"
|
||||||
|
|
||||||
inherit php-ext-base-r1
|
inherit php-ext-base-r1
|
||||||
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~x86"
|
||||||
|
|
||||||
MY_P="${PN}"
|
MY_P="${PN}"
|
||||||
MY_ARCH=${ARCH/amd64/x86-64}
|
MY_ARCH=${ARCH/amd64/x86-64}
|
||||||
|
|
||||||
SRC_URI="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_${MY_ARCH}.tar.bz2"
|
SRC_URI="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_${MY_ARCH}.tar.bz2 -> ioncube_loaders_lin_${MY_ARCH}-${PV}.tar.bz2"
|
||||||
|
|
||||||
S="${WORKDIR}/ioncube"
|
S="${WORKDIR}/ioncube"
|
||||||
|
|
92
dev-php5/ioncube_loaders/ioncube_loaders-3.3.18.ebuild
Normal file
92
dev-php5/ioncube_loaders/ioncube_loaders-3.3.18.ebuild
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# 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_${MY_ARCH}.tar.bz2 -> ioncube_loaders_lin_${MY_ARCH}-${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 ioncube-loader-helper.php
|
||||||
|
doins ioncube-encoded-file.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
|
||||||
|
}
|
34
dev-php5/ioncube_loaders/metadata.xml
Normal file
34
dev-php5/ioncube_loaders/metadata.xml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<!--
|
||||||
|
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
|
||||||
|
|
||||||
|
This is the example metadata file.
|
||||||
|
The root element of this file is <pkgmetadata>. Within this element a
|
||||||
|
number of subelements are allowed: herd, maintainer, and
|
||||||
|
longdescription. herd is a required subelement.
|
||||||
|
|
||||||
|
For a full description look at:
|
||||||
|
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
|
||||||
|
|
||||||
|
|
||||||
|
Before committing, please remove the comments from this file. They are
|
||||||
|
not relevant for general metadata.xml files.
|
||||||
|
-->
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>no-herd</herd>
|
||||||
|
<maintainer>
|
||||||
|
<email>@gentoo.org</email>
|
||||||
|
<!-- <description>Description of the maintainership</description> -->
|
||||||
|
</maintainer>
|
||||||
|
<!-- <longdescription>Long description of the package</longdescription> -->
|
||||||
|
<!--
|
||||||
|
<use>
|
||||||
|
<flag name='flag'>Description of how USE='flag' affects this package</flag>
|
||||||
|
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
|
||||||
|
package</flag>
|
||||||
|
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
|
||||||
|
Requires an installed dictionary from <cat>app-dicts</cat></flag>
|
||||||
|
</use>
|
||||||
|
-->
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user