Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
Date: Fri, 29 Jan 2016 09:30:00
Message-Id: 1454056602.6505f589d009391718b532ded333de8543fc0d38.idella4@gentoo
1 commit: 6505f589d009391718b532ded333de8543fc0d38
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Thu Jan 28 23:56:36 2016 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 29 08:36:42 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6505f589
7
8 net-analyzer/fail2ban: add support for Python 3.5, fix fbsd deps
9
10 Package-Manager: portage-2.2.27
11
12 .../fail2ban/{fail2ban-0.9.3.ebuild => fail2ban-0.9.3-r1.ebuild} | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
16 similarity index 93%
17 rename from net-analyzer/fail2ban/fail2ban-0.9.3.ebuild
18 rename to net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
19 index 51f8963..72cb443 100644
20 --- a/net-analyzer/fail2ban/fail2ban-0.9.3.ebuild
21 +++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
22 @@ -1,9 +1,9 @@
23 -# Copyright 1999-2015 Gentoo Foundation
24 +# Copyright 1999-2016 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 # $Id$
27
28 EAPI=5
29 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
30 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
31 DISTUTILS_SINGLE_IMPL=1
32
33 inherit distutils-r1 eutils systemd vcs-snapshot
34 @@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
35 IUSE="selinux systemd"
36
37 RDEPEND="
38 - net-firewall/iptables
39 + kernel_linux? ( net-firewall/iptables )
40 net-misc/whois
41 virtual/logger
42 virtual/mta
43 @@ -35,7 +35,7 @@ DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
44
45 src_prepare() {
46 # Replace /var/run with /run, but not in the top source directory
47 - sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -type f -mindepth 2 ) || die
48 + sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -mindepth 2 -type f ) || die
49
50 # Fix bashisms and do not direct useful output to /dev/null (bug #536320)
51 # Remove global logrotate settings (bug #549856)