summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wulf C. Krueger <philantrop@exherbo.org> 2010-02-18 18:55:28 +0100
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2010-02-18 18:55:28 +0100
commit07598efe5aca0da095bc7e4c2e7fdb73e2eb60d5 (patch)
tree88f48b594f80b77c135babaa80a31f120ded3ba6
parente3501709db5624461d0c04651badfe1c51cfc862 (diff)
downloadphp-07598efe5aca0da095bc7e4c2e7fdb73e2eb60d5.tar.gz
php-07598efe5aca0da095bc7e4c2e7fdb73e2eb60d5.tar.xz
Version bump to PEAR-1.7.2.
-rw-r--r--packages/dev-pear/PEAR/PEAR-1.7.2.exheres-06
-rw-r--r--packages/dev-pear/PEAR/PEAR.exlib (renamed from packages/dev-pear/PEAR/PEAR-1.7.1.exheres-0)21
2 files changed, 18 insertions, 9 deletions
diff --git a/packages/dev-pear/PEAR/PEAR-1.7.2.exheres-0 b/packages/dev-pear/PEAR/PEAR-1.7.2.exheres-0
new file mode 100644
index 0000000..a45b69c
--- /dev/null
+++ b/packages/dev-pear/PEAR/PEAR-1.7.2.exheres-0
@@ -0,0 +1,6 @@
+# Copyright 2010 Wulf C. Krueger <philantrop@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require PEAR
+
+PLATFORMS="~amd64"
diff --git a/packages/dev-pear/PEAR/PEAR-1.7.1.exheres-0 b/packages/dev-pear/PEAR/PEAR.exlib
index dc5581e..1ab1565 100644
--- a/packages/dev-pear/PEAR/PEAR-1.7.1.exheres-0
+++ b/packages/dev-pear/PEAR/PEAR.exlib
@@ -1,8 +1,10 @@
-# Copyright 2009 Wulf C. Krueger <philantrop@exherbo.org>
+# Copyright 2010 Wulf C. Krueger <philantrop@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
# Based in part upon 'PEAR-PEAR-1.7.1.ebuild' from Gentoo, which is:
# Copyright 1999-2008 Gentoo Foundation
+export_exlib_phases pkg_setup src_install pkg_preinst pkg_postinst
+
ARCHIVE_TAR="1.3.2"
CONSOLE_GETOPT="1.2.3"
STRUCTURES_GRAPH="1.0.2"
@@ -10,8 +12,6 @@ XML_RPC="1.5.1"
PEAR="${PV}"
PHPCLI="/usr/bin/php"
-PLATFORMS="~amd64"
-
SUMMARY="PEAR Base System (PEAR, Archive_Tar, Console_Getopt, Structures_Graph, XML_RPC)."
HOMEPAGE="http://pear.php.net"
@@ -36,13 +36,13 @@ DEPENDENCIES="
WORK=${WORKBASE}
-pkg_setup() {
+PEAR_pkg_setup() {
[[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="/var/cache/pear"
[[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="/var/tmp/pear"
[[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="/tmp"
}
-src_install() {
+PEAR_src_install() {
# install PEAR package
cd "${WORK}"/PEAR-${PEAR}
@@ -110,17 +110,20 @@ src_install() {
keepdir "${PEAR_DOWNLOADDIR}"
}
-pkg_preinst() {
+PEAR_pkg_preinst() {
rm -f "${ROOT}/etc/pear.conf"
}
-pkg_postinst() {
+PEAR_pkg_postinst() {
pear clear-cache
+ # To discover the necessary channels, net access is absolutely necessary.
+ sydboxcmd sandunbox/net
+
# Update PEAR/PECL channels as needed, add new ones to the list if needed
local pearchans="pear.php.net pecl.php.net components.ez.no pear.phpdb.org pear.phing.info
- pear.symfony-project.com pear.phpunit.de pear.php-baustelle.de pear.zeronotice.org
- pear.phpontrax.com pear.agavi.org"
+ pear.symfony-project.com pear.phpunit.de pear.php-baustelle.de pear.phpontrax.com
+ pear.agavi.org"
for chan in ${pearchans} ; do
pear channel-discover ${chan}