diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:53:21 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:53:21 +0000 |
commit | 0c061ffa2d54f32b71a5336447b29a0f5e717ff5 (patch) | |
tree | b9d09a37cead9d21f1628e060f4321aef918cbfd | |
parent | Initial import (diff) | |
download | historical-0c061ffa2d54f32b71a5336447b29a0f5e717ff5.tar.gz historical-0c061ffa2d54f32b71a5336447b29a0f5e717ff5.tar.bz2 historical-0c061ffa2d54f32b71a5336447b29a0f5e717ff5.zip |
Initial import for PHP5
Package-Manager: portage-2.0.51.22-r2
104 files changed, 1428 insertions, 0 deletions
diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog new file mode 100644 index 000000000000..9d3571277b18 --- /dev/null +++ b/dev-php5/pecl-apc/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-apc +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.1 2005/09/04 16:20:56 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-apc/Manifest b/dev-php5/pecl-apc/Manifest new file mode 100644 index 000000000000..522ddc492db5 --- /dev/null +++ b/dev-php5/pecl-apc/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 34a9c3529aa8a07514a3786fe5f0d53c ChangeLog 218 +MD5 eec841aa276d56ea72b8113760c7121a pecl-apc-3.0.8.ebuild 2066 +MD5 66795850fe4fb57f021182ccdd3e3203 files/digest-pecl-apc-3.0.8 57 diff --git a/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.8 b/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.8 new file mode 100644 index 000000000000..7dde4bdf1152 --- /dev/null +++ b/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.8 @@ -0,0 +1 @@ +MD5 a70a14a00275e551e8085f742322433f APC-3.0.8.tgz 75541 diff --git a/dev-php5/pecl-apc/metadata.xml b/dev-php5/pecl-apc/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-apc/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> diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild new file mode 100644 index 000000000000..7f0d59a09a08 --- /dev/null +++ b/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.8.ebuild,v 1.1 2005/09/04 16:20:56 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="APC" +PHP_EXT_NAME="apc" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 confutils + +IUSE="mmap" +DESCRIPTION="The Alternative PHP Cache." +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND}" + +need_php_by_category + +pkg_setup() { + require_php_sapi_from cgi apache apache2 +} + +src_compile() { + has_php + + # PECL-APC does not work with Zend Thread Safety (ZTS) + # so abort if we are using PHP compiled with ZTS. + if has_zts ; then + eerror "PECL-APC doesn't work with a ZTS enabled PHP." + eerror "Please disable ZTS by turning the 'threads'" + eerror "USE flag off when you compile dev-lang/php." + die "PECL-APC does not support ZTS" + fi + + my_conf="--enable-apc" + enable_extension_enable "apc-mmap" "mmap" 0 + enable_extension_with_built_with =${PHP_PKG} apache2 apxs2 /usr/sbin/apxs2 "optimisation for apache2" + enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1" + php-ext-pecl-r1_src_compile +} + +src_install() { + php-ext-pecl-r1_src_install + dodoc CHANGELOG INSTALL LICENSE NOTICE + + php-ext-base-r1_addtoinifiles "apc.enabled" '"1"' + php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"' + php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"' + php-ext-base-r1_addtoinifiles "apc.optimization" '"0"' + php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1000"' + php-ext-base-r1_addtoinifiles "apc.ttl" '"0"' + php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"' + php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"' + php-ext-base-r1_addtoinifiles "apc.filters" '""' + php-ext-base-r1_addtoinifiles "apc.mmap_file_mask" '""' + php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"' + php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"' + + dodir ${PHP_EXT_SHARED_DIR} + insinto ${PHP_EXT_SHARED_DIR} + doins apc.php +} + +pkg_postinst() { + einfo "The apc.php file shipped with this release of PECL-APC was" + einfo "installed into /usr/share/php5/apc/." +} diff --git a/dev-php5/pecl-crack/ChangeLog b/dev-php5/pecl-crack/ChangeLog new file mode 100644 index 000000000000..834c1a4ce1b1 --- /dev/null +++ b/dev-php5/pecl-crack/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-crack +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-crack/ChangeLog,v 1.1 2005/09/04 16:22:03 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-crack/Manifest b/dev-php5/pecl-crack/Manifest new file mode 100644 index 000000000000..3c72567107cb --- /dev/null +++ b/dev-php5/pecl-crack/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 94258c0ca534f32cf1c422c1b1533ba7 ChangeLog 220 +MD5 4373f47df63838f47e6948d65f2d5a0b pecl-crack-0.2.ebuild 417 +MD5 23b550fda581d450144e8ef0ca019082 files/digest-pecl-crack-0.2 56 diff --git a/dev-php5/pecl-crack/files/digest-pecl-crack-0.2 b/dev-php5/pecl-crack/files/digest-pecl-crack-0.2 new file mode 100644 index 000000000000..1c58c6f14815 --- /dev/null +++ b/dev-php5/pecl-crack/files/digest-pecl-crack-0.2 @@ -0,0 +1 @@ +MD5 0fbce1787086f21683f0ba5115902223 crack-0.2.tgz 6364 diff --git a/dev-php5/pecl-crack/metadata.xml b/dev-php5/pecl-crack/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-crack/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> diff --git a/dev-php5/pecl-crack/pecl-crack-0.2.ebuild b/dev-php5/pecl-crack/pecl-crack-0.2.ebuild new file mode 100644 index 000000000000..5c2ef60771c1 --- /dev/null +++ b/dev-php5/pecl-crack/pecl-crack-0.2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-crack/pecl-crack-0.2.ebuild,v 1.1 2005/09/04 16:22:03 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="crack" +PHP_EXT_NAME="crack" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +DESCRIPTION="PHP interface to the cracklib (libcrack) libraries" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +DEPEND="${DEPEND} + sys-libs/cracklib" + +need_php_by_category diff --git a/dev-php5/pecl-dbx/ChangeLog b/dev-php5/pecl-dbx/ChangeLog new file mode 100644 index 000000000000..c88629c6987c --- /dev/null +++ b/dev-php5/pecl-dbx/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-dbx +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-dbx/ChangeLog,v 1.1 2005/09/04 16:23:03 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-dbx/Manifest b/dev-php5/pecl-dbx/Manifest new file mode 100644 index 000000000000..c23d96f0aaee --- /dev/null +++ b/dev-php5/pecl-dbx/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 a653ea61c5db2ee5639a3afa9c122193 ChangeLog 218 +MD5 51283c61444f2004248a73d18b8e653b pecl-dbx-1.1.0.ebuild 465 +MD5 df51e95ca52b8517a61833b1afd699d1 files/digest-pecl-dbx-1.1.0 57 diff --git a/dev-php5/pecl-dbx/files/digest-pecl-dbx-1.1.0 b/dev-php5/pecl-dbx/files/digest-pecl-dbx-1.1.0 new file mode 100644 index 000000000000..2c1329ed3775 --- /dev/null +++ b/dev-php5/pecl-dbx/files/digest-pecl-dbx-1.1.0 @@ -0,0 +1 @@ +MD5 82d1091c75e047c4a8f9aea7b279e13b dbx-1.1.0.tgz 30872 diff --git a/dev-php5/pecl-dbx/metadata.xml b/dev-php5/pecl-dbx/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-dbx/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> diff --git a/dev-php5/pecl-dbx/pecl-dbx-1.1.0.ebuild b/dev-php5/pecl-dbx/pecl-dbx-1.1.0.ebuild new file mode 100644 index 000000000000..bd87100da420 --- /dev/null +++ b/dev-php5/pecl-dbx/pecl-dbx-1.1.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-dbx/pecl-dbx-1.1.0.ebuild,v 1.1 2005/09/04 16:23:03 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="dbx" +PHP_EXT_NAME="dbx" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +DESCRIPTION="The dbx module is a database abstraction layer." +LICENSE="PHP" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +DEPEND="${DEPEND}" + +need_php_by_category + +src_compile() { + has_php + my_conf="--enable-dbx" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/pecl-fileinfo/ChangeLog b/dev-php5/pecl-fileinfo/ChangeLog new file mode 100644 index 000000000000..93600ac72ae1 --- /dev/null +++ b/dev-php5/pecl-fileinfo/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-fileinfo +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-fileinfo/ChangeLog,v 1.1 2005/09/04 16:24:49 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-fileinfo/Manifest b/dev-php5/pecl-fileinfo/Manifest new file mode 100644 index 000000000000..087daf24289a --- /dev/null +++ b/dev-php5/pecl-fileinfo/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 e417ef613873d21c606fcb1ee8f6f535 ChangeLog 223 +MD5 6e201584fde22c12d8786b5219e1e7ea pecl-fileinfo-1.0.ebuild 388 +MD5 46ba777513035be7795811299fa8bf8c files/digest-pecl-fileinfo-1.0 59 diff --git a/dev-php5/pecl-fileinfo/files/digest-pecl-fileinfo-1.0 b/dev-php5/pecl-fileinfo/files/digest-pecl-fileinfo-1.0 new file mode 100644 index 000000000000..0e1bc6033d0f --- /dev/null +++ b/dev-php5/pecl-fileinfo/files/digest-pecl-fileinfo-1.0 @@ -0,0 +1 @@ +MD5 66503ab12c7d9cc1958b653845baa49c Fileinfo-1.0.tgz 5566 diff --git a/dev-php5/pecl-fileinfo/metadata.xml b/dev-php5/pecl-fileinfo/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-fileinfo/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> diff --git a/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.ebuild b/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.ebuild new file mode 100644 index 000000000000..868975379292 --- /dev/null +++ b/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-fileinfo/pecl-fileinfo-1.0.ebuild,v 1.1 2005/09/04 16:24:49 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="Fileinfo" +PHP_EXT_NAME="fileinfo" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="libmagic bindings for PHP." +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + sys-apps/file" + +need_php_by_category diff --git a/dev-php5/pecl-imagick/ChangeLog b/dev-php5/pecl-imagick/ChangeLog new file mode 100644 index 000000000000..481c496eabc7 --- /dev/null +++ b/dev-php5/pecl-imagick/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-imagick +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-imagick/ChangeLog,v 1.1 2005/09/04 16:27:29 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-imagick/Manifest b/dev-php5/pecl-imagick/Manifest new file mode 100644 index 000000000000..73df766161f3 --- /dev/null +++ b/dev-php5/pecl-imagick/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 370283a38a0c93db1d6189131731607c ChangeLog 222 +MD5 4782819e7b21d6af3c011c99e63b5dc3 pecl-imagick-0.9.11.ebuild 696 +MD5 ed2047d765f8569bef894def860bc3be files/digest-pecl-imagick-0.9.11 62 diff --git a/dev-php5/pecl-imagick/files/digest-pecl-imagick-0.9.11 b/dev-php5/pecl-imagick/files/digest-pecl-imagick-0.9.11 new file mode 100644 index 000000000000..3eb255434090 --- /dev/null +++ b/dev-php5/pecl-imagick/files/digest-pecl-imagick-0.9.11 @@ -0,0 +1 @@ +MD5 c8f78b063eb3fbdef1c8501190983c89 imagick-0.9.11.tgz 69562 diff --git a/dev-php5/pecl-imagick/metadata.xml b/dev-php5/pecl-imagick/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-imagick/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> diff --git a/dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild b/dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild new file mode 100644 index 000000000000..3027dc2bb127 --- /dev/null +++ b/dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-imagick/pecl-imagick-0.9.11.ebuild,v 1.1 2005/09/04 16:27:29 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="graphicsmagick" +DESCRIPTION="PHP wrapper for the ImageMagick library." +HOMEPAGE="http://pecl.php.net/imagick" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" + +DEPEND="${DEPEND} + !graphicsmagick? >=media-gfx/imagemagick-6.2.0 + graphicsmagick? >=media-gfx/graphicsmagick-1.0.0" + +need_php_by_category + +src_compile () { + my_conf="--with-imagick" + use graphicsmagick && my_conf="${my_conf} --with-imagick-gm" + php-ext-pecl-r1_src_compile +} + +src_install() { + php-ext-pecl-r1_src_install + dodoc CREDITS INSTALL +} diff --git a/dev-php5/pecl-mailparse/ChangeLog b/dev-php5/pecl-mailparse/ChangeLog new file mode 100644 index 000000000000..99086a1940a6 --- /dev/null +++ b/dev-php5/pecl-mailparse/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-mailparse +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mailparse/ChangeLog,v 1.1 2005/09/04 16:29:32 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-mailparse/Manifest b/dev-php5/pecl-mailparse/Manifest new file mode 100644 index 000000000000..45d53b15d96f --- /dev/null +++ b/dev-php5/pecl-mailparse/Manifest @@ -0,0 +1,5 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 41cbaf97eed60a2203b5e6df55bc67dc ChangeLog 224 +MD5 a4796eb6573f855875667d2a18394daa pecl-mailparse-2.1.1.ebuild 593 +MD5 0e0417ccc35d51d676d71b0cf958ec46 files/digest-pecl-mailparse-2.1.1 63 +MD5 35dd19f4a7b42bb6210dc30fc9897d63 files/cvs-mailparse.c-fix.diff 1914 diff --git a/dev-php5/pecl-mailparse/files/cvs-mailparse.c-fix.diff b/dev-php5/pecl-mailparse/files/cvs-mailparse.c-fix.diff new file mode 100644 index 000000000000..349853a29902 --- /dev/null +++ b/dev-php5/pecl-mailparse/files/cvs-mailparse.c-fix.diff @@ -0,0 +1,58 @@ +--- mailparse.c 2005-02-28 07:21:45.000000000 +0100 ++++ mailparse.c 2005-08-28 13:38:08.000000000 +0200 +@@ -15,7 +15,7 @@ + | Author: Wez Furlong <wez@thebrainroom.com> | + +----------------------------------------------------------------------+ + */ +-/* $Id: mailparse.c,v 1.48 2005/02/28 05:51:40 wez Exp $ */ ++/* $Id: mailparse.c,v 1.49 2005/05/12 13:02:41 wez Exp $ */ + + #ifdef HAVE_CONFIG_H + #include "config.h" +@@ -70,7 +70,7 @@ + {NULL, NULL, NULL} + }; + +-static zend_class_entry mimemsg_class_entry; ++static zend_class_entry *mimemsg_class_entry; + + function_entry mailparse_functions[] = { + PHP_FE(mailparse_msg_parse_file, NULL) +@@ -138,6 +138,8 @@ + + PHP_MINIT_FUNCTION(mailparse) + { ++ zend_class_entry mmce; ++ + #ifdef ZTS + zend_mailparse_globals *mailparse_globals; + +@@ -145,8 +147,8 @@ + mailparse_globals = ts_resource(mailparse_globals_id); + #endif + +- INIT_CLASS_ENTRY(mimemsg_class_entry, "mimemessage", mimemessage_methods); +- zend_register_internal_class(&mimemsg_class_entry TSRMLS_CC); ++ INIT_CLASS_ENTRY(mmce, "mimemessage", mimemessage_methods); ++ mimemsg_class_entry = zend_register_internal_class(&mmce TSRMLS_CC); + + + le_mime_part = zend_register_list_destructors_ex(mimepart_dtor, NULL, mailparse_msg_name, module_number); +@@ -211,7 +213,7 @@ + MAKE_STD_ZVAL(zpart); + php_mimepart_to_zval(zpart, part); + +- object_init_ex(object, &mimemsg_class_entry); ++ object_init_ex(object, mimemsg_class_entry); + PZVAL_IS_REF(object) = 1; + ZVAL_REFCOUNT(object) = 1; + +@@ -654,7 +656,7 @@ + php_info_print_table_start(); + php_info_print_table_header(2, "mailparse support", "enabled"); + php_info_print_table_row(2, "Extension Version", mailparse_module_entry.version); +- php_info_print_table_row(2, "Revision", "$Revision: 1.48 $"); ++ php_info_print_table_row(2, "Revision", "$Revision: 1.49 $"); + php_info_print_table_end(); + + DISPLAY_INI_ENTRIES(); diff --git a/dev-php5/pecl-mailparse/files/digest-pecl-mailparse-2.1.1 b/dev-php5/pecl-mailparse/files/digest-pecl-mailparse-2.1.1 new file mode 100644 index 000000000000..55f141805a85 --- /dev/null +++ b/dev-php5/pecl-mailparse/files/digest-pecl-mailparse-2.1.1 @@ -0,0 +1 @@ +MD5 14c058d79f1f6c01aa53273565bd4a54 mailparse-2.1.1.tgz 35883 diff --git a/dev-php5/pecl-mailparse/metadata.xml b/dev-php5/pecl-mailparse/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-mailparse/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> diff --git a/dev-php5/pecl-mailparse/pecl-mailparse-2.1.1.ebuild b/dev-php5/pecl-mailparse/pecl-mailparse-2.1.1.ebuild new file mode 100644 index 000000000000..035187275c93 --- /dev/null +++ b/dev-php5/pecl-mailparse/pecl-mailparse-2.1.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mailparse/pecl-mailparse-2.1.1.ebuild,v 1.1 2005/09/04 16:29:32 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="A PHP extension for parsing and working with RFC822 and RFC2045 (MIME) compliant messages." +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" + +need_php_by_category + +pkg_setup() { + has_php + require_php_with_use nls +} + +src_unpack() { + unpack ${A} + + cd ${S} + + # Patch against segfaults + epatch ${FILESDIR}/cvs-mailparse.c-fix.diff +} + +src_install() { + php-ext-pecl-r1_src_install + dodoc README +} diff --git a/dev-php5/pecl-memcache/ChangeLog b/dev-php5/pecl-memcache/ChangeLog new file mode 100644 index 000000000000..e53cb5a788cc --- /dev/null +++ b/dev-php5/pecl-memcache/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-memcache +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v 1.1 2005/09/04 16:30:29 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-memcache/Manifest b/dev-php5/pecl-memcache/Manifest new file mode 100644 index 000000000000..7aa2d6abf5ff --- /dev/null +++ b/dev-php5/pecl-memcache/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 b598c12efda96c4924b981cc5c81765f ChangeLog 223 +MD5 39967b0de474b441c31343cda5d0714c pecl-memcache-1.5.ebuild 503 +MD5 5a0944dace5bba68eeeddcc69a730995 files/digest-pecl-memcache-1.5 60 diff --git a/dev-php5/pecl-memcache/files/digest-pecl-memcache-1.5 b/dev-php5/pecl-memcache/files/digest-pecl-memcache-1.5 new file mode 100644 index 000000000000..dbddac7e0eaa --- /dev/null +++ b/dev-php5/pecl-memcache/files/digest-pecl-memcache-1.5 @@ -0,0 +1 @@ +MD5 f521dd4d3cad4ccb05d9ade4e1cc04d4 memcache-1.5.tgz 14291 diff --git a/dev-php5/pecl-memcache/metadata.xml b/dev-php5/pecl-memcache/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-memcache/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> diff --git a/dev-php5/pecl-memcache/pecl-memcache-1.5.ebuild b/dev-php5/pecl-memcache/pecl-memcache-1.5.ebuild new file mode 100644 index 000000000000..8c0b7ec652f6 --- /dev/null +++ b/dev-php5/pecl-memcache/pecl-memcache-1.5.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-1.5.ebuild,v 1.1 2005/09/04 16:30:29 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="memcache" +PHP_EXT_NAME="memcache" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP extension for using memcached." +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + sys-libs/zlib" + +need_php_by_category + +src_compile() { + has_php + my_conf="--enable-memcache --with-zlib-dir=/usr" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/pecl-pdflib/ChangeLog b/dev-php5/pecl-pdflib/ChangeLog new file mode 100644 index 000000000000..a99df8f01476 --- /dev/null +++ b/dev-php5/pecl-pdflib/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdflib +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdflib/ChangeLog,v 1.1 2005/09/04 16:31:34 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdflib/Manifest b/dev-php5/pecl-pdflib/Manifest new file mode 100644 index 000000000000..31425dae752f --- /dev/null +++ b/dev-php5/pecl-pdflib/Manifest @@ -0,0 +1,5 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 1a89bb654f444a3a3a595a50b5509fad ChangeLog 221 +MD5 8907d897162afa8b1719d63dc2a9774d pecl-pdflib-2.0.4-r1.ebuild 528 +MD5 1ffaf58e4d052d47b48b8490ca92efaf files/digest-pecl-pdflib-2.0.4-r1 60 +MD5 f1d1195704d3132b7878446eba109903 files/ifgd-patch.diff 5798 diff --git a/dev-php5/pecl-pdflib/files/digest-pecl-pdflib-2.0.4-r1 b/dev-php5/pecl-pdflib/files/digest-pecl-pdflib-2.0.4-r1 new file mode 100644 index 000000000000..6743f8549605 --- /dev/null +++ b/dev-php5/pecl-pdflib/files/digest-pecl-pdflib-2.0.4-r1 @@ -0,0 +1 @@ +MD5 7fad3af58b98c0b7bea64a6e760e4520 pdflib-2.0.4.tgz 36082 diff --git a/dev-php5/pecl-pdflib/files/ifgd-patch.diff b/dev-php5/pecl-pdflib/files/ifgd-patch.diff new file mode 100644 index 000000000000..824bbd2298d0 --- /dev/null +++ b/dev-php5/pecl-pdflib/files/ifgd-patch.diff @@ -0,0 +1,209 @@ +--- pdf.c 2005-08-02 17:43:36.000000000 +0200 ++++ pdf.c 2005-08-02 17:45:33.000000000 +0200 +@@ -17,12 +17,12 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: pdf.c,v 1.143 2004/11/30 11:42:13 rjs Exp $ */ ++/* $Id: pdf.c,v 1.144 2005/03/08 12:02:19 rjs Exp $ */ + + /* {{{ Comments about the module */ + + /* derived from: +- $Id: pdf.c,v 1.143 2004/11/30 11:42:13 rjs Exp $ ++ $Id: pdf.c,v 1.144 2005/03/08 12:02:19 rjs Exp $ + synced with pdflib.h 1.237 */ + + /* PDFlib 2.02 ... 4.0.x is subject to the ALADDIN FREE PUBLIC LICENSE. +@@ -63,8 +63,12 @@ + + /* Bootstrap of PDFlib Feature setup */ + #define PDF_FEATURE_INTERNAL ++#define PDFLIB_PECL_VERSIONSTRING "2.0.4-r1" + +-#define PDFLIB_PECL_VERSIONSTRING "2.0.3" ++/* set this define if you want to include GD support ++ * this adds the (unofficial) function pdf_open_memory_image() ++#define PDFLIB_WITH_GD_SUPPORT ++*/ + + /* }}} */ + +@@ -87,6 +91,7 @@ + # include "Zend/zend_exceptions.h" + #endif /* PHP_MAJOR_VERSION >= 5 */ + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + # include "ext/gd/php_gd.h" + # if HAVE_GD_BUNDLED +@@ -96,6 +101,7 @@ + # endif /* HAVE_GD_BUNDLED */ + static int le_gd; + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + #ifdef HAVE_UNISTD_H + # include <unistd.h> +@@ -299,10 +305,12 @@ + + /* End of the official PDFLIB API */ + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* not supported by PDFlib GmbH */ + PHP_FE(pdf_open_memory_image, NULL) + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + {NULL, NULL, NULL} + }; +@@ -491,10 +499,12 @@ + + /* End of the official PDFLIB API */ + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* not supported by PDFlib GmbH */ + /* PHP_ME_MAPPING(open_memory_image, pdf_open_memory_image, NULL) */ + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + {NULL, NULL, NULL} + }; +@@ -768,7 +778,7 @@ + php_info_print_table_row(2, "PDF Support", "enabled" ); + php_info_print_table_row(2, "PDFlib GmbH Version", PDFLIB_VERSIONSTRING ); + php_info_print_table_row(2, "PECL Version", PDFLIB_PECL_VERSIONSTRING); +- php_info_print_table_row(2, "Revision", "$Revision: 1.143 $" ); ++ php_info_print_table_row(2, "Revision", "$Revision: 1.144 $" ); + php_info_print_table_end(); + + } +@@ -7197,6 +7207,7 @@ + + + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* {{{ proto int pdf_open_memory_image(resource p, int image) + Takes an GD image and returns an image for placement in a PDF document */ +@@ -7276,6 +7287,7 @@ + } + /* }}} */ + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + #else /* PDFLIB_MAJORVERSION < 5 */ + /* use the old wrapper for PDFlib 4 and earlier */ +--- pdf4.c 2005-08-02 17:43:43.000000000 +0200 ++++ pdf4.c 2005-08-02 17:47:52.000000000 +0200 +@@ -17,7 +17,7 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: pdf4.c,v 1.2 2004/11/30 11:42:13 rjs Exp $ */ ++/* $Id: pdf4.c,v 1.4 2005/07/08 06:22:03 steinm Exp $ */ + + /* pdflib 2.02 ... 3.0x is subject to the ALADDIN FREE PUBLIC LICENSE. + Copyright (C) 1997-1999 Thomas Merz. 2000-2001 PDFlib GmbH */ +@@ -40,6 +40,7 @@ + #include "ext/standard/file.h" + #include "php_streams.h" + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + #include "ext/gd/php_gd.h" + #if HAVE_GD_BUNDLED +@@ -49,6 +50,7 @@ + #endif + static int le_gd; + #endif ++#endif / * PDFLIB_WITH_GD_SUPPORT * / + + #ifdef HAVE_UNISTD_H + # include <unistd.h> +@@ -187,9 +189,11 @@ + + /* some more stuff for compatibility */ + PHP_FE(pdf_add_annotation, NULL) ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + PHP_FE(pdf_open_memory_image, NULL) + #endif ++#endif + /* depreciatet after V4.0 of PDFlib */ + PHP_FE(pdf_setgray_fill, NULL) + PHP_FE(pdf_setgray_stroke, NULL) +@@ -334,7 +338,7 @@ + #else + php_info_print_table_row(2, "PDFlib GmbH Version", tmp ); + #endif +- php_info_print_table_row(2, "Revision", "$Revision: 1.2 $" ); ++ php_info_print_table_row(2, "Revision", "$Revision: 1.4 $" ); + php_info_print_table_end(); + + } +@@ -1949,6 +1953,7 @@ + } + /* }}} */ + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* {{{ proto int pdf_open_memory_image(int pdf, int image) + Takes an GD image and returns an image for placement in a PDF document */ +@@ -2015,6 +2020,7 @@ + } + /* }}} */ + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + /* {{{ proto void pdf_close_image(int pdf, int pdfimage) + Closes the PDF image */ +--- php_pdf.h 2005-08-02 17:44:20.000000000 +0200 ++++ php_pdf.h 2005-08-02 17:49:15.000000000 +0200 +@@ -16,7 +16,7 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: php_pdf.h,v 1.30 2004/11/30 11:42:13 rjs Exp $ */ ++/* $Id: php_pdf.h,v 1.31 2005/03/08 12:02:19 rjs Exp $ */ + /* Derived from: + Id: php_pdf.h,v 1.22 2001/11/30 04:46:35 sniper Exp */ + +@@ -201,10 +201,12 @@ + #endif /* PDFlib >= 6.0.0 */ + + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* not supported by PDFlib GmbH */ + PHP_FUNCTION(pdf_open_memory_image); + #endif ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + #ifdef ZTS + #define PDFG(v) TSRMG(pdf_globals_id, php_pdf_globals *, v) +--- php_pdf4.h 2005-08-02 17:44:26.000000000 +0200 ++++ php_pdf4.h 2005-08-02 17:50:39.000000000 +0200 +@@ -16,7 +16,7 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: php_pdf4.h,v 1.2 2004/11/30 11:42:13 rjs Exp $ */ ++/* $Id: php_pdf4.h,v 1.3 2005/03/08 12:02:20 rjs Exp $ */ + + #ifndef PHP_PDF_H + #define PHP_PDF_H +@@ -140,9 +140,11 @@ + + /* some more stuff for compatibility */ + PHP_FUNCTION(pdf_add_annotation); ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + PHP_FUNCTION(pdf_open_memory_image); + #endif ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + #if (PDFLIB_MAJORVERSION >= 4) + /* support for new functions in PDFlib V4.0 */ diff --git a/dev-php5/pecl-pdflib/metadata.xml b/dev-php5/pecl-pdflib/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdflib/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> diff --git a/dev-php5/pecl-pdflib/pecl-pdflib-2.0.4-r1.ebuild b/dev-php5/pecl-pdflib/pecl-pdflib-2.0.4-r1.ebuild new file mode 100644 index 000000000000..46dfdd482b90 --- /dev/null +++ b/dev-php5/pecl-pdflib/pecl-pdflib-2.0.4-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdflib/pecl-pdflib-2.0.4-r1.ebuild,v 1.1 2005/09/04 16:31:34 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="pdflib" +PHP_EXT_NAME="pdf" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP extension for creating PDF files." +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + media-libs/pdflib" + +need_php_by_category + +src_unpack() { + unpack ${A} + + cd ${S} + + # Patch for http://pecl.php.net/bugs/bug.php?id=3554 + epatch ${FILESDIR}/ifgd-patch.diff +} diff --git a/dev-php5/pecl-pdo-dblib/ChangeLog b/dev-php5/pecl-pdo-dblib/ChangeLog new file mode 100644 index 000000000000..0459963fa3a0 --- /dev/null +++ b/dev-php5/pecl-pdo-dblib/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo-dblib +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-dblib/ChangeLog,v 1.1 2005/09/04 16:35:16 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-dblib/Manifest b/dev-php5/pecl-pdo-dblib/Manifest new file mode 100644 index 000000000000..5f349421864d --- /dev/null +++ b/dev-php5/pecl-pdo-dblib/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 e9b53675b4e4ef40dda4f108e684b9cf ChangeLog 224 +MD5 c362d67bf50ec272570ebe747a52beef pecl-pdo-dblib-0.9.ebuild 922 +MD5 beff54166dfd24fab05f7b7ad61368d3 files/digest-pecl-pdo-dblib-0.9 60 diff --git a/dev-php5/pecl-pdo-dblib/files/digest-pecl-pdo-dblib-0.9 b/dev-php5/pecl-pdo-dblib/files/digest-pecl-pdo-dblib-0.9 new file mode 100644 index 000000000000..b13c5cbf07c3 --- /dev/null +++ b/dev-php5/pecl-pdo-dblib/files/digest-pecl-pdo-dblib-0.9 @@ -0,0 +1 @@ +MD5 c77b27ff90e7b4c6ab851e9415d46513 PDO_DBLIB-0.9.tgz 7961 diff --git a/dev-php5/pecl-pdo-dblib/metadata.xml b/dev-php5/pecl-pdo-dblib/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo-dblib/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> diff --git a/dev-php5/pecl-pdo-dblib/pecl-pdo-dblib-0.9.ebuild b/dev-php5/pecl-pdo-dblib/pecl-pdo-dblib-0.9.ebuild new file mode 100644 index 000000000000..df1420786af7 --- /dev/null +++ b/dev-php5/pecl-pdo-dblib/pecl-pdo-dblib-0.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-dblib/pecl-pdo-dblib-0.9.ebuild,v 1.1 2005/09/04 16:35:16 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO_DBLIB" +PHP_EXT_NAME="pdo_dblib" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP Data Objects (PDO) Driver For Sybase/MSSQL Server" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-php5/pecl-pdo + dev-db/freetds" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_compile() { + has_php + my_conf="--with-pdo-dblib" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/pecl-pdo-firebird/ChangeLog b/dev-php5/pecl-pdo-firebird/ChangeLog new file mode 100644 index 000000000000..329371d7dcdb --- /dev/null +++ b/dev-php5/pecl-pdo-firebird/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo-firebird +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-firebird/ChangeLog,v 1.1 2005/09/04 16:38:01 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-firebird/Manifest b/dev-php5/pecl-pdo-firebird/Manifest new file mode 100644 index 000000000000..ad505f0e32c6 --- /dev/null +++ b/dev-php5/pecl-pdo-firebird/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 73a6147926b04cb837b03c0ca6056ffa ChangeLog 227 +MD5 6261bb21a0802a46a8f2d1088e4c0a99 pecl-pdo-firebird-0.2.ebuild 938 +MD5 4a58f4edd1173f8f6332e928708f1137 files/digest-pecl-pdo-firebird-0.2 64 diff --git a/dev-php5/pecl-pdo-firebird/files/digest-pecl-pdo-firebird-0.2 b/dev-php5/pecl-pdo-firebird/files/digest-pecl-pdo-firebird-0.2 new file mode 100644 index 000000000000..b9307e83e873 --- /dev/null +++ b/dev-php5/pecl-pdo-firebird/files/digest-pecl-pdo-firebird-0.2 @@ -0,0 +1 @@ +MD5 c716f713026cae6121b49ea56b954574 PDO_FIREBIRD-0.2.tgz 13380 diff --git a/dev-php5/pecl-pdo-firebird/metadata.xml b/dev-php5/pecl-pdo-firebird/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo-firebird/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> diff --git a/dev-php5/pecl-pdo-firebird/pecl-pdo-firebird-0.2.ebuild b/dev-php5/pecl-pdo-firebird/pecl-pdo-firebird-0.2.ebuild new file mode 100644 index 000000000000..7004ca10c773 --- /dev/null +++ b/dev-php5/pecl-pdo-firebird/pecl-pdo-firebird-0.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-firebird/pecl-pdo-firebird-0.2.ebuild,v 1.1 2005/09/04 16:38:01 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO_FIREBIRD" +PHP_EXT_NAME="pdo_firebird" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP Data Objects (PDO) Driver For Firebird/Interbase Server" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-php5/pecl-pdo + dev-db/firebird" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_compile() { + has_php + my_conf="--with-pdo-firebird" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/pecl-pdo-mysql/ChangeLog b/dev-php5/pecl-pdo-mysql/ChangeLog new file mode 100644 index 000000000000..ed2aa9839bf5 --- /dev/null +++ b/dev-php5/pecl-pdo-mysql/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo-mysql +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-mysql/ChangeLog,v 1.1 2005/09/04 16:39:58 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-mysql/Manifest b/dev-php5/pecl-pdo-mysql/Manifest new file mode 100644 index 000000000000..b91ff56c6630 --- /dev/null +++ b/dev-php5/pecl-pdo-mysql/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 a1b9c493780e57ea7f782cb5a9fe45be ChangeLog 224 +MD5 df7399b0161906cf99347c7196e63eec pecl-pdo-mysql-0.9.ebuild 926 +MD5 da9531689d4c2275b728c88c3b9401c8 files/digest-pecl-pdo-mysql-0.9 61 diff --git a/dev-php5/pecl-pdo-mysql/files/digest-pecl-pdo-mysql-0.9 b/dev-php5/pecl-pdo-mysql/files/digest-pecl-pdo-mysql-0.9 new file mode 100644 index 000000000000..ad8dc5fa4b1c --- /dev/null +++ b/dev-php5/pecl-pdo-mysql/files/digest-pecl-pdo-mysql-0.9 @@ -0,0 +1 @@ +MD5 44bc67aa7b210644be87d7ed656246df PDO_MYSQL-0.9.tgz 11478 diff --git a/dev-php5/pecl-pdo-mysql/metadata.xml b/dev-php5/pecl-pdo-mysql/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo-mysql/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> diff --git a/dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-0.9.ebuild b/dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-0.9.ebuild new file mode 100644 index 000000000000..f39c0d41daef --- /dev/null +++ b/dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-0.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-0.9.ebuild,v 1.1 2005/09/04 16:39:58 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO_MYSQL" +PHP_EXT_NAME="pdo_mysql" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP Data Objects (PDO) Driver For MySQL 3.X/4.X Server" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-php5/pecl-pdo + dev-db/mysql" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_compile() { + has_php + my_conf="--with-pdo-mysql=/usr" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/pecl-pdo-oci/ChangeLog b/dev-php5/pecl-pdo-oci/ChangeLog new file mode 100644 index 000000000000..509466ac1a8e --- /dev/null +++ b/dev-php5/pecl-pdo-oci/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo-oci +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-oci/ChangeLog,v 1.1 2005/09/04 16:41:54 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-oci/Manifest b/dev-php5/pecl-pdo-oci/Manifest new file mode 100644 index 000000000000..2e9d4b9df3e1 --- /dev/null +++ b/dev-php5/pecl-pdo-oci/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 b611ac76342f2a33aaf0f1dbd4893b79 ChangeLog 222 +MD5 615bea1a5c40d723853326b439b2908a pecl-pdo-oci-0.9.ebuild 907 +MD5 46efeed99abc481a1e2edfd1995dfec9 files/digest-pecl-pdo-oci-0.9 59 diff --git a/dev-php5/pecl-pdo-oci/files/digest-pecl-pdo-oci-0.9 b/dev-php5/pecl-pdo-oci/files/digest-pecl-pdo-oci-0.9 new file mode 100644 index 000000000000..f6a852e27d3a --- /dev/null +++ b/dev-php5/pecl-pdo-oci/files/digest-pecl-pdo-oci-0.9 @@ -0,0 +1 @@ +MD5 34e2601e814d0a63e7c1120e2081d73c PDO_OCI-0.9.tgz 11914 diff --git a/dev-php5/pecl-pdo-oci/metadata.xml b/dev-php5/pecl-pdo-oci/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo-oci/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> diff --git a/dev-php5/pecl-pdo-oci/pecl-pdo-oci-0.9.ebuild b/dev-php5/pecl-pdo-oci/pecl-pdo-oci-0.9.ebuild new file mode 100644 index 000000000000..bff28dd21786 --- /dev/null +++ b/dev-php5/pecl-pdo-oci/pecl-pdo-oci-0.9.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-oci/pecl-pdo-oci-0.9.ebuild,v 1.1 2005/09/04 16:41:54 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO_OCI" +PHP_EXT_NAME="pdo_oci" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP Data Objects (PDO) Driver For Oracle Call Interface (OCI)" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-php5/pecl-pdo" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_compile() { + has_php + my_conf="--with-pdo-oci" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/pecl-pdo-odbc/ChangeLog b/dev-php5/pecl-pdo-odbc/ChangeLog new file mode 100644 index 000000000000..daa70c618eb5 --- /dev/null +++ b/dev-php5/pecl-pdo-odbc/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo-odbc +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-odbc/ChangeLog,v 1.1 2005/09/04 16:44:23 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-odbc/Manifest b/dev-php5/pecl-pdo-odbc/Manifest new file mode 100644 index 000000000000..1a0f12d5580a --- /dev/null +++ b/dev-php5/pecl-pdo-odbc/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 1c7b4464324c3169bf4f12c0f0e36877 ChangeLog 223 +MD5 7fffbc81ca5e7929216592c14f8d5d6c pecl-pdo-odbc-0.9.ebuild 929 +MD5 313194f0176da1889b4938a3bfd2489d files/digest-pecl-pdo-odbc-0.9 60 diff --git a/dev-php5/pecl-pdo-odbc/files/digest-pecl-pdo-odbc-0.9 b/dev-php5/pecl-pdo-odbc/files/digest-pecl-pdo-odbc-0.9 new file mode 100644 index 000000000000..4c370fbf8f0b --- /dev/null +++ b/dev-php5/pecl-pdo-odbc/files/digest-pecl-pdo-odbc-0.9 @@ -0,0 +1 @@ +MD5 f4c3251e37457e928df3a668501c5b8d PDO_ODBC-0.9.tgz 12838 diff --git a/dev-php5/pecl-pdo-odbc/metadata.xml b/dev-php5/pecl-pdo-odbc/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo-odbc/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> diff --git a/dev-php5/pecl-pdo-odbc/pecl-pdo-odbc-0.9.ebuild b/dev-php5/pecl-pdo-odbc/pecl-pdo-odbc-0.9.ebuild new file mode 100644 index 000000000000..cabd4d4a5c70 --- /dev/null +++ b/dev-php5/pecl-pdo-odbc/pecl-pdo-odbc-0.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-odbc/pecl-pdo-odbc-0.9.ebuild,v 1.1 2005/09/04 16:44:23 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO_ODBC" +PHP_EXT_NAME="pdo_odbc" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP Data Objects (PDO) Driver For ODBC Interface" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-php5/pecl-pdo + dev-db/unixODBC" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_compile() { + has_php + my_conf="--with-pdo-odbc=unixODBC,/usr" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/pecl-pdo-pgsql/ChangeLog b/dev-php5/pecl-pdo-pgsql/ChangeLog new file mode 100644 index 000000000000..1309772e006a --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo-pgsql +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-pgsql/ChangeLog,v 1.1 2005/09/04 16:46:04 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-pgsql/Manifest b/dev-php5/pecl-pdo-pgsql/Manifest new file mode 100644 index 000000000000..afd6481cfa5d --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 37291f58dc9ab667c17410421f1636f1 ChangeLog 224 +MD5 0a0162d02b0434c2c2400db0b2699b20 pecl-pdo-pgsql-0.9.ebuild 923 +MD5 aaac3c00f864fff5c076a0b64d9ff739 files/digest-pecl-pdo-pgsql-0.9 61 diff --git a/dev-php5/pecl-pdo-pgsql/files/digest-pecl-pdo-pgsql-0.9 b/dev-php5/pecl-pdo-pgsql/files/digest-pecl-pdo-pgsql-0.9 new file mode 100644 index 000000000000..5b5b3bf45028 --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/files/digest-pecl-pdo-pgsql-0.9 @@ -0,0 +1 @@ +MD5 026cc438beb0d85f93e387fd646b45ef PDO_PGSQL-0.9.tgz 11447 diff --git a/dev-php5/pecl-pdo-pgsql/metadata.xml b/dev-php5/pecl-pdo-pgsql/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/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> diff --git a/dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild b/dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild new file mode 100644 index 000000000000..1ba8c5367d59 --- /dev/null +++ b/dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-pgsql/pecl-pdo-pgsql-0.9.ebuild,v 1.1 2005/09/04 16:46:04 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO_PGSQL" +PHP_EXT_NAME="pdo_pgsql" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP Data Objects (PDO) Driver For PostgreSQL Server" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-php5/pecl-pdo + dev-db/postgresql" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_compile() { + has_php + my_conf="--with-pdo-pgsql" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/pecl-pdo-sqlite/ChangeLog b/dev-php5/pecl-pdo-sqlite/ChangeLog new file mode 100644 index 000000000000..687cdec71426 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo-sqlite +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-sqlite/ChangeLog,v 1.1 2005/09/04 16:48:08 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo-sqlite/Manifest b/dev-php5/pecl-pdo-sqlite/Manifest new file mode 100644 index 000000000000..c7c8c4dc1904 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/Manifest @@ -0,0 +1,5 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 68a6b0d161e5ff12daf0094c47307341 ChangeLog 225 +MD5 df77ef32fb4b08ed0d2d8743a9070b27 pecl-pdo-sqlite-0.9.ebuild 932 +MD5 fdc2ae67c97ca2d64d214d9ddd2bef76 files/digest-pecl-pdo-sqlite-0.9 63 +MD5 5e1445119b6f983cf8408a23839c3301 files/config.m4.diff 2048 diff --git a/dev-php5/pecl-pdo-sqlite/files/config.m4.diff b/dev-php5/pecl-pdo-sqlite/files/config.m4.diff new file mode 100644 index 000000000000..99faec5f1062 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/files/config.m4.diff @@ -0,0 +1,32 @@ +--- config.m4 2005-08-06 21:00:16.000000000 +0200 ++++ config.m4 2005-08-06 21:04:03.000000000 +0200 +@@ -1,4 +1,4 @@ +-dnl $Id: config.m4,v 1.23 2005/07/27 04:07:11 wez Exp $ ++dnl $Id: config.m4,v 1.26 2005/07/29 20:41:52 iliaa Exp $ + dnl config.m4 for extension pdo_sqlite + dnl vim:et:sw=2:ts=2: + +@@ -90,20 +90,9 @@ + AC_DEFINE(SQLITE_PTR_SZ, SIZEOF_CHAR_P, [Size of a pointer]) + PDO_SQLITE_VERSION=`cat $ext_srcdir/sqlite/VERSION` + PDO_SQLITE_VERSION_NUMBER=`echo $PDO_SQLITE_VERSION | $AWK -F. '{printf("%d%03d%03d", $1, $2, $3)}'` +- sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $abs_srcdir/sqlite/src/sqlite.h.in > $abs_srcdir/sqlite/src/sqlite3.h +- if ! test -f $abs_srcdir/sqlite/src/parse.h ; then +- dnl maintainer can comment this line out when upgrading the bundled library +- dnl and reinstate it when done +- AC_MSG_ERROR([this package is broken]) +- $CC -o $abs_srcdir/sqlite/tool/lemon $abs_srcdir/sqlite/tool/lemon.c +- $abs_srcdir/sqlite/tool/lemon $abs_srcdir/sqlite/src/parse.y +- cat $abs_srcdir/sqlite/src/parse.h $abs_srcdir/sqlite/src/vdbe.c | $AWK -f $abs_srcdir/sqlite/mkopcodeh.awk > $abs_srcdir/sqlite/src/opcodes.h +- sort -n +2 $abs_srcdir/sqlite/src/opcodes.h | $AWK -f $abs_srcdir/sqlite/mkopcodec.awk > $abs_srcdir/sqlite/src/opcodes.c +- $CC -o $abs_srcdir/sqlite/tool/mkkeywordhash $abs_srcdir/sqlite/tool/mkkeywordhash.c +- $abs_srcdir/sqlite/tool/mkkeywordhash > $abs_srcdir/sqlite/src/keywordhash.h +- else +- touch $abs_srcdir/sqlite/src/parse.c $abs_srcdir/sqlite/src/parse.h +- fi ++ sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $ext_srcdir/sqlite/src/sqlite.h.in > $ext_builddir/sqlite3.h ++ ++ touch $ext_srcdir/sqlite/src/parse.c $ext_srcdir/sqlite/src/parse.h + + if test "$ext_shared" = "no" -o "$ext_srcdir" != "$abs_srcdir"; then + echo '#include <php_config.h>' > $ext_srcdir/sqlite/src/config.h diff --git a/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-0.9 b/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-0.9 new file mode 100644 index 000000000000..a1d54a68f2c9 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/files/digest-pecl-pdo-sqlite-0.9 @@ -0,0 +1 @@ +MD5 65b3540a9ba33661c49850e409b075f4 PDO_SQLITE-0.9.tgz 846899 diff --git a/dev-php5/pecl-pdo-sqlite/metadata.xml b/dev-php5/pecl-pdo-sqlite/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/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> diff --git a/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-0.9.ebuild b/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-0.9.ebuild new file mode 100644 index 000000000000..68d53ad70437 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-0.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-sqlite/pecl-pdo-sqlite-0.9.ebuild,v 1.1 2005/09/04 16:48:08 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO_SQLITE" +PHP_EXT_NAME="pdo_sqlite" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP Data Objects (PDO) Driver For SQLite Server" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-php5/pecl-pdo" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + # Patches config to latest CVS sources + epatch ${FILESDIR}/config.m4.diff +} diff --git a/dev-php5/pecl-pdo/ChangeLog b/dev-php5/pecl-pdo/ChangeLog new file mode 100644 index 000000000000..74ff08ad2def --- /dev/null +++ b/dev-php5/pecl-pdo/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-pdo +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo/ChangeLog,v 1.1 2005/09/04 16:32:39 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-pdo/Manifest b/dev-php5/pecl-pdo/Manifest new file mode 100644 index 000000000000..bfb96bb4710c --- /dev/null +++ b/dev-php5/pecl-pdo/Manifest @@ -0,0 +1,5 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 73c4cda1625ca38616ed976dfa5e584f ChangeLog 218 +MD5 b7238b5def2a948fc3ad53a5b5d7ac5c pecl-pdo-0.9.ebuild 1472 +MD5 6279556cf34bf92200701c7a65f81ed9 files/digest-pecl-pdo-0.9 55 +MD5 c52b46703f8061eb524872fa24edc342 files/pdo_stmt.c.diff 915 diff --git a/dev-php5/pecl-pdo/files/digest-pecl-pdo-0.9 b/dev-php5/pecl-pdo/files/digest-pecl-pdo-0.9 new file mode 100644 index 000000000000..c1042eddf580 --- /dev/null +++ b/dev-php5/pecl-pdo/files/digest-pecl-pdo-0.9 @@ -0,0 +1 @@ +MD5 21e8200b0245a2513399a6b7c382b765 PDO-0.9.tgz 46682 diff --git a/dev-php5/pecl-pdo/files/pdo_stmt.c.diff b/dev-php5/pecl-pdo/files/pdo_stmt.c.diff new file mode 100644 index 000000000000..06f433c01e51 --- /dev/null +++ b/dev-php5/pecl-pdo/files/pdo_stmt.c.diff @@ -0,0 +1,34 @@ +--- pdo_stmt.c 2005-07-27 04:06:11.000000000 +0200 ++++ pdo_stmt.c 2005-08-06 20:50:17.000000000 +0200 +@@ -18,7 +18,7 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: pdo_stmt.c,v 1.116 2005/07/22 14:31:20 helly Exp $ */ ++/* $Id: pdo_stmt.c,v 1.118 2005/08/03 18:26:16 iliaa Exp $ */ + + /* The PDO Statement Handle Class */ + +@@ -1985,12 +1985,20 @@ + struct pdo_column_data *cols = stmt->columns; + + for (i = 0; i < stmt->column_count; i++) { +- efree(cols[i].name); ++ if (cols[i].name) { ++ efree(cols[i].name); ++ cols[i].name = NULL; ++ } + } + efree(stmt->columns); ++ stmt->columns = NULL; ++ } ++ ++ if (stmt->fetch.into && stmt->default_fetch_type == PDO_FETCH_INTO) { ++ FREE_ZVAL(stmt->fetch.into); ++ stmt->fetch.into = NULL; + } + +- + do_fetch_opt_finish(stmt, 1 TSRMLS_CC); + + zend_objects_store_del_ref(&stmt->database_object_handle TSRMLS_CC); diff --git a/dev-php5/pecl-pdo/metadata.xml b/dev-php5/pecl-pdo/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-pdo/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> diff --git a/dev-php5/pecl-pdo/pecl-pdo-0.9.ebuild b/dev-php5/pecl-pdo/pecl-pdo-0.9.ebuild new file mode 100644 index 000000000000..97d2a4e7715b --- /dev/null +++ b/dev-php5/pecl-pdo/pecl-pdo-0.9.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo/pecl-pdo-0.9.ebuild,v 1.1 2005/09/04 16:32:39 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="PDO" +PHP_EXT_NAME="pdo" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="firebird mssql mysql oci8 odbc postgres sqlite" +DESCRIPTION="Core PHP Data Objects (PDO)" +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND}" +PDEPEND="${PDEPEND} + firebird? ( dev-php5/pecl-pdo-firebird ) + mssql? ( dev-php5/pecl-pdo-dblib ) + mysql? ( dev-php5/pecl-pdo-mysql ) + oci8? ( dev-php5/pecl-pdo-oci ) + odbc? ( dev-php5/pecl-pdo-odbc ) + postgres? ( dev-php5/pecl-pdo-pgsql ) + sqlite? ( dev-php5/pecl-pdo-sqlite )" + +need_php_by_category + +pkg_setup() { + has_php + + # if the user has compiled in PDO, he can't use this package + if built_with_use =${PHP_PKG} pdo ; then + eerror + eerror "You have built ${PHP_PKG} to use the bundled PDO support." + eerror "If you want to use the PECL PDO packages, you must rebuild" + eerror "your PHP with the 'pdo-external' USE flag instead." + eerror + die "PHP built to use bundled PDO support" + fi +} + +src_unpack() { + unpack ${A} + + cd ${S} + + # Patches the file to the newest CVS sources + epatch ${FILESDIR}/pdo_stmt.c.diff +} + +src_install() { + php-ext-pecl-r1_src_install + + # install missing header files + destdir=/usr/$(get_libdir)/php5 + dodir ${destdir}/include/php/ext/pdo + insinto ${destdir}/include/php/ext/pdo + doins php_pdo_driver.h + doins php_pdo.h + doins php_pdo_int.h +} diff --git a/dev-php5/pecl-ps/ChangeLog b/dev-php5/pecl-ps/ChangeLog new file mode 100644 index 000000000000..b3a573d6d906 --- /dev/null +++ b/dev-php5/pecl-ps/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-ps +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-ps/ChangeLog,v 1.1 2005/09/04 16:49:09 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-ps/Manifest b/dev-php5/pecl-ps/Manifest new file mode 100644 index 000000000000..1a64eedc1dc5 --- /dev/null +++ b/dev-php5/pecl-ps/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 6c72f4996ac445bce14ba106361fdd28 pecl-ps-1.3.1.ebuild 395 +MD5 5075bbf4a5a4efcb503e404bd7674e85 ChangeLog 217 +MD5 30a9b9bc35b549888c2adaa4c850b989 files/digest-pecl-ps-1.3.1 57 diff --git a/dev-php5/pecl-ps/files/digest-pecl-ps-1.3.1 b/dev-php5/pecl-ps/files/digest-pecl-ps-1.3.1 new file mode 100644 index 000000000000..18d54d91d99b --- /dev/null +++ b/dev-php5/pecl-ps/files/digest-pecl-ps-1.3.1 @@ -0,0 +1 @@ +MD5 f70d7ae14155c3f4ee9fd0a18b0337d3 ps-1.3.1.tgz 155392 diff --git a/dev-php5/pecl-ps/metadata.xml b/dev-php5/pecl-ps/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-ps/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> diff --git a/dev-php5/pecl-ps/pecl-ps-1.3.1.ebuild b/dev-php5/pecl-ps/pecl-ps-1.3.1.ebuild new file mode 100644 index 000000000000..2a99f36c3d2d --- /dev/null +++ b/dev-php5/pecl-ps/pecl-ps-1.3.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-ps/pecl-ps-1.3.1.ebuild,v 1.1 2005/09/04 16:49:09 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="ps" +PHP_EXT_NAME="ps" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +IUSE="" +DESCRIPTION="PHP extension for creating PostScript files." +SLOT="0" +LICENSE="PHP" +KEYWORDS="~ppc ~x86" +DEPEND="${DEPEND} + dev-libs/pslib" + +need_php_by_category diff --git a/dev-php5/pecl-yaz/ChangeLog b/dev-php5/pecl-yaz/ChangeLog new file mode 100644 index 000000000000..04da9bb56a69 --- /dev/null +++ b/dev-php5/pecl-yaz/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/pecl-yaz +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-yaz/ChangeLog,v 1.1 2005/09/04 16:50:27 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/pecl-yaz/Manifest b/dev-php5/pecl-yaz/Manifest new file mode 100644 index 000000000000..0dbec097b166 --- /dev/null +++ b/dev-php5/pecl-yaz/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 bdc5f19b28936a8d8ef94390f33a9b77 ChangeLog 218 +MD5 06d278d049f587dc458eea0e8a5adadf pecl-yaz-1.0.4.ebuild 517 +MD5 fa7c0d0ad55b381a4c8aebaa525434a9 files/digest-pecl-yaz-1.0.4 57 diff --git a/dev-php5/pecl-yaz/files/digest-pecl-yaz-1.0.4 b/dev-php5/pecl-yaz/files/digest-pecl-yaz-1.0.4 new file mode 100644 index 000000000000..c7286879a2c4 --- /dev/null +++ b/dev-php5/pecl-yaz/files/digest-pecl-yaz-1.0.4 @@ -0,0 +1 @@ +MD5 2ae4180bcfc00199c465815f89fc3b16 yaz-1.0.4.tgz 15793 diff --git a/dev-php5/pecl-yaz/metadata.xml b/dev-php5/pecl-yaz/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/pecl-yaz/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> diff --git a/dev-php5/pecl-yaz/pecl-yaz-1.0.4.ebuild b/dev-php5/pecl-yaz/pecl-yaz-1.0.4.ebuild new file mode 100644 index 000000000000..5bab5acfbdde --- /dev/null +++ b/dev-php5/pecl-yaz/pecl-yaz-1.0.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-yaz/pecl-yaz-1.0.4.ebuild,v 1.1 2005/09/04 16:50:27 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_PKG="yaz" +PHP_EXT_NAME="yaz" +PHP_EXT_INI="yes" + +inherit php-ext-pecl-r1 + +DESCRIPTION="This extension implements a Z39.50 client for PHP using the YAZ toolkit." +LICENSE="PHP" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +DEPEND="${DEPEND} + >=dev-libs/yaz-2.0.13" + +need_php_by_category + +src_compile() { + has_php + my_conf="--with-yaz=/usr" + php-ext-pecl-r1_src_compile +} diff --git a/dev-php5/php-java-bridge/ChangeLog b/dev-php5/php-java-bridge/ChangeLog new file mode 100644 index 000000000000..1b872095655f --- /dev/null +++ b/dev-php5/php-java-bridge/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/php-java-bridge +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-java-bridge/ChangeLog,v 1.1 2005/09/04 16:52:23 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/php-java-bridge/Manifest b/dev-php5/php-java-bridge/Manifest new file mode 100644 index 000000000000..307e7e8eb52a --- /dev/null +++ b/dev-php5/php-java-bridge/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 4c1fbb5865b9b4d4581cfd5980492bdc ChangeLog 225 +MD5 d1d61acf9568bf5e862e8e0aa3685293 php-java-bridge-2.0.7.ebuild 1083 +MD5 f9772bb4b2696cabf6a11c123cf8060d files/digest-php-java-bridge-2.0.7 74 diff --git a/dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.7 b/dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.7 new file mode 100644 index 000000000000..f0c8280bb34a --- /dev/null +++ b/dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.7 @@ -0,0 +1 @@ +MD5 edf993bac2485893cfbce975691a3e32 php-java-bridge_2.0.7.tar.bz2 125764 diff --git a/dev-php5/php-java-bridge/metadata.xml b/dev-php5/php-java-bridge/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/php-java-bridge/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> diff --git a/dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild b/dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild new file mode 100644 index 000000000000..e8516ec95f79 --- /dev/null +++ b/dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild,v 1.1 2005/09/04 16:52:23 stuart Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_NAME="java" +PHP_EXT_INI="yes" + +inherit php-ext-source-r1 + +SRC_URI="mirror://sourceforge/php-java-bridge/${PN}_${PV}.tar.bz2" +HOMEPAGE="http://php-java-bridge.sourceforge.net/" + +DESCRIPTION="The PHP/Java bridge is a PHP module wich connects the PHP object system with the Java or ECMA 335 object system." +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +DEPEND="${DEPEND} + >=dev-util/re2c-0.9.9 + dev-java/java-config + =virtual/jdk-1.4*" + +need_php_by_category + +pkg_setup() { + has_php + require_php_with_use java-external +} + +src_compile() { + has_php + export WANT_AUTOCONF=2.5 + my_conf="--disable-servlet --with-java=`java-config --jdk-home`" + php-ext-source-r1_src_compile +} + +src_install() { + php-ext-source-r1_src_install + insinto ${EXT_DIR} + doins modules/JavaBridge.jar + doins modules/RunJavaBridge + doins modules/libnatcJavaBridge.a + doins modules/libnatcJavaBridge.so + dodoc ChangeLog README README.GNU_JAVA PROTOCOL.TXT +} diff --git a/dev-php5/phpdbg/ChangeLog b/dev-php5/phpdbg/ChangeLog new file mode 100644 index 000000000000..1aae2b0dc273 --- /dev/null +++ b/dev-php5/phpdbg/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-php5/phpdbg +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/phpdbg/ChangeLog,v 1.1 2005/09/04 16:53:21 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/phpdbg/Manifest b/dev-php5/phpdbg/Manifest new file mode 100644 index 000000000000..ccfbb02ac0e9 --- /dev/null +++ b/dev-php5/phpdbg/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 e8f6e687afc69d8532e92d839ad43fcb ChangeLog 216 +MD5 3ac430bb29711af1d080dda4801d3801 phpdbg-2.11.32.ebuild 1378 +MD5 4f8b7e495c942a2fc4eb4722d0b2382d files/digest-phpdbg-2.11.32 66 diff --git a/dev-php5/phpdbg/files/digest-phpdbg-2.11.32 b/dev-php5/phpdbg/files/digest-phpdbg-2.11.32 new file mode 100644 index 000000000000..07041a3b6d71 --- /dev/null +++ b/dev-php5/phpdbg/files/digest-phpdbg-2.11.32 @@ -0,0 +1 @@ +MD5 1ac7372bfcb4c5e13cad1248e071d70c dbg-2.11.32-src.tar.gz 39369 diff --git a/dev-php5/phpdbg/metadata.xml b/dev-php5/phpdbg/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/phpdbg/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> diff --git a/dev-php5/phpdbg/phpdbg-2.11.32.ebuild b/dev-php5/phpdbg/phpdbg-2.11.32.ebuild new file mode 100644 index 000000000000..c73f6cf1e3e3 --- /dev/null +++ b/dev-php5/phpdbg/phpdbg-2.11.32.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/phpdbg/phpdbg-2.11.32.ebuild,v 1.1 2005/09/04 16:53:21 stuart Exp $ + +PHP_EXT_NAME="dbg" +PHP_EXT_ZENDEXT="no" +inherit php-ext-source-r1 +IUSE="" +S="${WORKDIR}/dbg-${PV}${PL}" +DESCRIPTION="A PHP debugger useable with some editors like phpedit." +SRC_URI="mirror://sourceforge/dbg2/dbg-${PV}${PL}-src.tar.gz" +HOMEPAGE="http://dd.cron.ru/dbg/" +LICENSE="dbgphp" +SLOT="0" + +KEYWORDS="~ppc ~x86" + +need_php_by_category + +src_compile() { + # phpdbg does not work with Zend Thread Safety (ZTS) + # so abort if we are using PHP compiled with ZTS. + if has_zts ; then + eerror "phpdbg doesn't work with a ZTS enabled PHP." + eerror "Please disable ZTS by turning the 'threads'" + eerror "USE flag off when you compile dev-lang/php." + die "phpdbg does not support ZTS" + fi + + my_conf="--enable-dbg=shared --with-dbg-profiler" + php-ext-source-r1_src_compile +} + +src_install () { + php-ext-source-r1_src_install + dodoc AUTHORS COPYING INSTALL + php-ext-base-r1_addtoinifiles "[Debugger]" + php-ext-base-r1_addtoinifiles "debugger.enabled" "on" + php-ext-base-r1_addtoinifiles "debugger.profiler_enabled" "on" +} + +pkg_postinst() { + einfo "Please reload Apache to activate the changes" +} + +pkg_postrm() { + einfo "You need to remove all lines referring to the debugger, and" + einfo "extension=dbg.so. Please reload Apache to activate the changes." +} |