From: Michael Wallner Date: Fri, 27 Mar 2015 19:47:35 +0000 (+0100) Subject: update README X-Git-Tag: v3.0.0~12 X-Git-Url: https://git.m6w6.name/?p=pharext%2Fpharext;a=commitdiff_plain;h=8bb44cb1907aff0691bf0b40443ef81d2251c29f update README --- diff --git a/README.md b/README.md index 1219ccb..1931502 100644 --- 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 + pharext v3.0.0 (c) Michael Wallner Usage: - $ ./pecl_http-2.4.0dev.ext.phar [-hvqs] [-p|-n|-c|-i ] - - -h|--help Display help - -v|--verbose More output - -q|--quiet Less output - -p|--prefix PHP installation prefix if phpize is not in $PATH, e.g. /opt/php7 - -n|--common-name PHP common program name, e.g. php5 or zts-php [php] - -c|--configure Additional extension configure flags, e.g. -c --with-flag - -s|--sudo [] Installation might need increased privileges [sudo -S %s] - -i|--ini Activate in this php.ini instead of loaded default php.ini - --enable-propro [] Whether to enable property proxy support [yes] - --enable-raphf [] Whether to enable raphf support [yes] - --with-http-zlib-dir [] Where to find zlib [/usr] - --with-http-libcurl-dir [] Where to find libcurl [/usr] - --with-http-libevent-dir [] Where to find libevent [/usr] + $ ./pecl_http-2.4.2.ext.phar [-hvqs] [-p|-n|-c|-i ] + + -h|--help Display help + -v|--verbose More output + -q|--quiet Less output + -p|--prefix PHP installation prefix if phpize is not in $PATH, e.g. /opt/php7 + -n|--common-name PHP common program name, e.g. php5 or zts-php [php] + -c|--configure Additional extension configure flags, e.g. -c --with-flag + -s|--sudo [] Installation might need increased privileges [sudo -S %s] + -i|--ini 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 [] Whether to enable property proxy support [yes] + --enable-raphf [] Whether to enable raphf support [yes] + --with-http-zlib-dir [] Where to find zlib [/usr] + --with-http-libcurl-dir [] Where to find libcurl [/usr] + --with-http-libevent-dir [] 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 diff --git a/bin/pharext b/bin/pharext index c32af32..ae7170f 100755 Binary files a/bin/pharext and b/bin/pharext differ diff --git a/src/pharext/Packager.php b/src/pharext/Packager.php index 3cf4f5b..9acb5eb 100644 --- a/src/pharext/Packager.php +++ b/src/pharext/Packager.php @@ -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);