net-firewall/iptables: drop iptables.service
authorMike Gilbert <floppym@gentoo.org>
Fri, 19 Aug 2016 01:49:49 +0000 (21:49 -0400)
committerMike Gilbert <floppym@gentoo.org>
Fri, 19 Aug 2016 01:50:28 +0000 (21:50 -0400)
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

net-firewall/iptables/iptables-1.6.0-r1.ebuild [moved from net-firewall/iptables/iptables-1.6.0.ebuild with 94% similarity]

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 d3c06aaa14204ce737e4d54979b3e5844fbe59d0..a8fe28244ad1d8ad0870ecb6166e75498755c211 100644 (file)
@@ -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