java 8u_282.3.18.0

This commit is contained in:
Idris Kalp
2021-03-09 22:38:12 +03:00
parent 810b4e6acc
commit b41803a380
2 changed files with 74 additions and 63 deletions
@@ -4,13 +4,17 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
import subprocess
from pisi.actionsapi import get from pisi.actionsapi import get
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
shelltools.export("ALT_PARALLEL_COMPILE_JOBS", get.makeJOBS()) jobs = "-j"+ subprocess.check_output("nproc 2>/dev/null", shell=True).rstrip("\n")
shelltools.export("HOTSPOT_BUILD_JOBS", get.makeJOBS())
shelltools.export("ALT_PARALLEL_COMPILE_JOBS", jobs)
shelltools.export("HOTSPOT_BUILD_JOBS", jobs)
shelltools.export("LC_ALL", "C") shelltools.export("LC_ALL", "C")
def setup(): def setup():
@@ -33,8 +37,8 @@ def setup():
--enable-bootstrap \ --enable-bootstrap \
--with-jdk-home=/usr/lib/jvm/java-8-openjdk \ --with-jdk-home=/usr/lib/jvm/java-8-openjdk \
--with-ecj-jar=/usr/share/java/ecj.jar \ --with-ecj-jar=/usr/share/java/ecj.jar \
--with-pkgversion='PisiLinux build 8.u275_3.17.1' \ --with-pkgversion='PisiLinux build 8.u282_3.18.0' \
" % get.makeJOBS().replace("-j", "")) " % jobs.replace("-j", ""))
def build(): def build():
@@ -65,14 +69,14 @@ def install():
if not f in ["java", "java-rmi.cgi", "keytool", "orbd", if not f in ["java", "java-rmi.cgi", "keytool", "orbd",
"pack200", "policytool", "rmid", "rmiregistry", "pack200", "policytool", "rmid", "rmiregistry",
"servertool", "tnameserv", "unpack200", "jjs", "clhsdb", "hsdb"]: "servertool", "tnameserv", "unpack200", "jjs", "clhsdb", "hsdb"]:
pisitools.dosym("/usr/lib/jvm/java-8-openjdk/bin/%s" % f, "/usr/bin/%s_8" % f) pisitools.dosym("/usr/lib/jvm/java-8-openjdk/bin/%s" % f, "/usr/bin/%s" % f)
#install man pages #install man pages
for man in shelltools.ls("images/j2sdk-image/man/man1"): for man in shelltools.ls("images/j2sdk-image/man/man1"):
pisitools.insinto("/usr/share/man/man1", "images/j2sdk-image/man/man1/%s" % man, "%s_8" % man) pisitools.insinto("/usr/share/man/man1", "images/j2sdk-image/man/man1/%s" % man, "%s" % man)
for man in shelltools.ls("images/j2sdk-image/man/ja_JP.UTF-8/man1"): for man in shelltools.ls("images/j2sdk-image/man/ja_JP.UTF-8/man1"):
pisitools.insinto("/usr/share/man/ja/man1", "images/j2sdk-image/man/ja_JP.UTF-8/man1/%s" % man, "%s_8" % man ) pisitools.insinto("/usr/share/man/ja/man1", "images/j2sdk-image/man/ja_JP.UTF-8/man1/%s" % man, "%s" % man )
pisitools.insinto("/usr/share/applications", "../jconsole.desktop", "jconsole-jdk8.desktop") pisitools.insinto("/usr/share/applications", "../jconsole.desktop", "jconsole-jdk8.desktop")
shelltools.system("chmod go+r %s%s/lib/sa-jdi.jar" %(get.installDIR(), jvmdir)) shelltools.system("chmod go+r %s%s/lib/sa-jdi.jar" %(get.installDIR(), jvmdir))
@@ -82,7 +86,7 @@ def install():
#pisitools.insinto("%s/jre/lib/amd64" % jvmdir , "j2sdk-image/jre/lib/amd64/xawt") #pisitools.insinto("%s/jre/lib/amd64" % jvmdir , "j2sdk-image/jre/lib/amd64/xawt")
for binfile in shelltools.ls("images/j2sdk-image/jre/bin"): for binfile in shelltools.ls("images/j2sdk-image/jre/bin"):
pisitools.dosym("%s/jre/bin/%s" % (jvmdir, binfile), "/usr/bin/%s_8" % binfile) pisitools.dosym("%s/jre/bin/%s" % (jvmdir, binfile), "/usr/bin/%s" % binfile)
pisitools.insinto("/usr/share/applications", "../policytool.desktop", "policytool-jdk8.desktop") pisitools.insinto("/usr/share/applications", "../policytool.desktop", "policytool-jdk8.desktop")
@@ -12,16 +12,16 @@
<IsA>app:gui</IsA> <IsA>app:gui</IsA>
<Summary>Open Java Development Kit</Summary> <Summary>Open Java Development Kit</Summary>
<Description>OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE).</Description> <Description>OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE).</Description>
<Archive sha1sum="d80b655c3146b21b3152d65e1e8733e4aebf1885" type="tarxz">http://icedtea.wildebeest.org/download/source/icedtea-3.17.1.tar.xz</Archive> <Archive sha1sum="0e596a5e07b5e0e8129eaf1de30fb6d3d2805a3d" type="tarxz">http://icedtea.wildebeest.org/download/source/icedtea-3.18.0.tar.xz</Archive>
<Archive sha1sum="027eecc55a9e11555ac87d0f3dc59f79b3ae8194" type="binary" target="icedtea-3.17.1/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.17.1/corba.tar.xz</Archive> <Archive sha1sum="0125ab4d0bff6558edf041656392f9a005a29e26" type="binary" target="icedtea-3.18.0/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.18.0/corba.tar.xz</Archive>
<Archive sha1sum="94d7d652abe8cb014d0c20d9f247d1989a004d50" type="binary" target="icedtea-3.17.1/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.17.1/jaxp.tar.xz</Archive> <Archive sha1sum="d813bf39eb498b056512a972bf8f49bca0893446" type="binary" target="icedtea-3.18.0/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.18.0/jaxp.tar.xz</Archive>
<Archive sha1sum="a1474326458645fc6bbcc18cbee6711ce3b0afbb" type="binary" target="icedtea-3.17.1/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.17.1/jaxws.tar.xz</Archive> <Archive sha1sum="94b81685c813e48e48e0eab90eb4061da414a02d" type="binary" target="icedtea-3.18.0/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.18.0/jaxws.tar.xz</Archive>
<Archive sha1sum="45719b50939412eac2c03ccdf892ec1a4c570038" type="binary" target="icedtea-3.17.1/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.17.1/jdk.tar.xz</Archive> <Archive sha1sum="1c9dc38a060054ab3d6512aa6bbe67a2fcee1dcf" type="binary" target="icedtea-3.18.0/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.18.0/jdk.tar.xz</Archive>
<Archive sha1sum="548999d2ab1bbb0d97f2b81fa2354b6d295b6e27" type="binary" target="icedtea-3.17.1/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.17.1/langtools.tar.xz</Archive> <Archive sha1sum="c894cd0a0876ff0b6b8185734e66bf719147e30d" type="binary" target="icedtea-3.18.0/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.18.0/langtools.tar.xz</Archive>
<Archive sha1sum="6e09837903577b5e0f1caa47756979fea560cf4d" type="binary" target="icedtea-3.17.1/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.17.1/openjdk.tar.xz</Archive> <Archive sha1sum="01af8d35e4c27ae02daf9131c9d883fe6e7efdb8" type="binary" target="icedtea-3.18.0/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.18.0/openjdk.tar.xz</Archive>
<Archive sha1sum="87db28aac4176caf6a0e06394e5c36cac9152ee7" type="binary" target="icedtea-3.17.1/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.17.1/nashorn.tar.xz</Archive> <Archive sha1sum="afd1763fab31c8da1fe13395eff854ef776ee647" type="binary" target="icedtea-3.18.0/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.18.0/nashorn.tar.xz</Archive>
<Archive sha1sum="a615e2ec6fe5dd8c65c03b1f305c63a1c65098f6" type="binary" target="icedtea-3.17.1/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.17.1/hotspot.tar.xz</Archive> <Archive sha1sum="f10da00afad1a09ff88cf34f7be9cfa4b096f3ea" type="binary" target="icedtea-3.18.0/">http://icedtea.wildebeest.org/download/drops/icedtea8/3.18.0/hotspot.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<!-- <Dependency>ant</Dependency> --> <!-- <Dependency>ant</Dependency> -->
<Dependency>wget</Dependency> <Dependency>wget</Dependency>
@@ -89,26 +89,26 @@
<Dependency>libjpeg-turbo</Dependency> <Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin/jfr_8</Path> <Path fileType="executable">/usr/bin/jfr</Path>
<Path fileType="executable">/usr/bin/hsdb_8</Path> <Path fileType="executable">/usr/bin/hsdb</Path>
<Path fileType="executable">/usr/bin/clhsdb_8</Path> <Path fileType="executable">/usr/bin/clhsdb</Path>
<Path fileType="executable">/usr/bin/orbd_8</Path> <Path fileType="executable">/usr/bin/orbd</Path>
<Path fileType="executable">/usr/bin/rmid_8</Path> <Path fileType="executable">/usr/bin/rmid</Path>
<Path fileType="executable">/usr/bin/java_8</Path> <Path fileType="executable">/usr/bin/java</Path>
<Path fileType="executable">/usr/bin/jjs_8</Path> <Path fileType="executable">/usr/bin/jjs</Path>
<Path fileType="executable">/usr/bin/jdeps_8</Path> <Path fileType="executable">/usr/bin/jdeps</Path>
<Path fileType="data">/etc/env.d/25java_jre.csh</Path> <Path fileType="data">/etc/env.d/25java_jre.csh</Path>
<Path fileType="data">/etc/env.d/25java_jre</Path> <Path fileType="data">/etc/env.d/25java_jre</Path>
<Path fileType="config">/etc/java-8-openjdk/</Path> <Path fileType="config">/etc/java-8-openjdk/</Path>
<Path fileType="executable">/usr/bin/pack200_8</Path> <Path fileType="executable">/usr/bin/pack200</Path>
<Path fileType="executable">/usr/bin/keytool_8</Path> <Path fileType="executable">/usr/bin/keytool</Path>
<Path fileType="executable">/usr/bin/tnameserv_8</Path> <Path fileType="executable">/usr/bin/tnameserv</Path>
<Path fileType="executable">/usr/bin/unpack200_8</Path> <Path fileType="executable">/usr/bin/unpack200</Path>
<Path fileType="man">/usr/share/man/man1/rmid.1</Path> <Path fileType="man">/usr/share/man/man1/rmid.1</Path>
<Path fileType="man">/usr/share/man/man1/orbd.1</Path> <Path fileType="man">/usr/share/man/man1/orbd.1</Path>
<Path fileType="man">/usr/share/man/man1/java.1</Path> <Path fileType="man">/usr/share/man/man1/java.1</Path>
<Path fileType="executable">/usr/bin/servertool_8</Path> <Path fileType="executable">/usr/bin/servertool</Path>
<Path fileType="executable">/usr/bin/rmiregistry_8</Path> <Path fileType="executable">/usr/bin/rmiregistry</Path>
<Path fileType="doc">/usr/share/doc/java8-openjdk/</Path> <Path fileType="doc">/usr/share/doc/java8-openjdk/</Path>
<Path fileType="man">/usr/share/man/ja/man1/rmid.1</Path> <Path fileType="man">/usr/share/man/ja/man1/rmid.1</Path>
<Path fileType="man">/usr/share/man/ja/man1/java.1</Path> <Path fileType="man">/usr/share/man/ja/man1/java.1</Path>
@@ -178,10 +178,10 @@
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="doc">/usr/share/doc/openjdk</Path> <Path fileType="doc">/usr/share/doc/openjdk</Path>
<Path fileType="executable">/usr/bin/policytool_8</Path> <Path fileType="executable">/usr/bin/policytool</Path>
<Path fileType="data">/usr/share/icons/hicolor/</Path> <Path fileType="data">/usr/share/icons/hicolor/</Path>
<Path fileType="man">/usr/share/man/man1/policytool.1_8</Path> <Path fileType="man">/usr/share/man/man1/policytool.1</Path>
<Path fileType="man">/usr/share/man/ja/man1/policytool.1_8</Path> <Path fileType="man">/usr/share/man/ja/man1/policytool.1</Path>
<Path fileType="data">/usr/share/applications/policytool-jdk8.desktop</Path> <Path fileType="data">/usr/share/applications/policytool-jdk8.desktop</Path>
<Path fileType="executable">/usr/lib/jvm/java-8-openjdk/jre/bin/policytool</Path> <Path fileType="executable">/usr/lib/jvm/java-8-openjdk/jre/bin/policytool</Path>
<Path fileType="library">/usr/lib/jvm/java-8-openjdk/jre/lib/*/libjsoundalsa.so</Path> <Path fileType="library">/usr/lib/jvm/java-8-openjdk/jre/lib/*/libjsoundalsa.so</Path>
@@ -212,35 +212,35 @@
<Path fileType="data">/etc/env.d/25java_jdk</Path> <Path fileType="data">/etc/env.d/25java_jdk</Path>
<Path fileType="man">/usr/share/man/man1/</Path> <Path fileType="man">/usr/share/man/man1/</Path>
<Path fileType="man">/usr/share/man/ja/man1/</Path> <Path fileType="man">/usr/share/man/ja/man1/</Path>
<Path fileType="executable">/usr/bin/jar_8</Path> <Path fileType="executable">/usr/bin/jar</Path>
<Path fileType="executable">/usr/bin/xjc_8</Path> <Path fileType="executable">/usr/bin/xjc</Path>
<Path fileType="executable">/usr/bin/apt_8</Path> <Path fileType="executable">/usr/bin/apt</Path>
<Path fileType="executable">/usr/bin/jdb_8</Path> <Path fileType="executable">/usr/bin/jdb</Path>
<Path fileType="executable">/usr/bin/jps_8</Path> <Path fileType="executable">/usr/bin/jps</Path>
<Path fileType="executable">/usr/bin/jmap_8</Path> <Path fileType="executable">/usr/bin/jmap</Path>
<Path fileType="executable">/usr/bin/idlj_8</Path> <Path fileType="executable">/usr/bin/idlj</Path>
<Path fileType="executable">/usr/bin/jcmd_8</Path> <Path fileType="executable">/usr/bin/jcmd</Path>
<Path fileType="executable">/usr/bin/jhat_8</Path> <Path fileType="executable">/usr/bin/jhat</Path>
<Path fileType="executable">/usr/bin/rmic_8</Path> <Path fileType="executable">/usr/bin/rmic</Path>
<Path fileType="executable">/usr/bin/javac_8</Path> <Path fileType="executable">/usr/bin/javac</Path>
<Path fileType="executable">/usr/bin/javah_8</Path> <Path fileType="executable">/usr/bin/javah</Path>
<Path fileType="executable">/usr/bin/javap_8</Path> <Path fileType="executable">/usr/bin/javap</Path>
<Path fileType="executable">/usr/bin/jinfo_8</Path> <Path fileType="executable">/usr/bin/jinfo</Path>
<Path fileType="executable">/usr/bin/wsgen_8</Path> <Path fileType="executable">/usr/bin/wsgen</Path>
<Path fileType="executable">/usr/bin/jstat_8</Path> <Path fileType="executable">/usr/bin/jstat</Path>
<Path fileType="executable">/usr/bin/jstack_8</Path> <Path fileType="executable">/usr/bin/jstack</Path>
<Path fileType="executable">/usr/bin/jstatd_8</Path> <Path fileType="executable">/usr/bin/jstatd</Path>
<Path fileType="executable">/usr/bin/javadoc_8</Path> <Path fileType="executable">/usr/bin/javadoc</Path>
<Path fileType="executable">/usr/bin/extcheck_8</Path> <Path fileType="executable">/usr/bin/extcheck</Path>
<Path fileType="executable">/usr/bin/jconsole_8</Path> <Path fileType="executable">/usr/bin/jconsole</Path>
<Path fileType="executable">/usr/bin/wsimport_8</Path> <Path fileType="executable">/usr/bin/wsimport</Path>
<Path fileType="executable">/usr/bin/jarsigner_8</Path> <Path fileType="executable">/usr/bin/jarsigner</Path>
<Path fileType="executable">/usr/bin/jsadebugd_8</Path> <Path fileType="executable">/usr/bin/jsadebugd</Path>
<Path fileType="executable">/usr/bin/schemagen_8</Path> <Path fileType="executable">/usr/bin/schemagen</Path>
<Path fileType="executable">/usr/bin/serialver_8</Path> <Path fileType="executable">/usr/bin/serialver</Path>
<Path fileType="executable">/usr/bin/jrunscript_8</Path> <Path fileType="executable">/usr/bin/jrunscript</Path>
<Path fileType="executable">/usr/bin/appletviewer_8</Path> <Path fileType="executable">/usr/bin/appletviewer</Path>
<Path fileType="executable">/usr/bin/native2ascii_8</Path> <Path fileType="executable">/usr/bin/native2ascii</Path>
<Path fileType="data">/usr/share/applications/jconsole-jdk8.desktop</Path> <Path fileType="data">/usr/share/applications/jconsole-jdk8.desktop</Path>
<Path fileType="header">/usr/lib/jvm/java-8-openjdk/include</Path> <Path fileType="header">/usr/lib/jvm/java-8-openjdk/include</Path>
<Path fileType="library">/usr/lib/jvm/java-8-openjdk/bin/apt</Path> <Path fileType="library">/usr/lib/jvm/java-8-openjdk/bin/apt</Path>
@@ -327,6 +327,13 @@
</Package> </Package>
<History> <History>
<Update release="6">
<Date>2021-03-09</Date>
<Version>8u_282.3.18.0</Version>
<Comment>Version bump</Comment>
<Name>İdris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="5"> <Update release="5">
<Date>2020-12-18</Date> <Date>2020-12-18</Date>
<Version>8u_275.3.17.1</Version> <Version>8u_275.3.17.1</Version>