Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/eselect-php:master commit in: src/
Date: Sat, 29 Feb 2020 22:16:24
Message-Id: 1583014229.9f957137544df01e20e5ae49f5bf8d7ee6a352f5.mjo@gentoo
1 commit: 9f957137544df01e20e5ae49f5bf8d7ee6a352f5
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 29 22:10:29 2020 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 29 22:10:29 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=9f957137
7
8 src/php.eselect.in.in: add support for the "phar" executable.
9
10 PHP supports installing a "phar" executable that can archive/extract
11 the phar file format without the user having to learn the API and
12 write a little script. This commit allows "eselect php ... cli" to
13 manage a symlink to the "phar" command, so that when dev-lang/php
14 starts installing them, we can switch between the various versions.
15
16 Bug: https://bugs.gentoo.org/707876
17 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
18
19 src/php.eselect.in.in | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 diff --git a/src/php.eselect.in.in b/src/php.eselect.in.in
23 index f78bf3d..2a7e5a8 100644
24 --- a/src/php.eselect.in.in
25 +++ b/src/php.eselect.in.in
26 @@ -25,7 +25,7 @@ sapi_active_link_names() {
27
28 case "${sapi}" in
29 apache2) echo "mod_php.so" ;;
30 - cli) echo "php phpize php-config" ;;
31 + cli) echo "php phpize php-config phar" ;;
32 fpm) echo "php-fpm" ;;
33 cgi) echo "php-cgi" ;;
34 phpdbg) echo "phpdbg" ;;