sys-apps/rng-tools: rewrite initd and confd (6.6-r1 only)
authorGöktürk Yüksek <gokturk@gentoo.org>
Sat, 29 Dec 2018 02:11:42 +0000 (21:11 -0500)
committerGöktürk Yüksek <gokturk@gentoo.org>
Sat, 29 Dec 2018 02:12:35 +0000 (21:12 -0500)
commitfcd29101d4458d6715c5aaa96c75da29e93f80b4
treea3cd1c06a661611d230437ac22c6b357929d2b47
parent47260b3e50568cc8628db6acee526e0dd0960cd9
sys-apps/rng-tools: rewrite initd and confd (6.6-r1 only)

Restructure the openrc init script and the accompanying confd file to
reflect the recent changes to rngd.

- Instead of having individual NO_FOO="1" style variables in the confd
  file for each entropy source, maintain a single list of entropy
  sources to enable. Likewise, maintain a list of entropy sources to
  disable.
- Allow per-entropy-source options to be set inside the confd file.
- The init file defines $description now.
- Use $command_args_background instead of $command_args to specify the
  daemon behavior.
- Allow default setting of --fill-watermark.
- Allow extra arguments to be passed to rngd from the confd file.

Bug: https://bugs.gentoo.org/650622
Bug: https://bugs.gentoo.org/673120
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
sys-apps/rng-tools/files/rngd-confd-6 [new file with mode: 0644]
sys-apps/rng-tools/files/rngd-initd-6-r1 [new file with mode: 0644]
sys-apps/rng-tools/rng-tools-6.6-r1.ebuild [new file with mode: 0644]