summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-10-22 22:33:47 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-10-22 22:33:47 +0000
commit492170646edd07f7c36ea5d1cbfe34d444078d2e (patch)
treeb3a879a8a3348143d8a809da3ebe5aed01410b5d /dev-php/PEAR-PEAR
parentamd64 stable, bug 195218 (diff)
downloadhistorical-492170646edd07f7c36ea5d1cbfe34d444078d2e.tar.gz
historical-492170646edd07f7c36ea5d1cbfe34d444078d2e.tar.bz2
historical-492170646edd07f7c36ea5d1cbfe34d444078d2e.zip
Version bump from php overlay
Package-Manager: portage-2.1.3.15
Diffstat (limited to 'dev-php/PEAR-PEAR')
-rw-r--r--dev-php/PEAR-PEAR/ChangeLog15
-rw-r--r--dev-php/PEAR-PEAR/Manifest28
-rw-r--r--dev-php/PEAR-PEAR/PEAR-PEAR-1.6.2.ebuild136
-rw-r--r--dev-php/PEAR-PEAR/files/1.6.2-accept-encoding-bug_12116.patch16
-rw-r--r--dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.6.215
5 files changed, 201 insertions, 9 deletions
diff --git a/dev-php/PEAR-PEAR/ChangeLog b/dev-php/PEAR-PEAR/ChangeLog
index 86cfa7860c77..2c29e3d51c4c 100644
--- a/dev-php/PEAR-PEAR/ChangeLog
+++ b/dev-php/PEAR-PEAR/ChangeLog
@@ -1,6 +1,19 @@
# ChangeLog for dev-php/PEAR-PEAR
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.95 2007/09/06 15:50:15 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.96 2007/10/22 22:33:47 jokey Exp $
+
+*PEAR-PEAR-1.6.2 (22 Oct 2007)
+
+ 22 Oct 2007; Markus Ullmann <jokey@gentoo.org>
+ +files/1.6.2-accept-encoding-bug_12116.patch, +PEAR-PEAR-1.6.2.ebuild:
+ Version bump from php overlay
+
+ 29 Sep 2007; Jakub Moc <jakub@gentoo.org>
+ +files/1.6.2-accept-encoding-bug_12116.patch, +files/pear.conf,
+ +metadata.xml, +PEAR-PEAR-1.6.2.ebuild:
+ Version bump - bugfix release, also add patch for PEAR bug #12116. Remove
+ obsolete blockers, fix RDEPEND. Add some pear channels. Lots of ebuild
+ sanitizations.
06 Sep 2007; Markus Ullmann <jokey@gentoo.org> -PEAR-PEAR-1.4.11.ebuild,
-PEAR-PEAR-1.5.1.ebuild:
diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 34636120a8fb..06b29eb590f6 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,6 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX 1.6.2-accept-encoding-bug_12116.patch 603 RMD160 d19b8be3352e479c7316f259cfb23f397de655fb SHA1 cab06556f29fbc9749a6566bf124678e7de60188 SHA256 7f15a8fe6c09c6846b4e052b6f6ee2052b0191b215f7e41bc56b6b89c952ae4a
+MD5 d26574c1db19a6b7845b75f4459eff19 files/1.6.2-accept-encoding-bug_12116.patch 603
+RMD160 d19b8be3352e479c7316f259cfb23f397de655fb files/1.6.2-accept-encoding-bug_12116.patch 603
+SHA256 7f15a8fe6c09c6846b4e052b6f6ee2052b0191b215f7e41bc56b6b89c952ae4a files/1.6.2-accept-encoding-bug_12116.patch 603
AUX pear.conf 291 RMD160 311e624d97640448754aa2f3e643aa53501f9c25 SHA1 47b350c2bf4b882b5981504ac6acfd7c708367e6 SHA256 cbe9363c760952d00b90070d4a41e88a175e12c65f99668fbe16d8158f5fa7ab
MD5 d9fcfb5558f62993d1e38157bc7b2002 files/pear.conf 291
RMD160 311e624d97640448754aa2f3e643aa53501f9c25 files/pear.conf 291
@@ -8,16 +12,21 @@ SHA256 cbe9363c760952d00b90070d4a41e88a175e12c65f99668fbe16d8158f5fa7ab files/pe
DIST Archive_Tar-1.3.2.tgz 17150 RMD160 cec105d1cdefd502f209c24c217645cec723d7a2 SHA1 40a16c6fe6cee12d9fd87d487785db2949ffa9ff SHA256 952820c055a770a6d1ecdff487b3de0ff0617a1baca084dac443a6d5f7cde53c
DIST Console_Getopt-1.2.3.tgz 4011 RMD160 d1624dbcb223395ded9e46285f896d6f5bb5ca74 SHA1 2f4ea028f478123164c3f6588f8a505dc35915df SHA256 1985b1434c13d5e619643c3712e4144d39f66f6fed61994765e6a0f1623680d8
DIST PEAR-1.6.1.tgz 295780 RMD160 8066006183ec2987e9b9d6fb71e9a5db23b5b550 SHA1 b3ca5fcace112c98e8e16885ba97c00a3f427ce0 SHA256 5534a512970f5169796ab9394fc24a515ca5905782769fd1b715fefd4add2a8b
+DIST PEAR-1.6.2.tgz 297794 RMD160 db3c37446c8e06149d7197ebdd3e9d720dd162ce SHA1 99900fdad3f7b0078746a021d17749f6bdeec03c SHA256 5f502e44314f4ba28467e21b28c51207265a3d282b33dbc664edbcddf41dcc8e
DIST Structures_Graph-1.0.2.tgz 30947 RMD160 8eb53f6da109b90bab5d8101e99183a1ae116404 SHA1 300aa0a2effb0b39c4fa8a63a834748ae99c2855 SHA256 d30e72fcb888d17d01d211dd0cdc8bdde8c87554fc4d7de438a4cf0b490a8697
DIST XML_RPC-1.5.1.tgz 32215 RMD160 6e8b9f4698285609d9c9d4450c59c16083607ee8 SHA1 d28fd6d3139aa247d22428ec6b50e20a3cdaa4b4 SHA256 a5b517eef799df148d6c85ab19e188715a22c069f4507dcb792e5efb7d0f117e
EBUILD PEAR-PEAR-1.6.1.ebuild 5258 RMD160 cf25e6618810b2c059d92b8ac6b70c78bb1519f3 SHA1 5005a7109d9ab405c851d3d6fbadd1b08346cb4b SHA256 cbbb3748fc96e82932daa9160f884d16900cc251271476b5b0ef8e4ae03ae28d
MD5 16d79f715d005c1e96060b8207ca4cfc PEAR-PEAR-1.6.1.ebuild 5258
RMD160 cf25e6618810b2c059d92b8ac6b70c78bb1519f3 PEAR-PEAR-1.6.1.ebuild 5258
SHA256 cbbb3748fc96e82932daa9160f884d16900cc251271476b5b0ef8e4ae03ae28d PEAR-PEAR-1.6.1.ebuild 5258
-MISC ChangeLog 13213 RMD160 7f9f6c170386ab76e8958092ef0709fed5d46d3a SHA1 1a3c288ad270fcb8d012822bb5a63f0542f7daed SHA256 a5fd46594522a57d01f4f20749f448f94f03c38d9eb1b791d91fe45b9d18ea7e
-MD5 8a097d0529dee19b7107ac9e2ad15ccd ChangeLog 13213
-RMD160 7f9f6c170386ab76e8958092ef0709fed5d46d3a ChangeLog 13213
-SHA256 a5fd46594522a57d01f4f20749f448f94f03c38d9eb1b791d91fe45b9d18ea7e ChangeLog 13213
+EBUILD PEAR-PEAR-1.6.2.ebuild 4211 RMD160 e81156f30012093fec26b6bc52b2a6c9c1fe1018 SHA1 c1110d467b8b8e17869aed5e870396e10bc91919 SHA256 180ec79c4da2e594cedbf35e3910dc6b4bb4d3424628f07461d6aa271e6040a0
+MD5 b29617193cdffbb2edb654c0776a677d PEAR-PEAR-1.6.2.ebuild 4211
+RMD160 e81156f30012093fec26b6bc52b2a6c9c1fe1018 PEAR-PEAR-1.6.2.ebuild 4211
+SHA256 180ec79c4da2e594cedbf35e3910dc6b4bb4d3424628f07461d6aa271e6040a0 PEAR-PEAR-1.6.2.ebuild 4211
+MISC ChangeLog 13719 RMD160 df2edebabc7ef08ea66d8700f7eeee844cb96c32 SHA1 1a1bd4271c300fb5c0c053112a46615519ee46fb SHA256 defeb584c931ea376487b26e684ed8bdeb593f15416947a29b0a92e84e259097
+MD5 da017d99d656f47621c340dc0bfe10ee ChangeLog 13719
+RMD160 df2edebabc7ef08ea66d8700f7eeee844cb96c32 ChangeLog 13719
+SHA256 defeb584c931ea376487b26e684ed8bdeb593f15416947a29b0a92e84e259097 ChangeLog 13719
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157
@@ -25,10 +34,13 @@ SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata
MD5 aafdf1cf14ae4cb7f681b366f9cfa408 files/digest-PEAR-PEAR-1.6.1 1196
RMD160 414b787b8a6345e7d49de414d879c47155512cbc files/digest-PEAR-PEAR-1.6.1 1196
SHA256 ade6ace52cd276fec92ec0e2835716527218ecdb6e553e2b25a8ffa70614ba24 files/digest-PEAR-PEAR-1.6.1 1196
+MD5 6472eefff9796d2e1e1fb94257c8fb27 files/digest-PEAR-PEAR-1.6.2 1196
+RMD160 9a4d5c5a2a07a2479eb20a41fa116cb2836507a3 files/digest-PEAR-PEAR-1.6.2 1196
+SHA256 1a8469016974d6297fb226b5ad3ef8afeb91d359ef12a9c3b6a1b6597381a346 files/digest-PEAR-PEAR-1.6.2 1196
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.6 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFG4CG/z974XjDVpbkRApZ3AJ9J8CxgL6F1uXROvjZ4Xxh64IBRYwCeJvAi
-otNwWDpS8ojyBZSHjkrFiBk=
-=+yMQ
+iD8DBQFHHSVQz974XjDVpbkRAujzAJ0R94n6bZTVchr5iKQClt9P11r2OwCfa4Fz
+TAKDfIfZI41hSsjlHyXIN3U=
+=GaXQ
-----END PGP SIGNATURE-----
diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.2.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.2.ebuild
new file mode 100644
index 000000000000..6d9e12317d6a
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.2.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.2.ebuild,v 1.1 2007/10/22 22:33:47 jokey Exp $
+
+inherit depend.php
+
+ARCHIVE_TAR="1.3.2"
+CONSOLE_GETOPT="1.2.3"
+STRUCTURES_GRAPH="1.0.2"
+XML_RPC="1.5.1"
+PEAR="${PV}"
+
+[[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="/var/cache/pear"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+DESCRIPTION="PEAR Base System (PEAR, Archive_Tar, Console_Getopt, Structures_Graph, XML_RPC)."
+HOMEPAGE="http://pear.php.net/"
+SRC_URI="http://pear.php.net/get/Archive_Tar-${ARCHIVE_TAR}.tgz
+ http://pear.php.net/get/Console_Getopt-${CONSOLE_GETOPT}.tgz
+ http://pear.php.net/get/Structures_Graph-${STRUCTURES_GRAPH}.tgz
+ http://pear.php.net/get/XML_RPC-${XML_RPC}.tgz
+ http://pear.php.net/get/PEAR-${PEAR}.tgz"
+LICENSE="LGPL-2.1 PHP"
+SLOT="0"
+IUSE=""
+
+# we depend on a recent sandbox version to mitigate problems users
+# have been experiencing
+DEPEND="dev-lang/php
+ >=sys-apps/sandbox-1.2.17"
+RDEPEND="dev-lang/php"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ has_php
+
+ # we check that PHP was compiled with the correct USE flags
+ if [[ ${PHP_VERSION} == "4" ]] ; then
+ require_php_with_use cli pcre expat zlib
+ else
+ require_php_with_use cli pcre xml zlib
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}"/PEAR-${PV}
+ epatch "${FILESDIR}"/${PV}-accept-encoding-bug_12116.patch # PEAR bug #12116
+}
+
+src_install() {
+ require_php_cli
+
+ # Prevent SNMP related sandbox violoation.
+ addpredict /usr/share/snmp/mibs/.index
+ addpredict /var/lib/net-snmp/
+
+ mkdir -p PEAR/XML/RPC
+
+ # Install PEAR Package.
+ cp -r PEAR-${PEAR}/OS PEAR/
+ cp -r PEAR-${PEAR}/PEAR PEAR/
+ cp PEAR-${PEAR}/PEAR.php PEAR/PEAR.php
+ cp PEAR-${PEAR}/System.php PEAR/System.php
+
+ # Prepare /usr/bin/pear script.
+ cp PEAR-${PEAR}/scripts/pearcmd.php PEAR/pearcmd.php
+ sed -i "s:@pear_version@:${PEAR}:g" PEAR/pearcmd.php || die "sed failed"
+ cp PEAR-${PEAR}/scripts/pear.sh PEAR/pear
+ sed -i -e "s:@php_bin@:${PHPCLI}:g" \
+ -e "s:@bin_dir@:/usr/bin:g" \
+ -e "s:@php_dir@:/usr/share/php:g" \
+ -e "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" PEAR/pear || die "sed failed"
+
+ # Prepare /usr/bin/peardev script.
+ cp PEAR-${PEAR}/scripts/peardev.sh PEAR/peardev
+ sed -i -e "s:@php_bin@:${PHPCLI}:g" \
+ -e "s:@bin_dir@:/usr/bin:g" \
+ -e "s:@php_dir@:/usr/share/php:g" PEAR/peardev || die "sed failed"
+
+ # Prepare /usr/bin/pecl script.
+ cp PEAR-${PEAR}/scripts/peclcmd.php PEAR/peclcmd.php
+ sed -i "s:@pear_version@:${PEAR}:g" PEAR/peclcmd.php || die "sed failed"
+ cp PEAR-${PEAR}/scripts/pecl.sh PEAR/pecl
+ sed -i -e "s:@php_bin@:${PHPCLI}:g" \
+ -e "s:@bin_dir@:/usr/bin:g" \
+ -e "s:@php_dir@:/usr/share/php:g" PEAR/pecl || die "sed failed"
+
+ # Prepare PEAR/Dependency2.php.
+ sed -i "s:@PEAR-VER@:${PEAR}:g" PEAR/PEAR/Dependency2.php || die "sed failed"
+
+ # Install Archive_Tar Package.
+ cp -r Archive_Tar-${ARCHIVE_TAR}/Archive PEAR/
+
+ # Install Console_Getopt Package.
+ cp -r Console_Getopt-${CONSOLE_GETOPT}/Console PEAR/
+
+ # Install Structures_Graph Package.
+ cp -r Structures_Graph-${STRUCTURES_GRAPH}/Structures PEAR/
+
+ # Install XML_RPC Package.
+ cp XML_RPC-${XML_RPC}/RPC.php PEAR/XML/RPC.php
+ cp XML_RPC-${XML_RPC}/Server.php PEAR/XML/RPC/Server.php
+
+ # Finalize installation.
+ cd PEAR
+ insinto /usr/share/php
+ doins -r Archive Console OS PEAR Structures XML *.php
+ dobin pear peardev pecl
+
+ insinto /etc
+ doins "${FILESDIR}/pear.conf"
+ sed -i -e "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \
+ -e "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" "${D}/etc/pear.conf" || die "sed failed"
+
+ keepdir "${PEAR_CACHEDIR}"
+ fperms 755 "${PEAR_CACHEDIR}"
+}
+
+pkg_preinst() {
+ rm -f "${ROOT}/etc/pear.conf"
+}
+
+pkg_postinst() {
+ pear clear-cache
+
+ # Update PEAR/PECL channels as needed, add new ones to the list if needed
+ pearchans="pear.php.net pecl.php.net components.ez.no pear.phpdb.org pear.phing.info pear.symfony-project.com pear.phpunit.de pear.php-baustelle.de pear.zeronotice.org pear.phpontrax.com"
+
+ for chan in ${pearchans} ; do
+ pear channel-discover ${chan}
+ pear channel-update ${chan}
+ done
+}
diff --git a/dev-php/PEAR-PEAR/files/1.6.2-accept-encoding-bug_12116.patch b/dev-php/PEAR-PEAR/files/1.6.2-accept-encoding-bug_12116.patch
new file mode 100644
index 000000000000..0ced6bcef340
--- /dev/null
+++ b/dev-php/PEAR-PEAR/files/1.6.2-accept-encoding-bug_12116.patch
@@ -0,0 +1,16 @@
+http://pear.php.net/bugs/bug.php?id=12116
+Index: PEAR/REST.php
+===================================================================
+RCS file: /repository/pear-core/PEAR/REST.php,v
+retrieving revision 1.22
+diff -u -r1.22 REST.php
+--- PEAR/REST.php 10 Jun 2007 04:16:51 -0000 1.22
++++ PEAR/REST.php 25 Sep 2007 18:40:13 -0000
+@@ -335,6 +335,7 @@
+ if ($accept) {
+ $request .= 'Accept: ' . implode(', ', $accept) . "\r\n";
+ }
++ $request .= "Accept-Encoding:\r\n";
+ $request .= "Connection: close\r\n";
+ $request .= "\r\n";
+ if ($proxy_host != '') {
diff --git a/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.6.2 b/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.6.2
new file mode 100644
index 000000000000..af07559e1588
--- /dev/null
+++ b/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.6.2
@@ -0,0 +1,15 @@
+MD5 17d49e837b64df4e8f9124f829b22cd1 Archive_Tar-1.3.2.tgz 17150
+RMD160 cec105d1cdefd502f209c24c217645cec723d7a2 Archive_Tar-1.3.2.tgz 17150
+SHA256 952820c055a770a6d1ecdff487b3de0ff0617a1baca084dac443a6d5f7cde53c Archive_Tar-1.3.2.tgz 17150
+MD5 d7618327f9302a7191893768982de823 Console_Getopt-1.2.3.tgz 4011
+RMD160 d1624dbcb223395ded9e46285f896d6f5bb5ca74 Console_Getopt-1.2.3.tgz 4011
+SHA256 1985b1434c13d5e619643c3712e4144d39f66f6fed61994765e6a0f1623680d8 Console_Getopt-1.2.3.tgz 4011
+MD5 8658f584d0ba2648b795fe8b1d8998c2 PEAR-1.6.2.tgz 297794
+RMD160 db3c37446c8e06149d7197ebdd3e9d720dd162ce PEAR-1.6.2.tgz 297794
+SHA256 5f502e44314f4ba28467e21b28c51207265a3d282b33dbc664edbcddf41dcc8e PEAR-1.6.2.tgz 297794
+MD5 2664e2d024048f982e12fad4d1bfbb87 Structures_Graph-1.0.2.tgz 30947
+RMD160 8eb53f6da109b90bab5d8101e99183a1ae116404 Structures_Graph-1.0.2.tgz 30947
+SHA256 d30e72fcb888d17d01d211dd0cdc8bdde8c87554fc4d7de438a4cf0b490a8697 Structures_Graph-1.0.2.tgz 30947
+MD5 1b516162ad65971b5fd04a7c279627ec XML_RPC-1.5.1.tgz 32215
+RMD160 6e8b9f4698285609d9c9d4450c59c16083607ee8 XML_RPC-1.5.1.tgz 32215
+SHA256 a5b517eef799df148d6c85ab19e188715a22c069f4507dcb792e5efb7d0f117e XML_RPC-1.5.1.tgz 32215