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
Łukasz Nowak
chromebrew
Commits
10e092ef
Commit
10e092ef
authored
Jun 25, 2020
by
Ed Reel
Committed by
GitHub
Jun 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update jdk8 from 8u241 to 8u251 (#4128)
Add pre-built binaries
parent
8cceaae7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
packages/jdk8.rb
packages/jdk8.rb
+14
-14
No files found.
packages/jdk8.rb
View file @
10e092ef
...
...
@@ -3,22 +3,22 @@ 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
'8u2
4
1'
version
'8u2
5
1'
compatibility
'all'
source_url
'http://hg.openjdk.java.net/jdk8/jdk8/archive/2a8f4c022aa0.tar.gz'
source_url
'http
s
://hg.openjdk.java.net/jdk8/jdk8/archive/2a8f4c022aa0.tar.gz'
source_sha256
'e632ae353ccfb90957cbb6a5818ee063710a41e7b97b490ee58ca5f627d863f1'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u2
4
1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u2
4
1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u2
4
1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u2
4
1-chromeos-x86_64.tar.xz'
,
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u2
5
1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u2
5
1-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u2
5
1-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/jdk8-8u2
5
1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
5bfd4dca164d614b07b68de4872fe4a5083d1a1749ad67bacc4489115cb7111f
'
,
armv7l:
'
5bfd4dca164d614b07b68de4872fe4a5083d1a1749ad67bacc4489115cb7111f
'
,
i686:
'
389af1ea1cbe6a62e379e3d333b8deb36b10edf81663f60d75e39407b769481
e'
,
x86_64:
'
04accb5c208b239c27bad854e2f5571777cf4adb25a5c3f3e6c4a858d5c2833f
'
,
aarch64:
'
48a902d3754e13d38b0dc91e1ecb199569bf3f14bba2d6abf47263b16626d1f6
'
,
armv7l:
'
48a902d3754e13d38b0dc91e1ecb199569bf3f14bba2d6abf47263b16626d1f6
'
,
i686:
'
0402ad1e6e49a27ad1e0a0247bb5f52597f942131f05e05534037ec21181b66
e'
,
x86_64:
'
cdf85676c12bf441bfb68ebdec8fc608ce6cb4420788b482ebc9c4a4260f4abd
'
,
})
def
self
.
install
...
...
@@ -44,18 +44,18 @@ class Jdk8 < Package
end
case
ARCH
when
'aarch64'
,
'armv7l'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-arm32-vfp-hflt.tar.gz"
)
)
==
'
4470cc89f78d31b173fc1cc1b2a39e15c9a31ebfae7c003777df928643f45fde
'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-arm32-vfp-hflt.tar.gz"
)
)
==
'
f1b0c979e1b61ec52ebd5e1d0b754d7681d8623b09ac90c69718a553ef9b0cd1
'
system
"tar xvf
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-arm32-vfp-hflt.tar.gz"
when
'i686'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-i586.tar.gz"
)
)
==
'
e4f901999e5930c1e7606d08a1ebde0ed31d841dae3106a0def823bf5ce431da
'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-i586.tar.gz"
)
)
==
'
0c6d25c09459e435570204f1a22a1cb765ce5d62c5bced92c9a9546b7be337f2
'
system
"tar xvf
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-i586.tar.gz"
when
'x86_64'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-x64.tar.gz"
)
)
==
'
419d32677855f676076a25aed58e79432969142bbd778ff8eb57cb618c69e8cb
'
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-x64.tar.gz"
)
)
==
'
777a8d689e863275a647ae52cb30fd90022a3af268f34fc5b9867ce32f1b374e
'
system
"tar xvf
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-x64.tar.gz"
end
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/jdk8"
FileUtils
.
cd
'jdk1.8.0_2
4
1'
do
FileUtils
.
cd
'jdk1.8.0_2
5
1'
do
FileUtils
.
rm_f
'src.zip'
FileUtils
.
cp_r
Dir
.
glob
(
'*'
),
"
#{
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