diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-14 02:54:46 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-14 02:55:34 -0400 |
commit | 3f3d293d479c67624790945244f46ab6956c05e3 (patch) | |
tree | bab190a251186cea287953623dc44ccdbf03501f /sys-apps/rng-tools/files | |
parent | dev-python/amodem: version bump to 1.12. (diff) | |
download | gentoo-3f3d293d479c67624790945244f46ab6956c05e3.tar.gz gentoo-3f3d293d479c67624790945244f46ab6956c05e3.tar.bz2 gentoo-3f3d293d479c67624790945244f46ab6956c05e3.zip |
sys-apps/rng-tools: improve the man pages #555094 #555106
Diffstat (limited to 'sys-apps/rng-tools/files')
-rw-r--r-- | sys-apps/rng-tools/files/rng-tools-5-man-fill-watermark.patch | 17 | ||||
-rw-r--r-- | sys-apps/rng-tools/files/rng-tools-5-man-rng-device.patch | 15 |
2 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/rng-tools/files/rng-tools-5-man-fill-watermark.patch b/sys-apps/rng-tools/files/rng-tools-5-man-fill-watermark.patch new file mode 100644 index 000000000000..4cedf8fc97d3 --- /dev/null +++ b/sys-apps/rng-tools/files/rng-tools-5-man-fill-watermark.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/555094 + +patch by Gokturk Yuksek <gokturk@binghamton.edu> + +--- rngd.8.in ++++ rngd.8.in +@@ -66,7 +66,9 @@ + .TP + \fB\-W\fI n\fR, \fB\-\-fill\-watermark=\fInnn\fR + Once we start doing it, feed entropy to \fIrandom-device\fR until at least +-\fIfill-watermark\fR bits of entropy are available in its entropy pool (default: 2048). ++\fIfill-watermark\fR bits of entropy are available in its entropy pool. ++By default, this value is set to 75% of the entropy pool size or 2048 bits ++if the entropy pool size couldn't be determined. + Setting this too high will cause \fIrngd\fR to dominate the contents of the + entropy pool. Low values will hurt system performance during entropy + starves. Do not set \fIfill-watermark\fR above the size of the diff --git a/sys-apps/rng-tools/files/rng-tools-5-man-rng-device.patch b/sys-apps/rng-tools/files/rng-tools-5-man-rng-device.patch new file mode 100644 index 000000000000..fd6b97eff326 --- /dev/null +++ b/sys-apps/rng-tools/files/rng-tools-5-man-rng-device.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/555106 + +patch by Gokturk Yuksek <gokturk@binghamton.edu> + +--- rngd.8.in ++++ rngd.8.in +@@ -59,7 +59,7 @@ + .TP + \fB\-r\fI file\fR, \fB\-\-rng-device=\fIfile\fR + Kernel device used for random number input +-(default: /dev/hwrandom) ++(default: /dev/hwrng) + .TP + \fB\-s\fI nnn\fR, \fB\-\-random-step=\fInnn\fR + Number of bytes written to random-device at a time (default: 64) |