aboutsummaryrefslogtreecommitdiffstats
path: root/main/haveged/double-the-sample-size-used-in-the-entest.patch
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2019-04-08 22:43:47 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-17 08:48:18 +0000
commit65662ceedf9c895da8e96d9cdba7a68f9cfe8740 (patch)
treedb5414aff54ab9049501f66919ac66bfe8421b02 /main/haveged/double-the-sample-size-used-in-the-entest.patch
parentdb18b4c886bd03a942e1c7bdbcf4e2e5d30fed7f (diff)
downloadaports-65662ceedf9c895da8e96d9cdba7a68f9cfe8740.tar.bz2
aports-65662ceedf9c895da8e96d9cdba7a68f9cfe8740.tar.xz
main/haveged: more samples in check()
Decrease the probability of a failing Chi-Square test by doubling the sample size used. While at it add openrc subpkg
Diffstat (limited to 'main/haveged/double-the-sample-size-used-in-the-entest.patch')
-rw-r--r--main/haveged/double-the-sample-size-used-in-the-entest.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/haveged/double-the-sample-size-used-in-the-entest.patch b/main/haveged/double-the-sample-size-used-in-the-entest.patch
new file mode 100644
index 0000000000..673566f94c
--- /dev/null
+++ b/main/haveged/double-the-sample-size-used-in-the-entest.patch
@@ -0,0 +1,24 @@
+From 55eb83a7d6c29667a4035df487b5417529fc8518 Mon Sep 17 00:00:00 2001
+From: Henrik Riomar <henrik.riomar@gmail.com>
+Date: Mon, 8 Apr 2019 22:42:05 +0200
+Subject: [PATCH] double the sample size used in the entest
+
+---
+ ent/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ent/Makefile.am b/ent/Makefile.am
+index 265504c..4782377 100644
+--- a/ent/Makefile.am
++++ b/ent/Makefile.am
+@@ -17,6 +17,6 @@ MAINTAINERCLEANFILES = Makefile.in
+ if ENABLE_ENT_TEST
+ check-local:
+ ./entest -t ${srcdir}/entitle.gif
+- ../src/haveged -n 16384k -v 1 $*
++ ../src/haveged -n 32768k -v 1 $*
+ ./entest -vf sample
+ endif
+--
+2.21.0
+