From 8c6132ee689913fa10285b0caa9a8e86bec524ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6kt=C3=BCrk=20Y=C3=BCksek?= Date: Wed, 5 Jun 2019 14:09:16 -0400 Subject: [PATCH] sys-apps/rng-tools: use '/run' instead of '/var/run' #685326 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/685326 Package-Manager: Portage-2.3.67, Repoman-2.3.12 Signed-off-by: Göktürk Yüksek --- sys-apps/rng-tools/files/{rngd-initd-6.7 => rngd-initd-6.7-r1} | 2 +- .../rng-tools/{rng-tools-6.7.ebuild => rng-tools-6.7-r1.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename sys-apps/rng-tools/files/{rngd-initd-6.7 => rngd-initd-6.7-r1} (97%) rename sys-apps/rng-tools/{rng-tools-6.7.ebuild => rng-tools-6.7-r1.ebuild} (97%) diff --git a/sys-apps/rng-tools/files/rngd-initd-6.7 b/sys-apps/rng-tools/files/rngd-initd-6.7-r1 similarity index 97% rename from sys-apps/rng-tools/files/rngd-initd-6.7 rename to 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 similarity index 97% rename from sys-apps/rng-tools/rng-tools-6.7.ebuild rename to 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 -- 2.26.2