aboutsummaryrefslogtreecommitdiff
path: root/security/heimdal
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2018-08-26 08:36:30 +0000
committerXin LI <delphij@FreeBSD.org>2018-08-26 08:36:30 +0000
commita873c4d2c019aeb50e2842a87bed4891b9f435dd (patch)
tree4fe59f2e37608e2caa1946fb505fe7177d3acb47 /security/heimdal
parent6b1e8d6ab746f76406513e5390d872d84ccfacfe (diff)
downloadports-a873c4d2c019aeb50e2842a87bed4891b9f435dd.tar.gz
ports-a873c4d2c019aeb50e2842a87bed4891b9f435dd.zip
Notes
Diffstat (limited to 'security/heimdal')
-rw-r--r--security/heimdal/Makefile1
-rw-r--r--security/heimdal/files/patch-lib_roken_rand.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index 0f1054a51939..dd0450221bbd 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -3,6 +3,7 @@
PORTNAME= heimdal
PORTVERSION= 7.5.0
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= https://github.com/heimdal/heimdal/releases/download/${DISTNAME}/
diff --git a/security/heimdal/files/patch-lib_roken_rand.c b/security/heimdal/files/patch-lib_roken_rand.c
new file mode 100644
index 000000000000..7d0ae5959c3c
--- /dev/null
+++ b/security/heimdal/files/patch-lib_roken_rand.c
@@ -0,0 +1,10 @@
+--- lib/roken/rand.c.orig 2016-12-20 14:23:06 UTC
++++ lib/roken/rand.c
+@@ -42,7 +42,6 @@ void ROKEN_LIB_FUNCTION
+ rk_random_init(void)
+ {
+ #if defined(HAVE_ARC4RANDOM)
+- arc4random_stir();
+ #elif defined(HAVE_SRANDOMDEV)
+ srandomdev();
+ #elif defined(HAVE_RANDOM)