Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
545b75cb
Commit
545b75cb
authored
Oct 08, 2018
by
Chris Thurber
Committed by
GitHub
Oct 08, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2738 from uberhacker/update-php-packages
Update php packages from 5.6.37-7.2.8 to 5.6.38-7.2.10
parents
15a1f3d5
e672f15b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
64 deletions
+70
-64
packages/php.rb
packages/php.rb
+38
-38
packages/php5.rb
packages/php5.rb
+16
-13
packages/php7.rb
packages/php7.rb
+16
-13
No files found.
packages/php.rb
View file @
545b75cb
...
...
@@ -3,78 +3,78 @@ 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.3
7-7.2.8
'
version
'5.6.3
8-7.2.10
'
if
ARGV
[
0
]
==
'install'
phpver
=
`php -v 2> /dev/null | head -1 | cut -d' ' -f2`
.
chomp
abort
"Php version
#{
phpver
}
already installed."
.
lightgreen
unless
"
#{
phpver
}
"
==
""
puts
puts
"Enter the php version to install:"
puts
"5.6 = PHP 5.6.3
7
"
puts
"7.0 = PHP 7.0.3
1
"
puts
"7.1 = PHP 7.1.2
0
"
puts
"7.2 = PHP 7.2.
8
"
puts
"5.6 = PHP 5.6.3
8
"
puts
"7.0 = PHP 7.0.3
2
"
puts
"7.1 = PHP 7.1.2
2
"
puts
"7.2 = PHP 7.2.
10
"
puts
" 0 = Cancel"
while
version
=
STDIN
.
gets
.
chomp
case
version
when
'5.6'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
7
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
7
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
7
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
7
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
8
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
8
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
8
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
8
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
993d11d53a2f8cc0313848e318e52471882f7ff73d8acff695ebfa97ccaf52ee
'
,
armv7l:
'
993d11d53a2f8cc0313848e318e52471882f7ff73d8acff695ebfa97ccaf52ee
'
,
i686:
'
ff37cce3c0c7ff128ba08201994dfa355dc3527431811b3ab41c6c579949fe4
3'
,
x86_64:
'
51f08048091118b86a07a61708a388cd1312bca005dc7ba4bc06b11d20517b5c
'
,
aarch64:
'
6fa6a12b50a565c1934f2556011aa9107058adc7af2b8cf44567d3c324c34ce7
'
,
armv7l:
'
6fa6a12b50a565c1934f2556011aa9107058adc7af2b8cf44567d3c324c34ce7
'
,
i686:
'
7e652da5133743cc170a1bd2ecc2ecc9c2f14ff66580cfc7e84c5daba96922f
3'
,
x86_64:
'
ce5b6e291a502f632a125ada7693f423cab96ed137bd52ac3a0538523b3caf01
'
,
})
$ver
=
5
break
when
'7.0'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
1
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
1
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
1
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
1
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
2
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
2
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
2
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
2
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
53950096d9dd7563ed2a5e4a054955eca8661ffc2b80d4420e6f6f62df884cfd
'
,
armv7l:
'
53950096d9dd7563ed2a5e4a054955eca8661ffc2b80d4420e6f6f62df884cfd
'
,
i686:
'
cfaa7df8f66a0767f925577c987169758fff780056c38f3b48af69015d2593c1
'
,
x86_64:
'
3677334fa1b292c54eab74e687e88686d0a421476c3e2cb460a0095c075a033c
'
,
aarch64:
'
b381413c87bc2d262ea443b2acdbcd90ba2c2840b6423954548f845aa08264e0
'
,
armv7l:
'
b381413c87bc2d262ea443b2acdbcd90ba2c2840b6423954548f845aa08264e0
'
,
i686:
'
fa06779f527ee0e50ae3b0f13b0e09eea916786443fef769b231f603eaa9192d
'
,
x86_64:
'
df3a185813a7c7bd1512c430d047d8e8c947b296b5ddbd74777e7e457703261f
'
,
})
$ver
=
7
break
when
'7.1'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.2
0
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.2
0
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.2
0
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.2
0
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.2
2
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.2
2
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.2
2
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.2
2
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'0
af95db3237b5b5e7237a0b991b8d06720554f2c0feefdfdfe3c8e3dee00169a
'
,
armv7l:
'0
af95db3237b5b5e7237a0b991b8d06720554f2c0feefdfdfe3c8e3dee00169a
'
,
i686:
'7
95a437d7b433cef5d3ac2d6a5695412f495dcf81f86bdd843c1c099d9c69ce6
'
,
x86_64:
'
da5bf231427f62dceee26418c3ad08ce7a18e1bf9cf20f39a8ff6c2aa33b9dc9
'
,
aarch64:
'0
dc84de46d2e9214839e41e4d4f496f6139a3f65317eac4465df5b0d15f42a2d
'
,
armv7l:
'0
dc84de46d2e9214839e41e4d4f496f6139a3f65317eac4465df5b0d15f42a2d
'
,
i686:
'7
1ca743705b268b227047e1e19c4fbce45978fb26b93ba2970188534e85629d4
'
,
x86_64:
'
b7dcf8e08b87233482d1795ed476f8a54d10313e21740c37336e07c00ec595e2
'
,
})
$ver
=
7
break
when
'7.2'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
8
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
8
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
8
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
8
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
10
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
10
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
10
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
10
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
01f39e3bb42b9f00f10417b53abd5802922625c846c601cdd1890118a4cb791e
'
,
armv7l:
'
01f39e3bb42b9f00f10417b53abd5802922625c846c601cdd1890118a4cb791e
'
,
i686:
'
6d404e5f100005d9e8ed5b08cdc70e0294155b65c0b2fe1c80fbbef227e632b8
'
,
x86_64:
'
8f0c18b8f9f2a2aa52af6f8fc4af55a755fe110bdaa6c50dff42dfcbff4307fa
'
,
aarch64:
'
e9c4d38c07f1d97ce9e5ea036a6eaca971e2bd551fba1e29aa8d73bae2bcb334
'
,
armv7l:
'
e9c4d38c07f1d97ce9e5ea036a6eaca971e2bd551fba1e29aa8d73bae2bcb334
'
,
i686:
'
3a91b09c4e743156b045733b2870da3fb7100aaacaedfe4a17b6aa169be77040
'
,
x86_64:
'
bf7dd5ff0401de55c715b478f7648a0f942f3df51e23f3d0425718962999334b
'
,
})
$ver
=
7
break
...
...
@@ -87,7 +87,7 @@ class Php < Package
end
end
depends_on
'
icu4c
'
depends_on
'
readline7
'
depends_on
'libgcrypt'
depends_on
'libpng'
depends_on
'libxslt'
...
...
packages/php5.rb
View file @
545b75cb
...
...
@@ -3,31 +3,31 @@ require 'package'
class
Php5
<
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.3
7
'
source_url
'http://php.net/distributions/php-5.6.3
7
.tar.xz'
source_sha256
'
5000d82610f9134aaedef28854ec3591f68dedf26a17b8935727dac2843bd256
'
version
'5.6.3
8
'
source_url
'http://php.net/distributions/php-5.6.3
8
.tar.xz'
source_sha256
'
c2fac47dc6316bd230f0ea91d8a5498af122fb6a3eb43f796c9ea5f59b04aa1e
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
7
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
7
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
7
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
7
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
8
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
8
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
8
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
8
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
993d11d53a2f8cc0313848e318e52471882f7ff73d8acff695ebfa97ccaf52ee
'
,
armv7l:
'
993d11d53a2f8cc0313848e318e52471882f7ff73d8acff695ebfa97ccaf52ee
'
,
i686:
'
ff37cce3c0c7ff128ba08201994dfa355dc3527431811b3ab41c6c579949fe4
3'
,
x86_64:
'
51f08048091118b86a07a61708a388cd1312bca005dc7ba4bc06b11d20517b5c
'
,
aarch64:
'
6fa6a12b50a565c1934f2556011aa9107058adc7af2b8cf44567d3c324c34ce7
'
,
armv7l:
'
6fa6a12b50a565c1934f2556011aa9107058adc7af2b8cf44567d3c324c34ce7
'
,
i686:
'
7e652da5133743cc170a1bd2ecc2ecc9c2f14ff66580cfc7e84c5daba96922f
3'
,
x86_64:
'
ce5b6e291a502f632a125ada7693f423cab96ed137bd52ac3a0538523b3caf01
'
,
})
depends_on
'
icu4c
'
depends_on
'
readline7
'
depends_on
'libgcrypt'
depends_on
'libpng'
depends_on
'libxslt'
depends_on
'curl'
depends_on
'pcre'
def
self
.
build
def
self
.
patch
system
"sed -i 's,;pid = run/php-fpm.pid,pid =
#{
CREW_PREFIX
}
/tmp/run/php-fpm.pid,' sapi/fpm/php-fpm.conf.in"
system
"sed -i 's,;error_log = log/php-fpm.log,error_log =
#{
CREW_PREFIX
}
/log/php-fpm.log,' sapi/fpm/php-fpm.conf.in"
system
"sed -i 's,include=@php_fpm_sysconfdir@/php-fpm.d,include=
#{
CREW_PREFIX
}
/etc/php-fpm.d,' sapi/fpm/php-fpm.conf.in"
...
...
@@ -42,6 +42,9 @@ class Php5 < Package
system
"sed -i 's,post_max_size = 8M,post_max_size = 128M,' php.ini-development"
system
"sed -i 's,upload_max_filesize = 2M,upload_max_filesize = 128M,' php.ini-development"
system
"sed -i 's,;opcache.enable=0,opcache.enable=1,' php.ini-development"
end
def
self
.
build
system
"./configure \
--prefix=
#{
CREW_PREFIX
}
\
--docdir=
#{
CREW_PREFIX
}
/doc \
...
...
packages/php7.rb
View file @
545b75cb
...
...
@@ -3,31 +3,31 @@ require 'package'
class
Php7
<
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.
8
'
source_url
'https://php.net/distributions/php-7.2.
8
.tar.xz'
source_sha256
'
53ba0708be8a7db44256e3ae9fcecc91b811e5b5119e6080c951ffe7910ffb0f
'
version
'7.2.
10
'
source_url
'https://php.net/distributions/php-7.2.
10
.tar.xz'
source_sha256
'
01c2154a3a8e3c0818acbdbc1a956832c828a0380ce6d1d14fea495ea21804f0
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
8
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
8
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
8
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
8
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
10
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
10
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
10
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
10
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
01f39e3bb42b9f00f10417b53abd5802922625c846c601cdd1890118a4cb791e
'
,
armv7l:
'
01f39e3bb42b9f00f10417b53abd5802922625c846c601cdd1890118a4cb791e
'
,
i686:
'
6d404e5f100005d9e8ed5b08cdc70e0294155b65c0b2fe1c80fbbef227e632b8
'
,
x86_64:
'
8f0c18b8f9f2a2aa52af6f8fc4af55a755fe110bdaa6c50dff42dfcbff4307fa
'
,
aarch64:
'
e9c4d38c07f1d97ce9e5ea036a6eaca971e2bd551fba1e29aa8d73bae2bcb334
'
,
armv7l:
'
e9c4d38c07f1d97ce9e5ea036a6eaca971e2bd551fba1e29aa8d73bae2bcb334
'
,
i686:
'
3a91b09c4e743156b045733b2870da3fb7100aaacaedfe4a17b6aa169be77040
'
,
x86_64:
'
bf7dd5ff0401de55c715b478f7648a0f942f3df51e23f3d0425718962999334b
'
,
})
depends_on
'
icu4c
'
depends_on
'
readline7
'
depends_on
'libgcrypt'
depends_on
'libpng'
depends_on
'libxslt'
depends_on
'curl'
depends_on
'pcre'
def
self
.
build
def
self
.
patch
system
"sed -i 's,;pid = run/php-fpm.pid,pid =
#{
CREW_PREFIX
}
/tmp/run/php-fpm.pid,' sapi/fpm/php-fpm.conf.in"
system
"sed -i 's,;error_log = log/php-fpm.log,error_log =
#{
CREW_PREFIX
}
/log/php-fpm.log,' sapi/fpm/php-fpm.conf.in"
system
"sed -i 's,include=@php_fpm_sysconfdir@/php-fpm.d,include=
#{
CREW_PREFIX
}
/etc/php-fpm.d,' sapi/fpm/php-fpm.conf.in"
...
...
@@ -40,6 +40,9 @@ class Php7 < Package
system
"sed -i 's,post_max_size = 8M,post_max_size = 128M,' php.ini-development"
system
"sed -i 's,upload_max_filesize = 2M,upload_max_filesize = 128M,' php.ini-development"
system
"sed -i 's,;opcache.enable=0,opcache.enable=1,' php.ini-development"
end
def
self
.
build
system
"./configure \
--prefix=
#{
CREW_PREFIX
}
\
--docdir=
#{
CREW_PREFIX
}
/doc \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment