Commit 1cd71593 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update php packages (#4026)

Update php72 from 7.2.29 to 7.2.30

Update php73 from 7.3.16 to 7.3.17

Update php74 from 7.4.4 to 7.4.5

Add TMPDIR environment variable

Add pre-built binaries
parent 7be13072
......@@ -3,7 +3,7 @@ require 'package'
class Php < Package
description 'PHP is a popular general-purpose scripting language that is especially suited to web development.'
homepage 'http://www.php.net/'
version '5.6.40-7.4.4'
version '5.6.40-7.4.5'
is_fake
......@@ -15,9 +15,9 @@ class Php < Package
puts " 5.6 = PHP 5.6.40"
puts " 7.0 = PHP 7.0.33"
puts " 7.1 = PHP 7.1.33"
puts " 7.2 = PHP 7.2.29"
puts " 7.3 = PHP 7.3.16"
puts " 7.4 = PHP 7.4.4"
puts " 7.2 = PHP 7.2.30"
puts " 7.3 = PHP 7.3.17"
puts " 7.4 = PHP 7.4.5"
puts " 0 = Cancel"
while version = STDIN.gets.chomp
......
......@@ -59,6 +59,7 @@ class Php70 < Package
end
def self.build
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--docdir=#{CREW_PREFIX}/doc",
......
......@@ -13,16 +13,16 @@ class Php71 < Package
end
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.33-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.33-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.33-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.33-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/php71-7.1.33-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/php71-7.1.33-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/php71-7.1.33-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/php71-7.1.33-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1a25458dca5188809187c717fc76864c71c896ac51032b4b5395875310f9bd6c',
armv7l: '1a25458dca5188809187c717fc76864c71c896ac51032b4b5395875310f9bd6c',
i686: 'ee2de86e059df317fff885d5e0df2db944890a675be5c23d81291779e23ac23a',
x86_64: '4a61fb06d921969bf16d8154d68f34c2f5f0e2195503cb62fc964f7908ed962e',
aarch64: '3e4a5a3099512d1dcd676d44b689d26e5322239ec72fdffe32b5e5520dea13c5',
armv7l: '3e4a5a3099512d1dcd676d44b689d26e5322239ec72fdffe32b5e5520dea13c5',
i686: 'dad3b1186679c8765dd3649d6dee08817623399fe103986670b628b239335da5',
x86_64: 'c87d21538feb6e74c13a598a75e3a942c2b56d9c0a2f05ba00bd182585d3e22d',
})
depends_on 'libgcrypt'
......@@ -59,6 +59,7 @@ class Php71 < Package
end
def self.build
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--docdir=#{CREW_PREFIX}/doc",
......
......@@ -3,9 +3,9 @@ require 'package'
class Php72 < Package
description 'PHP is a popular general-purpose scripting language that is especially suited to web development.'
homepage 'http://www.php.net/'
version '7.2.29'
source_url 'https://www.php.net/distributions/php-7.2.29.tar.xz'
source_sha256 'b117de74136bf4b439d663be9cf0c8e06a260c1f340f6b75ccadb609153a7fe8'
version '7.2.30'
source_url 'https://www.php.net/distributions/php-7.2.30.tar.xz'
source_sha256 'aa93df27b58a45d6c9800ac813245dfdca03490a918ebe515b3a70189b1bf8c3'
if ARGV[0] == 'install'
phpver = `php -v 2> /dev/null | head -1 | cut -d' ' -f2`.chomp
......@@ -13,16 +13,16 @@ class Php72 < Package
end
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/php72-7.2.29-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/php72-7.2.29-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/php72-7.2.29-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/php72-7.2.29-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/php72-7.2.30-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/php72-7.2.30-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/php72-7.2.30-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/php72-7.2.30-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'dfaf1cf9fe5bb4faec843c1f4c3d6a67b76965ead087c5e3eff899dc3c6935de',
armv7l: 'dfaf1cf9fe5bb4faec843c1f4c3d6a67b76965ead087c5e3eff899dc3c6935de',
i686: '9a13f49ecd640cc1beeb38e14496b0dabed6f7090913bf847e180fc33fc72cc5',
x86_64: '45805e9ec6fade956e1dcbdfe60fc7453e192cf0038a120fc189346009131421',
aarch64: 'a29a79d5f8084e545784daef471b29f0f7b7cb5933438ec4be18fec22a6c5fce',
armv7l: 'a29a79d5f8084e545784daef471b29f0f7b7cb5933438ec4be18fec22a6c5fce',
i686: '39fe4f71f0473df4687c8e4dd03a6e04e6feaa24f2da52fa973c6e18277fdd4c',
x86_64: '6f8bbe0949f2d7e5d9aec35c7fc173bec38dd7a784e994d6e8f6d956921feeef',
})
depends_on 'libgcrypt'
......@@ -59,6 +59,7 @@ class Php72 < Package
end
def self.build
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--docdir=#{CREW_PREFIX}/doc",
......
......@@ -3,9 +3,9 @@ require 'package'
class Php73 < Package
description 'PHP is a popular general-purpose scripting language that is especially suited to web development.'
homepage 'http://www.php.net/'
version '7.3.16'
source_url 'https://www.php.net/distributions/php-7.3.16.tar.xz'
source_sha256 '91aaee3dbdc71b69b4f3292f9d99211172a2fa926c3f3bbdb0e85dab03dd2bcb'
version '7.3.17'
source_url 'https://www.php.net/distributions/php-7.3.17.tar.xz'
source_sha256 '6a30304c27f7e7a94538f5ffec599f600ee93aedbbecad8aa4f8bec539b10ad8'
if ARGV[0] == 'install'
phpver = `php -v 2> /dev/null | head -1 | cut -d' ' -f2`.chomp
......@@ -13,16 +13,16 @@ class Php73 < Package
end
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/php73-7.3.16-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/php73-7.3.16-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/php73-7.3.16-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/php73-7.3.16-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/php73-7.3.17-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/php73-7.3.17-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/php73-7.3.17-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/php73-7.3.17-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'fc1af0fc86fe4a85a917df1b153cc47bf9e03c17df21cfecc58a2beeaf8c5318',
armv7l: 'fc1af0fc86fe4a85a917df1b153cc47bf9e03c17df21cfecc58a2beeaf8c5318',
i686: '75a34b491053dc6122f52f62554a91d611facb1438fe642434c385f2c92ab60e',
x86_64: '5b9407524e5aa5559056a190aee703088e52ecb7a8bf505a0fceee2b4af9beef',
aarch64: '35dfebb5948218ac8e139eb2dff1a8acf8a0addd21b16ca7d0c6ab04ddef5c64',
armv7l: '35dfebb5948218ac8e139eb2dff1a8acf8a0addd21b16ca7d0c6ab04ddef5c64',
i686: '1286b0b674d2e33673d0ce41ec376528235ed7d4b8a3365a092e1c257c7174e6',
x86_64: 'd23ff9a018f71a083dd937006668bcfadf62eb48e597eafdc5985dea45158e5f',
})
depends_on 'libgcrypt'
......@@ -59,6 +59,7 @@ class Php73 < Package
end
def self.build
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--docdir=#{CREW_PREFIX}/doc",
......
......@@ -3,9 +3,9 @@ require 'package'
class Php74 < Package
description 'PHP is a popular general-purpose scripting language that is especially suited to web development.'
homepage 'http://www.php.net/'
version '7.4.4'
source_url 'https://www.php.net/distributions/php-7.4.4.tar.xz'
source_sha256 '1873c4cefdd3df9a78dcffb2198bba5c2f0464f55c9c960720c84df483fca74c'
version '7.4.5'
source_url 'https://www.php.net/distributions/php-7.4.5.tar.xz'
source_sha256 'd059fd7f55bdc4d2eada15a00a2976697010d3631ef6f83149cc5289e1f23c2c'
if ARGV[0] == 'install'
phpver = `php -v 2> /dev/null | head -1 | cut -d' ' -f2`.chomp
......@@ -13,16 +13,16 @@ class Php74 < Package
end
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/php74-7.4.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/php74-7.4.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/php74-7.4.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/php74-7.4.4-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/php74-7.4.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/php74-7.4.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/php74-7.4.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/php74-7.4.5-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'e37c0e97eca8ed5b8b56d6228861cf833b4f7d0837e06c1f00672a2d2b34f6aa',
armv7l: 'e37c0e97eca8ed5b8b56d6228861cf833b4f7d0837e06c1f00672a2d2b34f6aa',
i686: 'f33f3b551c177447bda9a9ce7b6cbe5299fe387886a1c1e2124732d917b7b30f',
x86_64: '2398c5678b37df12e6ac4bb05d4d91ad304b5ffe5a8b1a02846aaef96c64caa9',
aarch64: 'a0714a550c3578c2c0e01a9bdc42a31cf6cf41aaea226eed68984db0d48b6dff',
armv7l: 'a0714a550c3578c2c0e01a9bdc42a31cf6cf41aaea226eed68984db0d48b6dff',
i686: '07b0e9ba0497f6dee71ea6c70aafee5da2b4e61fa3bcf8e9f08b22bb0e1e3e41',
x86_64: '56c593546b0e8e9f09d528165bcbbcd2b4086314fb0218855d445b76a951b2a4',
})
depends_on 'aspell_en'
......@@ -64,6 +64,7 @@ class Php74 < Package
end
def self.build
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--docdir=#{CREW_PREFIX}/doc",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment