From eb000da7c1daada1463cc9e32727c7e14101bbcf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 17 Sep 2017 19:09:41 +0100 Subject: make mrproper --- .../files/firewalld-0.3.10-py3k-compat.patch | 24 ---------------------- net-firewall/firewalld/files/firewalld.init | 13 ------------ 2 files changed, 37 deletions(-) delete mode 100644 net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch delete mode 100644 net-firewall/firewalld/files/firewalld.init (limited to 'net-firewall/firewalld/files') diff --git a/net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch b/net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch deleted file mode 100644 index e91590f1..00000000 --- a/net-firewall/firewalld/files/firewalld-0.3.10-py3k-compat.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/firewall/core/io/direct.py b/src/firewall/core/io/direct.py -index b698e4c..6b80201 100644 ---- a/src/firewall/core/io/direct.py -+++ b/src/firewall/core/io/direct.py -@@ -295,8 +295,8 @@ class Direct(IO_Object): - if len(self.passthroughs[ipv]) == 0: - del self.passthroughs[ipv] - else: -- raise ValueError, "Passthrough '%s' for ipv '%s'" % \ -- ("',".join(args), ipv) + "not in list" -+ raise ValueError("Passthrough '%s' for ipv '%s'" % \ -+ ("',".join(args), ipv) + "not in list") - - def query_passthrough(self, ipv, args): - return (ipv in self.passthroughs and args in self.passthroughs[ipv]) -@@ -305,7 +305,7 @@ class Direct(IO_Object): - if ipv in self.passthroughs: - return self.passthroughs[ipv] - else: -- raise ValueError, "No passthroughs for ipv '%s'" % (ipv) -+ raise ValueError("No passthroughs for ipv '%s'" % (ipv)) - - def get_all_passthroughs(self): - return self.passthroughs diff --git a/net-firewall/firewalld/files/firewalld.init b/net-firewall/firewalld/files/firewalld.init deleted file mode 100644 index b1d7d15d..00000000 --- a/net-firewall/firewalld/files/firewalld.init +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -description="FirewallD" -command=/usr/sbin/firewalld -pidfile=/var/run/firewalld.pid - -depend() { - need dbus - provide iptables ip6tables ebtables -} -- cgit v1.2.3