Skip to content

Commit

Permalink
dev-lang/php: new revisions that install the "phar" executable
Browse files Browse the repository at this point in the history
PHP supports installing a "phar" executable that simplifies creating
and extracting phar archives. This commit does so when USE=phar is
set. A forthcoming release of eselect-php will allow users to switch
between the different versions of the command.

While we're making revisions, the virtual/libffi dependency was
replaced by its sole provider, dev-libs/libffi.

Bug: https://bugs.gentoo.org/707876
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <[email protected]>
  • Loading branch information
orlitzky committed Mar 1, 2020
1 parent 123ed43 commit 396d51b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1,485 deletions.
2 changes: 0 additions & 2 deletions dev-lang/php/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ DIST php-7.2.28.tar.xz 12311760 BLAKE2B de27a5aa23ceaa16aef5da3ccda116e846a81d10
DIST php-7.3.13.tar.xz 12102012 BLAKE2B 32a346470ea0d0a3db873ae94b5e4dcc650c25e24db244ea94417f092e0458a0825cb99e9c3429000ee5cbd50120824d9bd2a58a7ed2ada1f39c6d7c41b2ba08 SHA512 d0624b3b841fed49d9cea56b17e7c8c7abf8e6572832b6f86c98f48c23f86690c310b460eae27a6fcd41fbfbc2e8a4b56f6bfb0c738fa1db36ce3795454d7798
DIST php-7.3.14.tar.xz 12106072 BLAKE2B 698e6cfe4cc9640c393988626bf344a4bc891cb6d974017a0a176d2c5f6f55cc6073f88bd90926822c7c0534da280a6ae6b8f28b3c983665d7ce8b330246e783 SHA512 053cd51d0fe73e18494d51c104573b73f6af41d21091513319e994cc12398fa792b7d996414d28d6dbf983c38afccc92d47d6fd8c071824ee192067bd955a80a
DIST php-7.3.15.tar.xz 12111464 BLAKE2B eaf4d095138eaf7f4a6e1d12bf8ae21a85d2bc7f7b103c2db1c78cc93a5a0f8676f9b97183f0df188c4c899d924d8ddcbc7207c5bd7d1919b7775d4b2066b29f SHA512 7a578d175e27f20205f6471451665f3141221916dfbd289085bfa64715dcd57cd9bca272fed73f539b066862e196fe1f5f446e2eb1cca9971b4f9a8080663acb
DIST php-7.4.1.tar.xz 10245600 BLAKE2B fcbb7de0e9ab74820ca8fdd234cd20908ed8e559e6eeffd576e285a5f4b4b31506ec2e11cc5926464257e08289207462f4b373833b8130500e0944f64dbf6cf5 SHA512 2dd152bdca52ece160feff799622fd4bdd88e0664f629e6149fd14ede6c304dfc40c164fcd9200c041b26342d6248010cf9b53e30c1a8d31640dc3b24d25c4da
DIST php-7.4.2.tar.xz 10252304 BLAKE2B cf3b7a6a26ff58fb46024710c9d265d440faff4c5ee583a76c89aa7a73049c8bc6eaf428f53dfbdbb86efef9208503150c9c31b442f960d167babf08380813cf SHA512 e8d4b300d71e48a740b4cd96bf100206615a352bf77822dfe4a289b93738e3419f1371f2b1ec2eb9c9c4b9c87eac69c866a4c51a821e0f5b07a2fa3b0eb8d89b
DIST php-7.4.3.tar.xz 10261432 BLAKE2B 8542555c5d2237f88ecbedd14fffa0dbaa2a714767e6af28595074e8625e78f1cb25084b151930ba3f9ac1c7f5f7188f1539b51cfa431045af158c6707afc77a SHA512 121f2870bbce99f8ab2d42655a9bf6aed1dc37f3c91c238bc37f448543595d55358c2d023f2d3e08c81b1b21d47be9c2d47ef7a2e776c8ac8ac34482b63e5bf3
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ src_install() {
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs

# Install the "phar" archive utility.
use phar && emake INSTALL_ROOT="${D}" install-pharcmd

local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"

# Create the directory where we'll put version-specific php scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,9 @@ src_install() {
emake INSTALL_ROOT="${D}" \
install-build install-headers install-programs

# Install the "phar" archive utility.
use phar && emake INSTALL_ROOT="${D}" install-pharcmd

local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"

# Create the directory where we'll put version-specific php scripts
Expand Down
Loading

0 comments on commit 396d51b

Please sign in to comment.