[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2021-08-11 Thread Brian Evans
commit: 8ec674ed1c8e7278277dfcd1d592a14e4463832d
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Aug 11 12:50:28 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Aug 11 12:50:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec674ed

dev-php/PEAR-PEAR: Version bump for 1.10.13

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/PEAR-PEAR/Manifest |   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.13.ebuild | 177 +
 2 files changed, 178 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index e94b02351ee..746d767db39 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1 +1,2 @@
 DIST PEAR-1.10.12.tgz 293220 BLAKE2B 
fb25123852a60e4bd2c041d1fb58174b3053b24ff8ec19b44efe02aee041bbed102b14b270dc1c9764150eea7c85862ad78adefdc1d789540da18ec0f3aeae68
 SHA512 
1ce478800a150d7906f8aa4fa4371d3d190fa2af44691c9aa193babfe76f1b031b493f48df15b93e93dd5518a6d62ba6a7d5b1799b62d5a968f7a84f3677b971
+DIST PEAR-1.10.13.tgz 293384 BLAKE2B 
0adbf707d71cfd584b1338e906fbd38de038292a91153547ed87bdea4c0a7c9ee2ca01c25c91cf8246b8fba88b71126fa8b76ed7059b4338d5bbc65c3d53ce78
 SHA512 
2a08134365b7bd92840880a23149ef457b0a3a04b78dc71f5db475911b49def58d8cb825332151df8d3eb5941b54157ae80879f36fc8de59037f301fc0565740

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.13.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.13.ebuild
new file mode 100644
index 000..5cc6db31363
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.13.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="https://pear.php.net/package/PEAR;
+SRC_URI="https://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli(-),xml(-),zlib(-)]
+   >=dev-php/PEAR-Archive_Tar-1.4.9
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   dev-php/PEAR-Exception
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.4.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_prepare() {
+   default
+   # Exception.php is part of dev-php/PEAR-Exception.
+   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   [[ -z "${PEAR}" ]] && PEAR="${PV}"
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die "failed to sed @package_version@"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
+   || die "failed to sed @PEAR-VER@ in Dependency2.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
+   || die "failed to sed @PEAR-VER@ in v1.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \
+   || die 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2021-01-22 Thread Brian Evans
commit: c65d4e55310ee8759cae16c3cc5b2d3c0abd3f9b
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Jan 22 13:43:43 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Jan 22 13:43:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c65d4e55

dev-php/PEAR-PEAR: Drop old

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/PEAR-PEAR/Manifest|   3 -
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild | 177 --
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild | 177 --
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild | 177 --
 4 files changed, 534 deletions(-)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 7892fd4e44f..e94b02351ee 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,4 +1 @@
 DIST PEAR-1.10.12.tgz 293220 BLAKE2B 
fb25123852a60e4bd2c041d1fb58174b3053b24ff8ec19b44efe02aee041bbed102b14b270dc1c9764150eea7c85862ad78adefdc1d789540da18ec0f3aeae68
 SHA512 
1ce478800a150d7906f8aa4fa4371d3d190fa2af44691c9aa193babfe76f1b031b493f48df15b93e93dd5518a6d62ba6a7d5b1799b62d5a968f7a84f3677b971
-DIST PEAR-1.10.6.tgz 291529 BLAKE2B 
7a75c89df2b34b368564e745a727292e5c5ee3a145995c15d338901b235664d0a783ca0efc9cd1d321cc2c496e88395db376ce7bbd6ccbf55d484d7f1021cd2b
 SHA512 
ccd436a2cb9d30b434a78483432c51a8fa5b3e96e79ca3b28131b8dcd37bbae0b782efd762eb92dc40db24d3f61025c64ec5d29aed10fd80a6b28c224c4f1e2a
-DIST PEAR-1.10.7.tgz 291786 BLAKE2B 
7e760c2782832fab2a35f86e2f9072058d622918cdc2b61b7066d2f17787488d228186948e96e602bb412b76b806004642e7ba83db00950a822996869dae9cd4
 SHA512 
ebe93cff5546ad3a80d3d1c0284e34a46ec8dbdb7d015a11350231244baca75a57596e446c1386bc40650525f59c04617e73b1071a0fe77210dc5979edb5151f
-DIST PEAR-1.10.9.tgz 291931 BLAKE2B 
b9120d9b643be926e80aac33aafd0f22cacca11c10b857d99b6d51a7315467ad18d79246ab2752b962de92957fe14fc65e1d01570eb73b562b0e6e030dfb7162
 SHA512 
072d2eda510c05649f8d1481665bdd42efa060e6098b4b0d0353c95cf79d342ec601dd36dab3e6583b612582d2f03672a7b5de1518e3a0e8fd190ea698a17e60

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
deleted file mode 100644
index 1b52326be86..000
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN/PEAR-/}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PEAR Base System"
-HOMEPAGE="https://pear.php.net/package/PEAR;
-SRC_URI="https://pear.php.net/get/${MY_P}.tgz;
-LICENSE="MIT"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="dev-lang/php:*[cli,xml,zlib]
-   >=dev-php/PEAR-Archive_Tar-1.4.0
-   >=dev-php/PEAR-Console_Getopt-1.4.1
-   dev-php/PEAR-Exception
-   >=dev-php/PEAR-Structures_Graph-1.1.0
-   >=dev-php/PEAR-XML_Util-1.3.0"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
-
-pkg_setup() {
-   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
-   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
-   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
-   elog
-}
-
-src_prepare() {
-   default
-   # Exception.php is part of dev-php/PEAR-Exception.
-   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
-}
-
-src_install() {
-   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
-
-   # adjust some scripts for current version
-   [[ -z "${PEAR}" ]] && PEAR="${PV}"
-   for i in pearcmd.php peclcmd.php ; do
-   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
-   || die "failed to sed pear_version"
-   done
-
-   for i in pear peardev pecl ; do
-   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
-   || die "failed to sed @bin_dir@ in ${i}"
-   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
-   || die "failed to sed @php_dir@ in ${i}"
-   done
-
-   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
-   -i 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2021-01-21 Thread Sam James
commit: 57f05a072e8321500c96cf19b039763eff3c7259
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 21 22:32:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 21 22:32:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f05a07

dev-php/PEAR-PEAR: Stabilize 1.10.12 ALLARCHES, #766396

Signed-off-by: Sam James  gentoo.org>

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild
index eda65ff33c7..fe194d02e2c 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="https://pear.php.net/package/PEAR;
 SRC_URI="https://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2021-01-21 Thread Brian Evans
commit: a0a9ef5d69d06ecd812065015c2d41e9ead3b8d3
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Jan 21 15:25:43 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Jan 21 15:25:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a9ef5d

dev-php/PEAR-PEAR: Add allarches metadata tag

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/PEAR-PEAR/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-php/PEAR-PEAR/metadata.xml b/dev-php/PEAR-PEAR/metadata.xml
index 6470e34fb93..ad42cd86df7 100644
--- a/dev-php/PEAR-PEAR/metadata.xml
+++ b/dev-php/PEAR-PEAR/metadata.xml
@@ -8,4 +8,5 @@

PEAR

+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2020-06-02 Thread Brian Evans
commit: d9c291f907f5f37f1a1ef254f5efa6e9c90e9cd7
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Jun  2 13:52:31 2020 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Jun  2 13:52:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c291f9

dev-php/PEAR-PEAR: Version bump for 1.10.12

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/PEAR-PEAR/Manifest |   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild | 177 +
 2 files changed, 178 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 95bac54215a..7892fd4e44f 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,3 +1,4 @@
+DIST PEAR-1.10.12.tgz 293220 BLAKE2B 
fb25123852a60e4bd2c041d1fb58174b3053b24ff8ec19b44efe02aee041bbed102b14b270dc1c9764150eea7c85862ad78adefdc1d789540da18ec0f3aeae68
 SHA512 
1ce478800a150d7906f8aa4fa4371d3d190fa2af44691c9aa193babfe76f1b031b493f48df15b93e93dd5518a6d62ba6a7d5b1799b62d5a968f7a84f3677b971
 DIST PEAR-1.10.6.tgz 291529 BLAKE2B 
7a75c89df2b34b368564e745a727292e5c5ee3a145995c15d338901b235664d0a783ca0efc9cd1d321cc2c496e88395db376ce7bbd6ccbf55d484d7f1021cd2b
 SHA512 
ccd436a2cb9d30b434a78483432c51a8fa5b3e96e79ca3b28131b8dcd37bbae0b782efd762eb92dc40db24d3f61025c64ec5d29aed10fd80a6b28c224c4f1e2a
 DIST PEAR-1.10.7.tgz 291786 BLAKE2B 
7e760c2782832fab2a35f86e2f9072058d622918cdc2b61b7066d2f17787488d228186948e96e602bb412b76b806004642e7ba83db00950a822996869dae9cd4
 SHA512 
ebe93cff5546ad3a80d3d1c0284e34a46ec8dbdb7d015a11350231244baca75a57596e446c1386bc40650525f59c04617e73b1071a0fe77210dc5979edb5151f
 DIST PEAR-1.10.9.tgz 291931 BLAKE2B 
b9120d9b643be926e80aac33aafd0f22cacca11c10b857d99b6d51a7315467ad18d79246ab2752b962de92957fe14fc65e1d01570eb73b562b0e6e030dfb7162
 SHA512 
072d2eda510c05649f8d1481665bdd42efa060e6098b4b0d0353c95cf79d342ec601dd36dab3e6583b612582d2f03672a7b5de1518e3a0e8fd190ea698a17e60

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild
new file mode 100644
index 000..eda65ff33c7
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="https://pear.php.net/package/PEAR;
+SRC_URI="https://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli(-),xml(-),zlib(-)]
+   >=dev-php/PEAR-Archive_Tar-1.4.9
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   dev-php/PEAR-Exception
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.4.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_prepare() {
+   default
+   # Exception.php is part of dev-php/PEAR-Exception.
+   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   [[ -z "${PEAR}" ]] && PEAR="${PV}"
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2020-04-10 Thread Sergei Trofimovich
commit: 2c2aadd77c57cc2f82d83735a219ee37f38ef577
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Apr 10 09:25:33 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Apr 10 09:48:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2aadd7

dev-php/PEAR-PEAR: stable 1.10.6 for hppa under ALLARCHES, bug #666510

Fixes: 8658b7e01b3a15a2aa9db27bd8572f017601783f
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
index 1b52326be86..78dcbaeb649 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="https://pear.php.net/package/PEAR;
 SRC_URI="https://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2019-08-11 Thread David Seifert
commit: 9f9b0bb5bb5749f26e687d796fba9911581fdb30
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug 11 11:19:30 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 11 11:19:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9b0bb5

dev-php/PEAR-PEAR: [QA] Fix missing trailing slash

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild
index f7fb52913b5..8472eb06099 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild
@@ -164,14 +164,14 @@ pkg_postinst() {
 
# Register the package from the package.xml file
# It is not critical to complete so only warn on failure
-   if [[ -f "${EROOT}usr/share/php/.packagexml/${MY_P}.xml" ]] ; then
-   "${EROOT}usr/bin/peardev" install -nrO --force \
-   "${EROOT}usr/share/php/.packagexml/${MY_P}.xml" 2> 
/dev/null \
+   if [[ -f "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" ]] ; then
+   "${EROOT}/usr/bin/peardev" install -nrO --force \
+   "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" 2> 
/dev/null \
|| ewarn "Failed to insert package into local PEAR 
database"
fi
 }
 
 pkg_prerm() {
# Uninstall known dependency
-   "${EROOT}usr/bin/peardev" uninstall -nrO "pear.php.net/PEAR"
+   "${EROOT}/usr/bin/peardev" uninstall -nrO "pear.php.net/PEAR"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2019-03-20 Thread Aaron Bauman
commit: 0a3cba3ffd38b75a15aa454e8296e5d5f1e5e497
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat Mar 16 19:02:58 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Mar 20 20:25:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a3cba3f

dev-php/PEAR-PEAR: use HTTPS

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild | 6 +++---
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild | 6 +++---
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
index 21b9136f789..5b905fbd1b6 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,8 +7,8 @@ MY_PN="${PN/PEAR-/}"
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="PEAR Base System"
-HOMEPAGE="http://pear.php.net/package/${MY_PN};
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+HOMEPAGE="https://pear.php.net/package/${MY_PN};
+SRC_URI="https://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
 KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
 SLOT="0"

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild
index 70bd0801cdb..f7fb52913b5 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,8 +7,8 @@ MY_PN="${PN/PEAR-/}"
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="PEAR Base System"
-HOMEPAGE="http://pear.php.net/package/${MY_PN};
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+HOMEPAGE="https://pear.php.net/package/${MY_PN};
+SRC_URI="https://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 SLOT="0"

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild
index 941bc91e9d5..8472eb06099 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild
@@ -7,8 +7,8 @@ MY_PN="${PN/PEAR-/}"
 MY_P="${MY_PN}-${PV}"
 
 DESCRIPTION="PEAR Base System"
-HOMEPAGE="http://pear.php.net/package/${MY_PN};
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+HOMEPAGE="https://pear.php.net/package/${MY_PN};
+SRC_URI="https://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2019-03-14 Thread Brian Evans
commit: 46bbf376de9e8e00f75f2546088d6f915ca3a913
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Mar 14 20:02:24 2019 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Mar 14 20:02:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46bbf376

dev-php/PEAR-PEAR: Version bump for 1.10.9

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Brian Evans  gentoo.org>

 dev-php/PEAR-PEAR/Manifest|   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild | 177 ++
 2 files changed, 178 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 6de323a4ae5..95bac54215a 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,2 +1,3 @@
 DIST PEAR-1.10.6.tgz 291529 BLAKE2B 
7a75c89df2b34b368564e745a727292e5c5ee3a145995c15d338901b235664d0a783ca0efc9cd1d321cc2c496e88395db376ce7bbd6ccbf55d484d7f1021cd2b
 SHA512 
ccd436a2cb9d30b434a78483432c51a8fa5b3e96e79ca3b28131b8dcd37bbae0b782efd762eb92dc40db24d3f61025c64ec5d29aed10fd80a6b28c224c4f1e2a
 DIST PEAR-1.10.7.tgz 291786 BLAKE2B 
7e760c2782832fab2a35f86e2f9072058d622918cdc2b61b7066d2f17787488d228186948e96e602bb412b76b806004642e7ba83db00950a822996869dae9cd4
 SHA512 
ebe93cff5546ad3a80d3d1c0284e34a46ec8dbdb7d015a11350231244baca75a57596e446c1386bc40650525f59c04617e73b1071a0fe77210dc5979edb5151f
+DIST PEAR-1.10.9.tgz 291931 BLAKE2B 
b9120d9b643be926e80aac33aafd0f22cacca11c10b857d99b6d51a7315467ad18d79246ab2752b962de92957fe14fc65e1d01570eb73b562b0e6e030dfb7162
 SHA512 
072d2eda510c05649f8d1481665bdd42efa060e6098b4b0d0353c95cf79d342ec601dd36dab3e6583b612582d2f03672a7b5de1518e3a0e8fd190ea698a17e60

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild
new file mode 100644
index 000..941bc91e9d5
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="http://pear.php.net/package/${MY_PN};
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli,xml,zlib]
+   >=dev-php/PEAR-Archive_Tar-1.4.0
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   dev-php/PEAR-Exception
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_prepare() {
+   default
+   # Exception.php is part of dev-php/PEAR-Exception.
+   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   [[ -z "${PEAR}" ]] && PEAR="${PV}"
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die "failed to sed @package_version@"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
+   || die "failed to 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-12-06 Thread Brian Evans
commit: 06f80f4ee4fe3441e2fed2a75f59f477a105a786
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Dec  6 15:24:40 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Dec  6 15:24:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f80f4e

dev-php/PEAR-PEAR: Version bump for 1.10.7

This includes some fixes for PHP 7.3

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Brian Evans  gentoo.org>

 dev-php/PEAR-PEAR/Manifest|   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild | 177 ++
 2 files changed, 178 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 943f322568d..6de323a4ae5 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1 +1,2 @@
 DIST PEAR-1.10.6.tgz 291529 BLAKE2B 
7a75c89df2b34b368564e745a727292e5c5ee3a145995c15d338901b235664d0a783ca0efc9cd1d321cc2c496e88395db376ce7bbd6ccbf55d484d7f1021cd2b
 SHA512 
ccd436a2cb9d30b434a78483432c51a8fa5b3e96e79ca3b28131b8dcd37bbae0b782efd762eb92dc40db24d3f61025c64ec5d29aed10fd80a6b28c224c4f1e2a
+DIST PEAR-1.10.7.tgz 291786 BLAKE2B 
7e760c2782832fab2a35f86e2f9072058d622918cdc2b61b7066d2f17787488d228186948e96e602bb412b76b806004642e7ba83db00950a822996869dae9cd4
 SHA512 
ebe93cff5546ad3a80d3d1c0284e34a46ec8dbdb7d015a11350231244baca75a57596e446c1386bc40650525f59c04617e73b1071a0fe77210dc5979edb5151f

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild
new file mode 100644
index 000..70bd0801cdb
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="http://pear.php.net/package/${MY_PN};
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli,xml,zlib]
+   >=dev-php/PEAR-Archive_Tar-1.4.0
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   dev-php/PEAR-Exception
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_prepare() {
+   default
+   # Exception.php is part of dev-php/PEAR-Exception.
+   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   [[ -z "${PEAR}" ]] && PEAR="${PV}"
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die "failed to sed @package_version@"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
+   || die "failed to sed @PEAR-VER@ in Dependency2.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
+   || die "failed to sed @PEAR-VER@ in v1.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-09-19 Thread Brian Evans
commit: 8658b7e01b3a15a2aa9db27bd8572f017601783f
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Sep 19 12:35:33 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Sep 19 12:46:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8658b7e0

dev-php/PEAR-PEAR: Stable 1.10.6 under ALLARCHES policy

Bug: https://bugs.gentoo.org/666510
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
index 3c8771c8c80..21b9136f789 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-09-19 Thread Brian Evans
commit: e0d92db22dad7d94978fa8133581612ca06c1e59
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Sep 19 12:37:43 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Sep 19 12:46:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0d92db2

dev-php/PEAR-PEAR: Drop old

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-php/PEAR-PEAR/Manifest|   1 -
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 177 --
 2 files changed, 178 deletions(-)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 070572a4ee3..943f322568d 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,2 +1 @@
-DIST PEAR-1.10.5.tgz 291151 BLAKE2B 
b9095e6e488348917846693769f075c898271f2b65fbc69781247e8f46bf41afa4dfeb98d66c1aabce884e24c91bda50af3766745c3b8b5101aa54595e53c796
 SHA512 
c310fa8ec72ba201313dc03953ec1eba82daa137b27eac880fd5388dce72d38e6aa40737da43c3ad41db4df0d6717c7d77cf477d64b29245854ae95d2a94c364
 DIST PEAR-1.10.6.tgz 291529 BLAKE2B 
7a75c89df2b34b368564e745a727292e5c5ee3a145995c15d338901b235664d0a783ca0efc9cd1d321cc2c496e88395db376ce7bbd6ccbf55d484d7f1021cd2b
 SHA512 
ccd436a2cb9d30b434a78483432c51a8fa5b3e96e79ca3b28131b8dcd37bbae0b782efd762eb92dc40db24d3f61025c64ec5d29aed10fd80a6b28c224c4f1e2a

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
deleted file mode 100644
index d22b143ae10..000
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN/PEAR-/}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PEAR Base System"
-HOMEPAGE="http://pear.php.net/package/${MY_PN};
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
-LICENSE="MIT"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="dev-lang/php:*[cli,xml,zlib]
-   >=dev-php/PEAR-Archive_Tar-1.4.0
-   >=dev-php/PEAR-Console_Getopt-1.4.1
-   dev-php/PEAR-Exception
-   >=dev-php/PEAR-Structures_Graph-1.1.0
-   >=dev-php/PEAR-XML_Util-1.3.0"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
-
-pkg_setup() {
-   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
-   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
-   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
-   elog
-}
-
-src_prepare() {
-   default
-   # Exception.php is part of dev-php/PEAR-Exception.
-   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
-}
-
-src_install() {
-   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
-
-   # adjust some scripts for current version
-   [[ -z "${PEAR}" ]] && PEAR="${PV}"
-   for i in pearcmd.php peclcmd.php ; do
-   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
-   || die "failed to sed pear_version"
-   done
-
-   for i in pear peardev pecl ; do
-   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
-   || die "failed to sed @bin_dir@ in ${i}"
-   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
-   || die "failed to sed @php_dir@ in ${i}"
-   done
-
-   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
-   -i "${D}/usr/bin/pear" \
-   || die "failed to set PHP ini values in pear executable"
-
-   sed "s:@package_version@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
-   || die "failed to sed @package_version@"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
-   || die "failed to sed @PEAR-VER@ in Dependency2.php"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
-   || die "failed to sed @PEAR-VER@ in v1.php"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \
-   || die "failed to sed 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-09-19 Thread Sergei Trofimovich
commit: 6b235a9178c52dc3faec23172e39ead33a60756d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Sep 18 23:22:05 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Sep 19 08:42:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b235a91

dev-php/PEAR-PEAR: stable 1.10.6 for ia64, bug #666510

Package-Manager: Portage-2.3.49, Repoman-2.3.10
RepoMan-Options: --include-arches="ia64"

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
index 68a7e6cf23b..3c8771c8c80 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-08-22 Thread Brian Evans
commit: afa5bdafcf650537138b426bf2049ecd7cf7a473
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Aug 22 20:09:15 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Aug 22 20:09:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa5bdaf

dev-php/PEAR-PEAR: Version bump to 1.10.6

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 dev-php/PEAR-PEAR/Manifest|   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild | 177 ++
 2 files changed, 178 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index d385a3989d2..070572a4ee3 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1 +1,2 @@
 DIST PEAR-1.10.5.tgz 291151 BLAKE2B 
b9095e6e488348917846693769f075c898271f2b65fbc69781247e8f46bf41afa4dfeb98d66c1aabce884e24c91bda50af3766745c3b8b5101aa54595e53c796
 SHA512 
c310fa8ec72ba201313dc03953ec1eba82daa137b27eac880fd5388dce72d38e6aa40737da43c3ad41db4df0d6717c7d77cf477d64b29245854ae95d2a94c364
+DIST PEAR-1.10.6.tgz 291529 BLAKE2B 
7a75c89df2b34b368564e745a727292e5c5ee3a145995c15d338901b235664d0a783ca0efc9cd1d321cc2c496e88395db376ce7bbd6ccbf55d484d7f1021cd2b
 SHA512 
ccd436a2cb9d30b434a78483432c51a8fa5b3e96e79ca3b28131b8dcd37bbae0b782efd762eb92dc40db24d3f61025c64ec5d29aed10fd80a6b28c224c4f1e2a

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
new file mode 100644
index 000..68a7e6cf23b
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="http://pear.php.net/package/${MY_PN};
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli,xml,zlib]
+   >=dev-php/PEAR-Archive_Tar-1.4.0
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   dev-php/PEAR-Exception
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_prepare() {
+   default
+   # Exception.php is part of dev-php/PEAR-Exception.
+   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   [[ -z "${PEAR}" ]] && PEAR="${PV}"
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die "failed to sed @package_version@"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
+   || die "failed to sed @PEAR-VER@ in Dependency2.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
+   || die "failed to sed @PEAR-VER@ in v1.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \
+   || die 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-01-26 Thread Michael Orlitzky
commit: 4cf9d012ef1108272a4659a6a089e8f763e414c4
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jan 27 00:13:42 2018 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jan 27 00:13:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf9d012

dev-php/PEAR-PEAR: drop PEAR-PEAR-1.10.1-r1.ebuild.

Closes: https://bugs.gentoo.org/645846
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-php/PEAR-PEAR/Manifest   |   1 -
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild | 150 ---
 2 files changed, 151 deletions(-)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 0c059eef00e..d385a3989d2 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,2 +1 @@
-DIST PEAR-1.10.1.tgz 291167 BLAKE2B 
27bb792db46e560fc8ba7daccc4a8a4d6580193bcaecab11548e10cadfa66a56242b125594b88d58a86974c2d82330d4cdd6ede491f3dbc2040efb3c646745d3
 SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 DIST PEAR-1.10.5.tgz 291151 BLAKE2B 
b9095e6e488348917846693769f075c898271f2b65fbc69781247e8f46bf41afa4dfeb98d66c1aabce884e24c91bda50af3766745c3b8b5101aa54595e53c796
 SHA512 
c310fa8ec72ba201313dc03953ec1eba82daa137b27eac880fd5388dce72d38e6aa40737da43c3ad41db4df0d6717c7d77cf477d64b29245854ae95d2a94c364

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
deleted file mode 100644
index c31bf073b18..000
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN/PEAR-/}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PEAR Base System"
-HOMEPAGE="http://pear.php.net/package/${MY_PN};
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
-LICENSE="MIT"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="dev-lang/php:*[cli,xml,zlib]
-   >=dev-php/PEAR-Archive_Tar-1.4.0
-   >=dev-php/PEAR-Console_Getopt-1.4.1
-   >=dev-php/PEAR-Structures_Graph-1.1.0
-   >=dev-php/PEAR-XML_Util-1.3.0"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
-
-pkg_setup() {
-   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
-   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
-   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
-   elog
-}
-
-src_install() {
-   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
-
-   # adjust some scripts for current version
-   for i in pearcmd.php peclcmd.php ; do
-   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
-   || die "failed to sed pear_version"
-   done
-
-   for i in pear peardev pecl ; do
-   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
-   || die "failed to sed @bin_dir@ in ${i}"
-   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
-   || die "failed to sed @php_dir@ in ${i}"
-   done
-
-   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
-   -i "${D}/usr/bin/pear" \
-   || die "failed to set PHP ini values in pear executable"
-
-   sed "s:@package_version@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
-   || die "failed to sed @package_version@"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
-   || die "failed to sed @PEAR-VER@ in Dependency2.php"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
-   || die "failed to sed @PEAR-VER@ in v1.php"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \
-   || die "failed to sed @PEAR-VER@ in v2.php"
-
-   # finalize install
-   insinto /etc
-   newins "${FILESDIR}"/pear.conf-r2 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-01-26 Thread Michael Orlitzky
commit: 4419dc66008eadeb60988719db63d5ff2633df65
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Jan 26 19:15:14 2018 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Jan 26 19:30:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4419dc66

dev-php/PEAR-PEAR: add keywords ~s390 and ~sh (would otherwise be dropped).

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index 8b27f347bf0..d22b143ae10 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-01-26 Thread Michael Orlitzky
commit: f83aec6f7647da0542e01f47f28015f3778204f6
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Jan 26 19:00:26 2018 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Jan 26 19:30:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83aec6f

dev-php/PEAR-PEAR: stabilize v1.10.5  everywhere per ALLARCHES policy.

Closes: https://bugs.gentoo.org/645146
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index 10019404380..8b27f347bf0 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-01-21 Thread Sergei Trofimovich
commit: a4cad848927e00ea709cd3cef6f5503155207566
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Jan 22 07:44:49 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jan 22 07:44:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4cad848

dev-php/PEAR-PEAR: stable 1.10.5 for ia64, bug #645146

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index 93c17740660..10019404380 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~ppc ~ppc64 sparc ~x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-01-21 Thread Sergei Trofimovich
commit: 1d4db579aa2a80d4a48b31ab1aafe498c4527223
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Jan 20 20:57:08 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan 21 10:27:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d4db579

dev-php/PEAR-PEAR: stable 1.10.5 for sparc, bug #645146

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index de6fe9d4ee3..93c17740660 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2018-01-01 Thread Sergei Trofimovich
commit: 5282151beab93fb6df36fb6717386a355979d8d7
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jan  1 17:54:25 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jan  1 20:07:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5282151b

dev-php/PEAR-PEAR: keyworded 1.10.5 for sparc, bug #613380

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index 277099941f1..de6fe9d4ee3 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/files/

2017-12-03 Thread Michael Orlitzky
commit: d15763a8ba18725ec926165ab793ef3bf92cc3c5
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Dec  3 08:37:40 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Dec  3 14:39:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15763a8

dev-php/PEAR-PEAR: remove unused patch

Signed-off-by: Michael Orlitzky  gentoo.org>

 .../files/gentoo-libtool-mismatch-fix.patch| 31 --
 1 file changed, 31 deletions(-)

diff --git a/dev-php/PEAR-PEAR/files/gentoo-libtool-mismatch-fix.patch 
b/dev-php/PEAR-PEAR/files/gentoo-libtool-mismatch-fix.patch
deleted file mode 100644
index 53a33b833f7..000
--- a/dev-php/PEAR-PEAR/files/gentoo-libtool-mismatch-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Fixed libtool mismatch issues. 
-Gentoo bug: 344605
-
-*** PEAR/Builder.php.old   Mon Nov  8 16:22:52 2010
 PEAR/Builder.php   Mon Nov  8 16:20:22 2010
-***
-*** 326,331 
 326,336 
-  }
-  // }}} end of interactive part
-  
-+  if (file_exists('aclocal.m4')) {
-+  $this->_runCommand('rm aclocal.m4');
-+  $this->_runCommand('autoreconf');
-+  }
-+ 
-  // FIXME make configurable
-  if(!$user=getenv('USER')){
-  $user='defaultuser';
-***
-*** 471,474 
-  }
-  return PEAR_Common::log($level, $msg);
-  }
-! }
-\ No newline at end of file
 476,479 
-  }
-  return PEAR_Common::log($level, $msg);
-  }
-! }



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-11-05 Thread Michael Orlitzky
commit: 41a8cd2ee843c4fdd8fb815b0331fcdf41a3581b
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Nov  5 23:37:16 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Nov  5 23:53:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a8cd2e

dev-php/PEAR-PEAR: add ~alpha and ~x86 keywords.

This is pure PHP code, what could possibly go wrong? We need this for
half of the packages in dev-php, and it's been 8 months, so... bam.

Closes: https://bugs.gentoo.org/613380
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index 9a39ac1c947..277099941f1 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-11-05 Thread Michael Orlitzky
commit: a75c4271932742acc4e1078ff82080706b9679de
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Nov  5 23:41:19 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Nov  5 23:53:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a75c4271

dev-php/PEAR-PEAR: remove PEAR-PEAR-1.10.3-r1.ebuild.

The 1.10.3-r1 ebuild was "used" only on s390, sh, and sparc. The first
two are vapier land, and sparc has had long enough to keyword 1.10.5.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-php/PEAR-PEAR/Manifest   |   1 -
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r1.ebuild | 167 ---
 2 files changed, 168 deletions(-)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index dc9fd43a2d7..743a39fcb21 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,3 +1,2 @@
 DIST PEAR-1.10.1.tgz 291167 SHA256 
7eca0d8e4f6391d66d92abc4faebd5a9346e739b92573e20392db9e878a8d59f SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 WHIRLPOOL 
ef067937d805a1e5c082c5945ffcbffd005757326f72572563154f2b5c573713050cc002af7727ebe053b3956fa1113c29bbbad6e74d8fb110704b07b7291929
-DIST PEAR-1.10.3.tgz 291095 SHA256 
c882979c48640b0b1a71cf2290dad3b3bbef1c33e4f1ec9af36a710e88e7921a SHA512 
1ad531a6e0ac30719b05e58f0758393bc6cdb0e89b4f99f843e7318a40ef18e74767e8ed63346b0ece9d6e8e71c8ebe15b08eaeb6f0c4f3169814bb4bb524332
 WHIRLPOOL 
987d875a76ccbf26ea3fce0ca1b11d0885bcd98c73c1bdd43ce41f5f0cec4504f769aaa2b1bca3e501763ab21c3d6980a2eb02d26bfdfbd6f9a28f938ebbd4ea
 DIST PEAR-1.10.5.tgz 291151 SHA256 
74c28725fed39617a6c2f310d5e1185b05982e3478196c2fedc64b4e747c2465 SHA512 
c310fa8ec72ba201313dc03953ec1eba82daa137b27eac880fd5388dce72d38e6aa40737da43c3ad41db4df0d6717c7d77cf477d64b29245854ae95d2a94c364
 WHIRLPOOL 
8d2bf23cb28c4242b9c452f141b42d445e2fce343ed091bc834ba058fb0358a1b8585c0074bde445a0de8807af27b57d503962e57c45cd1f00e2f982ad7e

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r1.ebuild
deleted file mode 100644
index 94d1ad067dd..000
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r1.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN/PEAR-/}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PEAR Base System"
-HOMEPAGE="http://pear.php.net/package/${MY_PN};
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
-LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="dev-lang/php:*[cli,xml,zlib]
-   >=dev-php/PEAR-Archive_Tar-1.4.0
-   >=dev-php/PEAR-Console_Getopt-1.4.1
-   >=dev-php/PEAR-Structures_Graph-1.1.0
-   >=dev-php/PEAR-XML_Util-1.3.0"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
-
-pkg_setup() {
-   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
-   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
-   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
-   elog
-}
-
-src_install() {
-   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
-
-   # adjust some scripts for current version
-   [[ -z "${PEAR}" ]] && PEAR="${PV}"
-   for i in pearcmd.php peclcmd.php ; do
-   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
-   || die "failed to sed pear_version"
-   done
-
-   for i in pear peardev pecl ; do
-   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
-   || die "failed to sed @bin_dir@ in ${i}"
-   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
-   || die "failed to sed @php_dir@ in ${i}"
-   done
-
-   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
-   -i "${D}/usr/bin/pear" \
-   || die "failed to set PHP ini values in pear executable"
-
-   sed "s:@package_version@:${PEAR}:g" \
-   -i 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-11-05 Thread Michael Orlitzky
commit: 86c0130c6e56f79e9830e3ee07a0400f04dd0efd
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Nov  5 23:28:22 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Nov  5 23:28:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c0130c

dev-php/PEAR-PEAR: remove unused PEAR-PEAR-1.10.3-r2.ebuild.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild | 173 ---
 1 file changed, 173 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
deleted file mode 100644
index a097da16a52..000
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN/PEAR-/}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PEAR Base System"
-HOMEPAGE="http://pear.php.net/package/${MY_PN};
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
-LICENSE="MIT"
-KEYWORDS="~amd64 ~arm ~hppa"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="dev-lang/php:*[cli,xml,zlib]
-   dev-php/PEAR-Archive_Tar
-   dev-php/PEAR-Console_Getopt
-   dev-php/PEAR-Exception
-   dev-php/PEAR-Structures_Graph
-   dev-php/PEAR-XML_Util"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
-
-pkg_setup() {
-   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
-   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
-   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
-   elog
-}
-
-src_prepare() {
-   default
-   # Exception.php is part of dev-php/PEAR-Exception.
-   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
-}
-
-src_install() {
-   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
-
-   # adjust some scripts for current version
-   [[ -z "${PEAR}" ]] && PEAR="${PV}"
-   for i in pearcmd.php peclcmd.php ; do
-   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
-   || die "failed to sed pear_version"
-   done
-
-   for i in pear peardev pecl ; do
-   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
-   || die "failed to sed @bin_dir@ in ${i}"
-   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
-   || die "failed to sed @php_dir@ in ${i}"
-   done
-
-   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
-   -i "${D}/usr/bin/pear" \
-   || die "failed to set PHP ini values in pear executable"
-
-   sed "s:@package_version@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
-   || die "failed to sed @package_version@"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
-   || die "failed to sed @PEAR-VER@ in Dependency2.php"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
-   || die "failed to sed @PEAR-VER@ in v1.php"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \
-   || die "failed to sed @PEAR-VER@ in v2.php"
-
-   # finalize install
-   insinto /etc
-   newins "${FILESDIR}"/pear.conf-r2 pear.conf
-
-   sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \
-   -i "${D}/etc/pear.conf" \
-   || die "failed to sed PHPCLILEN in pear.conf"
-
-   sed 
"s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" \
-   -i "${D}/etc/pear.conf" \
-   || die "failed to sed CACHEDIRLEN in pear.conf"
-
-   sed 
"s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g"
 \
-   -i "${D}/etc/pear.conf" \
-   || die "failed to sed DOWNLOADDIRLEN in pear.conf"
-
-   sed 
"s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" \
-   -i "${D}/etc/pear.conf" \
-   || die "failed to 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-08-12 Thread Sergei Trofimovich
commit: 5c3b6ababbb275cbc9a3ff87c2e33a2071febf43
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug 12 22:37:51 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug 12 22:39:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c3b6aba

dev-php/PEAR-PEAR: keyworded 1.10.5 for ppc, bug #613380

Package-Manager: Portage-2.3.6, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index 1907845..9a39ac1c947 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc64"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-08-10 Thread Sergei Trofimovich
commit: df5c6c459d115f9e7380c8ede647e764fffaa914
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Aug 10 22:18:41 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Aug 10 22:18:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df5c6c45

dev-php/PEAR-PEAR: keyworded 1.10.5 for ppc64, bug #613380

Package-Manager: Portage-2.3.6, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index 0880404ba2f..1907845 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~amd64 ~arm ~hppa ~ia64"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc64"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-07-01 Thread Sergei Trofimovich
commit: e258bb3933b49fdbb59b880a21cc7ca9abd16060
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jul  1 10:26:05 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul  1 10:26:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e258bb39

dev-php/PEAR-PEAR: ia64 keyworded, bug #613380

Package-Manager: Portage-2.3.6, Repoman-2.3.2
RepoMan-Options: --include-arches="ia64"

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
index f7468c933a1..0880404ba2f 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~amd64 ~arm ~hppa"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-06-27 Thread Brian Evans
commit: dd82227d44c6ab625dbd5aca6fc872f5c2382faa
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Jun 27 13:13:06 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Jun 27 13:13:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd82227d

dev-php/PEAR-PEAR: Version bump to 1.10.5

Adds compatibility for PHP 7.2

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-php/PEAR-PEAR/Manifest|   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild | 177 ++
 2 files changed, 178 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 99ffb461a13..dc9fd43a2d7 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,2 +1,3 @@
 DIST PEAR-1.10.1.tgz 291167 SHA256 
7eca0d8e4f6391d66d92abc4faebd5a9346e739b92573e20392db9e878a8d59f SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 WHIRLPOOL 
ef067937d805a1e5c082c5945ffcbffd005757326f72572563154f2b5c573713050cc002af7727ebe053b3956fa1113c29bbbad6e74d8fb110704b07b7291929
 DIST PEAR-1.10.3.tgz 291095 SHA256 
c882979c48640b0b1a71cf2290dad3b3bbef1c33e4f1ec9af36a710e88e7921a SHA512 
1ad531a6e0ac30719b05e58f0758393bc6cdb0e89b4f99f843e7318a40ef18e74767e8ed63346b0ece9d6e8e71c8ebe15b08eaeb6f0c4f3169814bb4bb524332
 WHIRLPOOL 
987d875a76ccbf26ea3fce0ca1b11d0885bcd98c73c1bdd43ce41f5f0cec4504f769aaa2b1bca3e501763ab21c3d6980a2eb02d26bfdfbd6f9a28f938ebbd4ea
+DIST PEAR-1.10.5.tgz 291151 SHA256 
74c28725fed39617a6c2f310d5e1185b05982e3478196c2fedc64b4e747c2465 SHA512 
c310fa8ec72ba201313dc03953ec1eba82daa137b27eac880fd5388dce72d38e6aa40737da43c3ad41db4df0d6717c7d77cf477d64b29245854ae95d2a94c364
 WHIRLPOOL 
8d2bf23cb28c4242b9c452f141b42d445e2fce343ed091bc834ba058fb0358a1b8585c0074bde445a0de8807af27b57d503962e57c45cd1f00e2f982ad7e

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
new file mode 100644
index 000..f7468c933a1
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.5.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="http://pear.php.net/package/${MY_PN};
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~hppa"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli,xml,zlib]
+   >=dev-php/PEAR-Archive_Tar-1.4.0
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   dev-php/PEAR-Exception
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_prepare() {
+   default
+   # Exception.php is part of dev-php/PEAR-Exception.
+   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   [[ -z "${PEAR}" ]] && PEAR="${PV}"
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-04-15 Thread Jeroen Roovers
commit: 751329b98b703671c17ca497d3d35f87dfd1e768
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Apr 15 11:37:45 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Apr 15 12:24:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=751329b9

dev-php/PEAR-PEAR: Mark ~hppa (bug #613380).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
index dc4a577dfa0..a097da16a52 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~amd64 ~arm"
+KEYWORDS="~amd64 ~arm ~hppa"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-04-05 Thread Michael Weber
commit: 9ce8a54c3de044df081913f8d2b82af62356d2a1
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Apr  5 13:01:40 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Apr  5 13:21:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce8a54c

dev-php/PEAR-PEAR: add ~arm keyword (bug 613380).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="arm"

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
index 82d6b982f06..dc4a577dfa0 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-03-20 Thread Michael Orlitzky
commit: 0adf9d7a955037c5e3722921326ddd1e70e505d7
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Mar 21 03:38:59 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Mar 21 03:39:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0adf9d7a

dev-php/PEAR-PEAR: new revision with unbundled PEAR-Exception.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild | 173 +++
 1 file changed, 173 insertions(+)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
new file mode 100644
index 000..82d6b982f06
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r2.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="http://pear.php.net/package/${MY_PN};
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli,xml,zlib]
+   dev-php/PEAR-Archive_Tar
+   dev-php/PEAR-Console_Getopt
+   dev-php/PEAR-Exception
+   dev-php/PEAR-Structures_Graph
+   dev-php/PEAR-XML_Util"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_prepare() {
+   default
+   # Exception.php is part of dev-php/PEAR-Exception.
+   rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php"
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   [[ -z "${PEAR}" ]] && PEAR="${PV}"
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die "failed to sed @package_version@"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
+   || die "failed to sed @PEAR-VER@ in Dependency2.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
+   || die "failed to sed @PEAR-VER@ in v1.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \
+   || die "failed to sed @PEAR-VER@ in v2.php"
+
+   # finalize install
+   insinto /etc
+   newins "${FILESDIR}"/pear.conf-r2 pear.conf
+
+   sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed PHPCLILEN in pear.conf"
+
+   sed 
"s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed CACHEDIRLEN in pear.conf"
+
+   sed 
"s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g"
 \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed DOWNLOADDIRLEN in pear.conf"
+
+   sed 
"s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-03-20 Thread Michael Orlitzky
commit: 0f10a779e9ecd0bf685b0e852409fe9866da78a7
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Mar 21 03:14:00 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Mar 21 03:14:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f10a779

dev-php/PEAR-PEAR: remove unused versions 1.9.4 and 1.10.3.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/PEAR-PEAR/Manifest|   1 -
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3.ebuild | 150 --
 dev-php/PEAR-PEAR/PEAR-PEAR-1.9.4.ebuild  | 108 -
 3 files changed, 259 deletions(-)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index a5823de4bb7..99ffb461a13 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,3 +1,2 @@
 DIST PEAR-1.10.1.tgz 291167 SHA256 
7eca0d8e4f6391d66d92abc4faebd5a9346e739b92573e20392db9e878a8d59f SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 WHIRLPOOL 
ef067937d805a1e5c082c5945ffcbffd005757326f72572563154f2b5c573713050cc002af7727ebe053b3956fa1113c29bbbad6e74d8fb110704b07b7291929
 DIST PEAR-1.10.3.tgz 291095 SHA256 
c882979c48640b0b1a71cf2290dad3b3bbef1c33e4f1ec9af36a710e88e7921a SHA512 
1ad531a6e0ac30719b05e58f0758393bc6cdb0e89b4f99f843e7318a40ef18e74767e8ed63346b0ece9d6e8e71c8ebe15b08eaeb6f0c4f3169814bb4bb524332
 WHIRLPOOL 
987d875a76ccbf26ea3fce0ca1b11d0885bcd98c73c1bdd43ce41f5f0cec4504f769aaa2b1bca3e501763ab21c3d6980a2eb02d26bfdfbd6f9a28f938ebbd4ea
-DIST PEAR-1.9.4.tgz 296332 SHA256 
80c329264a0363c6222b2f750e1646015161c9787bb4041f5ab41d95160bb93c SHA512 
f4c8c6f24039940254cf774e51087a12e6b17f7cbd7308c814f8b43f1342ae68db6b2d94626a4d7ed05e8b537816da08459e2939689f15aef725504683657f47
 WHIRLPOOL 
a640fa5dff5eda2801698094b3d99c7c63d9028727f323634dc6c17942d4cbf4fe76ddd35b89a11a8187de068201b875642bf90ea705544801d4ffaac3325828

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3.ebuild
deleted file mode 100644
index 6e5ca9b1dcb..000
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN/PEAR-/}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="PEAR Base System"
-HOMEPAGE="http://pear.php.net/package/${MY_PN};
-SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
-LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-SLOT="0"
-IUSE=""
-
-DEPEND=""
-RDEPEND="dev-lang/php:*[cli,xml,zlib]
-   >=dev-php/PEAR-Archive_Tar-1.4.0
-   >=dev-php/PEAR-Console_Getopt-1.4.1
-   >=dev-php/PEAR-Structures_Graph-1.1.0
-   >=dev-php/PEAR-XML_Util-1.3.0"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
-
-pkg_setup() {
-   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
-   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
-   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
-   elog
-}
-
-src_install() {
-   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
-
-   # adjust some scripts for current version
-   for i in pearcmd.php peclcmd.php ; do
-   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
-   || die "failed to sed pear_version"
-   done
-
-   for i in pear peardev pecl ; do
-   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
-   || die "failed to sed @bin_dir@ in ${i}"
-   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
-   || die "failed to sed @php_dir@ in ${i}"
-   done
-
-   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
-   -i "${D}/usr/bin/pear" \
-   || die "failed to set PHP ini values in pear executable"
-
-   sed "s:@package_version@:${PEAR}:g" \
-   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
-   || die "failed to sed @package_version@"
-
-   sed "s:@PEAR-VER@:${PEAR}:g" \
-  

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-03-02 Thread Brian Evans
commit: 1d7f9c6db307d71070419a122bcc7fe54eea2521
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Mar  3 03:27:13 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Mar  3 03:27:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d7f9c6d

dev-php/PEAR-PEAR: Revbump to fix pear version reporting and register itself

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r1.ebuild | 167 +++
 1 file changed, 167 insertions(+)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r1.ebuild
new file mode 100644
index 000..94d1ad067dd
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3-r1.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="http://pear.php.net/package/${MY_PN};
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli,xml,zlib]
+   >=dev-php/PEAR-Archive_Tar-1.4.0
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   [[ -z "${PEAR}" ]] && PEAR="${PV}"
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die "failed to sed @package_version@"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
+   || die "failed to sed @PEAR-VER@ in Dependency2.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
+   || die "failed to sed @PEAR-VER@ in v1.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \
+   || die "failed to sed @PEAR-VER@ in v2.php"
+
+   # finalize install
+   insinto /etc
+   newins "${FILESDIR}"/pear.conf-r2 pear.conf
+
+   sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed PHPCLILEN in pear.conf"
+
+   sed 
"s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed CACHEDIRLEN in pear.conf"
+
+   sed 
"s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g"
 \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed DOWNLOADDIRLEN in pear.conf"
+
+   sed 
"s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed TEMPDIRLEN in pear.conf"
+
+   # Change the paths for eprefix!
+

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-02-28 Thread Brian Evans
commit: 7caa1f49ae67d6676067d166c99c13141db0652d
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Feb 28 17:04:54 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Feb 28 17:04:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7caa1f49

dev-php/PEAR-PEAR: Version bump and remove broken 1.10.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/PEAR-PEAR/Manifest | 2 +-
 dev-php/PEAR-PEAR/{PEAR-PEAR-1.10.2.ebuild => PEAR-PEAR-1.10.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index bad5402111..a5823de4bb 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,3 +1,3 @@
 DIST PEAR-1.10.1.tgz 291167 SHA256 
7eca0d8e4f6391d66d92abc4faebd5a9346e739b92573e20392db9e878a8d59f SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 WHIRLPOOL 
ef067937d805a1e5c082c5945ffcbffd005757326f72572563154f2b5c573713050cc002af7727ebe053b3956fa1113c29bbbad6e74d8fb110704b07b7291929
-DIST PEAR-1.10.2.tgz 291241 SHA256 
7d2a11664d830db2ce05224634508d50f7abe35aba30964f07d3800c221a488a SHA512 
f94bd28fcc0eb7166902e313ffeb3571292f2fb346b13f0c22e59d66fb6026e25aeb0be90a42b44e5b2a44da0b965b3199c01b66c448ed7a5126d40b7e7d8606
 WHIRLPOOL 
a143490b22a2b3ff25113a2b2bcb75adc525cffeb3960989e24ae987bbf597c9198e4b2b82f66eb90521facdc5eb47497020fe90aa4dc0ebd78fa1bbff36ceea
+DIST PEAR-1.10.3.tgz 291095 SHA256 
c882979c48640b0b1a71cf2290dad3b3bbef1c33e4f1ec9af36a710e88e7921a SHA512 
1ad531a6e0ac30719b05e58f0758393bc6cdb0e89b4f99f843e7318a40ef18e74767e8ed63346b0ece9d6e8e71c8ebe15b08eaeb6f0c4f3169814bb4bb524332
 WHIRLPOOL 
987d875a76ccbf26ea3fce0ca1b11d0885bcd98c73c1bdd43ce41f5f0cec4504f769aaa2b1bca3e501763ab21c3d6980a2eb02d26bfdfbd6f9a28f938ebbd4ea
 DIST PEAR-1.9.4.tgz 296332 SHA256 
80c329264a0363c6222b2f750e1646015161c9787bb4041f5ab41d95160bb93c SHA512 
f4c8c6f24039940254cf774e51087a12e6b17f7cbd7308c814f8b43f1342ae68db6b2d94626a4d7ed05e8b537816da08459e2939689f15aef725504683657f47
 WHIRLPOOL 
a640fa5dff5eda2801698094b3d99c7c63d9028727f323634dc6c17942d4cbf4fe76ddd35b89a11a8187de068201b875642bf90ea705544801d4ffaac3325828

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.2.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3.ebuild
similarity index 100%
rename from dev-php/PEAR-PEAR/PEAR-PEAR-1.10.2.ebuild
rename to dev-php/PEAR-PEAR/PEAR-PEAR-1.10.3.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-02-28 Thread Brian Evans
commit: d59649214d83d2b40ac1e6104517e4e60587bc98
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Feb 28 16:27:26 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Feb 28 16:27:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5964921

dev-php/PEAR-PEAR: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/PEAR-PEAR/Manifest|   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.2.ebuild | 151 ++
 2 files changed, 152 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index c88d39bbfe..bad5402111 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,2 +1,3 @@
 DIST PEAR-1.10.1.tgz 291167 SHA256 
7eca0d8e4f6391d66d92abc4faebd5a9346e739b92573e20392db9e878a8d59f SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 WHIRLPOOL 
ef067937d805a1e5c082c5945ffcbffd005757326f72572563154f2b5c573713050cc002af7727ebe053b3956fa1113c29bbbad6e74d8fb110704b07b7291929
+DIST PEAR-1.10.2.tgz 291241 SHA256 
7d2a11664d830db2ce05224634508d50f7abe35aba30964f07d3800c221a488a SHA512 
f94bd28fcc0eb7166902e313ffeb3571292f2fb346b13f0c22e59d66fb6026e25aeb0be90a42b44e5b2a44da0b965b3199c01b66c448ed7a5126d40b7e7d8606
 WHIRLPOOL 
a143490b22a2b3ff25113a2b2bcb75adc525cffeb3960989e24ae987bbf597c9198e4b2b82f66eb90521facdc5eb47497020fe90aa4dc0ebd78fa1bbff36ceea
 DIST PEAR-1.9.4.tgz 296332 SHA256 
80c329264a0363c6222b2f750e1646015161c9787bb4041f5ab41d95160bb93c SHA512 
f4c8c6f24039940254cf774e51087a12e6b17f7cbd7308c814f8b43f1342ae68db6b2d94626a4d7ed05e8b537816da08459e2939689f15aef725504683657f47
 WHIRLPOOL 
a640fa5dff5eda2801698094b3d99c7c63d9028727f323634dc6c17942d4cbf4fe76ddd35b89a11a8187de068201b875642bf90ea705544801d4ffaac3325828

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.2.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.2.ebuild
new file mode 100644
index 00..ab79977afd
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.2.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="http://pear.php.net/package/${MY_PN};
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli,xml,zlib]
+   >=dev-php/PEAR-Archive_Tar-1.4.0
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die "failed to sed @package_version@"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
+   || die "failed to sed @PEAR-VER@ in 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-02-22 Thread Brian Evans
commit: c29342029ee3f641c635b22cef245908a30c4f76
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Feb 22 20:40:48 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Feb 22 20:40:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2934202

dev-php/PEAR-PEAR: Stable all arches under ALLARCHES policy wrt bug 609552

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
index c7f6d07843..373adebabe 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-02-21 Thread Tobias Klausmann
commit: b41f3cc141667f0aea5bf0cd1d57f1a58d5404c6
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Feb 21 12:05:31 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Feb 21 12:05:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b41f3cc1

dev-php/PEAR-PEAR-1.10.1-r1: add alpha keyword

Gentoo-Bug: 609552

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
index b6a60157a3..c7f6d07843 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-02-20 Thread Jeroen Roovers
commit: 8b1a302d45d4eb72a597e58faed533bff61224e4
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Feb 21 06:10:18 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Feb 21 06:10:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1a302d

dev-php/PEAR-PEAR: Stable for HPPA (bug #609552).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
index 78c112e6a3..b6a60157a3 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
 SLOT="0"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-02-20 Thread Brian Evans
commit: 8f1cb590dc220cd2ae8ac093d1110e9aaf5dfb9f
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Feb 20 20:53:33 2017 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Feb 20 20:53:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1cb590

dev-php/PEAR-PEAR: Remove dead channel from pkg_postinst

Expand the error message to include which channel it bails on as well

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
index 5df3f9d16a..78c112e6a3 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
@@ -140,12 +140,12 @@ pkg_postinst() {
# Update PEAR/PECL channels as needed, add new ones to the list if 
needed
elog "Updating PEAR/PECL channels"
local pearchans="pear.php.net pecl.php.net pear.phing.info "
-   pearchans+="pear.symfony-project.com pear.agavi.org"
+   pearchans+="pear.symfony-project.com"
 
for chan in ${pearchans} ; do
# The first command may fail if, for example, the channels have
# already been initialized.
pear channel-discover ${chan}
-   pear channel-update ${chan} || die "failed to update channels"
+   pear channel-update ${chan} || die "failed to update channels: 
${chan}"
done
 }



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-01-29 Thread Fabian Groffen
commit: 3f7f5a8c5e9a594b8f4dd259153d42da99dc37cd
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jan 29 16:55:52 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jan 29 16:58:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7f5a8c

dev-php/PEAR-PEAR: dropped ~ia64-linux

Package-Manager: portage-2.3.3

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild | 4 ++--
 dev-php/PEAR-PEAR/PEAR-PEAR-1.9.4.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
index 86cc5ef..1894fcd 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/${MY_PN};
 SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
 LICENSE="MIT"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
 SLOT="0"
 IUSE=""
 

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.4.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.4.ebuild
index 293683c..571345d 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.4.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.9.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -8,7 +8,7 @@ inherit eutils
 
 PEAR="${PV}"
 
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux 
~ia64-linux ~x86-linux ~x64-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos"
 
 DESCRIPTION="PEAR Base System"
 HOMEPAGE="http://pear.php.net/package/PEAR;



[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2017-01-07 Thread Michael Orlitzky
commit: d79d0dafae5af9ca37dfb3b8bdc0823f9dad0c6b
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jan  7 14:18:37 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jan  7 14:22:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79d0daf

dev-php/PEAR-PEAR: remove unused versions 1.9.5 and 1.10.1.

Package-Manager: portage-2.3.0

 dev-php/PEAR-PEAR/Manifest|   1 -
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1.ebuild | 108 --
 dev-php/PEAR-PEAR/PEAR-PEAR-1.9.5.ebuild  | 108 --
 3 files changed, 217 deletions(-)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index addcdf4..c88d39b 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,3 +1,2 @@
 DIST PEAR-1.10.1.tgz 291167 SHA256 
7eca0d8e4f6391d66d92abc4faebd5a9346e739b92573e20392db9e878a8d59f SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 WHIRLPOOL 
ef067937d805a1e5c082c5945ffcbffd005757326f72572563154f2b5c573713050cc002af7727ebe053b3956fa1113c29bbbad6e74d8fb110704b07b7291929
 DIST PEAR-1.9.4.tgz 296332 SHA256 
80c329264a0363c6222b2f750e1646015161c9787bb4041f5ab41d95160bb93c SHA512 
f4c8c6f24039940254cf774e51087a12e6b17f7cbd7308c814f8b43f1342ae68db6b2d94626a4d7ed05e8b537816da08459e2939689f15aef725504683657f47
 WHIRLPOOL 
a640fa5dff5eda2801698094b3d99c7c63d9028727f323634dc6c17942d4cbf4fe76ddd35b89a11a8187de068201b875642bf90ea705544801d4ffaac3325828
-DIST PEAR-1.9.5.tgz 290006 SHA256 
d4c27d7321f76527222eae3972c6ffb62412cc729105c858ae0bb0861d699bdb SHA512 
73c5ef84c4ededa7bca81b1d94944e80ddf9dc40101c0727c5975d4ddb72f66a28aecafcefb7af8d1cc3b6fa7e488e704559a7efbebe860adfb8e9796cdf4933
 WHIRLPOOL 
ea42f63e73d680985857f3e8e318e1f7d001edc843d12b94c9b7d3969c0793c0a9709d2dc8940b339be2f9e854cb2a3acb8c0e5cdef7ddc3cd06c9df97a3ee37

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1.ebuild
deleted file mode 100644
index 738afaa..
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils
-
-PEAR="${PV//_alpha/dev}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos"
-
-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.4:*[cli,xml,zlib]"
-
-RDEPEND="${DEPEND}"
-
-PDEPEND="dev-php/pear"
-
-S="${WORKDIR}"
-
-pkg_setup() {
-   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
-   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
-   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
-   elog
-}
-
-src_prepare() {
-   cd PEAR-${PEAR}
-   epatch "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch"
-   epatch_user
-}
-
-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
-
-   # adjust some scripts for current version
-   for i in pearcmd.php peclcmd.php ; do
-   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}"
-   done
-
-   for i in pear peardev pecl ; do
-   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}"
-   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}"
-   done
-   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" -i "${D}/usr/bin/pear"
-
-   sed "s:@package_version@:${PEAR}:g" -i 
"${D}/usr/share/php/PEAR/Command/Package.php"
-   sed "s:@PEAR-VER@:${PEAR}:g" -i 
"${D}/usr/share/php/PEAR/Dependency2.php"
-   sed "s:@PEAR-VER@:${PEAR}:g" -i 
"${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php"
-   sed "s:@PEAR-VER@:${PEAR}:g" -i 
"${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php"
-
-   # 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/files/, dev-php/PEAR-PEAR/

2016-07-29 Thread Brian Evans
commit: 17f237bb5a0825ffe32a39e13158808fc0f7b326
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Jul 29 18:01:20 2016 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Jul 29 18:01:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f237bb

dev-php/PEAR-PEAR: Revbump to move pkg_postinst from dev-php/pear

Also adjust one patch to be -p1 compliant

Package-Manager: portage-2.3.0

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild   | 151 +
 .../files/gentoo-libtool-mismatch-fix-v2.patch |   4 +-
 2 files changed, 153 insertions(+), 2 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
new file mode 100644
index 000..86cc5ef
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="${PN/PEAR-/}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PEAR Base System"
+HOMEPAGE="http://pear.php.net/package/${MY_PN};
+SRC_URI="http://pear.php.net/get/${MY_P}.tgz;
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php:*[cli,xml,zlib]
+   >=dev-php/PEAR-Archive_Tar-1.4.0
+   >=dev-php/PEAR-Console_Getopt-1.4.1
+   >=dev-php/PEAR-Structures_Graph-1.1.0
+   >=dev-php/PEAR-XML_Util-1.3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" )
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_install() {
+   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
+
+   # adjust some scripts for current version
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \
+   || die "failed to sed pear_version"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \
+   || die "failed to sed @bin_dir@ in ${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}" \
+   || die "failed to sed @php_dir@ in ${i}"
+   done
+
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" \
+   -i "${D}/usr/bin/pear" \
+   || die "failed to set PHP ini values in pear executable"
+
+   sed "s:@package_version@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Command/Package.php" \
+   || die "failed to sed @package_version@"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/Dependency2.php" \
+   || die "failed to sed @PEAR-VER@ in Dependency2.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \
+   || die "failed to sed @PEAR-VER@ in v1.php"
+
+   sed "s:@PEAR-VER@:${PEAR}:g" \
+   -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \
+   || die "failed to sed @PEAR-VER@ in v2.php"
+
+   # finalize install
+   insinto /etc
+   newins "${FILESDIR}"/pear.conf-r2 pear.conf
+
+   sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed PHPCLILEN in pear.conf"
+
+   sed 
"s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed CACHEDIRLEN in pear.conf"
+
+   sed 
"s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g"
 \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed DOWNLOADDIRLEN in pear.conf"
+
+   sed 
"s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" \
+   -i "${D}/etc/pear.conf" \
+   || die "failed to sed 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/, dev-php/PEAR-PEAR/files/

2015-12-06 Thread Brian Evans
commit: 0d20e7d92de22996dfa8bf6ea993d7d3eb97fa69
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Dec  7 02:51:44 2015 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Dec  7 02:51:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d20e7d9

dev-php/PEAR-PEAR: Drop old alpha version; clean up unused files

Package-Manager: portage-2.2.26

 dev-php/PEAR-PEAR/Manifest   |   1 -
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.0_alpha2.ebuild | 108 ---
 dev-php/PEAR-PEAR/files/pear.conf|   2 -
 dev-php/PEAR-PEAR/files/pear.conf-r1 |   2 -
 4 files changed, 113 deletions(-)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index bd7badf..addcdf4 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,4 +1,3 @@
-DIST PEAR-1.10.0dev2.tgz 290636 SHA256 
6a1c697a0691b1566c251b295846d804e79776f2a7f5b149cfe41b3db75b4493 SHA512 
b430f8cfd9858710198fd849ebd91d4c6cf6b5e68d88348a49ddaeb1e7a234ec8a60862a3344810c2ce7d402746fb677e2824b2960d56b290df306905c154523
 WHIRLPOOL 
83746c0079239350049202f0bc8e60ce58e7f2718fa6af80482b9f4377c246a1e638c9aac47f88c24f8f0b342716216b976fe6e8668925b178ca8def9732c98d
 DIST PEAR-1.10.1.tgz 291167 SHA256 
7eca0d8e4f6391d66d92abc4faebd5a9346e739b92573e20392db9e878a8d59f SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 WHIRLPOOL 
ef067937d805a1e5c082c5945ffcbffd005757326f72572563154f2b5c573713050cc002af7727ebe053b3956fa1113c29bbbad6e74d8fb110704b07b7291929
 DIST PEAR-1.9.4.tgz 296332 SHA256 
80c329264a0363c6222b2f750e1646015161c9787bb4041f5ab41d95160bb93c SHA512 
f4c8c6f24039940254cf774e51087a12e6b17f7cbd7308c814f8b43f1342ae68db6b2d94626a4d7ed05e8b537816da08459e2939689f15aef725504683657f47
 WHIRLPOOL 
a640fa5dff5eda2801698094b3d99c7c63d9028727f323634dc6c17942d4cbf4fe76ddd35b89a11a8187de068201b875642bf90ea705544801d4ffaac3325828
 DIST PEAR-1.9.5.tgz 290006 SHA256 
d4c27d7321f76527222eae3972c6ffb62412cc729105c858ae0bb0861d699bdb SHA512 
73c5ef84c4ededa7bca81b1d94944e80ddf9dc40101c0727c5975d4ddb72f66a28aecafcefb7af8d1cc3b6fa7e488e704559a7efbebe860adfb8e9796cdf4933
 WHIRLPOOL 
ea42f63e73d680985857f3e8e318e1f7d001edc843d12b94c9b7d3969c0793c0a9709d2dc8940b339be2f9e854cb2a3acb8c0e5cdef7ddc3cd06c9df97a3ee37

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.0_alpha2.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.0_alpha2.ebuild
deleted file mode 100644
index 4221a0e..000
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.0_alpha2.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit eutils
-
-PEAR="${PV//_alpha/dev}"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos"
-
-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:*[cli,pcre(+),xml,zlib]"
-
-RDEPEND="${DEPEND}"
-
-PDEPEND="dev-php/pear"
-
-S="${WORKDIR}"
-
-pkg_setup() {
-   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
-   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
-   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
-   elog
-}
-
-src_prepare() {
-   cd PEAR-${PEAR}
-   epatch "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch"
-   epatch_user
-}
-
-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
-
-   # adjust some scripts for current version
-   for i in pearcmd.php peclcmd.php ; do
-   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}"
-   done
-
-   for i in pear peardev pecl ; do
-   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}"
-   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}"
-   done
-   sed "s:-d output_buffering=1:-d 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/

2015-12-06 Thread Brian Evans
commit: cc1f3f80b7787863a1163af476f1e31231c6c3ef
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Dec  7 02:27:47 2015 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Dec  7 02:27:47 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc1f3f80

dev-php/PEAR-PEAR: Version bump

Package-Manager: portage-2.2.26

 dev-php/PEAR-PEAR/Manifest|   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1.ebuild | 108 ++
 2 files changed, 109 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index 94e0d82..bd7badf 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,3 +1,4 @@
 DIST PEAR-1.10.0dev2.tgz 290636 SHA256 
6a1c697a0691b1566c251b295846d804e79776f2a7f5b149cfe41b3db75b4493 SHA512 
b430f8cfd9858710198fd849ebd91d4c6cf6b5e68d88348a49ddaeb1e7a234ec8a60862a3344810c2ce7d402746fb677e2824b2960d56b290df306905c154523
 WHIRLPOOL 
83746c0079239350049202f0bc8e60ce58e7f2718fa6af80482b9f4377c246a1e638c9aac47f88c24f8f0b342716216b976fe6e8668925b178ca8def9732c98d
+DIST PEAR-1.10.1.tgz 291167 SHA256 
7eca0d8e4f6391d66d92abc4faebd5a9346e739b92573e20392db9e878a8d59f SHA512 
df5f09a92d211a09dae147af474399171aed46e0536c091468b73b43ba4acdbdbf7b5cbdd17ef48b7d36d7b9dd23187dc6c75733731c267768d49c89698b0ef2
 WHIRLPOOL 
ef067937d805a1e5c082c5945ffcbffd005757326f72572563154f2b5c573713050cc002af7727ebe053b3956fa1113c29bbbad6e74d8fb110704b07b7291929
 DIST PEAR-1.9.4.tgz 296332 SHA256 
80c329264a0363c6222b2f750e1646015161c9787bb4041f5ab41d95160bb93c SHA512 
f4c8c6f24039940254cf774e51087a12e6b17f7cbd7308c814f8b43f1342ae68db6b2d94626a4d7ed05e8b537816da08459e2939689f15aef725504683657f47
 WHIRLPOOL 
a640fa5dff5eda2801698094b3d99c7c63d9028727f323634dc6c17942d4cbf4fe76ddd35b89a11a8187de068201b875642bf90ea705544801d4ffaac3325828
 DIST PEAR-1.9.5.tgz 290006 SHA256 
d4c27d7321f76527222eae3972c6ffb62412cc729105c858ae0bb0861d699bdb SHA512 
73c5ef84c4ededa7bca81b1d94944e80ddf9dc40101c0727c5975d4ddb72f66a28aecafcefb7af8d1cc3b6fa7e488e704559a7efbebe860adfb8e9796cdf4933
 WHIRLPOOL 
ea42f63e73d680985857f3e8e318e1f7d001edc843d12b94c9b7d3969c0793c0a9709d2dc8940b339be2f9e854cb2a3acb8c0e5cdef7ddc3cd06c9df97a3ee37

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1.ebuild
new file mode 100644
index 000..738afaa
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils
+
+PEAR="${PV//_alpha/dev}"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos"
+
+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.4:*[cli,xml,zlib]"
+
+RDEPEND="${DEPEND}"
+
+PDEPEND="dev-php/pear"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+   [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear"
+   [[ -z "${PEAR_DOWNLOADDIR}" ]] && 
PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear"
+   [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/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/portage/make.conf and re-emerge ${PN}."
+   elog
+}
+
+src_prepare() {
+   cd PEAR-${PEAR}
+   epatch "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch"
+   epatch_user
+}
+
+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
+
+   # adjust some scripts for current version
+   for i in pearcmd.php peclcmd.php ; do
+   sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}"
+   done
+
+   for i in pear peardev pecl ; do
+   sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}"
+   sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i 
"${D}/usr/bin/${i}"
+   done
+   sed "s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g" -i "${D}/usr/bin/pear"
+
+   sed "s:@package_version@:${PEAR}:g" -i 
"${D}/usr/share/php/PEAR/Command/Package.php"
+   sed 

[gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-PEAR/, profiles/

2015-08-15 Thread Brian Evans
commit: 201d36ec0c973aebafbb207d2093e33de58bf7db
Author: Brian Evans grknight AT gentoo DOT org
AuthorDate: Sun Aug 16 03:06:58 2015 +
Commit: Brian Evans grknight AT gentoo DOT org
CommitDate: Sun Aug 16 03:06:58 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201d36ec

dev-php/PEAR-PEAR: Version bump for PHP7 compatible version

This is being committed as masked because I expect many older PEAR
packages to break with the new format.

Further testing is required on all PEAR packages before unmasking.

Package-Manager: portage-2.2.20.1

Signed-off-by: Brian Evans grknight AT gentoo.org

 dev-php/PEAR-PEAR/Manifest   |   1 +
 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.0_alpha2.ebuild | 108 +++
 profiles/package.mask|   6 ++
 3 files changed, 115 insertions(+)

diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest
index fc2dbfc..94e0d82 100644
--- a/dev-php/PEAR-PEAR/Manifest
+++ b/dev-php/PEAR-PEAR/Manifest
@@ -1,2 +1,3 @@
+DIST PEAR-1.10.0dev2.tgz 290636 SHA256 
6a1c697a0691b1566c251b295846d804e79776f2a7f5b149cfe41b3db75b4493 SHA512 
b430f8cfd9858710198fd849ebd91d4c6cf6b5e68d88348a49ddaeb1e7a234ec8a60862a3344810c2ce7d402746fb677e2824b2960d56b290df306905c154523
 WHIRLPOOL 
83746c0079239350049202f0bc8e60ce58e7f2718fa6af80482b9f4377c246a1e638c9aac47f88c24f8f0b342716216b976fe6e8668925b178ca8def9732c98d
 DIST PEAR-1.9.4.tgz 296332 SHA256 
80c329264a0363c6222b2f750e1646015161c9787bb4041f5ab41d95160bb93c SHA512 
f4c8c6f24039940254cf774e51087a12e6b17f7cbd7308c814f8b43f1342ae68db6b2d94626a4d7ed05e8b537816da08459e2939689f15aef725504683657f47
 WHIRLPOOL 
a640fa5dff5eda2801698094b3d99c7c63d9028727f323634dc6c17942d4cbf4fe76ddd35b89a11a8187de068201b875642bf90ea705544801d4ffaac3325828
 DIST PEAR-1.9.5.tgz 290006 SHA256 
d4c27d7321f76527222eae3972c6ffb62412cc729105c858ae0bb0861d699bdb SHA512 
73c5ef84c4ededa7bca81b1d94944e80ddf9dc40101c0727c5975d4ddb72f66a28aecafcefb7af8d1cc3b6fa7e488e704559a7efbebe860adfb8e9796cdf4933
 WHIRLPOOL 
ea42f63e73d680985857f3e8e318e1f7d001edc843d12b94c9b7d3969c0793c0a9709d2dc8940b339be2f9e854cb2a3acb8c0e5cdef7ddc3cd06c9df97a3ee37

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.0_alpha2.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.0_alpha2.ebuild
new file mode 100644
index 000..4221a0e
--- /dev/null
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.0_alpha2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+PEAR=${PV//_alpha/dev}
+
+KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos
+
+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:*[cli,pcre(+),xml,zlib]
+
+RDEPEND=${DEPEND}
+
+PDEPEND=dev-php/pear
+
+S=${WORKDIR}
+
+pkg_setup() {
+   [[ -z ${PEAR_CACHEDIR} ]]  PEAR_CACHEDIR=${EPREFIX}/var/cache/pear
+   [[ -z ${PEAR_DOWNLOADDIR} ]]  
PEAR_DOWNLOADDIR=${EPREFIX}/var/tmp/pear
+   [[ -z ${PEAR_TEMPDIR} ]]  PEAR_TEMPDIR=${EPREFIX}/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/portage/make.conf and re-emerge ${PN}.
+   elog
+}
+
+src_prepare() {
+   cd PEAR-${PEAR}
+   epatch ${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch
+   epatch_user
+}
+
+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
+
+   # adjust some scripts for current version
+   for i in pearcmd.php peclcmd.php ; do
+   sed s:@pear_version@:${PEAR}:g -i ${D}/usr/share/php/${i}
+   done
+
+   for i in pear peardev pecl ; do
+   sed s:@bin_dir@:${EPREFIX}/usr/bin:g -i ${D}/usr/bin/${i}
+   sed s:@php_dir@:${EPREFIX}/usr/share/php:g -i 
${D}/usr/bin/${i}
+   done
+   sed s:-d output_buffering=1:-d output_buffering=1 -d 
memory_limit=32M:g -i ${D}/usr/bin/pear
+
+   sed s:@package_version@:${PEAR}:g -i 
${D}/usr/share/php/PEAR/Command/Package.php
+   sed s:@PEAR-VER@:${PEAR}:g -i 
${D}/usr/share/php/PEAR/Dependency2.php
+   sed