update README
authorMichael Wallner <mike@php.net>
Fri, 27 Mar 2015 19:47:35 +0000 (20:47 +0100)
committerMichael Wallner <mike@php.net>
Fri, 27 Mar 2015 19:47:35 +0000 (20:47 +0100)
README.md
bin/pharext
src/pharext/Packager.php

index 1219ccb8b2fac6a1ae908f514e57fec1ddcf64db..1931502f4fdfbce8f5ed7396d60e5624ace7ebc1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,68 +7,71 @@ Distribute your PHP extension as self-installable phar executable
 You don't need this package to install any `*.ext.phar` extension packages,
 just run them with php:
 
-       $ ./pecl_http-2.4.0dev.ext.phar
+       $ ./pecl_http-2.4.2.ext.phar
 
 For a compressed phar, or if the execute permission bit got lost somehow:
 
-       $ php pecl_http-2.4.0dev.ext.phar.gz
+       $ php pecl_http-2.4.2.ext.phar.gz
 
 Command help:
 
-       $ ./pecl_http-2.4.0dev.ext.phar -h
+       $ ./pecl_http-2.4.2.ext.phar -h
 
 Yields:
 
-       pharext v2.0.0 (c) Michael Wallner <mike@php.net>
+       pharext v3.0.0 (c) Michael Wallner <mike@php.net>
 
        Usage:
 
-         $ ./pecl_http-2.4.0dev.ext.phar [-hvqs] [-p|-n|-c|-i <arg>]
-
-               -h|--help                                  Display help
-               -v|--verbose                               More output
-               -q|--quiet                                 Less output
-               -p|--prefix <arg>                          PHP installation prefix if phpize is not in $PATH, e.g. /opt/php7
-               -n|--common-name <arg>                     PHP common program name, e.g. php5 or zts-php [php]
-               -c|--configure <arg>                       Additional extension configure flags, e.g. -c --with-flag
-               -s|--sudo [<arg>]                          Installation might need increased privileges [sudo -S %s]
-               -i|--ini <arg>                             Activate in this php.ini instead of loaded default php.ini
-               --enable-propro [<arg>]                    Whether to enable property proxy support [yes]
-               --enable-raphf [<arg>]                     Whether to enable raphf support [yes]
-               --with-http-zlib-dir [<arg>]               Where to find zlib [/usr]
-               --with-http-libcurl-dir [<arg>]            Where to find libcurl [/usr]
-               --with-http-libevent-dir [<arg>]           Where to find libevent [/usr]
+       $ ./pecl_http-2.4.2.ext.phar [-hvqs] [-p|-n|-c|-i <arg>]
+
+         -h|--help                                  Display help
+         -v|--verbose                               More output
+         -q|--quiet                                 Less output
+         -p|--prefix <arg>                          PHP installation prefix if phpize is not in $PATH, e.g. /opt/php7
+         -n|--common-name <arg>                     PHP common program name, e.g. php5 or zts-php [php]
+         -c|--configure <arg>                       Additional extension configure flags, e.g. -c --with-flag
+         -s|--sudo [<arg>]                          Installation might need increased privileges [sudo -S %s]
+         -i|--ini <arg>                             Activate in this php.ini instead of loaded default php.ini
+         --signature                                Show package signature
+         --license                                  Show package license
+         --name                                     Show package name
+         --date                                     Show package release date
+         --release                                  Show package release version
+         --version                                  Show pharext version
+         --enable-propro [<arg>]                    Whether to enable property proxy support [yes]
+         --enable-raphf [<arg>]                     Whether to enable raphf support [yes]
+         --with-http-zlib-dir [<arg>]               Where to find zlib [/usr]
+         --with-http-libcurl-dir [<arg>]            Where to find libcurl [/usr]
+         --with-http-libevent-dir [<arg>]           Where to find libevent [/usr]
+
 
 If your installation destination needs escalated permissions, have a look at [the `--sudo` option](https://github.com/m6w6/pharext/wiki/Usage-of-*.ext.phar-packages#privileges):
 
-       $ ./pecl_http-2.4.0dev.ext.phar --ini /etc/php/conf.d/pecl.ini --sudo
-       Installing propro-1.0.1.ext.phar ... 
-       Running phpize ... OK
-       Running configure ... OK
-       Running make ... OK
-       Running install ... OK
-       Running INI owner transfer ... OK
-       Running INI permission transfer ... OK
-       Running INI activation ... OK
-       Cleaning up /tmp/propro-1.0.1.ext.phar.54fdbc828e3ef ...
-       Installing raphf-1.0.5.ext.phar ... 
-       Running phpize ... OK
-       Running configure ... OK
-       Running make ... OK
-       Running install ... OK
-       Running INI owner transfer ... OK
-       Running INI permission transfer ... OK
-       Running INI activation ... OK
-       Cleaning up /tmp/raphf-1.0.5.ext.phar.54fdbc828e5e0 ...
-       Installing pecl_http-2.4.0dev.ext.phar ... 
-       Running phpize ... OK
-       Running configure ... OK
-       Running make ... OK
-       Running install ... OK
-       Running INI owner transfer ... OK
-       Running INI permission transfer ... OK
-       Running INI activation ... OK
-       Cleaning up /tmp/pecl_http-2.4.0dev.ext.phar.54fdbc828e1fb ...
+       Installing propro-1.0.1.ext.phar ...
+       Running phpize ...
+       Running configure ...
+       Running make ...
+       Running make install ...
+       Running INI activation ...
+       Extension already activated ...
+       Successfully installed propro-1.0.1.ext.phar!
+       Installing raphf-1.0.5.ext.phar ...
+       Running phpize ...
+       Running configure ...
+       Running make ...
+       Running make install ...
+       Running INI activation ...
+       Extension already activated ...
+       Successfully installed raphf-1.0.5.ext.phar!
+       Installing pecl_http-2.4.2.ext.phar ...
+       Running phpize ...
+       Running configure ...
+       Running make ...
+       Running make install ...
+       Running INI activation ...
+       Extension already activated ...
+       Successfully installed pecl_http-2.4.2.ext.phar!
 
 
 ### Prerequisites
index c32af327e50927ca82d60750af0b2d3a270e4a62..ae7170f4e6375a515a61afeabeaab3a48b765168 100755 (executable)
Binary files a/bin/pharext and b/bin/pharext differ
index 3cf4f5bfbd3bfa8e7afffd9782f5fd35411cf600..9acb5ebc848a229c62a7d0e7c74eec63bcbf13cc 100644 (file)
@@ -238,7 +238,7 @@ class Packager implements Command
                                "stub" => "pharext_installer.php",
                                "type" => $this->args->zend ? "zend_extension" : "extension",
                        ]);
-                       $file = (new Task\PharBuild($this->source, $meta))->run();
+                       $file = (new Task\PharBuild($this->source, $meta))->run($this->verbosity());
                } catch (\Exception $e) {
                        $this->error("%s\n", $e->getMessage());
                        exit(self::EBUILD);