Mercurial > hg > release > icedtea7-2.4
changeset 2611:3e3ebf551eb1
Update to b06 and add nss.cfg to source tree, not build trees (see jdk/rev/ff10ac18cfbd)
2013-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* patches/nss-not-enabled-config.patch:
Removed; included upstream.
* Makefile.am:
(OPENJDK_VERSION): Bump to b06.
(CORBA_CHANGESET): Update to IcedTea7 forest head.
(JAXP_CHANGESET): Likewise.
(JAXWS_CHANGESET): Likewise.
(JDK_CHANGESET): Likewise.
(LANGTOOLS_CHANGESET): Likewise.
(OPENJDK_CHANGESET): Likewise.
(CORBA_SHA256SUM): Likewise.
(JAXP_SHA256SUM): Likewise.
(JAXWS_SHA256SUM): Likewise.
(JDK_SHA256SUM): Likewise.
(LANGTOOLS_SHA256SUM): Likewise.
(OPENJDK_SHA256SUM): Likewise.
(OPENJDK_TREE): Also depend on add-nss.
(ICEDTEA_PATCHES): Drop nss-not-enabled-config.patch
(clean-local): Remove clean-add-nss-debug.
(.PHONY): Remove clean-add-nss-debug and clean-add-nss-boot.
(add-nss): Copy nss.cfg into source tree rather than build tree.
(clean-add-nss): Matching change to cleanup rule.
(add-nss-debug): No longer needed.
(clean-add-nss-debug): Likewise.
(icedtea-stage2): Remove dependence on add-nss.
(icedtea-debug-stage2): Likewise for add-nss-debug.
(add-nss-boot): No longer needed.
(clean-add-nss-boot): Likewise.
(clean-icedtea-stage1): Remove clean-add-nss-boot.
* hotspot.map:
Update default to latest HotSpot in IcedTea7 forest.
* patches/nss-config.patch:
Update due to changes upstream & addition of
not enabled configuration to unpatched forest.
author | Andrew John Hughes <gnu_andrew@member.fsf.org> |
---|---|
date | Fri, 04 Jan 2013 01:05:06 +0000 |
parents | 1a8e93b7fe96 |
children | 2836b3c6739b |
files | ChangeLog Makefile.am hotspot.map patches/nss-config.patch patches/nss-not-enabled-config.patch |
diffstat | 5 files changed, 107 insertions(+), 68 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Dec 19 18:38:08 2012 +0000 +++ b/ChangeLog Fri Jan 04 01:05:06 2013 +0000 @@ -1,3 +1,40 @@ +2013-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * patches/nss-not-enabled-config.patch: + Removed; included upstream. + * Makefile.am: + (OPENJDK_VERSION): Bump to b06. + (CORBA_CHANGESET): Update to IcedTea7 forest head. + (JAXP_CHANGESET): Likewise. + (JAXWS_CHANGESET): Likewise. + (JDK_CHANGESET): Likewise. + (LANGTOOLS_CHANGESET): Likewise. + (OPENJDK_CHANGESET): Likewise. + (CORBA_SHA256SUM): Likewise. + (JAXP_SHA256SUM): Likewise. + (JAXWS_SHA256SUM): Likewise. + (JDK_SHA256SUM): Likewise. + (LANGTOOLS_SHA256SUM): Likewise. + (OPENJDK_SHA256SUM): Likewise. + (OPENJDK_TREE): Also depend on add-nss. + (ICEDTEA_PATCHES): Drop nss-not-enabled-config.patch + (clean-local): Remove clean-add-nss-debug. + (.PHONY): Remove clean-add-nss-debug and clean-add-nss-boot. + (add-nss): Copy nss.cfg into source tree rather than build tree. + (clean-add-nss): Matching change to cleanup rule. + (add-nss-debug): No longer needed. + (clean-add-nss-debug): Likewise. + (icedtea-stage2): Remove dependence on add-nss. + (icedtea-debug-stage2): Likewise for add-nss-debug. + (add-nss-boot): No longer needed. + (clean-add-nss-boot): Likewise. + (clean-icedtea-stage1): Remove clean-add-nss-boot. + * hotspot.map: + Update default to latest HotSpot in IcedTea7 forest. + * patches/nss-config.patch: + Update due to changes upstream & addition of + not enabled configuration to unpatched forest. + 2010-09-24 Andrew John Hughes <gnu.andrew@redhat.com> * Makefile.am:
--- a/Makefile.am Wed Dec 19 18:38:08 2012 +0000 +++ b/Makefile.am Fri Jan 04 01:05:06 2013 +0000 @@ -1,22 +1,22 @@ # Dependencies -OPENJDK_VERSION = b03 +OPENJDK_VERSION = b06 JDK_UPDATE_VERSION = 12 COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(OPENJDK_VERSION) -CORBA_CHANGESET = c76fd939af52 -JAXP_CHANGESET = ff514c638d9c -JAXWS_CHANGESET = c24ace5f1fd8 -JDK_CHANGESET = b10e1311a206 -LANGTOOLS_CHANGESET = a4f9ef26ecb2 -OPENJDK_CHANGESET = af7f3ffa51f0 +CORBA_CHANGESET = 1fc876ad27f5 +JAXP_CHANGESET = b67573b17099 +JAXWS_CHANGESET = 8c8c122d0fa8 +JDK_CHANGESET = 880acd2bf8d1 +LANGTOOLS_CHANGESET = 698d52b36615 +OPENJDK_CHANGESET = 9b35dbaf2afa -CORBA_SHA256SUM = 66b69e1c9ef33fd241e7aafc718acc23c690961644fed1d13c85b6a29cfecf7b -JAXP_SHA256SUM = b409e5656e6194c4d559d435e5ab0ec4ce2723c12e958f9ba429478719fe2db4 -JAXWS_SHA256SUM = f1732dca7254e8f3c00116eb2cd1fdcd44b6d1da1b19537f23e610acad6764b4 -JDK_SHA256SUM = 654a1fd889d17a8a6fd0a6f3fda697f18e7a0d81a4baff45f3c96014524bbb54 -LANGTOOLS_SHA256SUM = 224feb6a121c3da9a9e4c592c966bf9f2bfab589bb614419d4ca176248f08bc8 -OPENJDK_SHA256SUM = 21aaf8e746fcf51535b9e42b9ab0546c4de2dd3d1846d10b9123f16939f0ca6b +CORBA_SHA256SUM = 2945cef860c0a3e5af69ffe370ed762bb620db855f97e16efef5b639144e3d93 +JAXP_SHA256SUM = 4eb3f831cb486c81e16ac5d37b30e0e309ba8e2e8d4a400382ee4fa0790ca268 +JAXWS_SHA256SUM = 35e075fc9d4c9de7df8905cf3238e87a9388e4028ff984b494b7fb6c36fd17e1 +JDK_SHA256SUM = c6db11a2f5e90f37a37d65615d7e5ffa0e0e066e4eb303cc98e23ac245b3425d +LANGTOOLS_SHA256SUM = 6ec950b34cb8cc1c6aa64e25b492952a3ba0a53370bb6e5d5431922fa940b506 +OPENJDK_SHA256SUM = c42c018e3f2a5037d9c07e98ffb8784a732c5e1ebd5bb18c3587ca0e8825b27b CACAO_VERSION = a567bcb7f589 CACAO_SHA256SUM = d49f79debc131a5694cae6ab3ba2864e7f3249ee8d9dc09aae8afdd4dc6b09f9 @@ -227,7 +227,7 @@ # Target to ensure a patched OpenJDK tree containing Zero & Shark # and any overlays is available in $(abs_top_builddir)/openjdk -OPENJDK_TREE = stamps/overlay.stamp +OPENJDK_TREE = stamps/overlay.stamp stamps/add-nss.stamp # Target to ensure a patched OpenJDK bootstrap tree containing # Zero & Shark, any other overlays and the bootstrapping patches @@ -292,8 +292,6 @@ if ENABLE_NSS ICEDTEA_PATCHES += patches/nss-config.patch -else -ICEDTEA_PATCHES += patches/nss-not-enabled-config.patch endif if WITH_PAX @@ -792,7 +790,7 @@ clean-icedtea-debug-stage2 clean-icedtea-stage1 clean-add-zero clean-add-zero-debug \ clean-add-cacao clean-add-cacao-debug clean-rt clean-rewrite-rhino clean-rewriter \ clean-add-systemtap clean-add-systemtap-debug clean-add-pulseaudio clean-add-pulseaudio-debug \ - clean-add-nss clean-add-nss-debug clean-add-tzdata-support clean-add-tzdata-support-debug + clean-add-nss clean-add-tzdata-support clean-add-tzdata-support-debug if [ -e bootstrap ]; then \ rmdir bootstrap ; \ fi @@ -824,8 +822,8 @@ clean-extract-hotspot clean-sanitise-openjdk \ clean-tests clean-tapset-report clean-add-systemtap \ clean-add-systemtap-debug clean-add-pulseaudio clean-add-pulseaudio-debug \ - clean-add-nss clean-add-nss-debug clean-add-tzdata-support clean-add-tzdata-support-debug \ - clean-add-systemtap-boot clean-add-pulseaudio-boot clean-add-nss-boot clean-add-tzdata-support-boot + clean-add-nss clean-add-tzdata-support clean-add-tzdata-support-debug \ + clean-add-systemtap-boot clean-add-pulseaudio-boot clean-add-tzdata-support-boot env: @echo 'unset JAVA_HOME' @@ -1773,13 +1771,12 @@ rm -f $(BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar rm -f stamps/add-pulseaudio.stamp -stamps/add-nss.stamp: stamps/icedtea.stamp - cp $(abs_top_builddir)/nss.cfg \ - $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; +stamps/add-nss.stamp: stamps/extract-openjdk.stamp + cp -v $(abs_top_builddir)/nss.cfg openjdk/jdk/src/share/lib/security; touch stamps/add-nss.stamp clean-add-nss: - rm -f $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security/nss.cfg + rm -f openjdk/jdk/src/share/lib/security/nss.cfg rm -f stamps/add-nss.stamp stamps/add-tzdata-support.stamp: stamps/icedtea.stamp @@ -1880,15 +1877,6 @@ rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar rm -f stamps/add-pulseaudio-debug.stamp -stamps/add-nss-debug.stamp: stamps/icedtea-debug.stamp - cp $(abs_top_builddir)/nss.cfg \ - $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; - touch stamps/add-nss-debug.stamp - -clean-add-nss-debug: - rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security/nss.cfg - rm -f stamps/add-nss-debug.stamp - stamps/add-tzdata-support-debug.stamp: stamps/icedtea-debug.stamp if WITH_TZDATA_DIR cp $(abs_top_builddir)/tz.properties \ @@ -1902,7 +1890,7 @@ stamps/icedtea-stage2.stamp: stamps/icedtea.stamp stamps/add-cacao.stamp \ stamps/add-zero.stamp stamps/add-jamvm.stamp stamps/add-systemtap.stamp \ - stamps/add-pulseaudio.stamp stamps/add-nss.stamp stamps/add-tzdata-support.stamp + stamps/add-pulseaudio.stamp stamps/add-tzdata-support.stamp mkdir -p stamps touch $@ @@ -1912,7 +1900,7 @@ stamps/icedtea-debug-stage2.stamp: stamps/icedtea-debug.stamp \ stamps/add-cacao-debug.stamp stamps/add-zero-debug.stamp stamps/add-jamvm-debug.stamp \ stamps/add-systemtap-debug.stamp stamps/add-pulseaudio-debug.stamp \ - stamps/add-nss-debug.stamp stamps/add/tzdata-support-debug.stamp + stamps/add/tzdata-support-debug.stamp mkdir -p stamps touch $@ @@ -1993,15 +1981,6 @@ rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar rm -f stamps/add-pulseaudio-boot.stamp -stamps/add-nss-boot.stamp: stamps/icedtea-boot.stamp - cp $(abs_top_builddir)/nss.cfg \ - $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security; - touch stamps/add-nss-boot.stamp - -clean-add-nss-boot: - rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/security/nss.cfg - rm -f stamps/add-nss-boot.stamp - stamps/add-tzdata-support-boot.stamp: stamps/icedtea-boot.stamp if WITH_TZDATA_DIR cp $(abs_top_builddir)/tz.properties \ @@ -2015,12 +1994,12 @@ stamps/icedtea-stage1.stamp: stamps/icedtea-boot.stamp \ stamps/add-systemtap-boot.stamp stamps/add-pulseaudio-boot.stamp \ - stamps/add-nss-boot.stamp stamps/add-tzdata-support-boot.stamp + stamps/add-tzdata-support-boot.stamp mkdir -p stamps touch $@ clean-icedtea-stage1: clean-add-systemtap-boot clean-add-pulseaudio-boot \ - clean-add-nss-boot clean-add-tzdata-support-boot + clean-add-tzdata-support-boot rm -f stamps/icedtea-stage1.stamp # Rebuild targets
--- a/hotspot.map Wed Dec 19 18:38:08 2012 +0000 +++ b/hotspot.map Fri Jan 04 01:05:06 2013 +0000 @@ -1,3 +1,3 @@ # version url changeset sha256sum -default http://icedtea.classpath.org/hg/icedtea7-forest/hotspot 2f82d59ddf61 1d38e0229d4318b51a16242f9091547e20e58065c9f7cc2b1dd7f2d5dcfa2a20 +default http://icedtea.classpath.org/hg/icedtea7-forest/hotspot 0685d07e5b43 ec2a2dd1423c62860925b24989729d356b441f250adc1496b5bc857baf7a2a44 zero http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/hotspot a456d0771ba0 09a64fca0beff0759ef1b461d63ed6a00e43032972781bb3a55e49d8b93f67d0
--- a/patches/nss-config.patch Wed Dec 19 18:38:08 2012 +0000 +++ b/patches/nss-config.patch Fri Jan 04 01:05:06 2013 +0000 @@ -1,11 +1,48 @@ -diff -Nru openjdk.orig/jdk/src/share/lib/security/java.security openjdk/jdk/src/share/lib/security/java.security ---- openjdk.orig/jdk/src/share/lib/security/java.security 2011-09-22 01:56:22.000000000 +0100 -+++ openjdk/jdk/src/share/lib/security/java.security 2011-09-22 13:51:56.234039451 +0100 -@@ -52,6 +52,7 @@ - security.provider.7=org.jcp.xml.dsig.internal.dom.XMLDSigRI - security.provider.8=sun.security.smartcardio.SunPCSC - #security.provider.9=sun.security.ec.SunEC -+security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg +diff --git a/src/share/lib/security/java.security-linux b/src/share/lib/security/java.security-linux +--- openjdk/jdk/src/share/lib/security/java.security-linux ++++ openjdk/jdk/src/share/lib/security/java.security-linux +@@ -55,7 +55,7 @@ + # the NSS security provider was not enabled for this build; it can be enabled + # if NSS (libnss3) is available on the machine. The nss.cfg file may need + # editing to reflect the location of the NSS installation. +-#security.provider.10=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg ++security.provider.10=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg + + # + # Select the source of seed data for SecureRandom. By default an +diff --git a/src/share/lib/security/java.security-macosx b/src/share/lib/security/java.security-macosx +--- openjdk/jdk/src/share/lib/security/java.security-macosx ++++ openjdk/jdk/src/share/lib/security/java.security-macosx +@@ -56,7 +56,7 @@ + # the NSS security provider was not enabled for this build; it can be enabled + # if NSS (libnss3) is available on the machine. The nss.cfg file may need + # editing to reflect the location of the NSS installation. +-#security.provider.11=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg ++security.provider.11=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg # # Select the source of seed data for SecureRandom. By default an +diff --git a/src/share/lib/security/java.security-solaris b/src/share/lib/security/java.security-solaris +--- openjdk/jdk/src/share/lib/security/java.security-solaris ++++ openjdk/jdk/src/share/lib/security/java.security-solaris +@@ -57,7 +57,7 @@ + # the NSS security provider was not enabled for this build; it can be enabled + # if NSS (libnss3) is available on the machine. The nss.cfg file may need + # editing to reflect the location of the NSS installation. +-#security.provider.12=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg ++security.provider.12=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg + + # + # Select the source of seed data for SecureRandom. By default an +diff --git a/src/share/lib/security/java.security-windows b/src/share/lib/security/java.security-windows +--- openjdk/jdk/src/share/lib/security/java.security-windows ++++ openjdk/jdk/src/share/lib/security/java.security-windows +@@ -56,7 +56,7 @@ + # the NSS security provider was not enabled for this build; it can be enabled + # if NSS (libnss3) is available on the machine. The nss.cfg file may need + # editing to reflect the location of the NSS installation. +-#security.provider.11=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg ++security.provider.11=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg + + # + # Select the source of seed data for SecureRandom. By default an
--- a/patches/nss-not-enabled-config.patch Wed Dec 19 18:38:08 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -diff -Nru openjdk.orig/jdk/src/share/lib/security/java.security openjdk/jdk/src/share/lib/security/java.security ---- openjdk.orig/jdk/src/share/lib/security/java.security 2011-09-22 01:56:22.000000000 +0100 -+++ openjdk/jdk/src/share/lib/security/java.security 2011-09-22 13:52:56.826997041 +0100 -@@ -52,6 +52,10 @@ - security.provider.7=org.jcp.xml.dsig.internal.dom.XMLDSigRI - security.provider.8=sun.security.smartcardio.SunPCSC - #security.provider.9=sun.security.ec.SunEC -+# the NSS security provider was not enabled for this build; it can be enabled -+# if NSS (libnss3) is available on the machine. The nss.cfg file may need -+# editing to reflect the location of the NSS installation. -+#security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg - - # - # Select the source of seed data for SecureRandom. By default an