[packages/oracle-java7] - add ulimited crypto policy

arekm arekm at pld-linux.org
Sat Oct 18 20:46:25 CEST 2014


commit 818038be55a2ab4f8ec38e07af9eb9fe90421cb9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Oct 18 20:46:21 2014 +0200

    - add ulimited crypto policy

 oracle-java7.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/oracle-java7.spec b/oracle-java7.spec
index f70008e..9fe4e55 100644
--- a/oracle-java7.spec
+++ b/oracle-java7.spec
@@ -38,6 +38,9 @@ Source1:	jdk-%{src_ver}-linux-x64.tar.gz
 # Source1-md5:	cfa44b49e50ea06e5c6ab95ff79e5b2a
 Source2:	Test.java
 Source3:	Test.class
+# http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
+Source4:	UnlimitedJCEPolicyJDK7.zip
+# Source4-md5:	c47e997b90ddfd0d813a37ccc97fb933
 Patch0:		%{name}-desktop.patch
 URL:		http://www.oracle.com/technetwork/java/javase/overview/index.html
 BuildRequires:	rpm >= 4.4.9-56
@@ -399,10 +402,10 @@ Ten pakiet zawiera narzędzie Java Mission Control.
 
 %prep
 %ifarch %{ix86}
-%setup -q -T -b 0 -n jdk%{dir_ver}
+%setup -q -T -b 0 -a4 -n jdk%{dir_ver}
 %endif
 %ifarch %{x8664}
-%setup -q -T -b 1 -n jdk%{dir_ver}
+%setup -q -T -b 1 -a4 -n jdk%{dir_ver}
 %endif
 
 # patch only copy of the desktop file, leave original unchanged
@@ -522,6 +525,9 @@ done
 install -d $RPM_BUILD_ROOT%{jredir}/javaws
 ln -sf %{jredir}/lib/javaws.jar $RPM_BUILD_ROOT%{jvmjardir}/javaws.jar
 
+# unrestricted crypto
+cp -a UnlimitedJCEPolicy/*.jar $RPM_BUILD_ROOT%{jredir}/lib/security
+
 # leave all locale files unchanged in the original location (license
 # restrictions) and only link them at the proper locations
 for loc in $(ls $RPM_BUILD_ROOT%{jredir}/lib/locale); do
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/oracle-java7.git/commitdiff/818038be55a2ab4f8ec38e07af9eb9fe90421cb9



More information about the pld-cvs-commit mailing list