summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2019-06-05 14:09:16 -0400
committerGöktürk Yüksek <gokturk@gentoo.org>2019-06-05 14:17:38 -0400
commit8c6132ee689913fa10285b0caa9a8e86bec524ba (patch)
treee9682a3892565a56b6f1c9ef8a08e114a22b77fc /sys-apps
parentsys-auth/fprintd: stable 0.8.1 for sparc, bug #684570 (diff)
downloadgentoo-8c6132ee689913fa10285b0caa9a8e86bec524ba.tar.gz
gentoo-8c6132ee689913fa10285b0caa9a8e86bec524ba.tar.bz2
gentoo-8c6132ee689913fa10285b0caa9a8e86bec524ba.zip
sys-apps/rng-tools: use '/run' instead of '/var/run' #685326
Closes: https://bugs.gentoo.org/685326 Package-Manager: Portage-2.3.67, Repoman-2.3.12 Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/rng-tools/files/rngd-initd-6.7-r1 (renamed from sys-apps/rng-tools/files/rngd-initd-6.7)2
-rw-r--r--sys-apps/rng-tools/rng-tools-6.7-r1.ebuild (renamed from sys-apps/rng-tools/rng-tools-6.7.ebuild)2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/rng-tools/files/rngd-initd-6.7 b/sys-apps/rng-tools/files/rngd-initd-6.7-r1
index e85581ba6cb4..4a284b4f505f 100644
--- a/sys-apps/rng-tools/files/rngd-initd-6.7
+++ b/sys-apps/rng-tools/files/rngd-initd-6.7-r1
@@ -10,7 +10,7 @@ depend() {
command="/usr/sbin/rngd"
description="Check and feed random data from hardware device to kernel entropy pool."
-pidfile="/var/run/${RC_SVCNAME}.pid"
+pidfile="/run/${RC_SVCNAME}.pid"
command_args=""
command_args_background="--pid-file ${pidfile} --background"
start_stop_daemon_args="--wait 1000"
diff --git a/sys-apps/rng-tools/rng-tools-6.7.ebuild b/sys-apps/rng-tools/rng-tools-6.7-r1.ebuild
index ca5962d6923d..c112d9e0d3f6 100644
--- a/sys-apps/rng-tools/rng-tools-6.7.ebuild
+++ b/sys-apps/rng-tools/rng-tools-6.7-r1.ebuild
@@ -75,7 +75,7 @@ src_configure() {
src_install() {
default
- newinitd "${FILESDIR}"/rngd-initd-6.7 rngd
+ newinitd "${FILESDIR}"/rngd-initd-6.7-r1 rngd
newconfd "${FILESDIR}"/rngd-confd-6.7 rngd
systemd_dounit "${FILESDIR}"/rngd.service