cvs: pearweb /public_html go-pear

From: Date: Thu, 17 Aug 2006 19:47:19 +0000
Subject: cvs: pearweb /public_html go-pear
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-4908@lists.php.net to get a copy of this message
pajoye Thu Aug 17 19:47:19 2006 UTC Modified files: /pearweb/public_html go-pear Log: - force the download from the 1.4 branche - drop pacakges that are not part of pear, not used or maintained http://cvs.php.net/viewvc.cgi/pearweb/public_html/go-pear?r1=1.98&r2=1.99&diff_format=u Index: pearweb/public_html/go-pear diff -u pearweb/public_html/go-pear:1.98 pearweb/public_html/go-pear:1.99 --- pearweb/public_html/go-pear:1.98 Thu Aug 17 19:12:35 2006 +++ pearweb/public_html/go-pear Thu Aug 17 19:47:19 2006 @@ -18,7 +18,7 @@ # | Pierre-Alain Joye <pierre@php.net> | # | Greg Beaver <cellog@php.net> | # +----------------------------------------------------------------------+ -# $Id: go-pear,v 1.98 2006/08/17 19:12:35 pajoye Exp $ +# $Id: go-pear,v 1.99 2006/08/17 19:47:19 pajoye Exp $ # # Automatically download all the files needed to run the "pear" command # (the PEAR package installer). Requires PHP 4.1.0 or newer. @@ -194,11 +194,6 @@ $pfc_packages = array( 'MDB2', - 'Net_Socket', - 'Net_SMTP', - 'Mail', - 'XML_Parser', - 'PHPUnit' ); $config_desc = array( @@ -674,22 +669,13 @@ } print 'Bootstrapping: PEAR...................'; -$rev = ereg_replace('[^A-Za-z0-9]', '_', substr(substr($tarball['PEAR'], 5), 0, -4)); - -/* Force the revision if we got something like "stable" as version */ -if ((int)substr($rev, 0, 1) != 1) { - $rev = "PEAR_1_4"; -} else { - $rev = 'RELEASE_' . $rev; -} - -$url = 'http://cvs.php.net/viewcvs.cgi/pear-core/PEAR.php?view=co&pathrev=' . $rev; if (in_array('PEAR.php', $local_dir)) { copy(dirname(__FILE__).'/go-pear-bundle/PEAR.php', 'PEAR.php'); echo "(local) "; } else { - download_url($url, 'PEAR.php', $http_proxy); + $url = 'http://cvs.php.net/viewcvs.cgi/pear-core/PEAR.php?view=co&pathrev=PEAR_1_4'; echo "(remote) "; + download_url($url, 'PEAR.php', $http_proxy); } include_once 'PEAR.php';

« previous php.pear.core (#4908) next »