summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2016-01-29 00:56:36 +0100
committerLouis Sautier <sautier.louis@gmail.com>2016-01-29 09:36:42 +0100
commit6505f589d009391718b532ded333de8543fc0d38 (patch)
tree1e525ef5a3433d03b26b78b787a90f52d995bd7c /net-analyzer
parentdev-ros/gazebo_plugins: backport upstream fixes to build with gazebo7 (diff)
downloadgentoo-6505f589d009391718b532ded333de8543fc0d38.tar.gz
gentoo-6505f589d009391718b532ded333de8543fc0d38.tar.bz2
gentoo-6505f589d009391718b532ded333de8543fc0d38.zip
net-analyzer/fail2ban: add support for Python 3.5, fix fbsd deps
Package-Manager: portage-2.2.27
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild (renamed from net-analyzer/fail2ban/fail2ban-0.9.3.ebuild)8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 51f8963bbdf9..72cb4431b599 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 eutils systemd vcs-snapshot
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
RDEPEND="
- net-firewall/iptables
+ kernel_linux? ( net-firewall/iptables )
net-misc/whois
virtual/logger
virtual/mta
@@ -35,7 +35,7 @@ DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
src_prepare() {
# Replace /var/run with /run, but not in the top source directory
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -type f -mindepth 2 ) || die
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -mindepth 2 -type f ) || die
# Fix bashisms and do not direct useful output to /dev/null (bug #536320)
# Remove global logrotate settings (bug #549856)