summaryrefslogtreecommitdiff
path: root/lang/openjdk8/patches
diff options
context:
space:
mode:
authorryoon <ryoon>2016-04-29 09:38:19 +0000
committerryoon <ryoon>2016-04-29 09:38:19 +0000
commite311cf125c4e292c527684f8a90fc54be79aaafe (patch)
tree8b449466cc50acfcb05225ea389b57fff89259c7 /lang/openjdk8/patches
parente200af74c5f106b12c71dabe42f6d38b2d37da0a (diff)
downloadpkgsrc-e311cf125c4e292c527684f8a90fc54be79aaafe.tar.gz
Bump PKGREVISION from /dev/urandom use on *BSD
Originally reported from abs@ on tech-pkg@. From random(4) man page: Applications should read from /dev/urandom when they need randomly generated data, e.g. key material for cryptography or seeds for simulations.
Diffstat (limited to 'lang/openjdk8/patches')
-rw-r--r--lang/openjdk8/patches/patch-jdk_src_share_lib_security_java.security-bsd13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/openjdk8/patches/patch-jdk_src_share_lib_security_java.security-bsd b/lang/openjdk8/patches/patch-jdk_src_share_lib_security_java.security-bsd
new file mode 100644
index 00000000000..b1da7c3cbb8
--- /dev/null
+++ b/lang/openjdk8/patches/patch-jdk_src_share_lib_security_java.security-bsd
@@ -0,0 +1,13 @@
+$NetBSD: patch-jdk_src_share_lib_security_java.security-bsd,v 1.1 2016/04/29 09:38:19 ryoon Exp $
+
+--- jdk/src/share/lib/security/java.security-bsd.orig 2016-03-27 19:49:14.000000000 +0000
++++ jdk/src/share/lib/security/java.security-bsd
+@@ -114,7 +114,7 @@ security.provider.9=sun.security.smartca
+ # specified, the "NativePRNG" implementation will be more preferred than
+ # SHA1PRNG in the Sun provider.
+ #
+-securerandom.source=file:/dev/random
++securerandom.source=file:/dev/urandom
+
+ #
+ # A list of known strong SecureRandom implementations.