You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
2.1 KiB
35 lines
2.1 KiB
#!/bin/sh
|
|
set -eu
|
|
|
|
# BIG FAT NOTE/WARNING: Building icedtea-2.6.19 in this manner seems to fail...
|
|
|
|
version_jdk11=11.0.5+6 # https://hg.openjdk.java.net/jdk-updates/jdk11u/tags
|
|
version_jdk10=10.0.2+13 # https://hg.openjdk.java.net/jdk-updates/jdk10u/tags
|
|
version_jdk9=9+181 # https://hg.openjdk.java.net/jdk/jdk/tags
|
|
version_icedtea8=3.13.0 # https://icedtea.classpath.org/wiki/Main_Page#Getting_IcedTea
|
|
version_icedtea7=2.6.19 # https://icedtea.classpath.org/wiki/Main_Page#Getting_IcedTea
|
|
version_ant=1.9.13 # https://ant.apache.org/manual-1.9.x/index.html (1.9.14 seems to fail)
|
|
version_gcc=6.5.0 # Final version
|
|
version_ecj=4.9 # Final version
|
|
|
|
mkdir -p download
|
|
cd download
|
|
|
|
wget -O "jdk11u-jdk-$version_jdk11.tar.bz2" -c "https://hg.openjdk.java.net/jdk-updates/jdk11u/archive/jdk-$version_jdk11.tar.bz2"
|
|
wget -O "jdk10u-jdk-$version_jdk10.tar.bz2" -c "https://hg.openjdk.java.net/jdk-updates/jdk10u/archive/jdk-$version_jdk10.tar.bz2"
|
|
wget -O "jdk-jdk-$version_jdk9.tar.bz2" -c "https://hg.openjdk.java.net/jdk/jdk/archive/jdk-$version_jdk9.tar.bz2"
|
|
wget -c "http://icedtea.wildebeest.org/download/source/icedtea-$version_icedtea8.tar.xz"
|
|
wget -c "http://icedtea.wildebeest.org/download/source/icedtea-$version_icedtea7.tar.xz"
|
|
wget -c "https://archive.apache.org/dist/ant/source/apache-ant-$version_ant-src.tar.bz2"
|
|
wget -c "https://ftp.gnu.org/gnu/gcc/gcc-$version_gcc/gcc-$version_gcc.tar.xz"
|
|
wget -c "ftp://sourceware.org/pub/java/ecj-$version_ecj.jar"
|
|
wget -O javac.in -c 'https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-java/gcj-jdk/files/javac.in?id=56bd759df1d0c750a065b8c845e93d5dfa6b549d'
|
|
|
|
for part in corba.tar.bz2 hotspot.tar.bz2 jaxp.tar.bz2 jaxws.tar.bz2 jdk.tar.bz2 langtools.tar.bz2 openjdk.tar.bz2; do
|
|
wget -O "icedtea-$version_icedtea7-$part" -c "http://icedtea.wildebeest.org/download/drops/icedtea7/$version_icedtea7/$part"
|
|
done
|
|
for part in corba.tar.xz hotspot.tar.xz jaxp.tar.xz jaxws.tar.xz jdk.tar.xz langtools.tar.xz nashorn.tar.xz openjdk.tar.xz; do
|
|
wget -O "icedtea-$version_icedtea8-$part" -c "http://icedtea.wildebeest.org/download/drops/icedtea8/$version_icedtea8/$part"
|
|
done
|
|
|
|
sha256sum -c ../download.sha256
|
|
|