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
f382bd09
Commit
f382bd09
authored
Jul 29, 2018
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update php packages from 5.6.36-7.2.6 to 5.6.37-7.2.8
parent
9cd6b452
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
68 deletions
+61
-68
packages/php.rb
packages/php.rb
+37
-38
packages/php5.rb
packages/php5.rb
+12
-15
packages/php7.rb
packages/php7.rb
+12
-15
No files found.
packages/php.rb
View file @
f382bd09
...
...
@@ -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
6-7.2.6
'
version
'5.6.3
7-7.2.8
'
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
6
"
puts
"7.0 = PHP 7.0.3
0
"
puts
"7.1 = PHP 7.1.
18
"
puts
"7.2 = PHP 7.2.
6
"
puts
"5.6 = PHP 5.6.3
7
"
puts
"7.0 = PHP 7.0.3
1
"
puts
"7.1 = PHP 7.1.
20
"
puts
"7.2 = PHP 7.2.
8
"
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
6
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
6
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
6
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
6
-chromeos-x86_64.tar.xz'
,
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'
,
})
binary_sha256
({
aarch64:
'
f1704e75ec47496d6cdb221a99c51e666cd84973ff92f170be75cd1a3f10c951
'
,
armv7l:
'
f1704e75ec47496d6cdb221a99c51e666cd84973ff92f170be75cd1a3f10c951
'
,
i686:
'
d6240fef149bd90b2dfdf2b4b4559f46f344a326ef1b6a405a973445ee83f7fc
'
,
x86_64:
'
2c96f21d5826543789a26ac033ab7a02e615003c4f58b70ba7a8a06496c9745d
'
,
aarch64:
'
993d11d53a2f8cc0313848e318e52471882f7ff73d8acff695ebfa97ccaf52ee
'
,
armv7l:
'
993d11d53a2f8cc0313848e318e52471882f7ff73d8acff695ebfa97ccaf52ee
'
,
i686:
'
ff37cce3c0c7ff128ba08201994dfa355dc3527431811b3ab41c6c579949fe43
'
,
x86_64:
'
51f08048091118b86a07a61708a388cd1312bca005dc7ba4bc06b11d20517b5c
'
,
})
$ver
=
5
break
when
'7.0'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
0
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
0
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
0
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.0.3
0
-chromeos-x86_64.tar.xz'
,
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'
,
})
binary_sha256
({
aarch64:
'
6135e9cf806df5f31518fe4d9f287e8c1330f9506bd6d31ef1def792291abecc
'
,
armv7l:
'
6135e9cf806df5f31518fe4d9f287e8c1330f9506bd6d31ef1def792291abecc
'
,
i686:
'
75ae742d9863e19896bc62581866eb7c61c2530f6972ecfed74ba79b70865f03
'
,
x86_64:
'
d3c45e10694972f3282c5259b7bb9f05b64210d023e04703115c99c501c1220f
'
,
aarch64:
'
53950096d9dd7563ed2a5e4a054955eca8661ffc2b80d4420e6f6f62df884cfd
'
,
armv7l:
'
53950096d9dd7563ed2a5e4a054955eca8661ffc2b80d4420e6f6f62df884cfd
'
,
i686:
'
cfaa7df8f66a0767f925577c987169758fff780056c38f3b48af69015d2593c1
'
,
x86_64:
'
3677334fa1b292c54eab74e687e88686d0a421476c3e2cb460a0095c075a033c
'
,
})
$ver
=
7
break
when
'7.1'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.
18
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.
18
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.
18
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.
18
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.
20
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.
20
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.
20
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.1.
20
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
af8ad9a7274e954e9a6cee2047462e68f86e003021d619fe6a626a9aaaac2470
'
,
armv7l:
'
af8ad9a7274e954e9a6cee2047462e68f86e003021d619fe6a626a9aaaac2470
'
,
i686:
'
cfc746000f3c26e7ebaf8afad096b98b0647e490e1865398d27cc420605738b2
'
,
x86_64:
'
97b79ad90d6c2bc8359a1a64f0051c1f8988c372390ca4974ef1a97b872f14c7
'
,
aarch64:
'
0af95db3237b5b5e7237a0b991b8d06720554f2c0feefdfdfe3c8e3dee00169a
'
,
armv7l:
'
0af95db3237b5b5e7237a0b991b8d06720554f2c0feefdfdfe3c8e3dee00169a
'
,
i686:
'
795a437d7b433cef5d3ac2d6a5695412f495dcf81f86bdd843c1c099d9c69ce6
'
,
x86_64:
'
da5bf231427f62dceee26418c3ad08ce7a18e1bf9cf20f39a8ff6c2aa33b9dc9
'
,
})
$ver
=
7
break
when
'7.2'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
6
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
6
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
6
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
6
-chromeos-x86_64.tar.xz'
,
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'
,
})
binary_sha256
({
aarch64:
'
3053099db705b825c0f1f35913b9c69bad20d35f6ddd7581c0eb20e4433ec342
'
,
armv7l:
'
3053099db705b825c0f1f35913b9c69bad20d35f6ddd7581c0eb20e4433ec342
'
,
i686:
'
06e6fce8d54e425edc864eb7912521ffb2a2c5cfcf88ad83ddaf7f4c1d3853f4
'
,
x86_64:
'
9f05e236dedcf92e85ef69ac6cd70a470a4e78dc4a7812d15eedfbad25ad5060
'
,
aarch64:
'
01f39e3bb42b9f00f10417b53abd5802922625c846c601cdd1890118a4cb791e
'
,
armv7l:
'
01f39e3bb42b9f00f10417b53abd5802922625c846c601cdd1890118a4cb791e
'
,
i686:
'
6d404e5f100005d9e8ed5b08cdc70e0294155b65c0b2fe1c80fbbef227e632b8
'
,
x86_64:
'
8f0c18b8f9f2a2aa52af6f8fc4af55a755fe110bdaa6c50dff42dfcbff4307fa
'
,
})
$ver
=
7
break
...
...
@@ -93,7 +93,6 @@ class Php < Package
depends_on
'libxslt'
depends_on
'curl'
depends_on
'pcre'
depends_on
'readline'
def
self
.
postinstall
puts
...
...
packages/php5.rb
View file @
f382bd09
...
...
@@ -3,21 +3,21 @@ 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
6
'
source_url
'http://php.net/distributions/php-5.6.3
6
.tar.xz'
source_sha256
'
18f536bf548e909b4e980379d0c4e56d024b2b1eb1c9768fd169360491f1d6dd
'
version
'5.6.3
7
'
source_url
'http://php.net/distributions/php-5.6.3
7
.tar.xz'
source_sha256
'
5000d82610f9134aaedef28854ec3591f68dedf26a17b8935727dac2843bd256
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
6
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
6
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
6
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php5-5.6.3
6
-chromeos-x86_64.tar.xz'
,
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'
,
})
binary_sha256
({
aarch64:
'
f1704e75ec47496d6cdb221a99c51e666cd84973ff92f170be75cd1a3f10c951
'
,
armv7l:
'
f1704e75ec47496d6cdb221a99c51e666cd84973ff92f170be75cd1a3f10c951
'
,
i686:
'
d6240fef149bd90b2dfdf2b4b4559f46f344a326ef1b6a405a973445ee83f7fc
'
,
x86_64:
'
2c96f21d5826543789a26ac033ab7a02e615003c4f58b70ba7a8a06496c9745d
'
,
aarch64:
'
993d11d53a2f8cc0313848e318e52471882f7ff73d8acff695ebfa97ccaf52ee
'
,
armv7l:
'
993d11d53a2f8cc0313848e318e52471882f7ff73d8acff695ebfa97ccaf52ee
'
,
i686:
'
ff37cce3c0c7ff128ba08201994dfa355dc3527431811b3ab41c6c579949fe43
'
,
x86_64:
'
51f08048091118b86a07a61708a388cd1312bca005dc7ba4bc06b11d20517b5c
'
,
})
depends_on
'icu4c'
...
...
@@ -26,11 +26,8 @@ class Php5 < Package
depends_on
'libxslt'
depends_on
'curl'
depends_on
'pcre'
depends_on
'readline'
def
self
.
build
libdir
=
'lib'
libdir
=
'lib64'
if
ARCH
==
'x86_64'
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"
...
...
@@ -54,7 +51,7 @@ class Php5 < Package
--mandir=
#{
CREW_PREFIX
}
/man \
--sbindir=
#{
CREW_PREFIX
}
/bin \
--with-config-file-path=
#{
CREW_PREFIX
}
/etc \
--with-libdir=
#{
libdir
}
\
--with-libdir=
#{
ARCH_LIB
}
\
--enable-fpm \
--enable-mbstring \
--enable-opcache \
...
...
packages/php7.rb
View file @
f382bd09
...
...
@@ -3,21 +3,21 @@ 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.
6
'
source_url
'https://php.net/distributions/php-7.2.
6
.tar.xz'
source_sha256
'
1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7
'
version
'7.2.
8
'
source_url
'https://php.net/distributions/php-7.2.
8
.tar.xz'
source_sha256
'
53ba0708be8a7db44256e3ae9fcecc91b811e5b5119e6080c951ffe7910ffb0f
'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
6
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
6
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
6
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/php7-7.2.
6
-chromeos-x86_64.tar.xz'
,
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'
,
})
binary_sha256
({
aarch64:
'
3053099db705b825c0f1f35913b9c69bad20d35f6ddd7581c0eb20e4433ec342
'
,
armv7l:
'
3053099db705b825c0f1f35913b9c69bad20d35f6ddd7581c0eb20e4433ec342
'
,
i686:
'
06e6fce8d54e425edc864eb7912521ffb2a2c5cfcf88ad83ddaf7f4c1d3853f4
'
,
x86_64:
'
9f05e236dedcf92e85ef69ac6cd70a470a4e78dc4a7812d15eedfbad25ad5060
'
,
aarch64:
'
01f39e3bb42b9f00f10417b53abd5802922625c846c601cdd1890118a4cb791e
'
,
armv7l:
'
01f39e3bb42b9f00f10417b53abd5802922625c846c601cdd1890118a4cb791e
'
,
i686:
'
6d404e5f100005d9e8ed5b08cdc70e0294155b65c0b2fe1c80fbbef227e632b8
'
,
x86_64:
'
8f0c18b8f9f2a2aa52af6f8fc4af55a755fe110bdaa6c50dff42dfcbff4307fa
'
,
})
depends_on
'icu4c'
...
...
@@ -26,11 +26,8 @@ class Php7 < Package
depends_on
'libxslt'
depends_on
'curl'
depends_on
'pcre'
depends_on
'readline'
def
self
.
build
libdir
=
'lib'
libdir
=
'lib64'
if
ARCH
==
'x86_64'
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"
...
...
@@ -52,7 +49,7 @@ class Php7 < Package
--mandir=
#{
CREW_PREFIX
}
/man \
--sbindir=
#{
CREW_PREFIX
}
/bin \
--with-config-file-path=
#{
CREW_PREFIX
}
/etc \
--with-libdir=
#{
libdir
}
\
--with-libdir=
#{
ARCH_LIB
}
\
--enable-fpm \
--enable-mbstring \
--enable-opcache \
...
...
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