commit: 6d850269d2f8f32e37c778e45caaba8273d9eb7f Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Sun Jan 12 09:01:05 2020 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Sun Jan 12 09:01:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d850269
net-analyzer/fail2ban: Install bashcomp file Package-Manager: Portage-2.3.84, Repoman-2.3.20 Closes: https://bugs.gentoo.org/705176 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> .../fail2ban/{fail2ban-0.10.5.ebuild => fail2ban-0.10.5-r1.ebuild} | 5 ++++- .../fail2ban/{fail2ban-0.11.1.ebuild => fail2ban-0.11.1-r1.ebuild} | 5 ++++- net-analyzer/fail2ban/fail2ban-99999999.ebuild | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/net-analyzer/fail2ban/fail2ban-0.10.5.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild similarity index 95% rename from net-analyzer/fail2ban/fail2ban-0.10.5.ebuild rename to net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild index 85730ff0b68..56a0f3046d2 100644 --- a/net-analyzer/fail2ban/fail2ban-0.10.5.ebuild +++ b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_6} ) DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 systemd +inherit bash-completion-r1 distutils-r1 systemd DESCRIPTION="scans log files and bans IPs that show malicious signs" HOMEPAGE="https://www.fail2ban.org/" @@ -72,6 +72,9 @@ python_install_all() { newins files/${PN}-logrotate ${PN} keepdir /var/lib/${PN} + + newbashcomp files/bash-completion ${PN}-client + bashcomp_alias ${PN}-client ${PN}-server ${PN}-regex } pkg_preinst() { diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild similarity index 95% rename from net-analyzer/fail2ban/fail2ban-0.11.1.ebuild rename to net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild index 2b9834eff16..8481a7ca53f 100644 --- a/net-analyzer/fail2ban/fail2ban-0.11.1.ebuild +++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_6} ) DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 systemd +inherit bash-completion-r1 distutils-r1 systemd DESCRIPTION="scans log files and bans IPs that show malicious signs" HOMEPAGE="https://www.fail2ban.org/" @@ -67,6 +67,9 @@ python_install_all() { newins files/${PN}-logrotate ${PN} keepdir /var/lib/${PN} + + newbashcomp files/bash-completion ${PN}-client + bashcomp_alias ${PN}-client ${PN}-server ${PN}-regex } pkg_preinst() { diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild index 59fb036b167..1618b1f20e2 100644 --- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild +++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_6} ) DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 git-r3 systemd +inherit bash-completion-r1 distutils-r1 git-r3 systemd DESCRIPTION="scans log files and bans IPs that show malicious signs" HOMEPAGE="https://www.fail2ban.org/" @@ -67,6 +67,9 @@ python_install_all() { newins files/${PN}-logrotate ${PN} keepdir /var/lib/${PN} + + newbashcomp files/bash-completion ${PN}-client + bashcomp_alias ${PN}-client ${PN}-server ${PN}-regex } pkg_preinst() {
