###############################################################################
# SLS: Java Runtime
-# Copyright (c) 2017 Helmuth Varkoly, Nuermberg, Germany.
+# Copyright (c) 2023 Helmuth Varkoly, Nuermberg, Germany.
# All rights reserved.
#
# Authos: Helmuth Varkoly
#
-# Description: SLS to use with OSS's softwaremanagement
+# Description: SLS to use with Cranix's softwaremanagement
###############################################################################
JavaRuntime:
pkg:
VERSION = $(shell cat VERSION )
RELEASE = $(shell cat RELEASE )
NRELEASE = $(shell echo $(RELEASE) + 1 | bc )
-YEAR = $(shell date +%Y )
+YEAR = $(shell date +%Y )
package:
sed s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec.in > oss-pkg-$(PACKAGE).spec
rm -rf oss-pkg-$(PACKAGE)
mv oss-pkg-$(PACKAGE).tar.bz2 /usr/src/packages/SOURCES/
rpmbuild -bb oss-pkg-$(PACKAGE).spec
- for i in $(REPO)/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm; do test -e $$i && rm $$i; done
+ find $(REPO)/noarch -name "oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm" -exec rm {} \;
mv /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch
echo $(NRELEASE) > RELEASE
git commit -a -m "New release"
###############################################################################
# SLS: Java Runtime
-# Copyright (c) 2017 Helmuth Varkoly, Nuermberg, Germany.
+# Copyright (c) 2023 Helmuth Varkoly, Nuermberg, Germany.
# All rights reserved.
#
-# Authos: Helmuth Varkoly
+# Authos: Helmuth Varkoly, Maximilian Grunow
#
# Description: SLS for installation
###############################################################################
{% set LOG_PATH = 'C:\\salt\\var\\log' %}
JavaRuntime:
- '6.0.450':
+ '8.371.0':
{% if ARCH == 'x64' %}
- full_name: 'Java(TM) 6 Update 45 (64-bit)'
- installer: salt://win/repo-ng/JavaRuntime/jre-6u45-windows-x64.exe
- {% else%}
- full_name: 'Java(TM) 6 Update 45'
- installer: salt://win/repo-ng/JavaRuntime/jre-6u45-windows-i586.exe
- {% endif %}
- install_flags: '/s /L "{{ LOG_PATH }}JavaRuntime_inst.log"'
- uninstaller: 'msiexec.exe'
- {% if ARCH == 'x64' %}
- uninstall_flags: '/x {26A24AE4-039D-4CA4-87B4-2F86416045FF} /quiet /log "{{ LOG_PATH }}JavaRuntime_uninst.log" /norestart'
- {% else %}
- uninstall_flags: '/x {26A24AE4-039D-4CA4-87B4-2F83216045FF} /quiet /log "{{ LOG_PATH }}JavaRuntime_uninst.log" /norestart'
- {% endif %}
- locale: de_DE
- msiexec: False
- reboot: False
- '7.0.800':
- {% if ARCH == 'x64' %}
- full_name: 'Java 7 Update 80 (64-bit)'
- installer: salt://win/repo-ng/JavaRuntime/jre-7u80-windows-x64.exe
- {% else%}
- full_name: 'Java 7 Update 80'
- installer: salt://win/repo-ng/JavaRuntime/jre-7u80-windows-i586.exe
- {% endif %}
- install_flags: '/s /L "{{ LOG_PATH }}JavaRuntime_inst.log"'
- uninstaller: 'msiexec.exe'
- {% if ARCH == 'x64' %}
- uninstall_flags: '/x {26A24AE4-039D-4CA4-87B4-2F06417080FF} /quiet /log "{{ LOG_PATH }}JavaRuntime_uninst.log" /norestart'
- {% else %}
- uninstall_flags: '/x {26A24AE4-039D-4CA4-87B4-2F03217080FF} /quiet /log "{{ LOG_PATH }}JavaRuntime_uninst.log" /norestart'
- {% endif %}
- locale: de_DE
- msiexec: False
- reboot: False
- '8.0.1310.11':
- {% if ARCH == 'x64' %}
- full_name: 'Java 8 Update 131 (64-bit)'
- installer: salt://win/repo-ng/JavaRuntime/jre-8u131-windows-x64.exe
+ full_name: 'Java 8 Update 371 (64-bit)'
+ installer: salt://win/repo-ng/JavaRuntime/jre-8u371-windows-x64.exe
{% else %}
- full_name: 'Java 8 Update 131'
- installer: salt://win/repo-ng/JavaRuntime/jre-8u131-windows-i586.exe
+ full_name: 'Java 8 Update 371'
+ installer: salt://win/repo-ng/JavaRuntime/jre-8u371-windows-i586.exe
{% endif %}
install_flags: '/s /L "{{ LOG_PATH }}\JavaRuntime_inst.log"'
uninstaller: 'msiexec.exe'
- {% if ARCH == 'x64' %}
uninstall_flags: '/x {26A24AE4-039D-4CA4-87B4-2F64180131F0} /quiet /l* "{{ LOG_PATH }}\JavaRuntime_uninst.log" /norestart'
- {% else %}
- uninstall_flags: '/x {26A24AE4-039D-4CA4-87B4-2F32180131F0} /quiet /l* "{{ LOG_PATH }}\JavaRuntime_uninst.log" /norestart'
- {% endif %}
locale: de_DE
msiexec: False
reboot: False