net-analyzer/nrpe: new revision to fix the systemd service.
authorMichael Orlitzky <mjo@gentoo.org>
Sun, 16 Jul 2017 12:41:10 +0000 (08:41 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Sun, 16 Jul 2017 12:41:10 +0000 (08:41 -0400)
The systemd unit file we were shipping no longer works with
nrpe-3.x. Fortunately, upstream has their own service file which will
work for us. We now use upstream's copy instead. Thanks to Nemunaire
for the report, fix, and testing.

Gentoo-Bug: 620020

Package-Manager: Portage-2.3.6, Repoman-2.3.1

net-analyzer/nrpe/nrpe-3.2.0-r1.ebuild [moved from net-analyzer/nrpe/nrpe-3.2.0.ebuild with 96% similarity]

similarity index 96%
rename from net-analyzer/nrpe/nrpe-3.2.0.ebuild
rename to net-analyzer/nrpe/nrpe-3.2.0-r1.ebuild
index 47ab35e74b4ef591c5982b8a3616299a063977a6..08d233c3de60beda6a903e41085409c69b1aed0f 100644 (file)
@@ -49,7 +49,7 @@ src_install() {
        fperms 0640 /etc/nagios/nrpe.cfg
 
        newinitd "${FILESDIR}/nrpe-${PV}.init" nrpe
-       systemd_dounit "${FILESDIR}/${PN}.service"
+       systemd_newunit "startup/default-service" "${PN}.service"
 
        insinto /etc/xinetd.d/
        newins "${FILESDIR}/nrpe.xinetd.2" nrpe