SFEopenjdk8.spec: populate cacerts with /etc/certs/CA/*.pem at build time. Updated to JDK 8b78. spec-files-extra
authorloganbruns
Thu, 28 Feb 2013 17:47:24 +0000
branchspec-files-extra
changeset 10632 290df6c38302
parent 10631 efc85db2af8a
child 10633 76a64a231832
SFEopenjdk8.spec: populate cacerts with /etc/certs/CA/*.pem at build time. Updated to JDK 8b78.
trunk/ChangeLog
trunk/SFEopenjdk8.spec
--- a/trunk/ChangeLog	Thu Feb 28 10:24:39 2013 +0000
+++ b/trunk/ChangeLog	Thu Feb 28 17:47:24 2013 +0000
@@ -1,3 +1,8 @@
+2013-02-28  Logan O'Sullivan Bruns  <[email protected]>
+
+	* SFEopenjdk8.spec: populate cacerts with /etc/certs/CA/*.pem at
+	build time. Updated to JDK 8b78.
+
 2013-02-27  Logan O'Sullivan Bruns  <[email protected]>
 
 	* SFEopenjdk7.spec: populate cacerts with /etc/certs/CA/*.pem at
--- a/trunk/SFEopenjdk8.spec	Thu Feb 28 10:24:39 2013 +0000
+++ b/trunk/SFEopenjdk8.spec	Thu Feb 28 17:47:24 2013 +0000
@@ -11,7 +11,7 @@
 
 %define major 8
 %define minor 0
-%define buildnum 76
+%define buildnum 78
 %define srcname openjdk%{major}
 %define tag jdk%{major}-b%{buildnum}
 
@@ -92,6 +92,11 @@
 
 %endif
 
+# build cacerts
+for f in /etc/certs/CA/*.pem ; do 
+  keytool -importcert -noprompt -trustcacerts -keystore j2sdk-image/jre/lib/security/cacerts -storepass changeit -alias $f -file $f 
+done
+
 %install
 cd %{srcname}
 rm -rf $RPM_BUILD_ROOT
@@ -110,5 +115,8 @@
 %{jdkroot}/*
 
 %changelog
+* Thu Feb 28 2013 - Logan Bruns <[email protected]>
+- Populate cacerts with /etc/certs/CA/*.pem at build time.
+- Updated to JDK 8b78.
 * Sat Feb  9 2013 - Logan Bruns <[email protected]>
 - Initial spec.