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
f3a6831f
Commit
f3a6831f
authored
Oct 09, 2018
by
Chris Thurber
Committed by
GitHub
Oct 09, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2740 from uberhacker/update-jdk8-package
Update jdk8 from 8u172 to 8u181
parents
545b75cb
63fd21f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
packages/jdk8.rb
packages/jdk8.rb
+19
-19
No files found.
packages/jdk8.rb
View file @
f3a6831f
...
...
@@ -3,40 +3,40 @@ require 'package'
class
Jdk8
<
Package
description
'The JDK is a development environment for building applications, applets, and components using the Java programming language.'
homepage
'http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html'
version
'8u1
72
'
version
'8u1
81
'
source_url
'http://hg.openjdk.java.net/jdk8/jdk8/archive/2a8f4c022aa0.tar.gz'
source_sha256
'e632ae353ccfb90957cbb6a5818ee063710a41e7b97b490ee58ca5f627d863f1'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u1
72
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u1
72
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u1
72
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u1
72
-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u1
81
-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u1
81
-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u1
81
-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u1
81
-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
90f418f144133a3776017729599465f9efa1b675ae402c20d22e9007bce901ad
'
,
armv7l:
'
90f418f144133a3776017729599465f9efa1b675ae402c20d22e9007bce901ad
'
,
i686:
'
efe0479401b215616a682a1bcb487d0a9dd1646354bfa344c39f0510f14c3ff0
'
,
x86_64:
'
827c56c9b2b24cbac1000c13146f568eb6d6ffaa8fde2db702569eaff169e92e
'
,
aarch64:
'
79d39e708a48b1b38369df5c7b9dbc370150b516992c264e87ce84bc9645da0e
'
,
armv7l:
'
79d39e708a48b1b38369df5c7b9dbc370150b516992c264e87ce84bc9645da0e
'
,
i686:
'
5eac08d3901b5bca84cdb897b74d5433fe196b5824654da271052f3360c7492a
'
,
x86_64:
'
aeae8471e898fa7b90664eb96a2874c6906ca4f04bbe914aa3d756922b265634
'
,
})
def
self
.
install
case
ARCH
when
'aarch64'
,
'armv7l'
system
'wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" --no-check-certificate https://download.oracle.com/otn-pub/java/jdk/8u1
72-b11/a58eab1ec242421181065cdc37240b08/jdk-8u172
-linux-arm32-vfp-hflt.tar.gz'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'jdk-8u1
72-linux-arm32-vfp-hflt.tar.gz'
)
)
==
'965e6cca2255a34e0e44ba8cf00c53472bc9837f080d58ad6e82309ac162e694
'
system
'tar xvf jdk-8u1
72
-linux-arm32-vfp-hflt.tar.gz'
system
'wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" --no-check-certificate https://download.oracle.com/otn-pub/java/jdk/8u1
81-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181
-linux-arm32-vfp-hflt.tar.gz'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'jdk-8u1
81-linux-arm32-vfp-hflt.tar.gz'
)
)
==
'c72e37da3c34531949b74a5bd846a3862933408df6306358fcea27876158ef7e
'
system
'tar xvf jdk-8u1
81
-linux-arm32-vfp-hflt.tar.gz'
when
'i686'
system
'wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" --no-check-certificate https://download.oracle.com/otn-pub/java/jdk/8u1
72-b11/a58eab1ec242421181065cdc37240b08/jdk-8u172
-linux-i586.tar.gz'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'jdk-8u1
72-linux-i586.tar.gz'
)
)
==
'0a4310d31246924d5c3cd161b9da7f446acef373e6484452c80de8d8519f5a33
'
system
'tar xvf jdk-8u1
72
-linux-i586.tar.gz'
system
'wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" --no-check-certificate https://download.oracle.com/otn-pub/java/jdk/8u1
81-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181
-linux-i586.tar.gz'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'jdk-8u1
81-linux-i586.tar.gz'
)
)
==
'd78a023abffb7ce4aade43e6db64bbad5984e7c82c54c332da445c9a79c1a904
'
system
'tar xvf jdk-8u1
81
-linux-i586.tar.gz'
when
'x86_64'
system
'wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" --no-check-certificate https://download.oracle.com/otn-pub/java/jdk/8u1
72-b11/a58eab1ec242421181065cdc37240b08/jdk-8u172
-linux-x64.tar.gz'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'jdk-8u1
72-linux-x64.tar.gz'
)
)
==
'28a00b9400b6913563553e09e8024c286b506d8523334c93ddec6c9ec7e9d346
'
system
'tar xvf jdk-8u1
72
-linux-x64.tar.gz'
system
'wget -c --header "Cookie: oraclelicense=accept-securebackup-cookie" --no-check-certificate https://download.oracle.com/otn-pub/java/jdk/8u1
81-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181
-linux-x64.tar.gz'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'jdk-8u1
81-linux-x64.tar.gz'
)
)
==
'1845567095bfbfebd42ed0d09397939796d05456290fb20a83c476ba09f991d3
'
system
'tar xvf jdk-8u1
81
-linux-x64.tar.gz'
end
system
"mkdir -p
#{
CREW_DEST_PREFIX
}
/share/jdk8"
FileUtils
.
cd
(
'jdk1.8.0_1
72
'
)
do
FileUtils
.
cd
(
'jdk1.8.0_1
81
'
)
do
system
"rm -f src.zip"
system
"cp -r *
#{
CREW_DEST_PREFIX
}
/share/jdk8"
end
...
...
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