This commit is contained in:
BIN
activation-JAF-1_2_0.tar.gz
(Stored with Git LFS)
BIN
activation-JAF-1_2_0.tar.gz
(Stored with Git LFS)
Binary file not shown.
1236
config.guess
vendored
1236
config.guess
vendored
File diff suppressed because it is too large
Load Diff
94
config.sub
vendored
94
config.sub
vendored
@@ -1,12 +1,14 @@
|
||||
#! /bin/sh
|
||||
# Configuration validation subroutine script.
|
||||
# Copyright 1992-2021 Free Software Foundation, Inc.
|
||||
# Copyright 1992-2022 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2021-01-08'
|
||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||
|
||||
timestamp='2022-01-03'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
@@ -50,7 +52,14 @@ timestamp='2021-01-08'
|
||||
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
||||
# It is wrong to echo any other type of specification.
|
||||
|
||||
me=$(echo "$0" | sed -e 's,.*/,,')
|
||||
# The "shellcheck disable" line above the timestamp inhibits complaints
|
||||
# about features and limitations of the classic Bourne shell that were
|
||||
# superseded or lifted in POSIX. However, this script identifies a wide
|
||||
# variety of pre-POSIX systems that do not have POSIX shells at all, and
|
||||
# even some reasonably current systems (Solaris 10 as case-in-point) still
|
||||
# have a pre-POSIX /bin/sh.
|
||||
|
||||
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||
|
||||
usage="\
|
||||
Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
|
||||
@@ -67,7 +76,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
||||
version="\
|
||||
GNU config.sub ($timestamp)
|
||||
|
||||
Copyright 1992-2021 Free Software Foundation, Inc.
|
||||
Copyright 1992-2022 Free Software Foundation, Inc.
|
||||
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
@@ -112,9 +121,11 @@ esac
|
||||
|
||||
# Split fields of configuration type
|
||||
# shellcheck disable=SC2162
|
||||
saved_IFS=$IFS
|
||||
IFS="-" read field1 field2 field3 field4 <<EOF
|
||||
$1
|
||||
EOF
|
||||
IFS=$saved_IFS
|
||||
|
||||
# Separate into logical components for further validation
|
||||
case $1 in
|
||||
@@ -163,6 +174,10 @@ case $1 in
|
||||
basic_machine=$field1
|
||||
basic_os=$field2
|
||||
;;
|
||||
zephyr*)
|
||||
basic_machine=$field1-unknown
|
||||
basic_os=$field2
|
||||
;;
|
||||
# Manufacturers
|
||||
dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
|
||||
| att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
|
||||
@@ -769,22 +784,22 @@ case $basic_machine in
|
||||
vendor=hp
|
||||
;;
|
||||
i*86v32)
|
||||
cpu=$(echo "$1" | sed -e 's/86.*/86/')
|
||||
cpu=`echo "$1" | sed -e 's/86.*/86/'`
|
||||
vendor=pc
|
||||
basic_os=sysv32
|
||||
;;
|
||||
i*86v4*)
|
||||
cpu=$(echo "$1" | sed -e 's/86.*/86/')
|
||||
cpu=`echo "$1" | sed -e 's/86.*/86/'`
|
||||
vendor=pc
|
||||
basic_os=sysv4
|
||||
;;
|
||||
i*86v)
|
||||
cpu=$(echo "$1" | sed -e 's/86.*/86/')
|
||||
cpu=`echo "$1" | sed -e 's/86.*/86/'`
|
||||
vendor=pc
|
||||
basic_os=sysv
|
||||
;;
|
||||
i*86sol2)
|
||||
cpu=$(echo "$1" | sed -e 's/86.*/86/')
|
||||
cpu=`echo "$1" | sed -e 's/86.*/86/'`
|
||||
vendor=pc
|
||||
basic_os=solaris2
|
||||
;;
|
||||
@@ -917,14 +932,16 @@ case $basic_machine in
|
||||
;;
|
||||
leon-*|leon[3-9]-*)
|
||||
cpu=sparc
|
||||
vendor=$(echo "$basic_machine" | sed 's/-.*//')
|
||||
vendor=`echo "$basic_machine" | sed 's/-.*//'`
|
||||
;;
|
||||
|
||||
*-*)
|
||||
# shellcheck disable=SC2162
|
||||
saved_IFS=$IFS
|
||||
IFS="-" read cpu vendor <<EOF
|
||||
$basic_machine
|
||||
EOF
|
||||
IFS=$saved_IFS
|
||||
;;
|
||||
# We use `pc' rather than `unknown'
|
||||
# because (1) that's what they normally are, and
|
||||
@@ -1003,6 +1020,11 @@ case $cpu-$vendor in
|
||||
;;
|
||||
|
||||
# Here we normalize CPU types with a missing or matching vendor
|
||||
armh-unknown | armh-alt)
|
||||
cpu=armv7l
|
||||
vendor=alt
|
||||
basic_os=${basic_os:-linux-gnueabihf}
|
||||
;;
|
||||
dpx20-unknown | dpx20-bull)
|
||||
cpu=rs6000
|
||||
vendor=bull
|
||||
@@ -1084,7 +1106,7 @@ case $cpu-$vendor in
|
||||
cpu=mipsisa64sb1el
|
||||
;;
|
||||
sh5e[lb]-*)
|
||||
cpu=$(echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/')
|
||||
cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'`
|
||||
;;
|
||||
spur-*)
|
||||
cpu=spur
|
||||
@@ -1102,9 +1124,9 @@ case $cpu-$vendor in
|
||||
cpu=x86_64
|
||||
;;
|
||||
xscale-* | xscalee[bl]-*)
|
||||
cpu=$(echo "$cpu" | sed 's/^xscale/arm/')
|
||||
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
|
||||
;;
|
||||
arm64-*)
|
||||
arm64-* | aarch64le-*)
|
||||
cpu=aarch64
|
||||
;;
|
||||
|
||||
@@ -1165,7 +1187,7 @@ case $cpu-$vendor in
|
||||
| alphapca5[67] | alpha64pca5[67] \
|
||||
| am33_2.0 \
|
||||
| amdgcn \
|
||||
| arc | arceb \
|
||||
| arc | arceb | arc32 | arc64 \
|
||||
| arm | arm[lb]e | arme[lb] | armv* \
|
||||
| avr | avr32 \
|
||||
| asmjs \
|
||||
@@ -1204,9 +1226,13 @@ case $cpu-$vendor in
|
||||
| mips64vr5900 | mips64vr5900el \
|
||||
| mipsisa32 | mipsisa32el \
|
||||
| mipsisa32r2 | mipsisa32r2el \
|
||||
| mipsisa32r3 | mipsisa32r3el \
|
||||
| mipsisa32r5 | mipsisa32r5el \
|
||||
| mipsisa32r6 | mipsisa32r6el \
|
||||
| mipsisa64 | mipsisa64el \
|
||||
| mipsisa64r2 | mipsisa64r2el \
|
||||
| mipsisa64r3 | mipsisa64r3el \
|
||||
| mipsisa64r5 | mipsisa64r5el \
|
||||
| mipsisa64r6 | mipsisa64r6el \
|
||||
| mipsisa64sb1 | mipsisa64sb1el \
|
||||
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||
@@ -1283,35 +1309,37 @@ esac
|
||||
if test x$basic_os != x
|
||||
then
|
||||
|
||||
# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
|
||||
# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
|
||||
# set os.
|
||||
case $basic_os in
|
||||
gnu/linux*)
|
||||
kernel=linux
|
||||
os=$(echo $basic_os | sed -e 's|gnu/linux|gnu|')
|
||||
os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
|
||||
;;
|
||||
os2-emx)
|
||||
kernel=os2
|
||||
os=$(echo $basic_os | sed -e 's|os2-emx|emx|')
|
||||
os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
|
||||
;;
|
||||
nto-qnx*)
|
||||
kernel=nto
|
||||
os=$(echo $basic_os | sed -e 's|nto-qnx|qnx|')
|
||||
os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
|
||||
;;
|
||||
*-*)
|
||||
# shellcheck disable=SC2162
|
||||
saved_IFS=$IFS
|
||||
IFS="-" read kernel os <<EOF
|
||||
$basic_os
|
||||
EOF
|
||||
IFS=$saved_IFS
|
||||
;;
|
||||
# Default OS when just kernel was specified
|
||||
nto*)
|
||||
kernel=nto
|
||||
os=$(echo $basic_os | sed -e 's|nto|qnx|')
|
||||
os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
|
||||
;;
|
||||
linux*)
|
||||
kernel=linux
|
||||
os=$(echo $basic_os | sed -e 's|linux|gnu|')
|
||||
os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
|
||||
;;
|
||||
*)
|
||||
kernel=
|
||||
@@ -1332,7 +1360,7 @@ case $os in
|
||||
os=cnk
|
||||
;;
|
||||
solaris1 | solaris1.*)
|
||||
os=$(echo $os | sed -e 's|solaris1|sunos4|')
|
||||
os=`echo "$os" | sed -e 's|solaris1|sunos4|'`
|
||||
;;
|
||||
solaris)
|
||||
os=solaris2
|
||||
@@ -1361,7 +1389,7 @@ case $os in
|
||||
os=sco3.2v4
|
||||
;;
|
||||
sco3.2.[4-9]*)
|
||||
os=$(echo $os | sed -e 's/sco3.2./sco3.2v/')
|
||||
os=`echo "$os" | sed -e 's/sco3.2./sco3.2v/'`
|
||||
;;
|
||||
sco*v* | scout)
|
||||
# Don't match below
|
||||
@@ -1391,7 +1419,7 @@ case $os in
|
||||
os=lynxos
|
||||
;;
|
||||
mac[0-9]*)
|
||||
os=$(echo "$os" | sed -e 's|mac|macos|')
|
||||
os=`echo "$os" | sed -e 's|mac|macos|'`
|
||||
;;
|
||||
opened*)
|
||||
os=openedition
|
||||
@@ -1400,10 +1428,10 @@ case $os in
|
||||
os=os400
|
||||
;;
|
||||
sunos5*)
|
||||
os=$(echo "$os" | sed -e 's|sunos5|solaris2|')
|
||||
os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
|
||||
;;
|
||||
sunos6*)
|
||||
os=$(echo "$os" | sed -e 's|sunos6|solaris3|')
|
||||
os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
|
||||
;;
|
||||
wince*)
|
||||
os=wince
|
||||
@@ -1437,7 +1465,7 @@ case $os in
|
||||
;;
|
||||
# Preserve the version number of sinix5.
|
||||
sinix5.*)
|
||||
os=$(echo $os | sed -e 's|sinix|sysv|')
|
||||
os=`echo "$os" | sed -e 's|sinix|sysv|'`
|
||||
;;
|
||||
sinix*)
|
||||
os=sysv4
|
||||
@@ -1684,7 +1712,7 @@ fi
|
||||
# Now, validate our (potentially fixed-up) OS.
|
||||
case $os in
|
||||
# Sometimes we do "kernel-libc", so those need to count as OSes.
|
||||
musl* | newlib* | uclibc*)
|
||||
musl* | newlib* | relibc* | uclibc*)
|
||||
;;
|
||||
# Likewise for "kernel-abi"
|
||||
eabi* | gnueabi*)
|
||||
@@ -1707,12 +1735,12 @@ case $os in
|
||||
| nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
|
||||
| clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
|
||||
| mirbsd* | netbsd* | dicos* | openedition* | ose* \
|
||||
| bitrig* | openbsd* | solidbsd* | libertybsd* | os108* \
|
||||
| bitrig* | openbsd* | secbsd* | solidbsd* | libertybsd* | os108* \
|
||||
| ekkobsd* | freebsd* | riscix* | lynxos* | os400* \
|
||||
| bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
|
||||
| ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
|
||||
| udi* | lites* | ieee* | go32* | aux* | hcos* \
|
||||
| chorusrdb* | cegcc* | glidix* \
|
||||
| chorusrdb* | cegcc* | glidix* | serenity* \
|
||||
| cygwin* | msys* | pe* | moss* | proelf* | rtems* \
|
||||
| midipix* | mingw32* | mingw64* | mint* \
|
||||
| uxpv* | beos* | mpeix* | udk* | moxiebox* \
|
||||
@@ -1725,7 +1753,8 @@ case $os in
|
||||
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx*)
|
||||
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
||||
| fiwix* )
|
||||
;;
|
||||
# This one is extra strict with allowed versions
|
||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||
@@ -1742,11 +1771,12 @@ esac
|
||||
# As a final step for OS-related things, validate the OS-kernel combination
|
||||
# (given a valid OS), if there is a kernel.
|
||||
case $kernel-$os in
|
||||
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | linux-musl* | linux-uclibc* )
|
||||
linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \
|
||||
| linux-musl* | linux-relibc* | linux-uclibc* )
|
||||
;;
|
||||
uclinux-uclibc* )
|
||||
;;
|
||||
-dietlibc* | -newlib* | -musl* | -uclibc* )
|
||||
-dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* )
|
||||
# These are just libc implementations, not actual OSes, and thus
|
||||
# require a kernel.
|
||||
echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
|
||||
|
@@ -20,7 +20,6 @@
|
||||
%{!?arm6:%global arm6 armv3l armv4b armv4l armv4tl armv5b armv5l armv5teb armv5tel armv5tejl armv6l armv6hl}
|
||||
%global jit_arches %{ix86} x86_64 ppc64 ppc64le %{aarch64} %{arm} s390x
|
||||
%global debug 0
|
||||
%global add_back_javaee_modules 0
|
||||
%global buildoutputdir build
|
||||
# Convert an absolute path to a relative path. Each symbolic link is
|
||||
# specified relative to the directory in which it is installed so that
|
||||
@@ -32,33 +31,15 @@
|
||||
# Standard JPackage naming and versioning defines.
|
||||
%global featurever 17
|
||||
%global interimver 0
|
||||
%global updatever 2
|
||||
%global updatever 3
|
||||
%global patchver 0
|
||||
%global datever 2022-01-18
|
||||
%global buildver 8
|
||||
%global datever 2022-04-19
|
||||
%global buildver 5
|
||||
%global openjdk_repo jdk17u
|
||||
%global openjdk_tag jdk-%{featurever}.%{interimver}.%{updatever}+%{buildver}
|
||||
%global openjdk_dir %{openjdk_repo}-jdk-%{featurever}.%{interimver}.%{updatever}-%{buildver}
|
||||
# JavaEE modules
|
||||
%global java_atk_wrapper_version 0.33.2
|
||||
%global java_activation_repository activation
|
||||
%global java_activation_tag JAF-1_2_0
|
||||
%global java_xml_bind_repository jaxb-spec
|
||||
%global java_xml_bind_tag 2.4.0
|
||||
%global java_xml_soap_repository javax.xml.soap
|
||||
%global java_xml_soap_tag 1.4.0
|
||||
%global java_annotation_repository javax.annotation
|
||||
%global java_annotation_tag 1.3.2
|
||||
%global java_xml_ws_repository jax-ws-spec
|
||||
%global java_xml_ws_tag 2.4.0
|
||||
%global com_sun_xml_fastinfoset_repository metro-fi
|
||||
%global com_sun_xml_fastinfoset_tag 1.2.15-RELEASE
|
||||
%global org_jvnet_staxex_repository metro-stax-ex
|
||||
%global org_jvnet_staxex_tag 1.8
|
||||
%global com_sun_istack_runtime_repository jaxb-istack-commons
|
||||
%global com_sun_istack_runtime_tag 3.0.7-RELEASE
|
||||
%global jaxb_ri_repository jaxb-v2
|
||||
%global jaxb_ri_tag 2.3.1
|
||||
# priority must be 6 digits in total
|
||||
%if 0%{?suse_version} > 1500 || 0%{?java_bootstrap}
|
||||
%global priority 2705
|
||||
@@ -142,7 +123,7 @@
|
||||
%global tapsetdir %{tapsetroot}/tapset/%{_build_cpu}
|
||||
%endif
|
||||
Name: java-%{featurever}-openjdk
|
||||
Version: %{featurever}.%{interimver}.%{updatever}.%{patchver}
|
||||
Version: %{featurever}.%{interimver}.%{updatever}.%{patchver}~%{buildver}
|
||||
Release: 0
|
||||
Summary: OpenJDK %{featurever} Runtime Environment
|
||||
License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND MPL-1.1 AND SUSE-Public-Domain AND W3C
|
||||
@@ -164,24 +145,6 @@ Source13: nss.fips.cfg.in
|
||||
Source14: TestCryptoLevel.java
|
||||
# Ensure ECDSA is working
|
||||
Source15: TestECDSA.java
|
||||
# https://codeload.github.com/javaee/%{java_activation_repository}/tar.gz/%{java_activation_tag}
|
||||
Source20: %{java_activation_repository}-%{java_activation_tag}.tar.gz
|
||||
# https://codeload.github.com/javaee/%{java_xml_bind_repository}/tar.gz/%{java_xml_bind_tag}
|
||||
Source21: %{java_xml_bind_repository}-%{java_xml_bind_tag}.tar.gz
|
||||
# https://codeload.github.com/javaee/%{java_xml_soap_repository}/tar.gz/%{java_xml_soap_tag}
|
||||
Source22: %{java_xml_soap_repository}-%{java_xml_soap_tag}.tar.gz
|
||||
# https://codeload.github.com/javaee/%{java_annotation_repository}/tar.gz/%{java_annotation_tag}
|
||||
Source23: %{java_annotation_repository}-%{java_annotation_tag}.tar.gz
|
||||
# https://codeload.github.com/javaee/%{java_xml_ws_repository}/tar.gz/%{java_xml_ws_tag}
|
||||
Source24: %{java_xml_ws_repository}-%{java_xml_ws_tag}.tar.gz
|
||||
# https://codeload.github.com/javaee/%{com_sun_xml_fastinfoset_repository}/tar.gz/%{com_sun_xml_fastinfoset_tag}
|
||||
Source25: %{com_sun_xml_fastinfoset_repository}-%{com_sun_xml_fastinfoset_tag}.tar.gz
|
||||
# https://codeload.github.com/javaee/%{org_jvnet_staxex_repository}/tar.gz/%{org_jvnet_staxex_tag}
|
||||
Source26: %{org_jvnet_staxex_repository}-%{org_jvnet_staxex_tag}.tar.gz
|
||||
# https://codeload.github.com/javaee/%{com_sun_istack_runtime_repository}/tar.gz/%{com_sun_istack_runtime_tag}
|
||||
Source27: %{com_sun_istack_runtime_repository}-%{com_sun_istack_runtime_tag}.tar.gz
|
||||
# https://codeload.github.com/javaee/%{jaxb_ri_repository}/tar.gz/%{jaxb_ri_tag}
|
||||
Source28: %{jaxb_ri_repository}-%{jaxb_ri_tag}.tar.gz
|
||||
# Fresh config.guess and config.sub files
|
||||
# wget -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
|
||||
Source100: config.guess
|
||||
@@ -449,15 +412,6 @@ need to.
|
||||
%prep
|
||||
%setup -q -n %{openjdk_dir}
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 8
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 20
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 21
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 22
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 23
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 24
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 25
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 26
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 27
|
||||
%setup -q -D -n %{openjdk_dir} -T -a 28
|
||||
|
||||
# Replace config.sub and config.guess with fresh versions
|
||||
cp %{SOURCE100} make/autoconf/build-aux/
|
||||
@@ -569,7 +523,7 @@ bash ../configure \
|
||||
--with-version-patch=%{patchver} \
|
||||
--with-version-date=%{datever} \
|
||||
--with-version-build=%{buildver} \
|
||||
%if 1
|
||||
%if 0
|
||||
--with-version-pre="" \
|
||||
%endif
|
||||
--with-version-opt="suse-%{release}-%{_arch}" \
|
||||
@@ -637,152 +591,6 @@ $JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "atk.wrappe
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
%if %{add_back_javaee_modules}
|
||||
|
||||
# Merge back some Java EE modules removed in OpenJDK 11 by JEP 320
|
||||
|
||||
# Build the java.activation framework
|
||||
|
||||
pushd %{java_activation_repository}-%{java_activation_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find activation -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build:activation/src/main/resources $JAVA_HOME/../jmods/java.activation.jmod
|
||||
popd
|
||||
# Merge the java activation framework into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "java.activation,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the java.xml.bind
|
||||
|
||||
pushd %{java_xml_bind_repository}-%{java_xml_bind_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find jaxb-api/src/main/java/ -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build:jaxb-api/src/main/resources $JAVA_HOME/../jmods/java.xml.bind.jmod
|
||||
popd
|
||||
# Merge java.xml.bind into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "java.xml.bind,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the java.xml.soap
|
||||
|
||||
pushd %{java_xml_soap_repository}-%{java_xml_soap_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find src/main/ -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build $JAVA_HOME/../jmods/java.xml.soap.jmod
|
||||
popd
|
||||
# Merge java.xml.soap into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "java.xml.soap,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the java.annotation
|
||||
|
||||
pushd %{java_annotation_repository}-%{java_annotation_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find src/main/java -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build $JAVA_HOME/../jmods/java.annotation.jmod
|
||||
popd
|
||||
# Merge java.annotation into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "java.annotation,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the java.xml.ws
|
||||
|
||||
pushd %{java_xml_ws_repository}-%{java_xml_ws_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find api/src/main -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build:api/src/main/resources $JAVA_HOME/../jmods/java.xml.ws.jmod
|
||||
popd
|
||||
# Merge java.xml.ws into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "java.xml.ws,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the com.sum.xml.fastinfoset
|
||||
|
||||
pushd %{com_sun_xml_fastinfoset_repository}-%{com_sun_xml_fastinfoset_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find code/fastinfoset/src/main/java -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build:code/fastinfoset/src/main/resources $JAVA_HOME/../jmods/com.sun.xml.fastinfoset.jmod
|
||||
popd
|
||||
# Merge com.sun.xml.fastinfoset into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "com.sun.xml.fastinfoset,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the org.jvnet.staxex
|
||||
|
||||
pushd %{org_jvnet_staxex_repository}-%{org_jvnet_staxex_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find stax-ex/src/java -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build $JAVA_HOME/../jmods/org.jvnet.staxex.jmod
|
||||
popd
|
||||
# Merge org.jvnet.staxex into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "org.jvnet.staxex,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the com.sun.istack.runtime
|
||||
|
||||
pushd %{com_sun_istack_runtime_repository}-%{com_sun_istack_runtime_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find istack-commons/runtime/src/main/java -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build $JAVA_HOME/../jmods/com.sun.istack.runtime.jmod
|
||||
popd
|
||||
# Merge com.sun.istack into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "com.sun.istack.runtime,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the com.sun.xml.txw2
|
||||
|
||||
pushd %{jaxb_ri_repository}-%{jaxb_ri_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find jaxb-ri/txw/runtime/src/main/java -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build $JAVA_HOME/../jmods/com.sun.xml.txw2.jmod
|
||||
popd
|
||||
# Merge org.jvnet.staxex into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "com.sun.xml.txw2,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
# Build the com.sun.xml.bind
|
||||
|
||||
pushd %{jaxb_ri_repository}-%{jaxb_ri_tag}
|
||||
if [ -e build ]; then rm -rf build; fi
|
||||
mkdir -p build
|
||||
$JAVA_HOME/bin/javac -d build `find jaxb-ri/runtime/impl/src/main/java -name \*.java | xargs`
|
||||
$JAVA_HOME/bin/jmod create --do-not-resolve-by-default --class-path=build:jaxb-ri/runtime/impl/src/main/resources $JAVA_HOME/../jmods/com.sun.xml.bind.jmod
|
||||
popd
|
||||
# Merge org.jvnet.staxex into the JDK
|
||||
source $JAVA_HOME/release; export MODULES
|
||||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/../jmods --add-modules "com.sun.xml.bind,${MODULES//\ /,}" --output $JAVA_HOME/../newjdk
|
||||
cp -rf $JAVA_HOME/../newjdk/* $JAVA_HOME/
|
||||
rm -rf $JAVA_HOME/../newjdk
|
||||
|
||||
%endif
|
||||
|
||||
# cacerts are generated in runtime in openSUSE
|
||||
if [ -f %{buildoutputdir}/%{imagesdir}/jdk/lib/security/cacerts ]; then
|
||||
rm %{buildoutputdir}/%{imagesdir}/jdk/lib/security/cacerts
|
||||
|
BIN
javax.annotation-1.3.2.tar.gz
(Stored with Git LFS)
BIN
javax.annotation-1.3.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
javax.xml.soap-1.4.0.tar.gz
(Stored with Git LFS)
BIN
javax.xml.soap-1.4.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
jax-ws-spec-2.4.0.tar.gz
(Stored with Git LFS)
BIN
jax-ws-spec-2.4.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
jaxb-istack-commons-3.0.7-RELEASE.tar.gz
(Stored with Git LFS)
BIN
jaxb-istack-commons-3.0.7-RELEASE.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
jaxb-spec-2.4.0.tar.gz
(Stored with Git LFS)
BIN
jaxb-spec-2.4.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
jaxb-v2-2.3.1.tar.gz
(Stored with Git LFS)
BIN
jaxb-v2-2.3.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2fdd23261526362d4aaf58323441d4c31d29de2e374ba94bbf2727a00adc0ea7
|
||||
size 104741920
|
3
jdk-17.0.3+5.tar.gz
Normal file
3
jdk-17.0.3+5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a557f4d2972bbbbcdc12fa7e167ad60b4ee1461a9bc7ad259a003172c34e6331
|
||||
size 104783568
|
BIN
metro-fi-1.2.15-RELEASE.tar.gz
(Stored with Git LFS)
BIN
metro-fi-1.2.15-RELEASE.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
metro-stax-ex-1.8.tar.gz
(Stored with Git LFS)
BIN
metro-stax-ex-1.8.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user