summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2006-09-29 16:58:23 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2006-09-29 16:58:23 +0000
commitd4ffaa6f3284877e524ebc776c28a0d825a290e9 (patch)
tree532c37ab7f95af786ff7a99411df8d5a729c7a7a /dev-php5/pecl-pdo
parentStable on SPARC wrt security bug #141728. (diff)
downloadgentoo-2-d4ffaa6f3284877e524ebc776c28a0d825a290e9.tar.gz
gentoo-2-d4ffaa6f3284877e524ebc776c28a0d825a290e9.tar.bz2
gentoo-2-d4ffaa6f3284877e524ebc776c28a0d825a290e9.zip
Version bump.
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'dev-php5/pecl-pdo')
-rw-r--r--dev-php5/pecl-pdo/ChangeLog8
-rw-r--r--dev-php5/pecl-pdo/files/digest-pecl-pdo-1.0.33
-rw-r--r--dev-php5/pecl-pdo/pecl-pdo-1.0.3.ebuild53
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-php5/pecl-pdo/ChangeLog b/dev-php5/pecl-pdo/ChangeLog
index f380b31fad19..4932a50f7a65 100644
--- a/dev-php5/pecl-pdo/ChangeLog
+++ b/dev-php5/pecl-pdo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php5/pecl-pdo
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo/ChangeLog,v 1.15 2006/02/24 14:16:32 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo/ChangeLog,v 1.16 2006/09/29 16:58:23 sebastian Exp $
+
+*pecl-pdo-1.0.3 (29 Sep 2006)
+
+ 29 Sep 2006; Sebastian Bergmann <sebastian@gentoo.org>
+ +pecl-pdo-1.0.3.ebuild:
+ Version bump for bug #132639.
24 Feb 2006; Jeroen Roovers <jer@gentoo.org> pecl-pdo-1.0.2.ebuild:
Stable on hppa (preparation for bug #119461).
diff --git a/dev-php5/pecl-pdo/files/digest-pecl-pdo-1.0.3 b/dev-php5/pecl-pdo/files/digest-pecl-pdo-1.0.3
new file mode 100644
index 000000000000..fc899940e099
--- /dev/null
+++ b/dev-php5/pecl-pdo/files/digest-pecl-pdo-1.0.3
@@ -0,0 +1,3 @@
+MD5 74bff68b3f1caaf745edaddbd4df7291 PDO-1.0.3.tgz 52613
+RMD160 1a1aeb9cf16d2aecda407e015bf3193d272b9970 PDO-1.0.3.tgz 52613
+SHA256 a7922b658c7a68c092bc9806602d5d6ecee2214a388e1731352de7b3663f89bf PDO-1.0.3.tgz 52613
diff --git a/dev-php5/pecl-pdo/pecl-pdo-1.0.3.ebuild b/dev-php5/pecl-pdo/pecl-pdo-1.0.3.ebuild
new file mode 100644
index 000000000000..5d17a2d051ca
--- /dev/null
+++ b/dev-php5/pecl-pdo/pecl-pdo-1.0.3.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo/pecl-pdo-1.0.3.ebuild,v 1.1 2006/09/29 16:58:23 sebastian Exp $
+
+PHP_EXT_NAME="pdo"
+PHP_EXT_PECL_PKG="PDO"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit php-ext-pecl-r1
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+DESCRIPTION="Core PHP Data Objects (PDO)."
+LICENSE="PHP"
+SLOT="0"
+IUSE="mssql mysql oci8 oci8-instant-client odbc postgres sqlite"
+
+PDEPEND="${PDEPEND}
+ mssql? ( dev-php5/pecl-pdo-dblib )
+ mysql? ( dev-php5/pecl-pdo-mysql )
+ oci8? ( dev-php5/pecl-pdo-oci )
+ oci8-instant-client? ( 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_install() {
+ php-ext-pecl-r1_src_install
+
+ # install missing header files
+ # usually done by "make install"
+ 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
+}