Re: cvs: pearweb /public_html go-pear

From: Date: Mon, 21 Feb 2005 01:03:59 +0000
Subject: Re: cvs: pearweb /public_html go-pear
References: 1  Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-29583@lists.php.net to get a copy of this message
Greg Beaver wrote:
cellog Sun Feb 20 19:58:30 2005 EDT
 Modified files:                 /pearweb/public_html	go-pear  Log:
use explicit version for PEAR_Frontend_Web - 0.5.0 will only work with PEAR 1.4.0 Apparently, an earlier fix was never committed, the log message should read "fix installation on windows where some packages are downloaded and others are in the go-pear bundle"
http://cvs.php.net/diff.php/pearweb/public_html/go-pear?r1=1.73&r2=1.74&ty=u Index: pearweb/public_html/go-pear diff -u pearweb/public_html/go-pear:1.73 pearweb/public_html/go-pear:1.74 --- pearweb/public_html/go-pear:1.73 Wed Jan 26 07:40:05 2005 +++ pearweb/public_html/go-pear Sun Feb 20 19:58:30 2005 @@ -18,7 +18,7 @@
# |          Pierre-Alain Joye <pajoye@pearfr.org>                       |
# |          Greg Beaver <cellog@php.net>                                |
# +----------------------------------------------------------------------+ -# $Id: go-pear,v 1.73 2005/01/26 12:40:05 pajoye Exp $ +# $Id: go-pear,v 1.74 2005/02/21 00:58:30 cellog Exp $ # # Automatically download all the files needed to run the "pear" command # (the PEAR package installer). Requires PHP 4.1.0 or newer. @@ -159,7 +159,8 @@
    $installer_packages[] = 'Pager';
    $installer_packages[] = 'HTML_Template_IT';
    $installer_packages[] = 'Net_UserAgent_Detect';
-    $installer_packages[] = 'PEAR_Frontend_Web';
+    $installer_packages[] = 'PEAR_Frontend_Web-0.4';
+    // otherwise things will break when PEAR 1.4.0 is out
} $pfc_packages = array( @@ -604,25 +605,29 @@ $url = "http://cvs.php.net/co.php/pear-core/PEAR.php?p=1&r=$r"; if (in_array('PEAR.php', $local_dir)) {
    copy(dirname(__FILE__).'/go-pear-bundle/PEAR.php', 'PEAR.php');
+    copy(dirname(__FILE__).'/go-pear-bundle/PEAR.php', $ptmp . '/PEAR.php');
    echo "(local) ";
} else {
    download_url($url, 'PEAR.php', $http_proxy);
+    copy('PEAR.php', $ptmp . '/PEAR.php');
    echo "(remote) ";
} -include_once 'PEAR.php'; print "ok\n"; print 'Bootstrapping: Archive_Tar............'; $r = 'RELEASE_' . ereg_replace('[^A-Za-z0-9]', '_', substr(substr($tarball['Archive_Tar'], 12), 0, -4)); $url = "http://cvs.php.net/co.php/pear/Archive_Tar/Archive/Tar.php?p=1&r=$r"; mkdir('Archive', 0700); +mkdir($ptmp . DIRECTORY_SEPARATOR . 'Archive'); if (in_array('Tar.php', $local_dir)) {
    copy(dirname(__FILE__).'/go-pear-bundle/Tar.php', 'Archive/Tar.php');
+    copy('Archive/Tar.php', $ptmp . '/Archive/Tar.php');
    echo "(local) ";
} else {
    download_url($url, 'Archive/Tar.php', $http_proxy);
+    copy('Archive/Tar.php', $ptmp . '/Archive/Tar.php');
    echo "(remote) ";
} print "ok\n"; @@ -631,11 +636,14 @@ $r = 'RELEASE_' . ereg_replace('[^A-Za-z0-9]', '_', substr(substr($tarball['Console_Getopt'], 15), 0, -4)); $url = "http://cvs.php.net/co.php/pear-core/Console/Getopt.php?p=1&r=$r"; mkdir('Console', 0700); +mkdir($ptmp . DIRECTORY_SEPARATOR . 'Console'); if (in_array('Getopt.php', $local_dir)) {
    copy(dirname(__FILE__).'/go-pear-bundle/Getopt.php', 'Console/Getopt.php');
+    copy('Console/Getopt.php', $ptmp . '/Console/Getopt.php');
    echo "(local) ";
} else {
    download_url($url, 'Console/Getopt.php', $http_proxy);
+    copy('Console/Getopt.php', $ptmp . '/Console/Getopt.php');
    echo "(remote) ";
} print "ok\n";


« previous php.pear.cvs (#29583) next »