Enable unlimited crypto in JDK 1.8 by default.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Enable unlimited crypto in JDK 1.8 by default.

Christian Schulte
Hello,

this is pretty much the same as installing the 'Java Cryptography
Extension (JCE) Unlimited Strength Jurisdiction Policy Files'.

/usr/ports/pobj/jdk-1.8.0.45/openjdk-8u45b14-bsd-port-20150618/jdk/make
$ grep -ri "UNLIMITED_CRYPTO" *
CreateSecurityJars.gmk:  ifeq ($(UNLIMITED_CRYPTO), true)
CreateSecurityJars.gmk:  ifeq ($(UNLIMITED_CRYPTO), true)
CreateSecurityJars.gmk:  ifeq ($(UNLIMITED_CRYPTO), true)

Can OpenBSD ship these by default?

Regards,


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/jdk/1.8/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 29 Jun 2015 10:46:28 -0000 1.4
+++ Makefile 26 Jul 2015 05:03:23 -0000
@@ -12,7 +12,7 @@
 PKGNAME-main= jdk-${V}
 PKGNAME-jre= jre-${V}
 EPOCH= 0
-REVISION= 0
+REVISION= 1
 
 DIST_SUBDIR= jdk
 DISTNAME= openjdk-8u45b14-bsd-port-20150618
@@ -78,6 +78,7 @@
  --disable-freetype-bundling \
  --disable-zip-debug-info \
  --disable-debug-symbols \
+ --enable-unlimited-crypto \
  --enable-static-libjli \
  --with-zlib=system \
  --with-giflib=system \