summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2006-04-07 16:17:29 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2006-04-07 16:17:29 +0000
commitc2a00209defdb94f9858aeb55d77c766f6c9a2de (patch)
treef5f4d7b840d60e614ab94970556f60c0828e9a71 /dev-php
parentStable on hppa. See bug #128888. (diff)
downloadhistorical-c2a00209defdb94f9858aeb55d77c766f6c9a2de.tar.gz
historical-c2a00209defdb94f9858aeb55d77c766f6c9a2de.tar.bz2
historical-c2a00209defdb94f9858aeb55d77c766f6c9a2de.zip
Revision bump for XML_RPC 1.4.6.
Package-Manager: portage-2.1_pre7-r4
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/PEAR-PEAR/ChangeLog8
-rw-r--r--dev-php/PEAR-PEAR/Manifest18
-rw-r--r--dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild133
-rw-r--r--dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.4.9-r112
4 files changed, 164 insertions, 7 deletions
diff --git a/dev-php/PEAR-PEAR/ChangeLog b/dev-php/PEAR-PEAR/ChangeLog
index 2bd6f675c31f..087567fdf68f 100644
--- a/dev-php/PEAR-PEAR/ChangeLog
+++ b/dev-php/PEAR-PEAR/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php/PEAR-PEAR
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.55 2006/03/30 06:57:20 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.56 2006/04/07 16:17:29 sebastian Exp $
+
+*PEAR-PEAR-1.4.9-r1 (07 Apr 2006)
+
+ 07 Apr 2006; Sebastian Bergmann <sebastian@gentoo.org>
+ +PEAR-PEAR-1.4.9-r1.ebuild:
+ Revision bump for XML_RPC 1.4.6.
*PEAR-PEAR-1.4.9 (30 Mar 2006)
diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 596cd868c2c8..6b2b10c5aa57 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,9 +1,9 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 7a72020d010c3ebde142b2327d7728ac ChangeLog 8039
-RMD160 c6ebaaba210dd724f665e89f7ded25394ddb1d22 ChangeLog 8039
-SHA256 82c769d98d317a1dfbdc85e346883e899a061b7f0731d9a9e0cf2245580fc316 ChangeLog 8039
+MD5 d520a1174010877939bb0cc617704c02 ChangeLog 8197
+RMD160 20bc8229c422aced721b285001c2a54b0c6fea3a ChangeLog 8197
+SHA256 730c72c3a762d9f50c11f2b9345d8680cf11ff013ec698cd09ec491f6d0430d4 ChangeLog 8197
MD5 368b25bb1b27f216958924161fe9494f PEAR-PEAR-1.3.5.ebuild 474
RMD160 97d324055a4283551b0bbfb0aafb4824ee46f331 PEAR-PEAR-1.3.5.ebuild 474
SHA256 8ebfc40270098378e9db3138012b05caae8e61104df7ed1d2965951f60b675a8 PEAR-PEAR-1.3.5.ebuild 474
@@ -16,6 +16,9 @@ SHA256 c1adb49b966f68bc762c1afb9b385ab56a3bdaecbd814d65d955f9e98a99c52d PEAR-PEA
MD5 02c489d385fe3c0cb5832ebdbf00928b PEAR-PEAR-1.4.8.ebuild 4570
RMD160 73d540620c84007f048b010413a6ca02e4f1de15 PEAR-PEAR-1.4.8.ebuild 4570
SHA256 4d3f2408d1ab8caaae878d795769106d279a12de663f8644725a5571e0f16c9f PEAR-PEAR-1.4.8.ebuild 4570
+MD5 4048a28ed536108b572b986609f9d3c5 PEAR-PEAR-1.4.9-r1.ebuild 4576
+RMD160 97681712dd06a4453bec7019cf84d10660ee48ae PEAR-PEAR-1.4.9-r1.ebuild 4576
+SHA256 eb692a92cdacc4c03f5d74fa785c4782a77ea066f7141d2949359505255ee809 PEAR-PEAR-1.4.9-r1.ebuild 4576
MD5 7ee30cf31de291693edbf3d6dc09ae93 PEAR-PEAR-1.4.9.ebuild 4573
RMD160 83115e6bdd0cb9b9845022e092dcb7a2281ddba7 PEAR-PEAR-1.4.9.ebuild 4573
SHA256 0e84558060e8d84033a212843a79a1e36f0bd6af8ebd366d6e6786bbeecd78d4 PEAR-PEAR-1.4.9.ebuild 4573
@@ -34,6 +37,9 @@ SHA256 3706fc569ef09ae6b6e0167ad6778fe0439970802c632cf22bc1f8f95a3f0726 files/di
MD5 64219fe957e66dafbf9c55a0f7a070ee files/digest-PEAR-PEAR-1.4.9 934
RMD160 d57ad95940ac8796fab1c406a7ac586af8bdfffd files/digest-PEAR-PEAR-1.4.9 934
SHA256 87c076b13698c8eaa8954bc2bcda464adc3b5b0ee75e922d0046226d7055f696 files/digest-PEAR-PEAR-1.4.9 934
+MD5 fe650968419a39534cdedada73335675 files/digest-PEAR-PEAR-1.4.9-r1 934
+RMD160 ebad372bbfa91b3c8f354d232b592c061ccb0045 files/digest-PEAR-PEAR-1.4.9-r1 934
+SHA256 5f8e9060d45d831bbdbda067388bf6980c9339793f0513edd49c9462d6398339 files/digest-PEAR-PEAR-1.4.9-r1 934
MD5 4d00eb55859fa6e9e77a226693e0030b files/fix-packagingroot-1.4.6.patch 2549
RMD160 378c98abc5d23a9c3d258ad50212035378d83eb2 files/fix-packagingroot-1.4.6.patch 2549
SHA256 3b7b1d00a811f743dc4632aa348e79418cca482727c3576607515fa248b7ba86 files/fix-packagingroot-1.4.6.patch 2549
@@ -46,7 +52,7 @@ SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFEK4FfaGfFFLhbXWkRAio5AJ98TeiNA0SpYsz0rjrGaMChRXaX5QCcCL+/
-gsr+12rw6ljkUlJ6S7hM85o=
-=cxFp
+iD8DBQFENpClaGfFFLhbXWkRAh+vAJ9ynvGnieRRhDdM5Bgfwp96XIpawgCcDBm1
+3L+IBt7Ezn0MJZ6+CMC5MEE=
+=vHx5
-----END PGP SIGNATURE-----
diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild
new file mode 100644
index 000000000000..0f040ed798e6
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.9-r1.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2006 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.4.9-r1.ebuild,v 1.1 2006/04/07 16:17:29 sebastian Exp $
+
+inherit depend.php
+
+ARCHIVE_TAR="1.3.1"
+CONSOLE_GETOPT="1.2"
+PEAR="1.4.9"
+XML_RPC="1.4.6"
+
+[ -z "${PEAR_CACHEDIR}" ] && PEAR_CACHEDIR="/tmp/pear/cache"
+
+DESCRIPTION="PEAR Base System (PEAR, Archive_Tar, Console_Getopt, 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/XML_RPC-${XML_RPC}.tgz
+ http://pear.php.net/get/PEAR-${PEAR}.tgz"
+
+LICENSE="PHP"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+# we deliberately force people to remove their old PEAR installations,
+# and any package which may have put an old-style PEAR installation onto
+# the box
+
+DEPEND="dev-lang/php
+ !dev-php/php
+ !dev-php/php-cgi
+ !dev-php/mod_php
+ !<dev-php/PEAR-PEAR-1.3.6-r2
+ !dev-php/PEAR-Archive_Tar
+ !dev-php/PEAR-Console_Getopt
+ !dev-php/PEAR-XML_RPC"
+
+pkg_setup() {
+ # we call this here, to ensure that the eclass picks the right
+ # version of php for the job
+ require_php_cli
+
+ # 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_install() {
+ require_php_cli
+
+ # Prevent SNMP related sandbox violoation.
+ addpredict /usr/share/snmp/mibs/.index
+ addpredict /var/lib/net-snmp/
+
+ mkdir -p "${WORKDIR}/PEAR/XML/RPC"
+
+ # Install PEAR Package.
+ cp -r "${WORKDIR}/PEAR-${PEAR}/OS" "${WORKDIR}/PEAR/"
+ cp -r "${WORKDIR}/PEAR-${PEAR}/PEAR" "${WORKDIR}/PEAR/"
+ cp "${WORKDIR}/PEAR-${PEAR}/PEAR.php" "${WORKDIR}/PEAR/PEAR.php"
+ cp "${WORKDIR}/PEAR-${PEAR}/System.php" "${WORKDIR}/PEAR/System.php"
+
+ # Prepare /usr/bin/pear script.
+ cp "${WORKDIR}/PEAR-${PEAR}/scripts/pearcmd.php" "${WORKDIR}/PEAR/pearcmd.php"
+ sed -i "s:@pear_version@:${PEAR}:g" "${WORKDIR}/PEAR/pearcmd.php"
+ cp "${WORKDIR}/PEAR-${PEAR}/scripts/pear.sh" "${WORKDIR}/PEAR/pear"
+ sed -i "s:@php_bin@:${PHPCLI}:g" "${WORKDIR}/PEAR/pear" || die
+ sed -i "s:@bin_dir@:/usr/bin:g" "${WORKDIR}/PEAR/pear" || die
+ sed -i "s:@php_dir@:/usr/share/php:g" "${WORKDIR}/PEAR/pear" || die
+ sed -i "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=16M:g" "${WORKDIR}/PEAR/pear" || die
+
+ # Prepare /usr/bin/peardev script.
+ cp "${WORKDIR}/PEAR-${PEAR}/scripts/peardev.sh" "${WORKDIR}/PEAR/peardev"
+ sed -i "s:@php_bin@:${PHPCLI}:g" "${WORKDIR}/PEAR/peardev" || die
+ sed -i "s:@bin_dir@:/usr/bin:g" "${WORKDIR}/PEAR/peardev" || die
+ sed -i "s:@php_dir@:/usr/share/php:g" "${WORKDIR}/PEAR/peardev" || die
+
+ # Prepare /usr/bin/pecl script.
+ cp "${WORKDIR}/PEAR-${PEAR}/scripts/peclcmd.php" "${WORKDIR}/PEAR/peclcmd.php"
+ cp "${WORKDIR}/PEAR-${PEAR}/scripts/pecl.sh" "${WORKDIR}/PEAR/pecl"
+ sed -i "s:@php_bin@:${PHPCLI}:g" "${WORKDIR}/PEAR/pecl" || die
+ sed -i "s:@bin_dir@:/usr/bin:g" "${WORKDIR}/PEAR/pecl" || die
+ sed -i "s:@php_dir@:/usr/share/php:g" "${WORKDIR}/PEAR/pecl" || die
+
+ # Prepare PEAR/Dependency2.php.
+ sed -i "s:@PEAR-VER@:${PEAR}:g" "${WORKDIR}/PEAR/PEAR/Dependency2.php" || die
+
+ # Install Archive_Tar Package.
+ cp -r "${WORKDIR}/Archive_Tar-${ARCHIVE_TAR}/Archive" "${WORKDIR}/PEAR/Archive"
+
+ # Install Console_Getopt Package.
+ cp -r "${WORKDIR}/Console_Getopt-${CONSOLE_GETOPT}/Console" "${WORKDIR}/PEAR/"
+
+ # Install XML_RPC Package.
+ cp "${WORKDIR}/XML_RPC-${XML_RPC}/RPC.php" "${WORKDIR}/PEAR/XML/RPC.php"
+ cp "${WORKDIR}/XML_RPC-${XML_RPC}/Server.php" "${WORKDIR}/PEAR/XML/RPC/Server.php"
+
+ # Finalize installation.
+ cd "${WORKDIR}/PEAR"
+ insinto /usr/share/php
+ doins -r Archive Console OS PEAR XML *.php
+ dobin pear peardev pecl
+
+ insinto /etc
+ doins "${FILESDIR}/pear.conf"
+ sed -e "s|s:SUBSTLEN:\"SUBSTITUTEME\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" -i "${D}/etc/pear.conf"
+
+ keepdir "${PEAR_CACHEDIR}"
+ fperms 755 "${PEAR_CACHEDIR}"
+}
+
+pkg_preinst() {
+ rm -f "${ROOT}/etc/pear.conf"
+}
+
+pkg_postinst() {
+ if has_version "<${PV}" ; then
+ ewarn "The location of the local PEAR repository has been changed"
+ ewarn "from /usr/lib/php to /usr/share/php."
+ fi
+
+ # Update PEAR 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"
+
+ for chan in ${pearchans} ; do
+ pear channel-discover ${chan}
+ pear channel-update ${chan}
+ done
+}
diff --git a/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.4.9-r1 b/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.4.9-r1
new file mode 100644
index 000000000000..e113ddc4166a
--- /dev/null
+++ b/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.4.9-r1
@@ -0,0 +1,12 @@
+MD5 31e54ce401302065d43888223a0be4d9 Archive_Tar-1.3.1.tgz 15102
+RMD160 e4d94299018d49835c9adb5d0d0bb7a4f3ee7fac Archive_Tar-1.3.1.tgz 15102
+SHA256 f128b58b249d4f182bdf846c6762462468dbfda045ccb332858e62934d655bf6 Archive_Tar-1.3.1.tgz 15102
+MD5 8f9ec8253c04350bc01ee7ca941e24b6 Console_Getopt-1.2.tgz 3370
+RMD160 d9bebe03b52a59b35a4d0fd0825da069037aa000 Console_Getopt-1.2.tgz 3370
+SHA256 90bc64b35832af79625ccd7a1cd981ae26adbe58e1296a052cc3947d9c959e0c Console_Getopt-1.2.tgz 3370
+MD5 52257e23987717c474a3da87f161a272 PEAR-1.4.9.tgz 283443
+RMD160 038fb6f0f5d22bb1bb34fff1f80cf609d434cdd2 PEAR-1.4.9.tgz 283443
+SHA256 41281d20e988018ae9a849d6f78ae111825e95432926dcfe17b27203e08567e1 PEAR-1.4.9.tgz 283443
+MD5 2088ba511417657402aa852c9c44db8a XML_RPC-1.4.6.tgz 30129
+RMD160 d5ccfd92464952631b557112a8ae791436bfc895 XML_RPC-1.4.6.tgz 30129
+SHA256 48ce48a48182ff9b82f803d8f9ea63822cc34e6858ac8b63fa9c73a86477040e XML_RPC-1.4.6.tgz 30129