From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF4E5138350 for ; Sat, 29 Feb 2020 22:16:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84353E09CC; Sat, 29 Feb 2020 22:16:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A234E09CC for ; Sat, 29 Feb 2020 22:16:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DCA9D34F0D7 for ; Sat, 29 Feb 2020 22:16:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E49315B for ; Sat, 29 Feb 2020 22:16:19 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1583014229.9f957137544df01e20e5ae49f5bf8d7ee6a352f5.mjo@gentoo> Subject: [gentoo-commits] proj/eselect-php:master commit in: src/ X-VCS-Repository: proj/eselect-php X-VCS-Files: src/php.eselect.in.in X-VCS-Directories: src/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 9f957137544df01e20e5ae49f5bf8d7ee6a352f5 X-VCS-Branch: master Date: Sat, 29 Feb 2020 22:16:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4422f658-a73d-4f13-9edd-b0befde17b74 X-Archives-Hash: 9951b8c715abecbdf9051a357a9e1cd7 commit: 9f957137544df01e20e5ae49f5bf8d7ee6a352f5 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Feb 29 22:10:29 2020 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Sat Feb 29 22:10:29 2020 +0000 URL: https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=9f957137 src/php.eselect.in.in: add support for the "phar" executable. PHP supports installing a "phar" executable that can archive/extract the phar file format without the user having to learn the API and write a little script. This commit allows "eselect php ... cli" to manage a symlink to the "phar" command, so that when dev-lang/php starts installing them, we can switch between the various versions. Bug: https://bugs.gentoo.org/707876 Signed-off-by: Michael Orlitzky gentoo.org> src/php.eselect.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/php.eselect.in.in b/src/php.eselect.in.in index f78bf3d..2a7e5a8 100644 --- a/src/php.eselect.in.in +++ b/src/php.eselect.in.in @@ -25,7 +25,7 @@ sapi_active_link_names() { case "${sapi}" in apache2) echo "mod_php.so" ;; - cli) echo "php phpize php-config" ;; + cli) echo "php phpize php-config phar" ;; fpm) echo "php-fpm" ;; cgi) echo "php-cgi" ;; phpdbg) echo "phpdbg" ;;