# HG changeset patch # User Nathan Phillip Brink # Date 2010-07-26 08:21:45 # Node ID dfeea34175dcf43fcf6390a094643776fb8673b5 # Parent 97f8bad9e0d5547327278916e989c90299155c5c dev-php/PEAR-PEAR: Initial import from Gentoo's Portage diff --git a/dev-php/PEAR-PEAR/ChangeLog b/dev-php/PEAR-PEAR/ChangeLog new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/ChangeLog @@ -0,0 +1,496 @@ +# ChangeLog for dev-php/PEAR-PEAR +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-PEAR/ChangeLog,v 1.115 2010/07/18 12:17:59 nixnut Exp $ + + 18 Jul 2010; PEAR-PEAR-1.9.0.ebuild: + ppc stable #311633 + +*PEAR-PEAR-1.9.0-r1 (14 Jun 2010) + + 14 Jun 2010; +PEAR-PEAR-1.9.0-r1.ebuild: + eapi bump for php-5.3 + + 09 May 2010; Raúl Porcel PEAR-PEAR-1.9.0.ebuild: + alpha/arm/ia64/s390/sh/sparc stable wrt #311633 + + 15 Apr 2010; Markus Meier PEAR-PEAR-1.9.0.ebuild: + amd64 stable, bug #311633 + + 12 Apr 2010; Pawel Hajdan jr + PEAR-PEAR-1.9.0.ebuild: + x86 stable wrt bug #311633 + + 16 Feb 2010; Steve Dibb PEAR-PEAR-1.8.1.ebuild, + PEAR-PEAR-1.9.0.ebuild: + Remove PDEPEND upon dev-php/pear, as the eclass will pull it in directly + now + + 05 Oct 2009; Steve Dibb PEAR-PEAR-1.8.1.ebuild: + Have PEAR-PEAR require same version of dev-php/pear + +*PEAR-PEAR-1.9.0 (05 Oct 2009) + + 05 Oct 2009; Steve Dibb +PEAR-PEAR-1.9.0.ebuild: + Version bump + +*PEAR-PEAR-1.8.1 (23 Sep 2009) + + 23 Sep 2009; Steve Dibb PEAR-PEAR-1.6.1.ebuild, + PEAR-PEAR-1.6.2-r1.ebuild, PEAR-PEAR-1.7.1.ebuild, + +PEAR-PEAR-1.8.1.ebuild: + Version bump, bug 250268; New install system using split ebuilds, + PEAR-PEAR is only that on package now, dev-php/pear will pull in necessary + deps individually + +*PEAR-PEAR-1.7.1 (17 Mar 2008) + + 17 Mar 2008; +files/pear.conf-r1, + +PEAR-PEAR-1.7.1.ebuild: + Version bump from project overlay + + 03 Feb 2008; Jakub Moc + +PEAR-PEAR-1.7.1.ebuild: + Version bump; major ebuild rewrite. Masked for now, see Known bugs at + http://pear.php.net/package/PEAR/download/1.7.1/ before using this! + + 06 Dec 2007; Markus Ullmann PEAR-PEAR-1.6.1.ebuild, + PEAR-PEAR-1.6.2-r1.ebuild: + LICENSE fix from project overlay + + 02 Dec 2007; Jakub Moc + PEAR-PEAR-1.6.1.ebuild, PEAR-PEAR-1.6.2-r1.ebuild: + Fix LICENSE + + 01 Dec 2007; nixnut PEAR-PEAR-1.6.2-r1.ebuild: + Stable on ppc wrt bug 200795 + + 30 Nov 2007; Steve Dibb PEAR-PEAR-1.6.2-r1.ebuild: + amd64 stable, bug 200795 + + 30 Nov 2007; Markus Rothe PEAR-PEAR-1.6.2-r1.ebuild: + Stable on ppc64; bug #200795 + + 30 Nov 2007; Markus Meier PEAR-PEAR-1.6.2-r1.ebuild: + x86 stable, bug #200795 + + 29 Nov 2007; Markus Ullmann -PEAR-PEAR-1.6.2.ebuild: + drop old + +*PEAR-PEAR-1.6.2-r1 (29 Nov 2007) + + 29 Nov 2007; Markus Ullmann +PEAR-PEAR-1.6.2-r1.ebuild: + Version bump from project overlay + + 22 Nov 2007; Jakub Moc +PEAR-PEAR-1.6.2-r1.ebuild: + Add pear.agavi.org channel for newer dev-php5/agavi + +*PEAR-PEAR-1.6.2 (22 Oct 2007) + + 22 Oct 2007; Markus Ullmann + +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 + +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 -PEAR-PEAR-1.4.11.ebuild, + -PEAR-PEAR-1.5.1.ebuild: + Cleanup + + 24 Aug 2007; Raúl Porcel PEAR-PEAR-1.6.1.ebuild: + alpha/ia64 stable wrt security #189075 + + 23 Aug 2007; Christoph Mende PEAR-PEAR-1.6.1.ebuild: + Stable on amd64 wrt security bug #189075 + + 22 Aug 2007; Tobias Scherbaum + PEAR-PEAR-1.6.1.ebuild: + ppc stable, bug #189075 + + 19 Aug 2007; Markus Rothe PEAR-PEAR-1.6.1.ebuild: + Stable on ppc64; bug #189075 + + 18 Aug 2007; Christian Faulhammer + PEAR-PEAR-1.6.1.ebuild: + stable x86, security bug 189075 + + 17 Aug 2007; Jeroen Roovers PEAR-PEAR-1.6.1.ebuild: + Stable for HPPA (bug #189075). + + 16 Aug 2007; Gustavo Zacarias + PEAR-PEAR-1.6.1.ebuild: + Stable on sparc wrt security #189075 + +*PEAR-PEAR-1.6.1 (16 Aug 2007) + + 16 Aug 2007; Markus Ullmann +PEAR-PEAR-1.6.1.ebuild: + Version bump for bug #189075 from php overlay as requested on irc + +*PEAR-PEAR-1.5.1 (20 Mar 2007) + + 20 Mar 2007; Luca Longinotti PEAR-PEAR-1.4.11.ebuild, + +PEAR-PEAR-1.5.1.ebuild: + Version bump, cleanup. + + 04 Dec 2006; Luca Longinotti PEAR-PEAR-1.4.11.ebuild: + Add sandbox depend to avoid lots of bugreports due to users still having old + sandbox installs around that don't work well with PEAR-PEAR. + + 24 Nov 2006; Luca Longinotti + -PEAR-PEAR-1.4.9-r1.ebuild, PEAR-PEAR-1.4.11.ebuild: + Fix bug #156127, remove old version. + + 20 Oct 2006; Bryan Østergaard + PEAR-PEAR-1.4.11.ebuild: + Stable on Alpha. + + 03 Oct 2006; Simon Stelling PEAR-PEAR-1.4.11.ebuild: + stable on amd64 + + 01 Oct 2006; Tobias Scherbaum + PEAR-PEAR-1.4.11.ebuild: + hppa stable, bug #149306 + + 30 Sep 2006; PEAR-PEAR-1.4.11.ebuild: + Stable on ppc wrt bug 149306 + + 30 Sep 2006; Sebastian Bergmann + PEAR-PEAR-1.4.11.ebuild: + Call 'pear clear-cache' for bug #142601. + + 29 Sep 2006; Markus Rothe PEAR-PEAR-1.4.11.ebuild: + Stable on ppc64; bug #149306 + + 28 Sep 2006; Jason Wever PEAR-PEAR-1.4.11.ebuild: + Stable on SPARC wrt bug #149306. + + 28 Sep 2006; Sebastian Bergmann files/pear.conf, + PEAR-PEAR-1.4.11.ebuild: + Change default cache directory to /var/cache/pear. Actually set + cache_dir=PEAR_CACHEDIRECTORY in /etc/pear.conf. + + 28 Sep 2006; Joshua Jackson PEAR-PEAR-1.4.11.ebuild: + Stable x86; bug #149306 + + 27 Sep 2006; Sebastian Bergmann + -PEAR-PEAR-1.4.9-r2.ebuild, -PEAR-PEAR-1.4.10.ebuild: + Remove old versions. + + 27 Sep 2006; Sebastian Bergmann + PEAR-PEAR-1.4.9-r1.ebuild, PEAR-PEAR-1.4.9-r2.ebuild, + PEAR-PEAR-1.4.10.ebuild, PEAR-PEAR-1.4.11.ebuild: + Add pear.php-baustelle.de channel. + +*PEAR-PEAR-1.4.11 (16 Aug 2006) + + 16 Aug 2006; Sebastian Bergmann + +PEAR-PEAR-1.4.11.ebuild: + Version bump. + + 11 Aug 2006; Sebastian Bergmann + PEAR-PEAR-1.4.9-r1.ebuild, PEAR-PEAR-1.4.9-r2.ebuild, + PEAR-PEAR-1.4.10.ebuild: + Add pear.phpunit.de channel. + +*PEAR-PEAR-1.4.10 (01 Aug 2006) + + 01 Aug 2006; Sebastian Bergmann + +PEAR-PEAR-1.4.10.ebuild: + Version bump. + + 29 Jul 2006; Luca Longinotti + -files/fix-packagingroot-1.4.6.patch, -PEAR-PEAR-1.4.6-r1.ebuild: + Remove old version. + +*PEAR-PEAR-1.4.9-r2 (12 Jul 2006) + + 12 Jul 2006; Sebastian Bergmann + +PEAR-PEAR-1.4.9-r2.ebuild: + XML_RPC 1.5.0. + + 07 Jul 2006; Jose Luis Rivero + PEAR-PEAR-1.4.9-r1.ebuild: + Stable on alpha wrt #131371 + + 23 May 2006; Luca Longinotti + -PEAR-PEAR-1.3.6-r5.ebuild, PEAR-PEAR-1.4.6-r1.ebuild: + Spring cleanup and update used XML_RPC version on 1.4.6 as it's safe to do so. + + 21 May 2006; Luca Longinotti -PEAR-PEAR-1.3.5.ebuild: + Remove old-style PHP packages. + + 03 May 2006; Gustavo Zacarias + PEAR-PEAR-1.4.9-r1.ebuild: + Stable on hppa wrt #131371 + + 01 May 2006; Markus Rothe PEAR-PEAR-1.4.9-r1.ebuild: + Stable on ppc64 + + 30 Apr 2006; Mark Loeser PEAR-PEAR-1.4.9-r1.ebuild: + Stable on x86; bug #131371 + + 28 Apr 2006; Joseph Jezak + PEAR-PEAR-1.4.9-r1.ebuild: + Marked ppc stable for bug #131371. + + 27 Apr 2006; Gustavo Zacarias + PEAR-PEAR-1.4.9-r1.ebuild: + Stable on sparc wrt #131371 + + 26 Apr 2006; Sebastian Bergmann + -PEAR-PEAR-1.4.8.ebuild, -PEAR-PEAR-1.4.9.ebuild: + Pull old versions. + + 16 Apr 2006; Sebastian Bergmann + PEAR-PEAR-1.4.9-r1.ebuild: + XML_RPC 1.4.8. + + 11 Apr 2006; Sebastian Bergmann + PEAR-PEAR-1.4.9-r1.ebuild: + XML_RPC 1.4.7. + +*PEAR-PEAR-1.4.9-r1 (07 Apr 2006) + + 07 Apr 2006; Sebastian Bergmann + +PEAR-PEAR-1.4.9-r1.ebuild: + Revision bump for XML_RPC 1.4.6. + +*PEAR-PEAR-1.4.9 (30 Mar 2006) + + 30 Mar 2006; Sebastian Bergmann + +PEAR-PEAR-1.4.9.ebuild: + Version bump. + + 18 Mar 2006; Luca Longinotti + PEAR-PEAR-1.4.6-r1.ebuild, PEAR-PEAR-1.4.8.ebuild: + Add pear.symfony-project.com channel. + + 14 Mar 2006; Sebastian Bergmann + PEAR-PEAR-1.4.6-r1.ebuild, PEAR-PEAR-1.4.8.ebuild: + Add pear.phing.info channel. + + 13 Mar 2006; Sebastian Bergmann + PEAR-PEAR-1.4.6-r1.ebuild, PEAR-PEAR-1.4.8.ebuild: + Add pear.phpdb.org channel. + +*PEAR-PEAR-1.4.8 (10 Mar 2006) + + 10 Mar 2006; Sebastian Bergmann + +PEAR-PEAR-1.4.8.ebuild: + Version bump. + + 26 Jan 2006; Jeroen Roovers PEAR-PEAR-1.4.6-r1.ebuild: + Marked ~hppa (bug #111525). + + 25 Jan 2006; Bryan Østergaard PEAR-PEAR-1.4.6-r1.ebuild: + stable on amd64 wrt bug 111525 + + 24 Jan 2006; Luca Longinotti + PEAR-PEAR-1.4.6-r1.ebuild: + Dropping ~hppa on PEAR 1.4.6-r1 as dev-lang/php and its deps are not + keyworded hppa yet. + + 24 Jan 2006; Jeroen Roovers PEAR-PEAR-1.4.6-r1.ebuild: + Marked ~hppa (bug #111525). + + 24 Jan 2006; Tobias Scherbaum + PEAR-PEAR-1.4.6-r1.ebuild: + ppc stable, bug #111525 + + 24 Jan 2006; Gustavo Zacarias + PEAR-PEAR-1.4.6-r1.ebuild: + Stable on sparc wrt security #111525 + + 23 Jan 2006; Markus Rothe PEAR-PEAR-1.4.6-r1.ebuild: + Stable on ppc64; bug #111525 + + 23 Jan 2006; Mark Loeser PEAR-PEAR-1.4.6-r1.ebuild: + Stable on x86; bug #111525 + +*PEAR-PEAR-1.4.6-r1 (23 Jan 2006) +*PEAR-PEAR-1.3.6-r5 (23 Jan 2006) + + 23 Jan 2006; Luca Longinotti + -PEAR-PEAR-1.3.6-r4.ebuild, +PEAR-PEAR-1.3.6-r5.ebuild, + -PEAR-PEAR-1.4.6.ebuild, +PEAR-PEAR-1.4.6-r1.ebuild: + PEAR-1.3: fix sed line, add removal of stale pear.conf as it could cause + problems. PEAR-1.4: update XML_RPC to 1.4.5, add removal of stale pear.conf + as it could cause problems. Fix patch. + +*PEAR-PEAR-1.4.6 (23 Jan 2006) + + 23 Jan 2006; Sebastian Bergmann + +files/fix-packagingroot-1.4.6.patch, files/pear.conf, + +PEAR-PEAR-1.4.6.ebuild: + Version bump, closes bug 111525. + + 22 Jan 2006; Simon Stelling PEAR-PEAR-1.3.6-r4.ebuild: + stable on amd64 + + 21 Jan 2006; Jason Wever PEAR-PEAR-1.3.6-r4.ebuild: + Stable on SPARC wrt bug #119446. + + 21 Jan 2006; PEAR-PEAR-1.3.6-r4.ebuild: + Added ppc keyword. bug 119446 + + 19 Jan 2006; Krzysiek Pawlik + PEAR-PEAR-1.3.6-r4.ebuild: + Stable on x86. + + 18 Jan 2006; Markus Rothe PEAR-PEAR-1.3.6-r4.ebuild: + Stable on ppc64; bug #119446 + +*PEAR-PEAR-1.3.6-r4 (18 Jan 2006) + + 18 Jan 2006; Sebastian Bergmann + -PEAR-PEAR-1.3.6-r3.ebuild, +PEAR-PEAR-1.3.6-r4.ebuild: + Fix bug 119358. + +*PEAR-PEAR-1.3.6-r3 (15 Jan 2006) + + 15 Jan 2006; Sebastian Bergmann + -PEAR-PEAR-1.3.6-r2.ebuild, +PEAR-PEAR-1.3.6-r3.ebuild: + Version bump: XML_RPC-1.4.5. + + 09 Jan 2006; Luca Longinotti files/pear.conf, + PEAR-PEAR-1.3.6-r2.ebuild: + Change pear.conf to auto-substitute the php binary's path, plus some other + cosmetical fixes. Fix pear USE flag requirement, not really needed. + + 09 Jan 2006; Sebastian Bergmann + PEAR-PEAR-1.3.6-r2.ebuild: + Block packages that this package bundles. + + 09 Jan 2006; Sebastian Bergmann +files/pear.conf, + PEAR-PEAR-1.3.6-r2.ebuild: + Install /etc/pear.conf. + +*PEAR-PEAR-1.3.6-r2 (09 Jan 2006) + + 09 Jan 2006; Sebastian Bergmann + -PEAR-PEAR-1.3.5-r1.ebuild, -PEAR-PEAR-1.3.6-r1.ebuild, + +PEAR-PEAR-1.3.6-r2.ebuild: + Always bootstrap, do not PDEPEND on separate packages for Archive_Tar, + Console_Getopt and XML_RPC. + + 24 Nov 2005; Luca Longinotti metadata.xml, + -PEAR-PEAR-1.3.6.ebuild: + Delete PEAR-PEAR-1.3.6, 1.3.6-r1 fixes some bugs and is available on all + arches 1.3.6 was, and more, so we have no reason to keep that around + anymore. Fix metadata. + + 19 Nov 2005; Markus Rothe PEAR-PEAR-1.3.6.ebuild, + PEAR-PEAR-1.3.6-r1.ebuild: + Added ~ppc64 keyword; bug #102649 + +*PEAR-PEAR-1.3.6-r1 (11 Oct 2005) + + 11 Oct 2005; Sebastian Bergmann + +PEAR-PEAR-1.3.6-r1.ebuild: + Various bugfixes by Luca Longinotti. + + 17 Sep 2005; Marcus D. Hanwell PEAR-PEAR-1.3.6.ebuild: + Marked ~amd64, bug 102649. + + 14 Sep 2005; Joseph Jezak PEAR-PEAR-1.3.6.ebuild: + Marked ~ppc for bug #105673. + + 10 Sep 2005; Jason Wever PEAR-PEAR-1.3.6.ebuild: + Added ~sparc keyword. + + 08 Sep 2005; Sebastian Bergmann + PEAR-PEAR-1.3.6.ebuild: + Bump PDEPEND to revisions that use the new PEAR eclass. + +*PEAR-PEAR-1.3.6 (04 Sep 2005) + + 04 Sep 2005; Stuart Herbert +PEAR-PEAR-1.3.6.ebuild: + Version bump; supports new "consolidated" PHP package + + 15 Jul 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5-r1.ebuild: + Fix bug 98956. Only emit upgrade warning when we are upgrading. + + 14 Jul 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5-r1.ebuild: + Better safe than sorry: Add SNMP fix from php-pear.eclass. + + 04 Jul 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5-r1.ebuild: + Update PEAR-XML_RPC dependency. Fix pkg_preinst(). + + 27 Mar 2005; Bryan Østergaard PEAR-PEAR-1.3.5.ebuild: + Stable on alpha. + + 19 Mar 2005; Jason Wever PEAR-PEAR-1.3.5.ebuild: + Stable on sparc wrt bug #82545. + + 18 Mar 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5-r1.ebuild: + Add migration functionality for the /usr/lib/php -> /usr/share/php move to + pkg_preinst(). Add warning about this move to pkg_postinst(). Restore + KEYWORDS. + + 14 Mar 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5-r1.ebuild: + Stable on x86 and amd64. + + 09 Mar 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5-r1.ebuild: + Change PEAR installation directory from /usr/lib/php to /usr/share/php. + + 09 Mar 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5-r1.ebuild, PEAR-PEAR-1.3.5.ebuild: + Add missing KEYWORDs. + + 07 Mar 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5-r1.ebuild: + Use has_version to determine previous installation of package. Remove einfo + messages. + +*PEAR-PEAR-1.3.5-r1 (02 Mar 2005) + + 02 Mar 2005; Sebastian Bergmann + +PEAR-PEAR-1.3.5-r1.ebuild: + No longer require an existing PEAR environment. + + 26 Feb 2005; Jason Wever PEAR-PEAR-1.3.5.ebuild: + Added ~sparc keyword wrt bug #82545. + + 20 Feb 2005; Aron Griffis PEAR-PEAR-1.3.5.ebuild: + stable on ia64 + + 20 Feb 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5.ebuild: + Mark stable on x86 and amd64 for bug 82545. + + 20 Feb 2005; Joseph Jezak PEAR-PEAR-1.3.5.ebuild: + Marked ppc stable for bug #82545. + + 19 Feb 2005; Markus Rothe PEAR-PEAR-1.3.5.ebuild: + Stable on ppc64; bug #82545 + + 19 Feb 2005; Sebastian Bergmann + PEAR-PEAR-1.3.5.ebuild: + Mask ~amd64. + +*PEAR-PEAR-1.3.5 (18 Feb 2005) + + 18 Feb 2005; Sebastian Bergmann + -PEAR-PEAR-1.3.4.ebuild, +PEAR-PEAR-1.3.5.ebuild: + Version bump. + +*PEAR-PEAR-1.3.4 (16 Feb 2005) + + 16 Feb 2005; Sebastian Bergmann +metadata.xml, + +PEAR-PEAR-1.3.4.ebuild: + Initial ebuild for the PEAR base package. + diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/Manifest @@ -0,0 +1,20 @@ +AUX 1.6.2-accept-encoding-bug_12116.patch 603 RMD160 d19b8be3352e479c7316f259cfb23f397de655fb SHA1 cab06556f29fbc9749a6566bf124678e7de60188 SHA256 7f15a8fe6c09c6846b4e052b6f6ee2052b0191b215f7e41bc56b6b89c952ae4a +AUX pear.conf 291 RMD160 311e624d97640448754aa2f3e643aa53501f9c25 SHA1 47b350c2bf4b882b5981504ac6acfd7c708367e6 SHA256 cbe9363c760952d00b90070d4a41e88a175e12c65f99668fbe16d8158f5fa7ab +AUX pear.conf-r1 379 RMD160 df2595353d3a0ee5474dff41a445ebd2e642a5ec SHA1 a9971714efca2a84ef54b5f7c71f3adbbe3d2930 SHA256 43e78396b7b91cf16a3d33d36c19096c9e7281b7f771c379f383a16c7756c490 +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 PEAR-1.7.1.tgz 302377 RMD160 9e98cde01eb21d21daf934ebb03b27d375424e7d SHA1 a4a51b0686a7ad00c68abb23eca80416f18ddfd3 SHA256 127634eccb67e6378ce0a92045314c9a6252a40c5d5026b8b79f5b13e3fce7ab +DIST PEAR-1.8.1.tgz 290382 RMD160 650c8206420b65569ad3a8bf067d7ff3274fdfae SHA1 67cd4a2a831ad2acb29de44eece7c215e5d3b5a3 SHA256 5de817886bcea77704ee2788700657429dfe48b0036d1d3b3850423f4577ccf1 +DIST PEAR-1.9.0.tgz 291634 RMD160 cfac92b7569676783b44a38309f8a156f49a35e8 SHA1 a268b9af85a3daad047c77947838932f2737e6aa SHA256 3b9c3fab4ccf9657613f1c437872d8a33fafbd432f4a5cd6d6790553662bad50 +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 5403 RMD160 510d72ef53328a1ebf933e893c3c1f8def1e92d8 SHA1 ec3522a99c3b7ce9037aba8c810968733d55e3ef SHA256 60288730c76e4522046438a41c6c9a8c72fdd213c473fcdbb926772afa149b9b +EBUILD PEAR-PEAR-1.6.2-r1.ebuild 4372 RMD160 7e49549a31cf238a85a4e0f11db5bc693a313829 SHA1 9412d7bbe4581b0072cca2f26c2e157dc8abf85d SHA256 1d2c70184a568377c1f6838235c87deb01962bb25f7dbf409d9b49540d0fa4e7 +EBUILD PEAR-PEAR-1.7.1.ebuild 4582 RMD160 e3a8c75cac95024cfca64ab6ce60a2c58626a951 SHA1 a8afbd6dd19d7a7c3f4b064fb8bb7507a354d90f SHA256 687d9f0cea4c59b180344ea45dd448750706521432ff84e1e96775299dceb0f8 +EBUILD PEAR-PEAR-1.8.1.ebuild 3085 RMD160 a722d9350199303b1b01835b35816ac3322fcef1 SHA1 bf86abd96034d45213d57f73bd42fb31c697b390 SHA256 4af1bc3753061faadc9883ea465b0db5fb1464e7bba49ce20aeb0b05521414e4 +EBUILD PEAR-PEAR-1.9.0-r1.ebuild 2966 RMD160 204ce36baa90060750e3f7e64e728911bb065907 SHA1 41a4e5caf379fbaa5d19d92551f17618d73333b5 SHA256 a220e4f33457b841acc3d2985fe14087def9071166e3a86448d2eb2b2e238d87 +EBUILD PEAR-PEAR-1.9.0.ebuild 3075 RMD160 3550ae010b31411b7bbb1210921fe87ea492d50e SHA1 fee0edaca0781f6fc85ac3d91a548d838460e786 SHA256 b6ede66b97150eeb707eec7f28ae91a55fead9874649e80587fc79e49dc58a39 +MISC ChangeLog 16423 RMD160 075c14684a2dca4f992a5b23921dbaae951f7ad0 SHA1 753e0d8ac98bba77f3758dadf9562fb631f703f4 SHA256 af5ac74668852d2eae666aa3402993a40d5acb010ff9a17d8b68de881b569cc3 +MISC metadata.xml 248 RMD160 a52d2dcf8ab8231c5e8332d5022d921fb8b6754e SHA1 84c45cabf8e0959e44317f8db4449c0056c7959e SHA256 a98d66f97c0d4f6f57c10b1b2038cfb7c5a76a58ff187ddff241024dfa8dee51 diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.1.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.1.ebuild new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.1.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2009 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.1.ebuild,v 1.11 2009/09/23 02:41:50 beandog 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="1.6.1" + +[[ -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-2.02 PHP-3 PHP-3.01 MIT" +SLOT="0" +IUSE="" + +# we deliberately force people to remove their old PEAR installations, +# and any package which may have put an old-style PEAR installation onto +# their box +# we also depend on a recent sandbox version to mitigate problems users +# have been experiencing + +DEPEND="dev-lang/php + !dev-php/php + !dev-php/php-cgi + !dev-php/mod_php + !=sys-apps/sandbox-1.2.17 + !dev-php/pear + !dev-php/PEAR-Archive_Tar + !dev-php/PEAR-Console_Getopt + !dev-php/PEAR-Structures_Graph + !dev-php/PEAR-XML_RPC" +RDEPEND="${DEPEND}" + +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" || die "sed failed" + cp "${WORKDIR}/PEAR-${PEAR}/scripts/pear.sh" "${WORKDIR}/PEAR/pear" + sed -i "s:@php_bin@:${PHPCLI}:g" "${WORKDIR}/PEAR/pear" || die "sed failed" + sed -i "s:@bin_dir@:/usr/bin:g" "${WORKDIR}/PEAR/pear" || die "sed failed" + sed -i "s:@php_dir@:/usr/share/php:g" "${WORKDIR}/PEAR/pear" || die "sed failed" + sed -i "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" "${WORKDIR}/PEAR/pear" || die "sed failed" + + # 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 failed" + sed -i "s:@bin_dir@:/usr/bin:g" "${WORKDIR}/PEAR/peardev" || die "sed failed" + sed -i "s:@php_dir@:/usr/share/php:g" "${WORKDIR}/PEAR/peardev" || die "sed failed" + + # Prepare /usr/bin/pecl script. + cp "${WORKDIR}/PEAR-${PEAR}/scripts/peclcmd.php" "${WORKDIR}/PEAR/peclcmd.php" + sed -i "s:@pear_version@:${PEAR}:g" "${WORKDIR}/PEAR/peclcmd.php" || die "sed failed" + cp "${WORKDIR}/PEAR-${PEAR}/scripts/pecl.sh" "${WORKDIR}/PEAR/pecl" + sed -i "s:@php_bin@:${PHPCLI}:g" "${WORKDIR}/PEAR/pecl" || die "sed failed" + sed -i "s:@bin_dir@:/usr/bin:g" "${WORKDIR}/PEAR/pecl" || die "sed failed" + sed -i "s:@php_dir@:/usr/share/php:g" "${WORKDIR}/PEAR/pecl" || die "sed failed" + + # Prepare PEAR/Dependency2.php. + sed -i "s:@PEAR-VER@:${PEAR}:g" "${WORKDIR}/PEAR/PEAR/Dependency2.php" || die "sed failed" + + # Install Archive_Tar Package. + cp -r "${WORKDIR}/Archive_Tar-${ARCHIVE_TAR}/Archive" "${WORKDIR}/PEAR/" + + # Install Console_Getopt Package. + cp -r "${WORKDIR}/Console_Getopt-${CONSOLE_GETOPT}/Console" "${WORKDIR}/PEAR/" + + # Install Structures_Graph Package. + cp -r "${WORKDIR}/Structures_Graph-${STRUCTURES_GRAPH}/Structures" "${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 Structures XML *.php + dobin pear peardev pecl + + insinto /etc + doins "${FILESDIR}/pear.conf" + sed -e "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" -i "${D}/etc/pear.conf" || die "sed failed" + sed -e "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" -i "${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" + + for chan in ${pearchans} ; do + pear channel-discover ${chan} + pear channel-update ${chan} + done +} diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.2-r1.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.2-r1.ebuild new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.6.2-r1.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2009 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-r1.ebuild,v 1.10 2009/09/23 02:41:50 beandog 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-2.02 PHP-3 PHP-3.01 MIT" +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 + !dev-php/pear + !dev-php/PEAR-Archive_Tar + !dev-php/PEAR-Console_Getopt + !dev-php/PEAR-Structures_Graph + !dev-php/PEAR-XML_RPC" +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 pear.agavi.org" + + for chan in ${pearchans} ; do + pear channel-discover ${chan} + pear channel-update ${chan} + done +} diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.7.1.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.7.1.ebuild new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.7.1.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2009 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.7.1.ebuild,v 1.3 2009/09/23 02:41:50 beandog 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}" + +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-2.02 PHP-3 PHP-3.01 MIT" +SLOT="0" +IUSE="" + +DEPEND="dev-lang/php + !dev-php/pear + !dev-php/PEAR-Archive_Tar + !dev-php/PEAR-Console_Getopt + !dev-php/PEAR-Structures_Graph + !dev-php/PEAR-XML_RPC" +RDEPEND="${DEPEND}" + +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 + + [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="/var/cache/pear" + [[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="/var/tmp/pear" + [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="/tmp" + + elog + elog "cache_dir is set to: ${PEAR_CACHEDIR}" + elog "download_dir is set to: ${PEAR_DOWNLOADDIR}" + elog "temp_dir is set to: ${PEAR_TEMPDIR}" + elog + elog "If you want to change the above values, you need to set" + elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)" + elog "accordingly in /etc/make.conf and re-emerge ${PN}." + elog +} + +src_install() { + # Prevent SNMP related sandbox violoation. + addpredict /usr/share/snmp/mibs/.index + addpredict /var/lib/net-snmp/ + + # install PEAR package + cd "${S}"/PEAR-${PEAR} + + insinto /usr/share/php + doins -r PEAR/ + doins -r OS/ + doins PEAR.php System.php + doins scripts/pearcmd.php + doins scripts/peclcmd.php + + newbin scripts/pear.sh pear + newbin scripts/peardev.sh peardev + newbin scripts/pecl.sh pecl + + # install Archive_Tar package + cd "${S}"/Archive_Tar-${ARCHIVE_TAR} + insinto /usr/share/php + doins -r Archive/ + + # install Console_Getopt package. + cd "${S}"/Console_Getopt-${CONSOLE_GETOPT} + insinto /usr/share/php + doins -r Console/ + + # install Structures_Graph package + cd "${S}"/Structures_Graph-${STRUCTURES_GRAPH} + insinto /usr/share/php + doins -r Structures/ + + # install XML_RPC package + cd "${S}"/XML_RPC-${XML_RPC} + insinto /usr/share/php/XML + doins RPC.php + insinto /usr/share/php/XML/RPC + doins Dump.php Server.php + + # adjust some scripts for current version + for i in pearcmd.php peclcmd.php ; do + dosed "s:@pear_version@:${PEAR}:g" /usr/share/php/${i} + done + + for i in pear peardev pecl ; do + dosed "s:@php_bin@:${PHPCLI}:g" /usr/bin/${i} + dosed "s:@bin_dir@:/usr/bin:g" /usr/bin/${i} + dosed "s:@php_dir@:/usr/share/php:g" /usr/bin/${i} + done + dosed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" /usr/bin/pear + + dosed "s:@package_version@:${PEAR}:g" /usr/share/php/PEAR/Command/Package.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/Dependency2.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/PackageFile/Parser/v1.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/PackageFile/Parser/v2.php + + # finalize install + insinto /etc + newins "${FILESDIR}"/pear.conf-r1 pear.conf + dosed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" /etc/pear.conf + dosed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" /etc/pear.conf + dosed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" /etc/pear.conf + dosed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" /etc/pear.conf + + [[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR}" + keepdir "${PEAR_CACHEDIR}" + diropts -m1777 + keepdir "${PEAR_DOWNLOADDIR}" +} + +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 + local 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 pear.agavi.org" + + for chan in ${pearchans} ; do + pear channel-discover ${chan} + pear channel-update ${chan} + done +} diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.8.1.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.8.1.ebuild new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.8.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2010 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.8.1.ebuild,v 1.3 2010/02/16 04:16:42 beandog Exp $ + +inherit depend.php + +PEAR="${PV}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +DESCRIPTION="PEAR Base System" +HOMEPAGE="http://pear.php.net/package/PEAR" +SRC_URI="http://pear.php.net/get/PEAR-${PEAR}.tgz" +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="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 + + [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="/var/cache/pear" + [[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="/var/tmp/pear" + [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="/tmp" + + elog + elog "cache_dir is set to: ${PEAR_CACHEDIR}" + elog "download_dir is set to: ${PEAR_DOWNLOADDIR}" + elog "temp_dir is set to: ${PEAR_TEMPDIR}" + elog + elog "If you want to change the above values, you need to set" + elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)" + elog "accordingly in /etc/make.conf and re-emerge ${PN}." + elog +} + +src_install() { + # Prevent SNMP related sandbox violoation. + addpredict /usr/share/snmp/mibs/.index + addpredict /var/lib/net-snmp/ + + # install PEAR package + cd "${S}"/PEAR-${PEAR} + + insinto /usr/share/php + doins -r PEAR/ + doins -r OS/ + doins PEAR.php PEAR5.php System.php + doins scripts/pearcmd.php + doins scripts/peclcmd.php + + newbin scripts/pear.sh pear + newbin scripts/peardev.sh peardev + newbin scripts/pecl.sh pecl + + # adjust some scripts for current version + for i in pearcmd.php peclcmd.php ; do + dosed "s:@pear_version@:${PEAR}:g" /usr/share/php/${i} + done + + for i in pear peardev pecl ; do + dosed "s:@php_bin@:${PHPCLI}:g" /usr/bin/${i} + dosed "s:@bin_dir@:/usr/bin:g" /usr/bin/${i} + dosed "s:@php_dir@:/usr/share/php:g" /usr/bin/${i} + done + dosed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" /usr/bin/pear + + dosed "s:@package_version@:${PEAR}:g" /usr/share/php/PEAR/Command/Package.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/Dependency2.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/PackageFile/Parser/v1.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/PackageFile/Parser/v2.php + + # finalize install + insinto /etc + newins "${FILESDIR}"/pear.conf-r1 pear.conf + dosed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" /etc/pear.conf + dosed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" /etc/pear.conf + dosed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" /etc/pear.conf + dosed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" /etc/pear.conf + + [[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR}" + keepdir "${PEAR_CACHEDIR}" + diropts -m1777 + keepdir "${PEAR_DOWNLOADDIR}" +} + +pkg_preinst() { + rm -f "${ROOT}/etc/pear.conf" +} diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.0-r1.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.0-r1.ebuild new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.0-r1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2010 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.9.0-r1.ebuild,v 1.1 2010/06/14 23:20:45 mabi Exp $ + +EAPI="2" + +inherit depend.php + +PEAR="${PV}" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +DESCRIPTION="PEAR Base System" +HOMEPAGE="http://pear.php.net/package/PEAR" +SRC_URI="http://pear.php.net/get/PEAR-${PEAR}.tgz" +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="|| ( =dev-lang/php-5.3 ) + dev-lang/php[cli,xml,zlib]" + +S="${WORKDIR}" + +pkg_setup() { + has_php + + [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="/var/cache/pear" + [[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="/var/tmp/pear" + [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="/tmp" + + elog + elog "cache_dir is set to: ${PEAR_CACHEDIR}" + elog "download_dir is set to: ${PEAR_DOWNLOADDIR}" + elog "temp_dir is set to: ${PEAR_TEMPDIR}" + elog + elog "If you want to change the above values, you need to set" + elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)" + elog "accordingly in /etc/make.conf and re-emerge ${PN}." + elog +} + +src_install() { + # Prevent SNMP related sandbox violoation. + addpredict /usr/share/snmp/mibs/.index + addpredict /var/lib/net-snmp/ + + # install PEAR package + cd "${S}"/PEAR-${PEAR} + + insinto /usr/share/php + doins -r PEAR/ + doins -r OS/ + doins PEAR.php PEAR5.php System.php + doins scripts/pearcmd.php + doins scripts/peclcmd.php + + newbin scripts/pear.sh pear + newbin scripts/peardev.sh peardev + newbin scripts/pecl.sh pecl + + # adjust some scripts for current version + for i in pearcmd.php peclcmd.php ; do + dosed "s:@pear_version@:${PEAR}:g" /usr/share/php/${i} + done + + for i in pear peardev pecl ; do + dosed "s:@php_bin@:${PHPCLI}:g" /usr/bin/${i} + dosed "s:@bin_dir@:/usr/bin:g" /usr/bin/${i} + dosed "s:@php_dir@:/usr/share/php:g" /usr/bin/${i} + done + dosed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" /usr/bin/pear + + dosed "s:@package_version@:${PEAR}:g" /usr/share/php/PEAR/Command/Package.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/Dependency2.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/PackageFile/Parser/v1.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/PackageFile/Parser/v2.php + + # finalize install + insinto /etc + newins "${FILESDIR}"/pear.conf-r1 pear.conf + dosed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" /etc/pear.conf + dosed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" /etc/pear.conf + dosed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" /etc/pear.conf + dosed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" /etc/pear.conf + + [[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR}" + keepdir "${PEAR_CACHEDIR}" + diropts -m1777 + keepdir "${PEAR_DOWNLOADDIR}" +} + +pkg_preinst() { + rm -f "${ROOT}/etc/pear.conf" +} diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.0.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.0.ebuild new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2010 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.9.0.ebuild,v 1.6 2010/07/18 12:17:59 nixnut Exp $ + +inherit depend.php + +PEAR="${PV}" + +KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ~ppc64 s390 sh sparc x86" + +DESCRIPTION="PEAR Base System" +HOMEPAGE="http://pear.php.net/package/PEAR" +SRC_URI="http://pear.php.net/get/PEAR-${PEAR}.tgz" +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="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 + + [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="/var/cache/pear" + [[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="/var/tmp/pear" + [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="/tmp" + + elog + elog "cache_dir is set to: ${PEAR_CACHEDIR}" + elog "download_dir is set to: ${PEAR_DOWNLOADDIR}" + elog "temp_dir is set to: ${PEAR_TEMPDIR}" + elog + elog "If you want to change the above values, you need to set" + elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)" + elog "accordingly in /etc/make.conf and re-emerge ${PN}." + elog +} + +src_install() { + # Prevent SNMP related sandbox violoation. + addpredict /usr/share/snmp/mibs/.index + addpredict /var/lib/net-snmp/ + + # install PEAR package + cd "${S}"/PEAR-${PEAR} + + insinto /usr/share/php + doins -r PEAR/ + doins -r OS/ + doins PEAR.php PEAR5.php System.php + doins scripts/pearcmd.php + doins scripts/peclcmd.php + + newbin scripts/pear.sh pear + newbin scripts/peardev.sh peardev + newbin scripts/pecl.sh pecl + + # adjust some scripts for current version + for i in pearcmd.php peclcmd.php ; do + dosed "s:@pear_version@:${PEAR}:g" /usr/share/php/${i} + done + + for i in pear peardev pecl ; do + dosed "s:@php_bin@:${PHPCLI}:g" /usr/bin/${i} + dosed "s:@bin_dir@:/usr/bin:g" /usr/bin/${i} + dosed "s:@php_dir@:/usr/share/php:g" /usr/bin/${i} + done + dosed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" /usr/bin/pear + + dosed "s:@package_version@:${PEAR}:g" /usr/share/php/PEAR/Command/Package.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/Dependency2.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/PackageFile/Parser/v1.php + dosed "s:@PEAR-VER@:${PEAR}:g" /usr/share/php/PEAR/PackageFile/Parser/v2.php + + # finalize install + insinto /etc + newins "${FILESDIR}"/pear.conf-r1 pear.conf + dosed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" /etc/pear.conf + dosed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" /etc/pear.conf + dosed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" /etc/pear.conf + dosed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" /etc/pear.conf + + [[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR}" + keepdir "${PEAR_CACHEDIR}" + diropts -m1777 + keepdir "${PEAR_DOWNLOADDIR}" +} + +pkg_preinst() { + rm -f "${ROOT}/etc/pear.conf" +} 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 --- /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/pear.conf b/dev-php/PEAR-PEAR/files/pear.conf new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/files/pear.conf @@ -0,0 +1,2 @@ +#PEAR_Config 0.9 +a:7:{s:7:"doc_dir";s:19:"/usr/share/php/docs";s:8:"data_dir";s:19:"/usr/share/php/data";s:8:"test_dir";s:20:"/usr/share/php/tests";s:7:"php_dir";s:14:"/usr/share/php";s:7:"bin_dir";s:8:"/usr/bin";s:7:"php_bin";s:PHPCLILEN:"PHPCLI";s:9:"cache_dir";s:CACHEDIRLEN:"CACHEDIR";} diff --git a/dev-php/PEAR-PEAR/files/pear.conf-r1 b/dev-php/PEAR-PEAR/files/pear.conf-r1 new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/files/pear.conf-r1 @@ -0,0 +1,2 @@ +#PEAR_Config 0.9 +a:9:{s:7:"doc_dir";s:19:"/usr/share/php/docs";s:8:"data_dir";s:19:"/usr/share/php/data";s:8:"test_dir";s:20:"/usr/share/php/tests";s:7:"php_dir";s:14:"/usr/share/php";s:7:"bin_dir";s:8:"/usr/bin";s:7:"php_bin";s:PHPCLILEN:"PHPCLI";s:9:"cache_dir";s:CACHEDIRLEN:"CACHEDIR";s:12:"download_dir";s:DOWNLOADDIRLEN:"DOWNLOADDIR";s:8:"temp_dir";s:TEMPDIRLEN:"TEMPDIR";} \ No newline at end of file diff --git a/dev-php/PEAR-PEAR/metadata.xml b/dev-php/PEAR-PEAR/metadata.xml new file mode 100644 --- /dev/null +++ b/dev-php/PEAR-PEAR/metadata.xml @@ -0,0 +1,9 @@ + + + + php + + beandog@gentoo.org + Steve Dibb + +