sys-devel/distcc: improve init.d script, secure pidfile handling
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sun, 9 Dec 2018 06:17:53 +0000 (22:17 -0800)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sun, 9 Dec 2018 06:35:53 +0000 (22:35 -0800)
commitffd45776bb13d8ee7140fd5499413a7ffa873798
treea10a89cf4fdddfef5004212d156c424abef6bd54
parent25041b3c8b96316833b0761d6e9c47b5cad268df
sys-devel/distcc: improve init.d script, secure pidfile handling

removed unneeded start/stop functions

removed gcc spec/path loading, it's useless because
path whitelist is handled by compiler-shadow and we no longer
use gcc specs.

pidfile is now owned by root and created by s-s-d
pidfile path is now controlled by service name (/run/distccd.pid)
initfile no longer runs chmod on pidfile and parent directory.

Bug: https://bugs.gentoo.org/650854
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
sys-devel/distcc/distcc-3.3.2-r1.ebuild [new file with mode: 0644]
sys-devel/distcc/files/distccd.confd [new file with mode: 0644]
sys-devel/distcc/files/distccd.initd [new file with mode: 0644]