From 2fe4a3a6e01fed2b08daeb8a16d6104ab03d2a41 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Tue, 25 Aug 2015 14:02:22 +0300 Subject: [PATCH] net-misc/quagga: create directory for PID files during src_install Directory for PID files was not created during src_install, which makes impossible to use Quagga daemons before first reboot for systemd users Reported-by: Olipro Gentoo-Bug: 558194 Package-Manager: portage-2.2.20 --- .../{quagga-0.99.24.1.ebuild => quagga-0.99.24.1-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+) rename net-misc/quagga/{quagga-0.99.24.1.ebuild => quagga-0.99.24.1-r1.ebuild} (95%) diff --git a/net-misc/quagga/quagga-0.99.24.1.ebuild b/net-misc/quagga/quagga-0.99.24.1-r1.ebuild similarity index 95% rename from net-misc/quagga/quagga-0.99.24.1.ebuild rename to net-misc/quagga/quagga-0.99.24.1-r1.ebuild index 57e23b3d4c2a..c8af9d03a331 100644 --- a/net-misc/quagga/quagga-0.99.24.1.ebuild +++ b/net-misc/quagga/quagga-0.99.24.1-r1.ebuild @@ -103,6 +103,11 @@ src_install() { fowners root:quagga /etc/quagga fperms 0770 /etc/quagga + # Path for PIDs before first reboot should be created here, bug #558194 + dodir /run/quagga + fowners quagga:quagga /run/quagga + fperms 0770 /run/quagga + # Install systemd-related stuff, bug #553136 systemd_dotmpfilesd "${FILESDIR}/systemd/quagga.conf" systemd_dounit "${FILESDIR}/systemd/zebra.service" -- 2.26.2