summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2006-10-21 13:12:18 +0000
committerLuca Longinotti <chtekk@gentoo.org>2006-10-21 13:12:18 +0000
commitb38001535e4077bd3f229f5f81dbc14ecd198faa (patch)
treea3a51e84cb5f118274f13e2d41d27da688f8332c /dev-php5
parentStable on ppc wrt bug 152155 (diff)
downloadhistorical-b38001535e4077bd3f229f5f81dbc14ecd198faa.tar.gz
historical-b38001535e4077bd3f229f5f81dbc14ecd198faa.tar.bz2
historical-b38001535e4077bd3f229f5f81dbc14ecd198faa.zip
Sync behaviour with upcoming PHP 5.2, to use external libpcre.
Package-Manager: portage-2.1.2_pre3-r4
Diffstat (limited to 'dev-php5')
-rw-r--r--dev-php5/pecl-filter/ChangeLog9
-rw-r--r--dev-php5/pecl-filter/files/digest-pecl-filter-0.10.0-r13
-rw-r--r--dev-php5/pecl-filter/pecl-filter-0.10.0-r1.ebuild35
3 files changed, 46 insertions, 1 deletions
diff --git a/dev-php5/pecl-filter/ChangeLog b/dev-php5/pecl-filter/ChangeLog
index 330bc846a32c..31d93cb648d3 100644
--- a/dev-php5/pecl-filter/ChangeLog
+++ b/dev-php5/pecl-filter/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-php5/pecl-filter
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-filter/ChangeLog,v 1.10 2006/10/02 07:26:43 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-filter/ChangeLog,v 1.11 2006/10/21 13:12:18 chtekk Exp $
+
+*pecl-filter-0.10.0-r1 (21 Oct 2006)
+
+ 21 Oct 2006; Luca Longinotti <chtekk@gentoo.org>
+ -pecl-filter-0.10.0.ebuild, +pecl-filter-0.10.0-r1.ebuild:
+ Sync behaviour with upcoming PHP 5.2, to use external libpcre for the filter
+ extension if possible.
01 Oct 2006; Guy Martin <gmsoft@gentoo.org> ChangeLog:
Added ~hppa to KEYWORDS.
diff --git a/dev-php5/pecl-filter/files/digest-pecl-filter-0.10.0-r1 b/dev-php5/pecl-filter/files/digest-pecl-filter-0.10.0-r1
new file mode 100644
index 000000000000..a9f3d1070033
--- /dev/null
+++ b/dev-php5/pecl-filter/files/digest-pecl-filter-0.10.0-r1
@@ -0,0 +1,3 @@
+MD5 4344ddba9796fa8fa23f686899dd0fdc filter-0.10.0.tgz 24986
+RMD160 c2437f95f50c3ea551424ab77f1b9e67382bb9db filter-0.10.0.tgz 24986
+SHA256 f98415ff6b05f1643ee963d1243eeba37c965ebd0ab62d312335e845eba37341 filter-0.10.0.tgz 24986
diff --git a/dev-php5/pecl-filter/pecl-filter-0.10.0-r1.ebuild b/dev-php5/pecl-filter/pecl-filter-0.10.0-r1.ebuild
new file mode 100644
index 000000000000..eccf7983a1ab
--- /dev/null
+++ b/dev-php5/pecl-filter/pecl-filter-0.10.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-filter/pecl-filter-0.10.0-r1.ebuild,v 1.1 2006/10/21 13:12:18 chtekk Exp $
+
+PHP_EXT_NAME="filter"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit php-ext-pecl-r1
+
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Extension for safely dealing with input parameters."
+LICENSE="PHP"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-libs/libpcre"
+RDEPEND="${DEPEND}"
+
+need_php_by_category
+
+src_compile() {
+ has_php
+
+ my_conf="--enable-filter --with-pcre-dir=/usr"
+
+ php-ext-pecl-r1_src_compile
+}
+
+src_install() {
+ php-ext-pecl-r1_src_install
+
+ php-ext-base-r1_addtoinifiles "filter.default" '"unsafe_raw"'
+}