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
1cfafce7
Commit
1cfafce7
authored
May 24, 2021
by
Ed Reel
Committed by
GitHub
May 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update jdk8 from 8u281 to 8u291 (#5808)
parent
06c4852f
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 @
1cfafce7
...
...
@@ -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
'https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html'
version
'8u2
8
1'
version
'8u2
9
1'
license
'Oracle-BCLA-JavaSE'
compatibility
'all'
source_url
'SKIP'
binary_url
({
aarch64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/jdk8/8u2
81_armv7l/jdk8-8u28
1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/jdk8/8u2
81_armv7l/jdk8-8u28
1-chromeos-armv7l.tar.xz'
,
i686:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/jdk8/8u2
81_i686/jdk8-8u28
1-chromeos-i686.tar.xz'
,
x86_64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/jdk8/8u2
81_x86_64/jdk8-8u28
1-chromeos-x86_64.tar.xz'
,
aarch64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/jdk8/8u2
91_armv7l/jdk8-8u29
1-chromeos-armv7l.tar.xz'
,
armv7l:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/jdk8/8u2
91_armv7l/jdk8-8u29
1-chromeos-armv7l.tar.xz'
,
i686:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/jdk8/8u2
91_i686/jdk8-8u29
1-chromeos-i686.tar.xz'
,
x86_64:
'https://gitlab.com/api/v4/projects/26210301/packages/generic/jdk8/8u2
91_x86_64/jdk8-8u29
1-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'
cd7eaa50a24c5fd23a3239955b4e8d307269265f83cac4b6c5d0b8c034db95f0
'
,
armv7l:
'
cd7eaa50a24c5fd23a3239955b4e8d307269265f83cac4b6c5d0b8c034db95f0
'
,
i686:
'
1875067e9c3d376a7823260508cf9ec9f0413a0328fc53d045389f5f064adc9f
'
,
x86_64:
'2
2a574bf80181b74b09256bd4832db6e7bb4bab688ab139e27ad90237a58322e
'
,
aarch64:
'
fcc3bef6f8f8b96841f99ab8f9c9f0bd091a5694cdb9a0f41a96b73f753aa456
'
,
armv7l:
'
fcc3bef6f8f8b96841f99ab8f9c9f0bd091a5694cdb9a0f41a96b73f753aa456
'
,
i686:
'
4955fe5fceafbb6478add3632659aefad5e506e41f7c6989c9fb784f40e56085
'
,
x86_64:
'2
e33ed63d6eb43fb820bdc45f93aecec5e84b4e308cf39d8ab46720b37f43276
'
,
})
def
self
.
preflight
...
...
@@ -30,13 +30,13 @@ class Jdk8 < Package
case
ARCH
when
'aarch64'
,
'armv7l'
jdk_bin
=
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-arm32-vfp-hflt.tar.gz"
jdk_sha256
=
'
a176d6f216717ac0eac15efd00d07849d9d2ef53b9d5902929b421aaae22fc43
'
jdk_sha256
=
'
9a28e6dd42786c50c1ecb71194dafd65aaa148fcf6a620e6da54495f42e3ff2c
'
when
'i686'
jdk_bin
=
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-i586.tar.gz"
jdk_sha256
=
'
ff2118e4ee8c60dca34b9612199b60c9d6fcb61ea31d02cdbc8f6d34f221dfe
d'
jdk_sha256
=
'
8d28779179de73bfc1915151e37511664aaedf272b95fb8810ebdc36d63ff42
d'
when
'x86_64'
jdk_bin
=
"
#{
HOME
}
/Downloads/jdk-
#{
version
}
-linux-x64.tar.gz"
jdk_sha256
=
'
85e8c7da7248c7450fb105567a78841d0973597850776c24a527feb02ef3e586
'
jdk_sha256
=
'
c5052d2e1dd9621a44658ef06be145c5cdfcd7ea956c0c9d655ccd64e79c8613
'
end
unless
File
.
exists?
jdk_bin
puts
...
...
@@ -53,10 +53,10 @@ class Jdk8 < Package
system
"tar xvf
#{
jdk_bin
}
"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/jdk8"
FileUtils
.
cd
'jdk1.8.0_2
8
1'
do
FileUtils
.
cd
'jdk1.8.0_2
9
1'
do
FileUtils
.
rm_f
'src.zip'
FileUtils
.
rm_f
'javafx-src.zip'
FileUtils
.
cp_r
Dir
.
glob
(
'*'
)
,
"
#{
CREW_DEST_PREFIX
}
/share/jdk8/"
FileUtils
.
cp_r
Dir
[
'*'
]
,
"
#{
CREW_DEST_PREFIX
}
/share/jdk8/"
end
FileUtils
.
cd
"
#{
CREW_DEST_PREFIX
}
/share/jdk8/bin"
do
system
"find -type f -exec ln -s
#{
CREW_PREFIX
}
/share/jdk8/bin/{}
#{
CREW_DEST_PREFIX
}
/bin/{}
\\
;"
...
...
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