net-analyzer/suricata: Updated init.d and conf.d default pathes
authorSlawomir Lis <slis@gentoo.org>
Sun, 8 Sep 2019 19:02:22 +0000 (21:02 +0200)
committerSlawomir Lis <slis@gentoo.org>
Sun, 8 Sep 2019 19:24:41 +0000 (21:24 +0200)
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Slawek Lis <slis@gentoo.org>
net-analyzer/suricata/files/suricata-4.0.4-conf [moved from net-analyzer/suricata/files/suricata-4.0.3-conf with 100% similarity]
net-analyzer/suricata/files/suricata-4.0.4-init [moved from net-analyzer/suricata/files/suricata-4.0.3-init with 99% similarity]
net-analyzer/suricata/suricata-4.0.4.ebuild

similarity index 99%
rename from net-analyzer/suricata/files/suricata-4.0.3-init
rename to net-analyzer/suricata/files/suricata-4.0.4-init
index f54ba3a5e23ba5d5a3c101781556d588ffc41eef..1db8137f31a45d00b4b13041a234dd9ddef70636 100644 (file)
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 SURICATA_BIN=/usr/bin/suricata
index f476bfe2ae24f44bdcd1d5c4fcee456830bf9017..eea47cd01bdb47b997663d905b75469ab90cc1a0 100644 (file)
@@ -131,8 +131,8 @@ src_install() {
        fowners -R ${PN}: "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
        fperms 750 "/var/lib/${PN}" "/var/log/${PN}" "/etc/${PN}"
 
-       newinitd "${FILESDIR}/${PN}-4.0.3-init" ${PN}
-       newconfd "${FILESDIR}/${PN}-4.0.3-conf" ${PN}
+       newinitd "${FILESDIR}/${P}-init" ${PN}
+       newconfd "${FILESDIR}/${P}-conf" ${PN}
 
        if use logrotate; then
                insopts -m0644