diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:29:32 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:29:32 +0000 |
commit | b69873e83528fc8d57132a112cebfaa59c4514cf (patch) | |
tree | 04d388fedb64d020afe1f8701aaa4f9adac9607b /dev-php5/pecl-mailparse | |
parent | Added graphicsmagick for dev-php5/pecl-imagick package (diff) | |
download | gentoo-2-b69873e83528fc8d57132a112cebfaa59c4514cf.tar.gz gentoo-2-b69873e83528fc8d57132a112cebfaa59c4514cf.tar.bz2 gentoo-2-b69873e83528fc8d57132a112cebfaa59c4514cf.zip |
Initial import for PHP5
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-php5/pecl-mailparse')
-rw-r--r-- | dev-php5/pecl-mailparse/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php5/pecl-mailparse/Manifest | 5 | ||||
-rw-r--r-- | dev-php5/pecl-mailparse/files/cvs-mailparse.c-fix.diff | 58 | ||||
-rw-r--r-- | dev-php5/pecl-mailparse/files/digest-pecl-mailparse-2.1.1 | 1 | ||||
-rw-r--r-- | dev-php5/pecl-mailparse/metadata.xml | 5 | ||||
-rw-r--r-- | dev-php5/pecl-mailparse/pecl-mailparse-2.1.1.ebuild | 35 |
6 files changed, 111 insertions, 0 deletions
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 +} |