From: Mike Gilbert Date: Fri, 19 Aug 2016 01:49:49 +0000 (-0400) Subject: net-firewall/iptables: drop iptables.service X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=746c559118d7b3c95a1f78d4d7730d9ba4c8e4f6;p=gentoo.git net-firewall/iptables: drop iptables.service This unit really serves no real purpose. The utility of being able to call "systemctl enable iptables" is questionable at best. Given that iptables is not really a daemon but rather a kernel process, having as single unit that persists with RemainAfterExit seems wrong as well. Bug: https://bugs.gentoo.org/555920 Package-Manager: portage-2.3.0_p16 --- diff --git a/net-firewall/iptables/iptables-1.6.0.ebuild b/net-firewall/iptables/iptables-1.6.0-r1.ebuild similarity index 94% rename from net-firewall/iptables/iptables-1.6.0.ebuild rename to net-firewall/iptables/iptables-1.6.0-r1.ebuild index d3c06aaa1420..a8fe28244ad1 100644 --- a/net-firewall/iptables/iptables-1.6.0.ebuild +++ b/net-firewall/iptables/iptables-1.6.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -101,9 +101,9 @@ src_install() { newconfd "${FILESDIR}"/ip6tables-1.4.13.confd ip6tables fi - systemd_dounit "${FILESDIR}"/systemd/iptables{,-{re,}store}.service + systemd_dounit "${FILESDIR}"/systemd/iptables-{re,}store.service if use ipv6 ; then - systemd_dounit "${FILESDIR}"/systemd/ip6tables{,-{re,}store}.service + systemd_dounit "${FILESDIR}"/systemd/ip6tables-{re,}store.service fi # Move important libs to /lib #332175