summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2005-09-04 16:01:22 +0000
committerStuart Herbert <stuart@gentoo.org>2005-09-04 16:01:22 +0000
commit5d7850ce49f7ea9a8915056b11fcf07e93fb8cf8 (patch)
tree92cb78b2b452543a578430458fc56ffd58244062
parentNew release: 0.3.3 (diff)
downloadhistorical-5d7850ce49f7ea9a8915056b11fcf07e93fb8cf8.tar.gz
historical-5d7850ce49f7ea9a8915056b11fcf07e93fb8cf8.tar.bz2
historical-5d7850ce49f7ea9a8915056b11fcf07e93fb8cf8.zip
Initial import for PHP4
Package-Manager: portage-2.0.51.22-r2
-rw-r--r--dev-php4/pecl-mailparse/ChangeLog7
-rw-r--r--dev-php4/pecl-mailparse/Manifest5
-rw-r--r--dev-php4/pecl-mailparse/files/cvs-mailparse.c-fix.diff58
-rw-r--r--dev-php4/pecl-mailparse/files/digest-pecl-mailparse-2.1.11
-rw-r--r--dev-php4/pecl-mailparse/metadata.xml5
-rw-r--r--dev-php4/pecl-mailparse/pecl-mailparse-2.1.1.ebuild35
-rw-r--r--dev-php4/pecl-memcache/ChangeLog7
-rw-r--r--dev-php4/pecl-memcache/Manifest4
-rw-r--r--dev-php4/pecl-memcache/files/digest-pecl-memcache-1.51
-rw-r--r--dev-php4/pecl-memcache/metadata.xml5
-rw-r--r--dev-php4/pecl-memcache/pecl-memcache-1.5.ebuild27
-rw-r--r--dev-php4/pecl-pdflib/ChangeLog7
-rw-r--r--dev-php4/pecl-pdflib/Manifest5
-rw-r--r--dev-php4/pecl-pdflib/files/digest-pecl-pdflib-2.0.4-r11
-rw-r--r--dev-php4/pecl-pdflib/files/ifgd-patch.diff209
-rw-r--r--dev-php4/pecl-pdflib/metadata.xml5
-rw-r--r--dev-php4/pecl-pdflib/pecl-pdflib-2.0.4-r1.ebuild29
-rw-r--r--dev-php4/pecl-ps/ChangeLog7
-rw-r--r--dev-php4/pecl-ps/Manifest4
-rw-r--r--dev-php4/pecl-ps/files/digest-pecl-ps-1.3.11
-rw-r--r--dev-php4/pecl-ps/metadata.xml5
-rw-r--r--dev-php4/pecl-ps/pecl-ps-1.3.1.ebuild20
-rw-r--r--dev-php4/pecl-sqlite/ChangeLog7
-rw-r--r--dev-php4/pecl-sqlite/Manifest4
-rw-r--r--dev-php4/pecl-sqlite/files/digest-pecl-sqlite-1.0.31
-rw-r--r--dev-php4/pecl-sqlite/metadata.xml5
-rw-r--r--dev-php4/pecl-sqlite/pecl-sqlite-1.0.3.ebuild26
-rw-r--r--dev-php4/pecl-tidy/ChangeLog7
-rw-r--r--dev-php4/pecl-tidy/Manifest4
-rw-r--r--dev-php4/pecl-tidy/files/digest-pecl-tidy-1.11
-rw-r--r--dev-php4/pecl-tidy/metadata.xml5
-rw-r--r--dev-php4/pecl-tidy/pecl-tidy-1.1.ebuild27
-rw-r--r--dev-php4/pecl-yaz/ChangeLog7
-rw-r--r--dev-php4/pecl-yaz/Manifest4
-rw-r--r--dev-php4/pecl-yaz/files/digest-pecl-yaz-1.0.41
-rw-r--r--dev-php4/pecl-yaz/metadata.xml5
-rw-r--r--dev-php4/pecl-yaz/pecl-yaz-1.0.4.ebuild27
37 files changed, 579 insertions, 0 deletions
diff --git a/dev-php4/pecl-mailparse/ChangeLog b/dev-php4/pecl-mailparse/ChangeLog
new file mode 100644
index 000000000000..201c9fde1b24
--- /dev/null
+++ b/dev-php4/pecl-mailparse/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-php4/pecl-mailparse
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-mailparse/ChangeLog,v 1.1 2005/09/04 15:35:56 stuart Exp $
+
+ 18 Aug 2005; <stuart@gentoo.org> ChangeLog:
+ Initial version; replaces older dev-php/* packages
+
diff --git a/dev-php4/pecl-mailparse/Manifest b/dev-php4/pecl-mailparse/Manifest
new file mode 100644
index 000000000000..73887c9cd679
--- /dev/null
+++ b/dev-php4/pecl-mailparse/Manifest
@@ -0,0 +1,5 @@
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 e40a2b18ef6cefa99fbc3e3bf2389a17 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-php4/pecl-mailparse/files/cvs-mailparse.c-fix.diff b/dev-php4/pecl-mailparse/files/cvs-mailparse.c-fix.diff
new file mode 100644
index 000000000000..349853a29902
--- /dev/null
+++ b/dev-php4/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-php4/pecl-mailparse/files/digest-pecl-mailparse-2.1.1 b/dev-php4/pecl-mailparse/files/digest-pecl-mailparse-2.1.1
new file mode 100644
index 000000000000..55f141805a85
--- /dev/null
+++ b/dev-php4/pecl-mailparse/files/digest-pecl-mailparse-2.1.1
@@ -0,0 +1 @@
+MD5 14c058d79f1f6c01aa53273565bd4a54 mailparse-2.1.1.tgz 35883
diff --git a/dev-php4/pecl-mailparse/metadata.xml b/dev-php4/pecl-mailparse/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php4/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-php4/pecl-mailparse/pecl-mailparse-2.1.1.ebuild b/dev-php4/pecl-mailparse/pecl-mailparse-2.1.1.ebuild
new file mode 100644
index 000000000000..d765af5ccc41
--- /dev/null
+++ b/dev-php4/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-php4/pecl-mailparse/pecl-mailparse-2.1.1.ebuild,v 1.1 2005/09/04 15:35:56 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-php4/pecl-memcache/ChangeLog b/dev-php4/pecl-memcache/ChangeLog
new file mode 100644
index 000000000000..c10591e278d0
--- /dev/null
+++ b/dev-php4/pecl-memcache/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-php4/pecl-memcache
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-memcache/ChangeLog,v 1.1 2005/09/04 15:40:08 stuart Exp $
+
+ 18 Aug 2005; <stuart@gentoo.org> ChangeLog:
+ Initial version; replaces older dev-php/* packages
+
diff --git a/dev-php4/pecl-memcache/Manifest b/dev-php4/pecl-memcache/Manifest
new file mode 100644
index 000000000000..72418f6141ca
--- /dev/null
+++ b/dev-php4/pecl-memcache/Manifest
@@ -0,0 +1,4 @@
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 6b5005b764847c494d43e6bfb2622f2e pecl-memcache-1.5.ebuild 509
+MD5 7dbfc5f3802eb84ffef75f53d2419fe6 ChangeLog 223
+MD5 5a0944dace5bba68eeeddcc69a730995 files/digest-pecl-memcache-1.5 60
diff --git a/dev-php4/pecl-memcache/files/digest-pecl-memcache-1.5 b/dev-php4/pecl-memcache/files/digest-pecl-memcache-1.5
new file mode 100644
index 000000000000..dbddac7e0eaa
--- /dev/null
+++ b/dev-php4/pecl-memcache/files/digest-pecl-memcache-1.5
@@ -0,0 +1 @@
+MD5 f521dd4d3cad4ccb05d9ade4e1cc04d4 memcache-1.5.tgz 14291
diff --git a/dev-php4/pecl-memcache/metadata.xml b/dev-php4/pecl-memcache/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php4/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-php4/pecl-memcache/pecl-memcache-1.5.ebuild b/dev-php4/pecl-memcache/pecl-memcache-1.5.ebuild
new file mode 100644
index 000000000000..4f204a0d8a67
--- /dev/null
+++ b/dev-php4/pecl-memcache/pecl-memcache-1.5.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-php4/pecl-memcache/pecl-memcache-1.5.ebuild,v 1.1 2005/09/04 15:40:08 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-php4/pecl-pdflib/ChangeLog b/dev-php4/pecl-pdflib/ChangeLog
new file mode 100644
index 000000000000..d6fcc1d0224e
--- /dev/null
+++ b/dev-php4/pecl-pdflib/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-php4/pecl-pdflib
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-pdflib/ChangeLog,v 1.1 2005/09/04 15:44:55 stuart Exp $
+
+ 18 Aug 2005; <stuart@gentoo.org> ChangeLog:
+ Initial version; replaces older dev-php/* packages
+
diff --git a/dev-php4/pecl-pdflib/Manifest b/dev-php4/pecl-pdflib/Manifest
new file mode 100644
index 000000000000..5b8e9cea24aa
--- /dev/null
+++ b/dev-php4/pecl-pdflib/Manifest
@@ -0,0 +1,5 @@
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 8183b4c542fdaf49d2d8dac3aa301fe0 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-php4/pecl-pdflib/files/digest-pecl-pdflib-2.0.4-r1 b/dev-php4/pecl-pdflib/files/digest-pecl-pdflib-2.0.4-r1
new file mode 100644
index 000000000000..6743f8549605
--- /dev/null
+++ b/dev-php4/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-php4/pecl-pdflib/files/ifgd-patch.diff b/dev-php4/pecl-pdflib/files/ifgd-patch.diff
new file mode 100644
index 000000000000..824bbd2298d0
--- /dev/null
+++ b/dev-php4/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-php4/pecl-pdflib/metadata.xml b/dev-php4/pecl-pdflib/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php4/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-php4/pecl-pdflib/pecl-pdflib-2.0.4-r1.ebuild b/dev-php4/pecl-pdflib/pecl-pdflib-2.0.4-r1.ebuild
new file mode 100644
index 000000000000..c1eff0bc4ac9
--- /dev/null
+++ b/dev-php4/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-php4/pecl-pdflib/pecl-pdflib-2.0.4-r1.ebuild,v 1.1 2005/09/04 15:44:55 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-php4/pecl-ps/ChangeLog b/dev-php4/pecl-ps/ChangeLog
new file mode 100644
index 000000000000..fe9b5d7ba7ee
--- /dev/null
+++ b/dev-php4/pecl-ps/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-php4/pecl-ps
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-ps/ChangeLog,v 1.1 2005/09/04 15:48:46 stuart Exp $
+
+ 18 Aug 2005; <stuart@gentoo.org> ChangeLog:
+ Initial version; replaces older dev-php/* packages
+
diff --git a/dev-php4/pecl-ps/Manifest b/dev-php4/pecl-ps/Manifest
new file mode 100644
index 000000000000..652e87aeea41
--- /dev/null
+++ b/dev-php4/pecl-ps/Manifest
@@ -0,0 +1,4 @@
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 6c72f4996ac445bce14ba106361fdd28 pecl-ps-1.3.1.ebuild 395
+MD5 ef32c8d7a8acbecb90a4f6314b8732d1 ChangeLog 217
+MD5 30a9b9bc35b549888c2adaa4c850b989 files/digest-pecl-ps-1.3.1 57
diff --git a/dev-php4/pecl-ps/files/digest-pecl-ps-1.3.1 b/dev-php4/pecl-ps/files/digest-pecl-ps-1.3.1
new file mode 100644
index 000000000000..18d54d91d99b
--- /dev/null
+++ b/dev-php4/pecl-ps/files/digest-pecl-ps-1.3.1
@@ -0,0 +1 @@
+MD5 f70d7ae14155c3f4ee9fd0a18b0337d3 ps-1.3.1.tgz 155392
diff --git a/dev-php4/pecl-ps/metadata.xml b/dev-php4/pecl-ps/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php4/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-php4/pecl-ps/pecl-ps-1.3.1.ebuild b/dev-php4/pecl-ps/pecl-ps-1.3.1.ebuild
new file mode 100644
index 000000000000..065eb877ed91
--- /dev/null
+++ b/dev-php4/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-php4/pecl-ps/pecl-ps-1.3.1.ebuild,v 1.1 2005/09/04 15:48:46 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-php4/pecl-sqlite/ChangeLog b/dev-php4/pecl-sqlite/ChangeLog
new file mode 100644
index 000000000000..e1e8d4e89a24
--- /dev/null
+++ b/dev-php4/pecl-sqlite/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-php4/pecl-sqlite
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-sqlite/ChangeLog,v 1.1 2005/09/04 15:52:51 stuart Exp $
+
+ 18 Aug 2005; <stuart@gentoo.org> ChangeLog:
+ Initial version; replaces older dev-php/* packages
+
diff --git a/dev-php4/pecl-sqlite/Manifest b/dev-php4/pecl-sqlite/Manifest
new file mode 100644
index 000000000000..21fafd9079a8
--- /dev/null
+++ b/dev-php4/pecl-sqlite/Manifest
@@ -0,0 +1,4 @@
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 b6b2655f9a876f33e632c2e48d88e235 ChangeLog 221
+MD5 38332390b24a7298211bd845d1151e16 pecl-sqlite-1.0.3.ebuild 491
+MD5 b85e19ab14d10f3db890b786a1bf2111 files/digest-pecl-sqlite-1.0.3 61
diff --git a/dev-php4/pecl-sqlite/files/digest-pecl-sqlite-1.0.3 b/dev-php4/pecl-sqlite/files/digest-pecl-sqlite-1.0.3
new file mode 100644
index 000000000000..17cd64f8f4ca
--- /dev/null
+++ b/dev-php4/pecl-sqlite/files/digest-pecl-sqlite-1.0.3
@@ -0,0 +1 @@
+MD5 3741cb211f9eb3f77de086e96d232e95 SQLite-1.0.3.tgz 371189
diff --git a/dev-php4/pecl-sqlite/metadata.xml b/dev-php4/pecl-sqlite/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php4/pecl-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-php4/pecl-sqlite/pecl-sqlite-1.0.3.ebuild b/dev-php4/pecl-sqlite/pecl-sqlite-1.0.3.ebuild
new file mode 100644
index 000000000000..fe448e702ef0
--- /dev/null
+++ b/dev-php4/pecl-sqlite/pecl-sqlite-1.0.3.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-php4/pecl-sqlite/pecl-sqlite-1.0.3.ebuild,v 1.1 2005/09/04 15:52:51 stuart Exp $
+
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_INI="yes"
+PHP_EXT_PECL_PKG="SQLite"
+PHP_EXT_NAME="sqlite"
+
+inherit php-ext-pecl-r1
+
+DEPEND="${DEPEND}"
+
+IUSE=""
+DESCRIPTION="PHP bindings for the SQLite database engine"
+HOMEPAGE="http://pear.php.net/SQLite"
+SLOT="0"
+LICENSE="PHP"
+KEYWORDS="~ppc ~x86"
+
+need_php_by_category
+
+src_install() {
+ php-ext-pecl-r1_src_install
+ dodoc README TODO
+}
diff --git a/dev-php4/pecl-tidy/ChangeLog b/dev-php4/pecl-tidy/ChangeLog
new file mode 100644
index 000000000000..cd70c052eef6
--- /dev/null
+++ b/dev-php4/pecl-tidy/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-php4/pecl-tidy
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-tidy/ChangeLog,v 1.1 2005/09/04 15:56:33 stuart Exp $
+
+ 18 Aug 2005; <stuart@gentoo.org> ChangeLog:
+ Initial version; replaces older dev-php/* packages
+
diff --git a/dev-php4/pecl-tidy/Manifest b/dev-php4/pecl-tidy/Manifest
new file mode 100644
index 000000000000..7d57e1b00efb
--- /dev/null
+++ b/dev-php4/pecl-tidy/Manifest
@@ -0,0 +1,4 @@
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 573cdfcac99f3dd76cb1ed9827c270e5 ChangeLog 219
+MD5 6178f6642ac603e0824a599091220313 pecl-tidy-1.1.ebuild 500
+MD5 d83ea8c3886577c14d5dec3608e13d78 files/digest-pecl-tidy-1.1 55
diff --git a/dev-php4/pecl-tidy/files/digest-pecl-tidy-1.1 b/dev-php4/pecl-tidy/files/digest-pecl-tidy-1.1
new file mode 100644
index 000000000000..282bd1f58a02
--- /dev/null
+++ b/dev-php4/pecl-tidy/files/digest-pecl-tidy-1.1
@@ -0,0 +1 @@
+MD5 ecb2d3c62e1d720265a65dfb7e00e081 tidy-1.1.tgz 9128
diff --git a/dev-php4/pecl-tidy/metadata.xml b/dev-php4/pecl-tidy/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php4/pecl-tidy/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-php4/pecl-tidy/pecl-tidy-1.1.ebuild b/dev-php4/pecl-tidy/pecl-tidy-1.1.ebuild
new file mode 100644
index 000000000000..569c0e645563
--- /dev/null
+++ b/dev-php4/pecl-tidy/pecl-tidy-1.1.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-php4/pecl-tidy/pecl-tidy-1.1.ebuild,v 1.1 2005/09/04 15:56:33 stuart Exp $
+
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_PECL_PKG="tidy"
+PHP_EXT_NAME="tidy"
+PHP_EXT_INI="yes"
+
+inherit php-ext-pecl-r1
+
+DESCRIPTION="Tidy is a binding for the Tidy HTML clean and repair utility."
+LICENSE="PHP"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+DEPEND="${DEPEND}
+ app-text/htmltidy"
+
+need_php_by_category
+
+src_compile() {
+ has_php
+ my_conf="--with-tidy"
+ php-ext-pecl-r1_src_compile
+}
diff --git a/dev-php4/pecl-yaz/ChangeLog b/dev-php4/pecl-yaz/ChangeLog
new file mode 100644
index 000000000000..4ea3072ff8f6
--- /dev/null
+++ b/dev-php4/pecl-yaz/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-php4/pecl-yaz
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-yaz/ChangeLog,v 1.1 2005/09/04 16:01:22 stuart Exp $
+
+ 18 Aug 2005; <stuart@gentoo.org> ChangeLog:
+ Initial version; replaces older dev-php/* packages
+
diff --git a/dev-php4/pecl-yaz/Manifest b/dev-php4/pecl-yaz/Manifest
new file mode 100644
index 000000000000..e5fb1664741a
--- /dev/null
+++ b/dev-php4/pecl-yaz/Manifest
@@ -0,0 +1,4 @@
+MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
+MD5 09e7125a5f6d7bf5e63b5f1e616d8693 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-php4/pecl-yaz/files/digest-pecl-yaz-1.0.4 b/dev-php4/pecl-yaz/files/digest-pecl-yaz-1.0.4
new file mode 100644
index 000000000000..c7286879a2c4
--- /dev/null
+++ b/dev-php4/pecl-yaz/files/digest-pecl-yaz-1.0.4
@@ -0,0 +1 @@
+MD5 2ae4180bcfc00199c465815f89fc3b16 yaz-1.0.4.tgz 15793
diff --git a/dev-php4/pecl-yaz/metadata.xml b/dev-php4/pecl-yaz/metadata.xml
new file mode 100644
index 000000000000..fd3dbe39fa64
--- /dev/null
+++ b/dev-php4/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-php4/pecl-yaz/pecl-yaz-1.0.4.ebuild b/dev-php4/pecl-yaz/pecl-yaz-1.0.4.ebuild
new file mode 100644
index 000000000000..3d879618145c
--- /dev/null
+++ b/dev-php4/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-php4/pecl-yaz/pecl-yaz-1.0.4.ebuild,v 1.1 2005/09/04 16:01:22 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
+}