commit:     28f7686eec572ee9d5e6c956b68c4582197f763d
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 22:39:21 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 22:39:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f7686e

net-firewall/firehol: Install systemd service units, EAPI 8

Closes: https://bugs.gentoo.org/856964
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../firehol/{firehol-3.1.7-r1.ebuild => firehol-3.1.7-r2.ebuild}    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-firewall/firehol/firehol-3.1.7-r1.ebuild 
b/net-firewall/firehol/firehol-3.1.7-r2.ebuild
similarity index 94%
rename from net-firewall/firehol/firehol-3.1.7-r1.ebuild
rename to net-firewall/firehol/firehol-3.1.7-r2.ebuild
index 1432243602f9..79ef83977169 100644
--- a/net-firewall/firehol/firehol-3.1.7-r1.ebuild
+++ b/net-firewall/firehol/firehol-3.1.7-r2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit linux-info
+inherit linux-info systemd
 
 DESCRIPTION="iptables firewall generator"
 HOMEPAGE="https://firehol.org/ https://github.com/firehol/firehol";
@@ -64,4 +64,6 @@ src_install() {
        newinitd "${FILESDIR}"/firehol.initd firehol
        newconfd "${FILESDIR}"/fireqos.confd fireqos
        newinitd "${FILESDIR}"/fireqos.initd fireqos
+
+       systemd_dounit contrib/fire{hol,qos}.service
 }

Reply via email to