From: Marcus Boerger Date: Sun, 25 Mar 2007 20:14:35 +0000 (+0000) Subject: - Use package.php for the first time X-Git-Tag: RELEASE_1_1_0~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=340db2789f0007ac6749a02628abfdeafc935b1c;p=php - Use package.php for the first time --- diff --git a/ext/phar/package.php b/ext/phar/package.php index b42b9013aa..238958e527 100644 --- a/ext/phar/package.php +++ b/ext/phar/package.php @@ -43,8 +43,8 @@ $package->setReleaseVersion(phpversion('phar')); $package->setAPIVersion(Phar::apiVersion()); $package->setReleaseStability('stable'); $package->setAPIStability('stable'); -$package->setNotes($notes); -$package->addGlobalReplacement('package-info', '@package_version@', 'version'); +$package->setNotes("\n$notes\n"); +//$package->addGlobalReplacement('package-info', '@package_version@', 'version'); $package->generateContents(); if (isset($_GET['make']) || (isset($_SERVER['argv']) && @$_SERVER['argv'][1] == 'make')) { diff --git a/ext/phar/package.xml b/ext/phar/package.xml index f6e6a1ee73..32f53d8a7c 100644 --- a/ext/phar/package.xml +++ b/ext/phar/package.xml @@ -1,26 +1,21 @@ - + phar pecl.php.net allows running of complete applications out of .phar files (like Java .jar files) - -This is the extension version of PEAR's PHP_Archive package. Support for + This is the extension version of PEAR's PHP_Archive package. Support for zlib, bz2 and crc32 is achieved without any dependency other than the external zlib or bz2 extension. .phar files can be read using the phar stream, or with the Phar class. If the SPL extension -is available, a Phar object can be used as an array to iterate over a phar's contents +is available, a Phar object can be used as an array to iterate over a phar's contents or to read files directly from the phar. Phar archives can be created using the streams API or with the Phar class, if the phar.readonly ini variable is set to false. Full support for MD5 and SHA1 signatures is possible. Signatures can be required -if the ini variable phar.require_hash is set to true. - +if the ini variable phar.require_hash is set to true. Greg Beaver cellog @@ -33,7 +28,8 @@ if the ini variable phar.require_hash is set to true. helly@php.net yes - 2007-03-22 + 2007-03-25 + 1.0.0 1.0.0 @@ -44,120 +40,123 @@ if the ini variable phar.require_hash is set to true. PHP License - *BACKWARDS COMPATIBILITY BREAK* - Rename Phar->begin/isFlushingToPhar/commit to startBuffering/isBuffering/stopBuffering - Note that isBuffering() returns the opposite value to isFlushingToPhar() +*BACKWARDS COMPATIBILITY BREAK* +Rename Phar->begin/isFlushingToPhar/commit to startBuffering/isBuffering/stopBuffering +Note that isBuffering() returns the opposite value to isFlushingToPhar() - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -173,16 +172,35 @@ if the ini variable phar.require_hash is set to true. bz2 pecl.php.net - bz2 - zlib + spl - spl + zlib phar - - \ No newline at end of file + + + + + + 1.0.0 + 1.0.0 + + + stable + stable + + 2007-03-25 + PHP License + +*BACKWARDS COMPATIBILITY BREAK* +Rename Phar->begin/isFlushingToPhar/commit to startBuffering/isBuffering/stopBuffering +Note that isBuffering() returns the opposite value to isFlushingToPhar() + + + +