summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2006-08-16 10:57:58 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2006-08-16 10:57:58 +0000
commit7297a717b6c60b13848417023c81bb060c32a729 (patch)
tree2966e6dc8da48ad9740707e62d76c6477c1728d5 /dev-php/PEAR-PEAR
parentamd64 stable (diff)
downloadhistorical-7297a717b6c60b13848417023c81bb060c32a729.tar.gz
historical-7297a717b6c60b13848417023c81bb060c32a729.tar.bz2
historical-7297a717b6c60b13848417023c81bb060c32a729.zip
Version bump.
Package-Manager: portage-2.1.1_pre5-r1
Diffstat (limited to 'dev-php/PEAR-PEAR')
-rw-r--r--dev-php/PEAR-PEAR/ChangeLog8
-rw-r--r--dev-php/PEAR-PEAR/Manifest22
-rw-r--r--dev-php/PEAR-PEAR/PEAR-PEAR-1.4.11.ebuild133
-rw-r--r--dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.4.1112
4 files changed, 167 insertions, 8 deletions
diff --git a/dev-php/PEAR-PEAR/ChangeLog b/dev-php/PEAR-PEAR/ChangeLog
index d1c4761a1475..940bda7405f4 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.71 2006/08/11 12:11:12 sebastian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.72 2006/08/16 10:57:58 sebastian Exp $
+
+*PEAR-PEAR-1.4.11 (16 Aug 2006)
+
+ 16 Aug 2006; Sebastian Bergmann <sebastian@gentoo.org>
+ +PEAR-PEAR-1.4.11.ebuild:
+ Version bump.
11 Aug 2006; Sebastian Bergmann <sebastian@gentoo.org>
PEAR-PEAR-1.4.9-r1.ebuild, PEAR-PEAR-1.4.9-r2.ebuild,
diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index efbe0c2688a8..863f0408630b 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -8,6 +8,7 @@ SHA256 ecd1ed6b90400bf6874cc40f17aa0bf9e43bd31090e54a986894481f44f99ffb files/pe
DIST Archive_Tar-1.3.1.tgz 15102 RMD160 e4d94299018d49835c9adb5d0d0bb7a4f3ee7fac SHA1 b1eb763a5fba1289686cf1355f90f0fe9149fa6d SHA256 f128b58b249d4f182bdf846c6762462468dbfda045ccb332858e62934d655bf6
DIST Console_Getopt-1.2.tgz 3370 RMD160 d9bebe03b52a59b35a4d0fd0825da069037aa000 SHA1 706a9fb1724ef97ee333dadcda95cc7cc50c0c43 SHA256 90bc64b35832af79625ccd7a1cd981ae26adbe58e1296a052cc3947d9c959e0c
DIST PEAR-1.4.10.tgz 284880 RMD160 d15a460d91f577b3a81efe7ad1dfa9436f4d2f9e SHA1 591af17866de58e19b1bab55e6b14fad66bf8805 SHA256 ae634180f74faef112d5c3477f1e1212a5a8343b55079f54efdd6a2c07e8e059
+DIST PEAR-1.4.11.tgz 283272 RMD160 bb047d4fb64691e2518ccdba0ced30eb6dd502cd SHA1 dbf2f31166efbe7cddc296f5a821806850772b27 SHA256 2ea2f7d0364db443fea39dc9bc96adebfce9fa45ffb035dbfc7b6a1cc5325600
DIST PEAR-1.4.9.tgz 283443 RMD160 038fb6f0f5d22bb1bb34fff1f80cf609d434cdd2 SHA1 cb74e281d7d30b7105ce2b4f152036b775e68cf1 SHA256 41281d20e988018ae9a849d6f78ae111825e95432926dcfe17b27203e08567e1
DIST XML_RPC-1.4.8.tgz 30376 RMD160 f4c541a6ed0758c32eca52d0a7da6ce2796a7f56 SHA1 5fd5e0f4dfc49374a97b2a9c36254427462a604e SHA256 14f5708c7d8474f1ea3769f942243408f19687e1192260584a19c39cef47af02
DIST XML_RPC-1.5.0.tgz 31619 RMD160 866d2edcb68d6bb400d5a0364852ac62e267a3c4 SHA1 0c8de819abaebc37a77546b21499430147bfaf6b SHA256 d1e42d0e11a649cd0ca5cd3bbb3ced2f0984cdcde263d9c45ce6737405258edf
@@ -15,6 +16,10 @@ EBUILD PEAR-PEAR-1.4.10.ebuild 4591 RMD160 fefce587dce3630d94ef72f4c1a096f86dd4d
MD5 fdf0357aac2d5729b4daa1942b9dc0be PEAR-PEAR-1.4.10.ebuild 4591
RMD160 fefce587dce3630d94ef72f4c1a096f86dd4df90 PEAR-PEAR-1.4.10.ebuild 4591
SHA256 54ed7a8b95b3a0221dd6f8365f2fb69193916f006449440ff7c1ad803c197786 PEAR-PEAR-1.4.10.ebuild 4591
+EBUILD PEAR-PEAR-1.4.11.ebuild 4591 RMD160 1023fd1b27de88e30bea694fe19ee71412f4b8bf SHA1 874edbfe36f9943678e69c1b262c8e916a968beb SHA256 49e74acd503ae94141c3393a9499204a60892d5cd99bce83a6c6969e2ed74e77
+MD5 d8610a020e93e3975cf697ebfb8458e2 PEAR-PEAR-1.4.11.ebuild 4591
+RMD160 1023fd1b27de88e30bea694fe19ee71412f4b8bf PEAR-PEAR-1.4.11.ebuild 4591
+SHA256 49e74acd503ae94141c3393a9499204a60892d5cd99bce83a6c6969e2ed74e77 PEAR-PEAR-1.4.11.ebuild 4591
EBUILD PEAR-PEAR-1.4.9-r1.ebuild 4582 RMD160 30f07b4abc5b9afb836e2c79498c1c397a0de231 SHA1 f1e6404cb9bec62333719675c9e8dffa0951360b SHA256 293cf5912955b6d217d2bcbab0c78b4b3a7df470025dfd05f5883d75cfb9b798
MD5 1e3c6d591e270126be54cea9fe88de48 PEAR-PEAR-1.4.9-r1.ebuild 4582
RMD160 30f07b4abc5b9afb836e2c79498c1c397a0de231 PEAR-PEAR-1.4.9-r1.ebuild 4582
@@ -23,10 +28,10 @@ EBUILD PEAR-PEAR-1.4.9-r2.ebuild 4592 RMD160 9f7bd9468d249a98b41e4f1cd5219c90d6d
MD5 8e86679eba84dd0fafc93e191f2f94ac PEAR-PEAR-1.4.9-r2.ebuild 4592
RMD160 9f7bd9468d249a98b41e4f1cd5219c90d6d2805c PEAR-PEAR-1.4.9-r2.ebuild 4592
SHA256 bed155148e58360b027b2ba6d7c46c046b0a1dca7aee1597fd847ec5e8f6a926 PEAR-PEAR-1.4.9-r2.ebuild 4592
-MISC ChangeLog 10080 RMD160 09f99edb1dd3d6d9f11e45ff69fcb21d6c4435a0 SHA1 117269f6d87ca2d388a6bb069cc0903c163797a1 SHA256 82834464a18319aefaa45507f47e010a61682908a644788053aa26344350cadf
-MD5 6db5ac0c126ff033f25d5dbada8b1135 ChangeLog 10080
-RMD160 09f99edb1dd3d6d9f11e45ff69fcb21d6c4435a0 ChangeLog 10080
-SHA256 82834464a18319aefaa45507f47e010a61682908a644788053aa26344350cadf ChangeLog 10080
+MISC ChangeLog 10215 RMD160 eacf68bc8697b02c25d291bcddd30d715e1d2980 SHA1 050a9523f37bc83da35c70635605a580ab3848e4 SHA256 4943652eb0d013e82e7b73af421d0eba7e921f49b3804d545d6b93ecf85c3e0c
+MD5 dd9852ee1bde4b12e957dd150384abef ChangeLog 10215
+RMD160 eacf68bc8697b02c25d291bcddd30d715e1d2980 ChangeLog 10215
+SHA256 4943652eb0d013e82e7b73af421d0eba7e921f49b3804d545d6b93ecf85c3e0c ChangeLog 10215
MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157
@@ -34,6 +39,9 @@ SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata
MD5 c755b696270868b2e2a294280ada7f63 files/digest-PEAR-PEAR-1.4.10 937
RMD160 13fb3f271857a3349c3623c3360b8606152e0cd8 files/digest-PEAR-PEAR-1.4.10 937
SHA256 9b7b0e5549651624ed4c258b0e878b6b2264f9b606850b96a743c25292781987 files/digest-PEAR-PEAR-1.4.10 937
+MD5 4ced704349b38271103540dd322ee073 files/digest-PEAR-PEAR-1.4.11 937
+RMD160 ba186287a1fbb622b5401be37853d001b9f58db5 files/digest-PEAR-PEAR-1.4.11 937
+SHA256 e2f7990987f8332ae69a8d052b79298c04f5cb0c8a154023956724f272278c48 files/digest-PEAR-PEAR-1.4.11 937
MD5 60da169ef31f6e9258d1056b6e52ee7e files/digest-PEAR-PEAR-1.4.9-r1 934
RMD160 72d0bd149d0e1b09ef7effebe839f56b4096e6d6 files/digest-PEAR-PEAR-1.4.9-r1 934
SHA256 a798498cc3fe1f27095f5f56a12e0987babb05f061fe698b1a8bb9f6336bef45 files/digest-PEAR-PEAR-1.4.9-r1 934
@@ -43,7 +51,7 @@ SHA256 9071af871f9fdfa2233f067c97d999041453e0c2ce0ba97ab7b9f25d60388687 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFE3HPnaGfFFLhbXWkRAmYEAJ9WMPGvtfi3/BqNlbBSeNIY2heCQgCgg9bP
-tQKOGLh3kVL47K9JLSfKYVY=
-=Nxf3
+iD8DBQFE4vo9aGfFFLhbXWkRAiyFAJ9QqW55iKpI6Yxs9mbaBx2N052m+gCfdrmv
+zCc4FE0SW1ZbM8DIjkTA4nw=
+=yTAU
-----END PGP SIGNATURE-----
diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.11.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.11.ebuild
new file mode 100644
index 000000000000..ec3c53621320
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.4.11.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.11.ebuild,v 1.1 2006/08/16 10:57:58 sebastian Exp $
+
+inherit depend.php
+
+ARCHIVE_TAR="1.3.1"
+CONSOLE_GETOPT="1.2"
+PEAR="1.4.11"
+XML_RPC="1.5.0"
+
+[ -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 pear.phpunit.de"
+
+ 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.11 b/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.4.11
new file mode 100644
index 000000000000..47cae06cddbb
--- /dev/null
+++ b/dev-php/PEAR-PEAR/files/digest-PEAR-PEAR-1.4.11
@@ -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 1b47f9df911b149d0e9a6630fc9b7da7 PEAR-1.4.11.tgz 283272
+RMD160 bb047d4fb64691e2518ccdba0ced30eb6dd502cd PEAR-1.4.11.tgz 283272
+SHA256 2ea2f7d0364db443fea39dc9bc96adebfce9fa45ffb035dbfc7b6a1cc5325600 PEAR-1.4.11.tgz 283272
+MD5 9f9205d8c8b3ca07a50c5d332c6fb722 XML_RPC-1.5.0.tgz 31619
+RMD160 866d2edcb68d6bb400d5a0364852ac62e267a3c4 XML_RPC-1.5.0.tgz 31619
+SHA256 d1e42d0e11a649cd0ca5cd3bbb3ced2f0984cdcde263d9c45ce6737405258edf XML_RPC-1.5.0.tgz 31619