From e8cd81a055ab16a3fdf8e729cf18cb0ff36fb7e5 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 8 Nov 2012 14:50:47 -0500 Subject: [PATCH] openjdk: Install the unlimited crypto policy --- pkgs/development/compilers/openjdk/default.nix | 1 + .../compilers/openjdk/no-crypto-restrictions.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 pkgs/development/compilers/openjdk/no-crypto-restrictions.patch diff --git a/pkgs/development/compilers/openjdk/default.nix b/pkgs/development/compilers/openjdk/default.nix index a5a915ae642a..246696f81e2b 100644 --- a/pkgs/development/compilers/openjdk/default.nix +++ b/pkgs/development/compilers/openjdk/default.nix @@ -117,6 +117,7 @@ stdenv.mkDerivation rec { ./cppflags-include-fix.patch ./printf-fix.patch ./linux-version-check-fix.patch + ./no-crypto-restrictions.patch ]; makeFlags = [ diff --git a/pkgs/development/compilers/openjdk/no-crypto-restrictions.patch b/pkgs/development/compilers/openjdk/no-crypto-restrictions.patch new file mode 100644 index 000000000000..427ef3534668 --- /dev/null +++ b/pkgs/development/compilers/openjdk/no-crypto-restrictions.patch @@ -0,0 +1,12 @@ +diff -Naur openjdk-orig/jdk/make/javax/crypto/Makefile openjdk/jdk/make/javax/crypto/Makefile +--- openjdk-orig/jdk/make/javax/crypto/Makefile 2011-06-27 13:18:45.000000000 -0400 ++++ openjdk/jdk/make/javax/crypto/Makefile 2012-11-08 14:12:01.360718616 -0500 +@@ -156,7 +156,7 @@ + # + + ifdef OPENJDK +-all: build-jar install-jar build-policy install-limited ++all: build-jar install-jar build-policy install-unlimited + else # OPENJDK + ifeq ($(strip $(FILES_java)),) + all: