Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
Date: Sun, 12 Jan 2020 09:01:49
Message-Id: 1578819700.6d850269d2f8f32e37c778e45caaba8273d9eb7f.jer@gentoo
1 commit: 6d850269d2f8f32e37c778e45caaba8273d9eb7f
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 12 09:01:05 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 12 09:01:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d850269
7
8 net-analyzer/fail2ban: Install bashcomp file
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Closes: https://bugs.gentoo.org/705176
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 .../fail2ban/{fail2ban-0.10.5.ebuild => fail2ban-0.10.5-r1.ebuild} | 5 ++++-
15 .../fail2ban/{fail2ban-0.11.1.ebuild => fail2ban-0.11.1-r1.ebuild} | 5 ++++-
16 net-analyzer/fail2ban/fail2ban-99999999.ebuild | 5 ++++-
17 3 files changed, 12 insertions(+), 3 deletions(-)
18
19 diff --git a/net-analyzer/fail2ban/fail2ban-0.10.5.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
20 similarity index 95%
21 rename from net-analyzer/fail2ban/fail2ban-0.10.5.ebuild
22 rename to net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
23 index 85730ff0b68..56a0f3046d2 100644
24 --- a/net-analyzer/fail2ban/fail2ban-0.10.5.ebuild
25 +++ b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
26 @@ -5,7 +5,7 @@ EAPI=7
27 PYTHON_COMPAT=( python{2_7,3_6} )
28 DISTUTILS_SINGLE_IMPL=1
29
30 -inherit distutils-r1 systemd
31 +inherit bash-completion-r1 distutils-r1 systemd
32
33 DESCRIPTION="scans log files and bans IPs that show malicious signs"
34 HOMEPAGE="https://www.fail2ban.org/"
35 @@ -72,6 +72,9 @@ python_install_all() {
36 newins files/${PN}-logrotate ${PN}
37
38 keepdir /var/lib/${PN}
39 +
40 + newbashcomp files/bash-completion ${PN}-client
41 + bashcomp_alias ${PN}-client ${PN}-server ${PN}-regex
42 }
43
44 pkg_preinst() {
45
46 diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild
47 similarity index 95%
48 rename from net-analyzer/fail2ban/fail2ban-0.11.1.ebuild
49 rename to net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild
50 index 2b9834eff16..8481a7ca53f 100644
51 --- a/net-analyzer/fail2ban/fail2ban-0.11.1.ebuild
52 +++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild
53 @@ -5,7 +5,7 @@ EAPI=7
54 PYTHON_COMPAT=( python{2_7,3_6} )
55 DISTUTILS_SINGLE_IMPL=1
56
57 -inherit distutils-r1 systemd
58 +inherit bash-completion-r1 distutils-r1 systemd
59
60 DESCRIPTION="scans log files and bans IPs that show malicious signs"
61 HOMEPAGE="https://www.fail2ban.org/"
62 @@ -67,6 +67,9 @@ python_install_all() {
63 newins files/${PN}-logrotate ${PN}
64
65 keepdir /var/lib/${PN}
66 +
67 + newbashcomp files/bash-completion ${PN}-client
68 + bashcomp_alias ${PN}-client ${PN}-server ${PN}-regex
69 }
70
71 pkg_preinst() {
72
73 diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
74 index 59fb036b167..1618b1f20e2 100644
75 --- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
76 +++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
77 @@ -5,7 +5,7 @@ EAPI=7
78 PYTHON_COMPAT=( python{2_7,3_6} )
79 DISTUTILS_SINGLE_IMPL=1
80
81 -inherit distutils-r1 git-r3 systemd
82 +inherit bash-completion-r1 distutils-r1 git-r3 systemd
83
84 DESCRIPTION="scans log files and bans IPs that show malicious signs"
85 HOMEPAGE="https://www.fail2ban.org/"
86 @@ -67,6 +67,9 @@ python_install_all() {
87 newins files/${PN}-logrotate ${PN}
88
89 keepdir /var/lib/${PN}
90 +
91 + newbashcomp files/bash-completion ${PN}-client
92 + bashcomp_alias ${PN}-client ${PN}-server ${PN}-regex
93 }
94
95 pkg_preinst() {