diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-24 19:48:53 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-25 21:13:17 +0200 |
commit | 4ee4984112ce5b62eba7d8a371f330f784676abc (patch) | |
tree | 9714cf5994ee60ada6007d832691b29db5927925 | |
parent | 7f4042c4f973ce952a6ce90ee78008757553a13c (diff) | |
download | ptxdist-4ee4984112ce5b62eba7d8a371f330f784676abc.tar.gz ptxdist-4ee4984112ce5b62eba7d8a371f330f784676abc.tar.xz |
sun-java6-jre: remove after on year in staging
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/jsvc.make | 10 | ||||
-rw-r--r-- | rules/sun-java6-jre.in | 45 | ||||
-rw-r--r-- | rules/sun-java6-jre.make | 111 |
3 files changed, 2 insertions, 164 deletions
diff --git a/rules/jsvc.make b/rules/jsvc.make index 8484aad8c..f18308093 100644 --- a/rules/jsvc.make +++ b/rules/jsvc.make @@ -44,14 +44,8 @@ JSVC_ENV := $(CROSS_ENV) # autoconf # JSVC_AUTOCONF := \ - $(CROSS_AUTOCONF_USR) - -# HACK: what we really need is a sun-java6-jdk and only install the jre stuff -ifdef PTXCONF_SUN_JAVA6_JRE -JSVC_AUTOCONF += --with-java=$(PTXCONF_SETUP_JAVA_SDK) -else -JSVC_AUTOCONF += --with-java=$(SYSROOT)/usr -endif + $(CROSS_AUTOCONF_USR) \ + --with-java=$(PTXCONF_SETUP_JAVA_SDK) # ---------------------------------------------------------------------------- # Install diff --git a/rules/sun-java6-jre.in b/rules/sun-java6-jre.in deleted file mode 100644 index 46eaaa35a..000000000 --- a/rules/sun-java6-jre.in +++ /dev/null @@ -1,45 +0,0 @@ -## SECTION=staging -## old section: -### SECTION=bytecode_engines -menuconfig SUN_JAVA6_JRE - tristate - prompt "jre 6u2 (sun) " - help - Sun[tm] Java Runtime Environment 6 - Note: - This is a self-extracting shell archive, - bad things could happen! - - STAGING: remove in ptxdist-2019.06.0 - Old version that has many security bugs, and no longer supported - upstream. If needed, should be updated to OpenJDK. - -config SUN_JAVA6_JRE_LICENSE_ACCEPT_STRING - string - depends on SUN_JAVA6_JRE - prompt "Accept the License for JRE 6?" - help - Set this value to "yes" if you want to accept - the License for - JAVA SE RUNTIME ENVIRONMENT (JRE) VERSION 6 - The string will be forwarded to the real - installation routine for automatic builds. - Default is NOT to accept the license per default, - since this has to be done manually. Please - contact Sun Microsystems, Inc. for any commercial - licensing issues if you need to redistribute - JAVA TECHNOLOGY as part of a commercial product: - http://java.com - Please Note: If you don't agree to the license - you can't install this software. - -config SUN_JAVA6_JRE_TARGET_PREFIX - string - depends on SUN_JAVA6_JRE - default "/usr/lib/jvm" - prompt "PREFIX for JRE 6" - help - Where should the java runtime environment be - installed. The default (/usr/lib/jvm/) is - default on many desktop systems. - Your mileage may vary, of course. diff --git a/rules/sun-java6-jre.make b/rules/sun-java6-jre.make deleted file mode 100644 index 0e4ec7141..000000000 --- a/rules/sun-java6-jre.make +++ /dev/null @@ -1,111 +0,0 @@ -# -*-makefile-*- -# -# Copyright (C) 2007 by Bjoern Buerger <b.buerger@pengutronix.de> -# -# See CREDITS for details about who has contributed to this project. -# -# For further information about the PTXdist project and license conditions -# see the README file. -# - -# -# We provide this package -# -PACKAGES-$(PTXCONF_ARCH_X86)-$(PTXCONF_SUN_JAVA6_JRE) += sun-java6-jre - -# -# Paths and names -# -SUN_JAVA6_JRE_VERSION := 1.6.0.02 -SUN_JAVA6_JRE_MD5 := 0d30636b5cd23e161da5eda9409f02d5 -SUN_JAVA6_JRE := jre-6u2-linux-i586 -SUN_JAVA6_JRE_SOURCE := $(SRCDIR)/$(SUN_JAVA6_JRE).bin -SUN_JAVA6_JRE_URL := http://javadl.sun.com/webapps/download/AutoDL?BundleId=11284 -SUN_JAVA6_JRE_DIR := $(BUILDDIR)/$(SUN_JAVA6_JRE) - -# ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -$(STATEDIR)/sun-java6-jre.extract: - @$(call targetinfo) - @$(call clean, $(SUN_JAVA6_JRE_DIR)) - magic(){ sh $(SUN_JAVA6_JRE_SOURCE) ; }; \ - [ -d $(SUN_JAVA6_JRE_DIR) ] || mkdir -p $(SUN_JAVA6_JRE_DIR); \ - cd $(SUN_JAVA6_JRE_DIR) ; \ - case $$? in \ - (0) \ - echo "extracting java shell archive (pwd is `pwd`)"; \ - echo "$(PTXCONF_SUN_JAVA6_JRE_LICENSE_ACCEPT_STRING)" | magic ; \ - ;; \ - (*) echo "an error occurred"; exit 1 ; \ - ;; \ - esac - @$(call touch) - -# ---------------------------------------------------------------------------- -# Prepare -# ---------------------------------------------------------------------------- - -SUN_JAVA6_JRE_PATH := PATH=$(CROSS_PATH) -SUN_JAVA6_JRE_ENV := $(CROSS_ENV) - -$(STATEDIR)/sun-java6-jre.prepare: - @$(call targetinfo) - @$(call touch) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -$(STATEDIR)/sun-java6-jre.compile: - @$(call targetinfo) - @$(call touch) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -$(STATEDIR)/sun-java6-jre.install: - @$(call targetinfo) - @$(call touch) - -# ---------------------------------------------------------------------------- -# Target-Install -# ---------------------------------------------------------------------------- - -$(STATEDIR)/sun-java6-jre.targetinstall: - @$(call targetinfo) - - @$(call install_init, sun-java6-jre) - @$(call install_fixup, sun-java6-jre,PRIORITY,optional) - @$(call install_fixup, sun-java6-jre,SECTION,base) - @$(call install_fixup, sun-java6-jre,AUTHOR,"autogenerated from sun package") - @$(call install_fixup, sun-java6-jre,DESCRIPTION,missing) - - # derived from ancillary file installation - @uid=$$(id -u); gid=$$(id -g); \ - (cd $(SUN_JAVA6_JRE_DIR); find jre* | grep -v "\.svn") \ - | while read i; do \ - read fuid fgid fperm < <(stat -c "%u %g %a" $(SUN_JAVA6_JRE_DIR)/$$i); \ - if [ $$fuid -eq $$uid ]; then fuid=0; fi; \ - if [ $$fgid -eq $$gid ]; then fgid=0; fi; \ - ft=$$( LANG=C stat -c %F $(SUN_JAVA6_JRE_DIR)/$$i ); \ - case "$$ft" in \ - "regular file"|"regular empty file") \ - $(call install_copy, sun-java6-jre, $$fuid, $$fgid, $$fperm, $(SUN_JAVA6_JRE_DIR)/$$i, $(PTXCONF_SUN_JAVA6_JRE_TARGET_PREFIX)/$$i);; \ - "directory") \ - $(call install_copy, sun-java6-jre, $$fuid, $$fgid, $$fperm, $(PTXCONF_SUN_JAVA6_JRE_TARGET_PREFIX)/$$i);; \ - "symbolic link") \ - target=$$( readlink $(SUN_JAVA6_JRE_DIR)/$$i ); \ - $(call install_link, sun-java6-jre, $$target, $(PTXCONF_SUN_JAVA6_JRE_TARGET_PREFIX)/$$i);; \ - *) \ - echo "ERROR: File '$$ft' type of '$$i' not supported"; \ - exit 1;; \ - esac ; \ - done - - @$(call install_finish, sun-java6-jre) - @$(call touch) - -# vim: syntax=make |