From: Göktürk Yüksek Date: Wed, 5 Jun 2019 18:09:16 +0000 (-0400) Subject: sys-apps/rng-tools: use '/run' instead of '/var/run' #685326 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c6132ee689913fa10285b0caa9a8e86bec524ba;p=gentoo.git 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 --- 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