sys-apps/rng-tools: use '/run' instead of '/var/run' #685326
authorGöktürk Yüksek <gokturk@gentoo.org>
Wed, 5 Jun 2019 18:09:16 +0000 (14:09 -0400)
committerGöktürk Yüksek <gokturk@gentoo.org>
Wed, 5 Jun 2019 18:17:38 +0000 (14:17 -0400)
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>
sys-apps/rng-tools/files/rngd-initd-6.7-r1 [moved from sys-apps/rng-tools/files/rngd-initd-6.7 with 97% similarity]
sys-apps/rng-tools/rng-tools-6.7-r1.ebuild [moved from sys-apps/rng-tools/rng-tools-6.7.ebuild with 97% similarity]

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 e85581ba6cb40c7653be8fb077a51c831e19fda2..4a284b4f505f9d43c48b4b92fdcf56a31b5e62e5 100644 (file)
@@ -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"
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 ca5962d6923dd1c292d83e0224108120c4184508..c112d9e0d3f6578f968668f7d12e85cb798485f5 100644 (file)
@@ -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