summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2011-04-09 19:29:39 +0000
committerOle Markus With <olemarkus@gentoo.org>2011-04-09 19:29:39 +0000
commit22868422fc7387e167405e345cea2275c027fdc3 (patch)
tree500bce27af9e5041e50e7d92e0e6e695cc037628 /dev-php/adodb-ext
parentMoving dev-php5/jpgraph to dev-php/jpgraph (diff)
downloadgentoo-2-22868422fc7387e167405e345cea2275c027fdc3.tar.gz
gentoo-2-22868422fc7387e167405e345cea2275c027fdc3.tar.bz2
gentoo-2-22868422fc7387e167405e345cea2275c027fdc3.zip
Moved from dev-php5/adodb-ext
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'dev-php/adodb-ext')
-rw-r--r--dev-php/adodb-ext/ChangeLog38
-rw-r--r--dev-php/adodb-ext/adodb-ext-504-r1.ebuild43
-rw-r--r--dev-php/adodb-ext/adodb-ext-504-r2.ebuild46
-rw-r--r--dev-php/adodb-ext/adodb-ext-504.ebuild36
-rw-r--r--dev-php/adodb-ext/files/php53.patch24
-rw-r--r--dev-php/adodb-ext/metadata.xml5
6 files changed, 192 insertions, 0 deletions
diff --git a/dev-php/adodb-ext/ChangeLog b/dev-php/adodb-ext/ChangeLog
new file mode 100644
index 000000000000..70d0ed8935d1
--- /dev/null
+++ b/dev-php/adodb-ext/ChangeLog
@@ -0,0 +1,38 @@
+# ChangeLog for dev-php5/adodb-ext
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/adodb-ext/ChangeLog,v 1.1 2011/04/09 19:29:39 olemarkus Exp $
+
+ 06 Mar 2011; <olemarkus@gentoo.org> files/php53.patch:
+ The old patch seemed to have incorrect line endings in it and would not
+ apply. #357025
+
+*adodb-ext-504-r2 (03 Nov 2010)
+
+ 03 Nov 2010; Matti Bickel <mabi@gentoo.org> +adodb-ext-504-r2.ebuild:
+ create minor slotting compatible version
+
+*adodb-ext-504-r1 (11 Sep 2010)
+
+ 11 Sep 2010; Matti Bickel <mabi@gentoo.org> +files/php53.patch,
+ +adodb-ext-504-r1.ebuild:
+ add patch to make adodb-ext compatible with php-5.3 (patch taken from
+ http://github.com/wojo/adodb-ext)
+
+*adodb-ext-504 (08 Mar 2007)
+
+ 08 Mar 2007; Luca Longinotti <chtekk@gentoo.org> -adodb-ext-503.ebuild,
+ +adodb-ext-504.ebuild:
+ Version bump, cleanup.
+
+ 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
+ Transition to Manifest2.
+
+ 15 Oct 2006; Thomas Cort <tcort@gentoo.org> adodb-ext-503.ebuild:
+ Added ~amd64 keyword wrt Bug #139742.
+
+*adodb-ext-503 (26 Nov 2005)
+
+ 26 Nov 2005; Luca Longinotti <chtekk@gentoo.org> +metadata.xml,
+ +adodb-ext-503.ebuild:
+ Inital import from the PHP Overlay.
+
diff --git a/dev-php/adodb-ext/adodb-ext-504-r1.ebuild b/dev-php/adodb-ext/adodb-ext-504-r1.ebuild
new file mode 100644
index 000000000000..3fe98a3aeeb0
--- /dev/null
+++ b/dev-php/adodb-ext/adodb-ext-504-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/adodb-ext/adodb-ext-504-r1.ebuild,v 1.1 2011/04/09 19:29:39 olemarkus Exp $
+
+EAPI="2"
+
+PHP_EXT_NAME="adodb"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit eutils php-ext-source-r1
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PHP extension providing up to 100% speedup by replacing parts of ADOdb with C code."
+HOMEPAGE="http://adodb.sourceforge.net/"
+SRC_URI="http://phplens.com/lens/dl/${P}.zip"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=dev-php/adodb-4.70"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/adodb-${PV}"
+
+need_php_by_category
+
+src_prepare() {
+ edos2unix "${S}/adodb.c"
+ epatch "${FILESDIR}/php53.patch"
+}
+
+src_install() {
+ php-ext-source-r1_src_install
+
+ dodir "${PHP_EXT_SHARED_DIR}"
+ insinto "${PHP_EXT_SHARED_DIR}"
+ doins test-adodb.php
+
+ dodoc-php CREDITS README.txt
+}
diff --git a/dev-php/adodb-ext/adodb-ext-504-r2.ebuild b/dev-php/adodb-ext/adodb-ext-504-r2.ebuild
new file mode 100644
index 000000000000..4f081001fb54
--- /dev/null
+++ b/dev-php/adodb-ext/adodb-ext-504-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/adodb-ext/adodb-ext-504-r2.ebuild,v 1.1 2011/04/09 19:29:39 olemarkus Exp $
+
+EAPI="2"
+
+PHP_EXT_NAME="adodb"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit eutils php-ext-source-r2
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PHP extension providing up to 100% speedup by replacing parts of ADOdb with C code."
+HOMEPAGE="http://adodb.sourceforge.net/"
+SRC_URI="http://phplens.com/lens/dl/${P}.zip"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=dev-php/adodb-4.70"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/adodb-${PV}"
+
+src_prepare() {
+ if use php_targets_php5-3 ; then
+ cd "${WORKDIR}/php5.3"
+ edos2unix "${WORKDIR}/php5.3/adodb.c"
+ epatch "${FILESDIR}/php53.patch"
+ cd "${S}"
+ fi
+ php-ext-source-r2_src_prepare
+}
+
+src_install() {
+ php-ext-source-r2_src_install
+
+ dodir "${PHP_EXT_SHARED_DIR}"
+ insinto "${PHP_EXT_SHARED_DIR}"
+ doins test-adodb.php
+
+ dodoc-php CREDITS README.txt
+}
diff --git a/dev-php/adodb-ext/adodb-ext-504.ebuild b/dev-php/adodb-ext/adodb-ext-504.ebuild
new file mode 100644
index 000000000000..01ab2f641055
--- /dev/null
+++ b/dev-php/adodb-ext/adodb-ext-504.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/adodb-ext/adodb-ext-504.ebuild,v 1.1 2011/04/09 19:29:39 olemarkus Exp $
+
+PHP_EXT_NAME="adodb"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit php-ext-source-r1
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PHP extension providing up to 100% speedup by replacing parts of ADOdb with C code."
+HOMEPAGE="http://adodb.sourceforge.net/"
+SRC_URI="http://phplens.com/lens/dl/${P}.zip"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=dev-php/adodb-4.70"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}/adodb-${PV}"
+
+need_php_by_category
+
+src_install() {
+ php-ext-source-r1_src_install
+
+ dodir "${PHP_EXT_SHARED_DIR}"
+ insinto "${PHP_EXT_SHARED_DIR}"
+ doins test-adodb.php
+
+ dodoc-php CREDITS README.txt
+}
diff --git a/dev-php/adodb-ext/files/php53.patch b/dev-php/adodb-ext/files/php53.patch
new file mode 100644
index 000000000000..7a9454252386
--- /dev/null
+++ b/dev-php/adodb-ext/files/php53.patch
@@ -0,0 +1,24 @@
+--- a/adodb.c 2005-11-25 20:00:56.000000000 +0100
++++ b/adodb.c 2011-03-06 22:27:06.000000000 +0100
+@@ -159,11 +159,7 @@
+
+ static void adodb_init_zval(zval *v, char *s)
+ {
+- v->type = IS_STRING;
+- v->value.str.val = s;
+- v->value.str.len = strlen(s);
+- v->is_ref = 0;
+- v->refcount = 1;
++ ZVAL_STRING(v, s, 0);
+ }
+
+ /* {{{ PHP_MINIT_FUNCTION
+@@ -277,7 +273,7 @@
+ fci.function_table = EG(function_table);
+ fci.function_name = &adodb_zvals[zval_ocifetch];
+ fci.symbol_table = NULL;
+- fci.object_pp = NULL;
++ /* fci.object_pp = NULL; */
+ fci.retval_ptr_ptr = &retval;
+ fci.param_count = 2;
+ fci.params = &params[1];
diff --git a/dev-php/adodb-ext/metadata.xml b/dev-php/adodb-ext/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php/adodb-ext/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>php</herd>
+</pkgmetadata>