From 8bb44cb1907aff0691bf0b40443ef81d2251c29f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 27 Mar 2015 20:47:35 +0100 Subject: [PATCH] update README --- README.md | 97 ++++++++++++++++++++------------------- bin/pharext | Bin 65466 -> 65632 bytes src/pharext/Packager.php | 2 +- 3 files changed, 51 insertions(+), 48 deletions(-) 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 c32af327e50927ca82d60750af0b2d3a270e4a62..ae7170f4e6375a515a61afeabeaab3a48b765168 100755 GIT binary patch delta 487 zcmdn>pZP%p%Z3dKOglDD-lSjwqTVRzf+%T4JrL!ss1KrQ6is+`Y!(gu#m~T?&}jL6 zGNY=<!;~VUI>&kQ4#>jxhZLZs3IjR5VcOp2t+-CP-4mk z0`J)v7(nKN=s5@6-%buwRs|`kRW=7v+muZ})Ei|(5GAi-2BN}MOhHtiiV@gaGiC+` zpNI0{KqpB~eyRet_PdHPNQsUrm`YRyn=)M$?4#qVV8ec?g1xD!2KHZ+nwCJn0>mvK z+QQJ$aq<*3uv>ORl)O;`Y2PfPzADtbEU_p)r8KudL!~UWC@H@-lPmx5Y!;~VUI>&kQ4#>jxhZLZs3IjR5VcOp2t+-CP-4mk z0?}*?3?Oqs^v94dmnVlQtAdo&Dw~6-ZOSGf>W#7?h>}+^15x2BrXZ?M#RzPz88ZWe z&qMieppzsgKUD!+`(4Etq(ny*OeLyjBfw{ 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); -- 2.30.2