* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-03-19 21:24 Patrice Clement
0 siblings, 0 replies; 134+ messages in thread
From: Patrice Clement @ 2016-03-19 21:24 UTC (permalink / raw
To: gentoo-commits
commit: 8934040f393bc4859c93d567e4614497fdcf2115
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Fri Mar 18 09:07:11 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 21:00:50 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8934040f
net-analyzer/fail2ban: apply changes from the 0.9.3 ebuild to 0.9.4
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1078
net-analyzer/fail2ban/fail2ban-0.9.4.ebuild | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
index eae742b..3f29cce3 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
@@ -17,8 +17,10 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
+# TODO support ipfw and ipfilter
RDEPEND="
kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
net-misc/whois
virtual/logger
virtual/mta
@@ -33,24 +35,22 @@ REQUIRED_USE="systemd? ( !python_single_target_pypy )"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-src_prepare() {
+python_prepare_all() {
# Replace /var/run with /run, but not in the top source directory
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' $( find . -mindepth 2 -type f ) || die
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
- # Fix bashisms and do not direct useful output to /dev/null (bug #536320)
- # Remove global logrotate settings (bug #549856)
-
- distutils-r1_src_prepare
+ distutils-r1_python_prepare_all
}
python_test() {
- ${EPYTHON} bin/${PN}-testcases
+ "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
}
-src_install() {
- distutils-r1_src_install
+python_install_all() {
+ distutils-r1_python_install_all
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run
+ rm -r "${D}"/usr/share/doc/${PN} "${D}"/run || die
# not FILESDIR
newconfd files/gentoo-confd ${PN}
@@ -93,7 +93,6 @@ pkg_postinst() {
elog "If you want to use ${PN}'s persistent database, then reinstall"
elog "dev-lang/python with USE=sqlite"
fi
-
if has_version sys-apps/systemd[-python]; then
elog "If you want to track logins through sys-apps/systemd's"
elog "journal backend, then reinstall sys-apps/systemd with USE=python"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-10-12 15:05 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-10-12 15:05 UTC (permalink / raw
To: gentoo-commits
commit: dc97ab164221340242733ebceb5f88307835c314
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 12 15:04:10 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 12 15:04:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc97ab16
net-analyzer/fail2ban: Stabilize 1.1.0-r2 sparc, #940437
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
index aa1a5b054c52..e8ebe6ffebdf 100644
--- a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-08-29 6:34 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2024-08-29 6:34 UTC (permalink / raw
To: gentoo-commits
commit: b99cafd20de9b595402946288aa37685ba40ccaa
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 06:33:52 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 06:33:52 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b99cafd2
net-analyzer/fail2ban: Stabilize 1.1.0-r2 ppc, #938646
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
index 53a2b41e3c7f..aa1a5b054c52 100644
--- a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-08-29 6:34 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2024-08-29 6:34 UTC (permalink / raw
To: gentoo-commits
commit: ba2e461d320f87b558f1bfdfab888a0f17b64926
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 06:33:35 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 06:33:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba2e461d
net-analyzer/fail2ban: Stabilize 1.1.0-r2 amd64, #938646
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
index 01b27824421f..e34929008acf 100644
--- a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-08-29 6:34 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2024-08-29 6:34 UTC (permalink / raw
To: gentoo-commits
commit: 1775d5c7c890ecfa5585d3b365c7bfcba9f2f1a9
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 06:33:38 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 06:33:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1775d5c7
net-analyzer/fail2ban: Stabilize 1.1.0-r2 ppc64, #938646
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
index e34929008acf..53a2b41e3c7f 100644
--- a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-08-29 5:10 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2024-08-29 5:10 UTC (permalink / raw
To: gentoo-commits
commit: 0ae4aaa18023c92f11251d51ee3e5e4403bc9fae
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 05:09:31 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 05:09:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae4aaa1
net-analyzer/fail2ban: Stabilize 1.1.0-r2 arm, #938646
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
index 76a0e39415a0..38d88b336877 100644
--- a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~alpha ~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-08-29 5:10 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2024-08-29 5:10 UTC (permalink / raw
To: gentoo-commits
commit: 8e95bb98e3b906915357e83f2b003b177bca723c
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 05:09:37 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 05:09:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e95bb98
net-analyzer/fail2ban: Stabilize 1.1.0-r2 arm64, #938646
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
index 38d88b336877..01b27824421f 100644
--- a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~alpha ~amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-08-29 3:15 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-08-29 3:15 UTC (permalink / raw
To: gentoo-commits
commit: bced1a257293df9d3be09778689493ad31bead7a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 03:15:03 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 03:15:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bced1a25
net-analyzer/fail2ban: Stabilize 1.1.0-r2 x86, #938646
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
index 5cf1db15faa4..76a0e39415a0 100644
--- a/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-07-17 5:14 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-07-17 5:14 UTC (permalink / raw
To: gentoo-commits
commit: 504883649c02a8ab0ac6b40133a6a2d950cf9e1b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 05:13:49 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 05:13:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50488364
net-analyzer/fail2ban: enable py3.13
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild
index 653e6d91c9c9..0035a85226e7 100644
--- a/net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 8f83d3ea20cf..45aad51f16eb 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-07-17 5:14 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-07-17 5:14 UTC (permalink / raw
To: gentoo-commits
commit: 294bc01a5b27c5d3a0cd32f0ab36ccbe3a5f907f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 05:10:45 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 05:10:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=294bc01a
net-analyzer/fail2ban: drop 1.0.2-r2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild | 129 -------------------------
1 file changed, 129 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild
deleted file mode 100644
index bac3914820d3..000000000000
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit bash-completion-r1 distutils-r1 systemd tmpfiles
-
-DESCRIPTION="Scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/fail2ban/fail2ban"
- inherit git-r3
-else
- SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? (
- $(python_gen_cond_dep '
- dev-python/python-systemd[${PYTHON_USEDEP}]
- ')
- )
-"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
- "${FILESDIR}"/${PN}-1.0.2-umask-tests.patch
- "${FILESDIR}"/${P}-configreader-warning.patch
-)
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-}
-
-python_compile() {
- ./fail2ban-2to3 || die
- distutils-r1_python_compile
-}
-
-python_test() {
- # Skip testRepairDb for bug #907348 (didn't always fail..)
- bin/fail2ban-testcases \
- --no-network \
- --no-gamin \
- --ignore databasetestcase.DatabaseTest.testRepairDb \
- --verbosity=4 || die "Tests failed with ${EPYTHON}"
-
- # Workaround for bug #790251
- rm -rf fail2ban.egg-info || die
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
-
- newconfd files/fail2ban-openrc.conf ${PN}
-
- # These two are placed in the ${BUILD_DIR} after being "built"
- # in install_scripts().
- newinitd "${BUILD_DIR}/fail2ban-openrc.init" "${PN}"
- systemd_dounit "${BUILD_DIR}/${PN}.service"
-
- dotmpfiles files/${PN}-tmpfiles.conf
-
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- 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() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}-tmpfiles.conf
-
- if [[ ${previous_less_than_0_7} == 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2Ban!"
- elog
- elog "Fail2Ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify ; then
- elog "For most jail.conf configurations, it is recommended you install"
- elog "dev-python/pyinotify to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite] ; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-06-01 22:19 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-06-01 22:19 UTC (permalink / raw
To: gentoo-commits
commit: def6c2f98cf4021053c09c5fc58c84343f1de7ac
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 22:18:22 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 22:18:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=def6c2f9
net-analyzer/fail2ban: Stabilize 1.0.2-r3 sparc, #930866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index 8a6028ad1ced..2e6568d78a9e 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-06-01 22:19 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-06-01 22:19 UTC (permalink / raw
To: gentoo-commits
commit: eccf9081825f94949ac04bcf2427a5c7191f0cb4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 22:18:27 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 22:18:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eccf9081
net-analyzer/fail2ban: Stabilize 1.0.2-r3 x86, #930866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index 2e6568d78a9e..fd9d7373924e 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-06-01 22:19 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-06-01 22:19 UTC (permalink / raw
To: gentoo-commits
commit: b2eb56be350557cf64751a42c5bf5ba3aa672f59
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 22:18:13 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 22:18:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2eb56be
net-analyzer/fail2ban: Stabilize 1.0.2-r3 ppc64, #930866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index 78a80d2d7b08..aa99c8a86a55 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-06-01 22:19 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-06-01 22:19 UTC (permalink / raw
To: gentoo-commits
commit: 14ad5680deec76daba3a5ef361aaa45a4016a699
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 22:18:04 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 22:18:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ad5680
net-analyzer/fail2ban: Stabilize 1.0.2-r3 arm64, #930866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index ca11fdf931a0..a7f5705b22e2 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-06-01 22:19 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-06-01 22:19 UTC (permalink / raw
To: gentoo-commits
commit: 2f9d65989b6eda03bec9e869ebfdcbce5e53763f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 22:18:09 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 22:18:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f9d6598
net-analyzer/fail2ban: Stabilize 1.0.2-r3 arm, #930866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index a7f5705b22e2..78a80d2d7b08 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-06-01 22:19 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-06-01 22:19 UTC (permalink / raw
To: gentoo-commits
commit: 19151134cd090560eb2b3858bb340f4a13c30ffd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 22:18:18 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 22:18:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19151134
net-analyzer/fail2ban: Stabilize 1.0.2-r3 ppc, #930866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index aa99c8a86a55..8a6028ad1ced 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-06-01 22:19 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-06-01 22:19 UTC (permalink / raw
To: gentoo-commits
commit: 2176ed93411d974d9190ee7d74378b94c65e2723
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 22:17:59 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 22:17:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2176ed93
net-analyzer/fail2ban: Stabilize 1.0.2-r3 amd64, #930866
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index f78595850988..ca11fdf931a0 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-05-28 11:52 Michał Górny
0 siblings, 0 replies; 134+ messages in thread
From: Michał Górny @ 2024-05-28 11:52 UTC (permalink / raw
To: gentoo-commits
commit: af0c5b0cea146ef60c848d5ab0139ec8a45ddfcd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 11:50:11 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 28 11:52:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af0c5b0c
net-analyzer/fail2ban: Drop hppa
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild
index 2a67b21bda7b..bac3914820d3 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-04-28 23:28 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-04-28 23:28 UTC (permalink / raw
To: gentoo-commits
commit: 1a449c65452afa449103dcac087bc0b8a1476d04
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 23:27:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 23:28:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a449c65
net-analyzer/fail2ban: add 1.1.0
Closes: https://bugs.gentoo.org/930737
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/{fail2ban-9999.ebuild => fail2ban-1.1.0.ebuild} | 2 +-
net-analyzer/fail2ban/fail2ban-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index ab84e5639461..54681ec36bc0 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1 +1,2 @@
DIST fail2ban-1.0.2.tar.gz 583295 BLAKE2B 84eb5e3487c4db734f4f0a36af142d520e1cc53c2960893ee2f05ff4e78133860be59ed9580fa0d972509a03c17e5d9458b8e3f6b470a4c3154f10911f94691e SHA512 688a84361b5794e1658f53d2d200ce752fe1e3320ddb1742c32c4b4b82a79ace16ae464e7ea3eeb94a0e862bcac73c2d3a0e61dd7b28e179a4c857f950d74dbb
+DIST fail2ban-1.1.0.tar.gz 603854 BLAKE2B f7c2d3a1e5b5cdca1f26d92cefe75958bb61b87ad1cf316380b91527c96f3261e5665478c5fbb053f6419956dda934c8ef3ce837af2819b1b1c8d162246fc15f SHA512 9bff7b9c41e58a953901800468e5c4153c9db6af01c7eb18111ad8620b40d03a0771020472fb759b2809d250e2bb45471e6c7e8283e72ea48290ecf7bf921821
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-1.1.0.ebuild
similarity index 97%
copy from net-analyzer/fail2ban/fail2ban-9999.ebuild
copy to net-analyzer/fail2ban/fail2ban-1.1.0.ebuild
index f9f5b8721fff..8f83d3ea20cf 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.1.0.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index f9f5b8721fff..8f83d3ea20cf 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-04-19 6:39 Ionen Wolkens
0 siblings, 0 replies; 134+ messages in thread
From: Ionen Wolkens @ 2024-04-19 6:39 UTC (permalink / raw
To: gentoo-commits
commit: 519df8d0108a6c31344dba65cd4303fb69217a38
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Thu Apr 18 18:35:31 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 06:37:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519df8d0
net-analyzer/fail2ban: Keyword 1.0.2-r3 alpha, #926965
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index 1c38ffd409b6..f78595850988 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-04-18 16:17 Arthur Zamarin
0 siblings, 0 replies; 134+ messages in thread
From: Arthur Zamarin @ 2024-04-18 16:17 UTC (permalink / raw
To: gentoo-commits
commit: 605ebc7960c4dbb041f356f6c538b3a27c9f0819
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Thu Apr 18 15:44:17 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 16:10:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=605ebc79
net-analyzer/fail2ban: Keyword 1.0.2-r3 loong, #926965
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index 0553fd3cd2c4..1c38ffd409b6 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-04-18 16:16 Arthur Zamarin
0 siblings, 0 replies; 134+ messages in thread
From: Arthur Zamarin @ 2024-04-18 16:16 UTC (permalink / raw
To: gentoo-commits
commit: b0fd21bd33d918b7e9ee94d5a649deade67ef6b1
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Thu Apr 18 15:43:12 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 16:10:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0fd21bd
net-analyzer/fail2ban: Keyword 1.0.2-r3 ppc, #926965
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index bcdbb6a07bd7..0553fd3cd2c4 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-03-18 12:01 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2024-03-18 12:01 UTC (permalink / raw
To: gentoo-commits
commit: f13e3fd6f37cdb0bf168a5a9dea62575241c02b6
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 12:01:11 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 12:01:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13e3fd6
net-analyzer/fail2ban: Keyword 1.0.2-r3 riscv, #926965
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index a6c77a9edf1b..3d1da9eccc8d 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~riscv"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2024-03-14 4:52 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2024-03-14 4:52 UTC (permalink / raw
To: gentoo-commits
commit: f0f6688522dd2809feccb3d691db98364b0919f0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 04:26:44 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 04:51:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f66885
net-analyzer/fail2ban: enable py3.12
Bug: https://bugs.gentoo.org/909998
Signed-off-by: Sam James <sam <AT> gentoo.org>
...ail2ban-9999.ebuild => fail2ban-1.0.2-r3.ebuild} | 21 ++++++++++++++++++---
net-analyzer/fail2ban/fail2ban-9999.ebuild | 21 +++++++++++++++++----
2 files changed, 35 insertions(+), 7 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
similarity index 86%
copy from net-analyzer/fail2ban/fail2ban-9999.ebuild
copy to net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
index d9a3b9fdb4da..a6c77a9edf1b 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64"
fi
LICENSE="GPL-2"
@@ -24,6 +24,10 @@ SLOT="0"
IUSE="selinux systemd"
RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/pyasyncore[${PYTHON_USEDEP}]
+ dev-python/pyasynchat[${PYTHON_USEDEP}]
+ ' 3.12)
virtual/logger
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
@@ -39,6 +43,7 @@ DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
PATCHES=(
"${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
"${FILESDIR}"/${PN}-1.0.2-umask-tests.patch
+ "${FILESDIR}"/${P}-configreader-warning.patch
)
python_prepare_all() {
@@ -47,12 +52,22 @@ python_prepare_all() {
# Replace /var/run with /run, but not in the top source directory
find . -mindepth 2 -type f -exec \
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ # Incompatible with Python 3.12 in 1.0.x, 9999 uses dev-python/aiosmtpd.
+ rm fail2ban/tests/action_d/test_smtp.py || die
+}
+
+python_compile() {
+ ./fail2ban-2to3 || die
+ distutils-r1_python_compile
}
python_test() {
# Skip testRepairDb for bug #907348 (didn't always fail..)
+ # https://github.com/fail2ban/fail2ban/issues/3586
bin/fail2ban-testcases \
--no-network \
+ --no-gamin \
--ignore databasetestcase.DatabaseTest.testRepairDb \
--verbosity=4 || die "Tests failed with ${EPYTHON}"
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index d9a3b9fdb4da..f9f5b8721fff 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
@@ -16,14 +16,19 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~amd64"
fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="selinux systemd"
+IUSE="selinux systemd test"
+RESTRICT="!test? ( test )"
RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/pyasyncore[${PYTHON_USEDEP}]
+ dev-python/pyasynchat[${PYTHON_USEDEP}]
+ ' 3.12)
virtual/logger
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
@@ -33,6 +38,13 @@ RDEPEND="
')
)
"
+BDEPEND="
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/aiosmtpd[${PYTHON_USEDEP}]
+ ')
+ )
+"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
@@ -51,6 +63,7 @@ python_prepare_all() {
python_test() {
# Skip testRepairDb for bug #907348 (didn't always fail..)
+ # https://github.com/fail2ban/fail2ban/issues/3586
bin/fail2ban-testcases \
--no-network \
--ignore databasetestcase.DatabaseTest.testRepairDb \
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-12-28 3:43 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2023-12-28 3:43 UTC (permalink / raw
To: gentoo-commits
commit: 34c34253270df761187ce761cc095228f813ef1c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 03:41:18 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 03:41:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c34253
net-analyzer/fail2ban: drop 1.0.2-r1
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 136 -------------------------
1 file changed, 136 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
deleted file mode 100644
index 9372d37e5fb4..000000000000
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit bash-completion-r1 distutils-r1 systemd tmpfiles
-
-DESCRIPTION="Scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/fail2ban/fail2ban"
- inherit git-r3
-else
- SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? (
- $(python_gen_cond_dep '
- || (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' )
- )
-"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
- "${FILESDIR}"/${P}-configreader-warning.patch
-)
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-}
-
-python_compile() {
- ./fail2ban-2to3 || die
- distutils-r1_python_compile
-}
-
-python_test() {
- # Skip testRepairDb for bug #907348 (didn't always fail..)
- bin/fail2ban-testcases \
- --no-network \
- --no-gamin \
- --ignore databasetestcase.DatabaseTest.testRepairDb \
- --verbosity=4 || die "Tests failed with ${EPYTHON}"
-
- # Workaround for bug #790251
- rm -rf fail2ban.egg-info || die
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
-
- newconfd files/fail2ban-openrc.conf ${PN}
-
- # These two are placed in the ${BUILD_DIR} after being "built"
- # in install_scripts().
- newinitd "${BUILD_DIR}/fail2ban-openrc.init" "${PN}"
- systemd_dounit "${BUILD_DIR}/${PN}.service"
-
- dotmpfiles files/${PN}-tmpfiles.conf
-
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- 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() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}-tmpfiles.conf
-
- if [[ ${previous_less_than_0_7} = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2Ban!"
- elog
- elog "Fail2Ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite] ; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-
- if has_version sys-apps/systemd[-python] ; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-07-03 23:08 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2023-07-03 23:08 UTC (permalink / raw
To: gentoo-commits
commit: 116de834927671d66376f7088cc7d6086fbb94d6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 3 23:07:52 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 3 23:07:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116de834
net-analyzer/fail2ban: drop leftover line
It doesn't work even w/o the typo, sorry, I thought I'd cleaned all of this up.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-9999.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index b657eb644f4a..d9a3b9fdb4da 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -4,7 +4,6 @@
EAPI=8
DISTUTILS_SINGLE_IMPL=1
-DISUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-07-02 19:55 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2023-07-02 19:55 UTC (permalink / raw
To: gentoo-commits
commit: 7c84f4505e7c7c2aa4711bde88429952e6ff2d44
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 2 19:29:22 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 19:55:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c84f450
net-analyzer/fail2ban: ignore if bad .egg-info doesn't exist
This doesn't seem to always be here, so just use -f to ignore it if it's absent.
Closes: https://bugs.gentoo.org/856727
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
index 78eedfc19464..51759787dd17 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
@@ -63,7 +63,7 @@ python_test() {
--verbosity=4 || die "Tests failed with ${EPYTHON}"
# Workaround for bug #790251
- rm -r fail2ban.egg-info || die
+ rm -rf fail2ban.egg-info || die
}
python_install_all() {
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 780f4c65a50a..80d515fa89e4 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -55,7 +55,7 @@ python_test() {
--verbosity=4 || die "Tests failed with ${EPYTHON}"
# Workaround for bug #790251
- rm -r fail2ban.egg-info || die
+ rm -rf fail2ban.egg-info || die
}
python_install_all() {
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-07-02 19:55 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2023-07-02 19:55 UTC (permalink / raw
To: gentoo-commits
commit: 29cfe8fc0aa6d451979cb2966414451767d27491
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 2 19:54:41 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 19:55:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cfe8fc
net-analyzer/fail2ban: skip broken test
Closes: https://bugs.gentoo.org/907348
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 ++
net-analyzer/fail2ban/fail2ban-9999.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
index 51759787dd17..9372d37e5fb4 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
@@ -57,9 +57,11 @@ python_compile() {
}
python_test() {
+ # Skip testRepairDb for bug #907348 (didn't always fail..)
bin/fail2ban-testcases \
--no-network \
--no-gamin \
+ --ignore databasetestcase.DatabaseTest.testRepairDb \
--verbosity=4 || die "Tests failed with ${EPYTHON}"
# Workaround for bug #790251
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 80d515fa89e4..19d76da94cf4 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -50,8 +50,10 @@ python_prepare_all() {
}
python_test() {
+ # Skip testRepairDb for bug #907348 (didn't always fail..)
bin/fail2ban-testcases \
--no-network \
+ --ignore databasetestcase.DatabaseTest.testRepairDb \
--verbosity=4 || die "Tests failed with ${EPYTHON}"
# Workaround for bug #790251
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-07-02 18:58 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2023-07-02 18:58 UTC (permalink / raw
To: gentoo-commits
commit: eac54734250882a82dd9f67f48b29d8a173b8b80
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 2 18:37:06 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 18:37:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eac54734
net-analyzer/fail2ban: disable py3.9
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
index a1d63c65afee..78eedfc19464 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index ed94d18e70a8..4112631ff0a1 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-07-02 18:58 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2023-07-02 18:58 UTC (permalink / raw
To: gentoo-commits
commit: f65c46b3047702e8ea69f5ea0910b2cbab4fe9bc
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 2 18:38:04 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 2 18:57:24 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65c46b3
net-analyzer/fail2ban: cleanup live
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-9999.ebuild | 27 +++++++--------------------
1 file changed, 7 insertions(+), 20 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 4112631ff0a1..780f4c65a50a 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -4,6 +4,7 @@
EAPI=8
DISTUTILS_SINGLE_IMPL=1
+DISUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
@@ -29,10 +30,8 @@ RDEPEND="
selinux? ( sec-policy/selinux-fail2ban )
systemd? (
$(python_gen_cond_dep '
- || (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' )
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ ')
)
"
@@ -50,15 +49,9 @@ python_prepare_all() {
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
}
-python_compile() {
- ./fail2ban-2to3 || die
- distutils-r1_python_compile
-}
-
python_test() {
bin/fail2ban-testcases \
--no-network \
- --no-gamin \
--verbosity=4 || die "Tests failed with ${EPYTHON}"
# Workaround for bug #790251
@@ -100,7 +93,7 @@ pkg_preinst() {
pkg_postinst() {
tmpfiles_process ${PN}-tmpfiles.conf
- if [[ ${previous_less_than_0_7} = 0 ]] ; then
+ if [[ ${previous_less_than_0_7} == 0 ]] ; then
elog
elog "Configuration files are now in /etc/fail2ban/"
elog "You probably have to manually update your configuration"
@@ -113,10 +106,9 @@ pkg_postinst() {
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
+ if ! has_version dev-python/pyinotify ; then
+ elog "For most jail.conf configurations, it is recommended you install"
+ elog "dev-python/pyinotify to control how log file modifications are detected"
fi
if ! has_version dev-lang/python[sqlite] ; then
@@ -125,9 +117,4 @@ pkg_postinst() {
elog "persistent database feature, then you should set"
elog "dbfile = :memory: in fail2ban.conf accordingly."
fi
-
- if has_version sys-apps/systemd[-python] ; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-05-01 12:49 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2023-05-01 12:49 UTC (permalink / raw
To: gentoo-commits
commit: 58fcf7a029526be874ad598825e8a9401efd6cb9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 1 12:40:08 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 1 12:48:47 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58fcf7a0
net-analyzer/fail2ban: drop 1.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2.ebuild | 133 ----------------------------
1 file changed, 133 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild
deleted file mode 100644
index 4d8875e9a447..000000000000
--- a/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=1
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit bash-completion-r1 distutils-r1 systemd tmpfiles
-
-DESCRIPTION="Scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/fail2ban/fail2ban"
- inherit git-r3
-else
- SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? (
- $(python_gen_cond_dep '
- || (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' )
- )
-"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
-)
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-}
-
-python_compile() {
- ./fail2ban-2to3 || die
- distutils-r1_python_compile
-}
-
-python_test() {
- bin/fail2ban-testcases \
- --no-network \
- --no-gamin \
- --verbosity=4 || die "Tests failed with ${EPYTHON}"
-
- # Workaround for bug #790251
- rm -r fail2ban.egg-info || die
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
-
- newconfd files/fail2ban-openrc.conf ${PN}
-
- # These two are placed in the ${BUILD_DIR} after being "built"
- # in install_scripts().
- newinitd "${BUILD_DIR}/fail2ban-openrc.init" "${PN}"
- systemd_dounit "${BUILD_DIR}/${PN}.service"
-
- dotmpfiles files/${PN}-tmpfiles.conf
-
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- 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() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}-tmpfiles.conf
-
- if [[ ${previous_less_than_0_7} = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2Ban!"
- elog
- elog "Fail2Ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite] ; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-
- if has_version sys-apps/systemd[-python] ; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-03-04 5:47 Arthur Zamarin
0 siblings, 0 replies; 134+ messages in thread
From: Arthur Zamarin @ 2023-03-04 5:47 UTC (permalink / raw
To: gentoo-commits
commit: 5ef11094b2c088853a391968fc4f30c91c4a1edd
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 05:46:37 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 05:46:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef11094
net-analyzer/fail2ban: Stabilize 1.0.2-r1 ALLARCHES, #899514
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
index 5814f14e5026..a1d63c65afee 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-02-27 9:02 WANG Xuerui
0 siblings, 0 replies; 134+ messages in thread
From: WANG Xuerui @ 2023-02-27 9:02 UTC (permalink / raw
To: gentoo-commits
commit: a7f11b8f9ad392f2440ce2642f0d061e7de5414c
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 07:43:29 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 09:01:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f11b8f
net-analyzer/fail2ban: forward ~riscv
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index a2b8a7d9b312..ed94d18e70a8 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-02-27 9:02 WANG Xuerui
0 siblings, 0 replies; 134+ messages in thread
From: WANG Xuerui @ 2023-02-27 9:02 UTC (permalink / raw
To: gentoo-commits
commit: bcef656f098dc9567f71ab80b46286f62a3a1662
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 07:42:50 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 09:01:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcef656f
net-analyzer/fail2ban: forward ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 779449fafb84..a2b8a7d9b312 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-02-27 9:02 WANG Xuerui
0 siblings, 0 replies; 134+ messages in thread
From: WANG Xuerui @ 2023-02-27 9:02 UTC (permalink / raw
To: gentoo-commits
commit: 0a214ff7281445066b2674e3932b83b81c046965
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 07:42:46 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 09:01:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a214ff7
net-analyzer/fail2ban: keyword 1.0.2-r1 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
index 2cdb64c1521b..5814f14e5026 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2023-02-22 16:21 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2023-02-22 16:21 UTC (permalink / raw
To: gentoo-commits
commit: dc014ecd054c97d9fa66f834a37846ee3c37c67c
Author: Xin Yang <yangmame <AT> icloud <DOT> com>
AuthorDate: Wed Feb 15 15:06:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 16:18:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc014ecd
net-analyzer/fail2ban: keyword 1.0.2-r1 riscv #894594
Signed-off-by: Xin Yang <yangmame <AT> icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/29594
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
index 53863b7983db..2cdb64c1521b 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-11-25 5:04 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-11-25 5:04 UTC (permalink / raw
To: gentoo-commits
commit: 2857f400a329992f5bf0d4293b66d68410de60f1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 05:04:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 05:04:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2857f400
net-analyzer/fail2ban: Stabilize 1.0.2 ALLARCHES, #882835
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-1.0.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild
index cf108a52442c..a58df6395116 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-11-10 6:21 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-11-10 6:21 UTC (permalink / raw
To: gentoo-commits
commit: 3841e6bbdb365e4a992177c2851f9efb66e7e62e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 06:18:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 06:18:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3841e6bb
net-analyzer/fail2ban: add 1.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-1.0.2.ebuild | 133 ++++++++++++++++++++++++++++
2 files changed, 134 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 44e3f95a0485..8d0bacdc9b1a 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,2 +1,3 @@
DIST fail2ban-0.11.2.tar.gz 559552 BLAKE2B 0c61c1d5f6eb23d585533fbb84e69343cb305df188537a97002489318292c6056447c4c221c9d4d4cde6cca52f0c2fb877b597957f703e4d6707801a646e52b0 SHA512 46b27abd947b00ea64106dbac563ef8afef38eec86684024d47d9a0e8c1969ff864ad6df7f4f8de2aa3eb1af6d769fb6796592d9f0e35521d5f95f17b8cade97
DIST fail2ban-1.0.1.tar.gz 582122 BLAKE2B 1fe1e5b3d6a1790304c29066b7a8edcb5a6ea11bea6fd8a2bf5f42a4725db1d5bfdd9ed1215a51bfc0eeccafa8a0e93c45940e897ceba7335965126f9b913ab0 SHA512 a4d0ee5405225b1ec950f3209bc304c1168c644d06309a187d77119f6bea12c382db046130a86411aad4210b458a16ee092269dc7953400950969a34550c6da5
+DIST fail2ban-1.0.2.tar.gz 583295 BLAKE2B 84eb5e3487c4db734f4f0a36af142d520e1cc53c2960893ee2f05ff4e78133860be59ed9580fa0d972509a03c17e5d9458b8e3f6b470a4c3154f10911f94691e SHA512 688a84361b5794e1658f53d2d200ce752fe1e3320ddb1742c32c4b4b82a79ace16ae464e7ea3eeb94a0e862bcac73c2d3a0e61dd7b28e179a4c857f950d74dbb
diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild
new file mode 100644
index 000000000000..cf108a52442c
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit bash-completion-r1 distutils-r1 systemd tmpfiles
+
+DESCRIPTION="Scans log files and bans IPs that show malicious signs"
+HOMEPAGE="https://www.fail2ban.org/"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/fail2ban/fail2ban"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="selinux systemd"
+
+RDEPEND="
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? (
+ $(python_gen_cond_dep '
+ || (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' )
+ )
+"
+
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
+)
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+}
+
+python_compile() {
+ ./fail2ban-2to3 || die
+ distutils-r1_python_compile
+}
+
+python_test() {
+ bin/fail2ban-testcases \
+ --no-network \
+ --no-gamin \
+ --verbosity=4 || die "Tests failed with ${EPYTHON}"
+
+ # Workaround for bug #790251
+ rm -r fail2ban.egg-info || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
+
+ newconfd files/fail2ban-openrc.conf ${PN}
+
+ # These two are placed in the ${BUILD_DIR} after being "built"
+ # in install_scripts().
+ newinitd "${BUILD_DIR}/fail2ban-openrc.init" "${PN}"
+ systemd_dounit "${BUILD_DIR}/${PN}.service"
+
+ dotmpfiles files/${PN}-tmpfiles.conf
+
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ 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() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ tmpfiles_process ${PN}-tmpfiles.conf
+
+ if [[ ${previous_less_than_0_7} = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2Ban!"
+ elog
+ elog "Fail2Ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite] ; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite. If you do not use the"
+ elog "persistent database feature, then you should set"
+ elog "dbfile = :memory: in fail2ban.conf accordingly."
+ fi
+
+ if has_version sys-apps/systemd[-python] ; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-09-27 17:57 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-09-27 17:57 UTC (permalink / raw
To: gentoo-commits
commit: 4c48d24146b11b50197ef9c80989adc5da37c4f6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 27 17:39:26 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 27 17:57:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c48d241
net-analyzer/fail2ban: add 1.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 +
.../fail2ban/{fail2ban-9999.ebuild => fail2ban-1.0.1.ebuild} | 12 ++++++++----
net-analyzer/fail2ban/fail2ban-9999.ebuild | 12 ++++++++----
3 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 544366b395d0..44e3f95a0485 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1 +1,2 @@
DIST fail2ban-0.11.2.tar.gz 559552 BLAKE2B 0c61c1d5f6eb23d585533fbb84e69343cb305df188537a97002489318292c6056447c4c221c9d4d4cde6cca52f0c2fb877b597957f703e4d6707801a646e52b0 SHA512 46b27abd947b00ea64106dbac563ef8afef38eec86684024d47d9a0e8c1969ff864ad6df7f4f8de2aa3eb1af6d769fb6796592d9f0e35521d5f95f17b8cade97
+DIST fail2ban-1.0.1.tar.gz 582122 BLAKE2B 1fe1e5b3d6a1790304c29066b7a8edcb5a6ea11bea6fd8a2bf5f42a4725db1d5bfdd9ed1215a51bfc0eeccafa8a0e93c45940e897ceba7335965126f9b913ab0 SHA512 a4d0ee5405225b1ec950f3209bc304c1168c644d06309a187d77119f6bea12c382db046130a86411aad4210b458a16ee092269dc7953400950969a34550c6da5
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-1.0.1.ebuild
similarity index 93%
copy from net-analyzer/fail2ban/fail2ban-9999.ebuild
copy to net-analyzer/fail2ban/fail2ban-1.0.1.ebuild
index e4e61c3a52a1..cf108a52442c 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.1.ebuild
@@ -1,20 +1,21 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{8..11} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
DESCRIPTION="Scans log files and bans IPs that show malicious signs"
HOMEPAGE="https://www.fail2ban.org/"
+
if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+ EGIT_REPO_URI="https://github.com/fail2ban/fail2ban"
inherit git-r3
else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
fi
@@ -59,6 +60,9 @@ python_test() {
--no-network \
--no-gamin \
--verbosity=4 || die "Tests failed with ${EPYTHON}"
+
+ # Workaround for bug #790251
+ rm -r fail2ban.egg-info || die
}
python_install_all() {
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index e4e61c3a52a1..cf108a52442c 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -1,20 +1,21 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python3_{8..11} )
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
DESCRIPTION="Scans log files and bans IPs that show malicious signs"
HOMEPAGE="https://www.fail2ban.org/"
+
if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+ EGIT_REPO_URI="https://github.com/fail2ban/fail2ban"
inherit git-r3
else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://github.com/fail2ban/fail2ban/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
fi
@@ -59,6 +60,9 @@ python_test() {
--no-network \
--no-gamin \
--verbosity=4 || die "Tests failed with ${EPYTHON}"
+
+ # Workaround for bug #790251
+ rm -r fail2ban.egg-info || die
}
python_install_all() {
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-02-20 5:51 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-02-20 5:51 UTC (permalink / raw
To: gentoo-commits
commit: 854c9a80a414d213db23dc45513cb9bcd2f20271
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 05:41:15 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 05:41:15 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854c9a80
net-analyzer/fail2ban: drop 0.11.2, 0.11.2-r1, 0.11.2-r2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild | 133 -----------------------
net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild | 134 ------------------------
net-analyzer/fail2ban/fail2ban-0.11.2.ebuild | 130 -----------------------
3 files changed, 397 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild
deleted file mode 100644
index 52bfd2a78f2a..000000000000
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 distutils-r1 systemd tmpfiles
-
-DESCRIPTION="Scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/${PN}/${PN}"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? (
- $(python_gen_cond_dep '
- || (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' )
- )
-"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-tests-for-2021.patch
- "${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
- "${FILESDIR}"/${P}-fix-2to3-usage.patch
- "${FILESDIR}"/${P}-fix-systemd-test.patch
-)
-
-python_prepare_all() {
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- ./fail2ban-2to3 || die
- distutils-r1_python_compile
-}
-
-python_test() {
- bin/fail2ban-testcases \
- --no-network \
- --no-gamin \
- --verbosity=4 || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
-
- # Not ${FILESDIR}
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
-
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
- systemd_dounit "${T}"/${PN}.service
- dotmpfiles files/${PN}-tmpfiles.conf
-
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- 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() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}-tmpfiles.conf
-
- if [[ ${previous_less_than_0_7} = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2Ban!"
- elog
- elog "Fail2Ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite] ; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-
- if has_version sys-apps/systemd[-python] ; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
deleted file mode 100644
index a8fa65da7679..000000000000
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 distutils-r1 systemd tmpfiles
-
-DESCRIPTION="Scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/${PN}/${PN}"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? (
- $(python_gen_cond_dep '
- || (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' )
- )
-"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-tests-for-2021.patch
- "${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
- "${FILESDIR}"/${P}-fix-2to3-usage.patch
- "${FILESDIR}"/${P}-fix-systemd-test.patch
- "${FILESDIR}"/${P}-fix-py3.10-collections.patch
-)
-
-python_prepare_all() {
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- ./fail2ban-2to3 || die
- distutils-r1_python_compile
-}
-
-python_test() {
- bin/fail2ban-testcases \
- --no-network \
- --no-gamin \
- --verbosity=4 || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
-
- # Not ${FILESDIR}
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
-
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
- systemd_dounit "${T}"/${PN}.service
- dotmpfiles files/${PN}-tmpfiles.conf
-
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- 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() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}-tmpfiles.conf
-
- if [[ ${previous_less_than_0_7} = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2Ban!"
- elog
- elog "Fail2Ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite] ; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-
- if has_version sys-apps/systemd[-python] ; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
deleted file mode 100644
index 967284198c14..000000000000
--- a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 distutils-r1 systemd tmpfiles
-
-DESCRIPTION="Scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/${PN}/${PN}"
- inherit git-r3
-else
- SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? (
- $(python_gen_cond_dep '
- || (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' )
- )
-"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-tests-for-2021.patch
-)
-
-python_prepare_all() {
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- ./fail2ban-2to3 || die
- distutils-r1_python_compile
-}
-
-python_test() {
- bin/fail2ban-testcases \
- --no-network \
- --no-gamin \
- --verbosity=4 || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
-
- # Not ${FILESDIR}
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
-
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
- systemd_dounit "${T}"/${PN}.service
- dotmpfiles files/${PN}-tmpfiles.conf
-
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- 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() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- tmpfiles_process ${PN}-tmpfiles.conf
-
- if [[ ${previous_less_than_0_7} = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2Ban!"
- elog
- elog "Fail2Ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite] ; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-
- if has_version sys-apps/systemd[-python] ; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-02-10 10:04 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-02-10 10:04 UTC (permalink / raw
To: gentoo-commits
commit: 82e05c77c999ecf05142c6350baec99ff47a4e74
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 10:04:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 10:04:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e05c77
net-analyzer/fail2ban: Stabilize 0.11.2-r4 ppc, #831578
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index d48571694984..e3a0d4fe6ebe 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ppc ~ppc64 ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ppc ~ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-02-10 10:04 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-02-10 10:04 UTC (permalink / raw
To: gentoo-commits
commit: bbcafaa30ce8336db14509199c133e1d8c4305d8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 10:04:23 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 10:04:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbcafaa3
net-analyzer/fail2ban: Stabilize 0.11.2-r4 sparc, #831578
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index f9c066b18abe..ffabcf3a0b71 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-02-10 10:04 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-02-10 10:04 UTC (permalink / raw
To: gentoo-commits
commit: 46a85d3ee1bb99c5cf720d78c5e2271f1b94b08e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 10:04:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 10:04:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a85d3e
net-analyzer/fail2ban: Stabilize 0.11.2-r4 arm, #831578
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index 216eb02d56e1..d48571694984 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ppc ~ppc64 ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ppc ~ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-02-10 10:04 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-02-10 10:04 UTC (permalink / raw
To: gentoo-commits
commit: 5a2c1d5659c26196dd45e490050a265b0249b67f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 10 10:04:18 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 10 10:04:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2c1d56
net-analyzer/fail2ban: Stabilize 0.11.2-r4 ppc64, #831578
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index e3a0d4fe6ebe..f9c066b18abe 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ppc ~ppc64 ~sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-02-02 7:25 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-02-02 7:25 UTC (permalink / raw
To: gentoo-commits
commit: b09e9d026e616db422eb15de875a90819952d0e4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 2 07:24:24 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 2 07:24:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b09e9d02
net-analyzer/fail2ban: Stabilize 0.11.2-r4 hppa, #831578
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index a86650e9d020..216eb02d56e1 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+ KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ppc ~ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-31 1:26 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-01-31 1:26 UTC (permalink / raw
To: gentoo-commits
commit: 73a7a7395ba18cd24632e75f045d9726a0ddab03
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 31 01:14:13 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 01:26:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a7a739
net-analyzer/fail2ban: drop upstreamed patch in 9999
Closes: https://bugs.gentoo.org/832392
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-9999.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 59203cfb4af6..e4e61c3a52a1 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -39,7 +39,6 @@ DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
PATCHES=(
"${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
- "${FILESDIR}"/${PN}-0.11.2-upstream-openrc.patch
)
python_prepare_all() {
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-30 22:26 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-01-30 22:26 UTC (permalink / raw
To: gentoo-commits
commit: 19866ae5c569e75fa43f315f272e48b405e6686f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 22:25:59 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 30 22:25:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19866ae5
net-analyzer/fail2ban: Stabilize 0.11.2-r4 arm64, #831578
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index a0ab7a9bbcd1..a86650e9d020 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+ KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-29 21:42 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2022-01-29 21:42 UTC (permalink / raw
To: gentoo-commits
commit: ab90da31defc693f5146c2de39e36e03215d73ba
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 21:42:04 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 21:42:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab90da31
net-analyzer/fail2ban: Stabilize 0.11.2-r4 x86, #831578
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index 1a14ba3bd3e0..a0ab7a9bbcd1 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-29 21:42 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2022-01-29 21:42 UTC (permalink / raw
To: gentoo-commits
commit: 615f4cd20fc904de5344bfc67c8049fbafbc9c8e
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 21:41:46 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 21:41:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615f4cd2
net-analyzer/fail2ban: Stabilize 0.11.2-r4 amd64, #831578
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index fe1a7dcfa4cb..1a14ba3bd3e0 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-25 21:25 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-01-25 21:25 UTC (permalink / raw
To: gentoo-commits
commit: b4a9f058c33187007efe3b994eab21e9ff68699e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 25 21:24:57 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 21:24:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4a9f058
net-analyzer/fail2ban: Stabilize 0.11.2-r2 arm64, #831578
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
index 5592c700addf..a8fa65da7679 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+ KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-23 15:20 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-01-23 15:20 UTC (permalink / raw
To: gentoo-commits
commit: c2f936993e512259febd1361c64579350071301d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 23 00:50:14 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 15:19:55 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f93699
net-analyzer/fail2ban: fix installation of .egg-info if tests used
Need to revbump as anyone who ran tests will have a dodgy installation of
fail2ban.
mgorny explains fully in the bug (and thanks to him for investigating this),
but the gist is that the test runner sets umask but never unsets it/reverts it,
so it ends up affecting the rest of the installed files by the package.
Closes: https://bugs.gentoo.org/790251
Thanks-to: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../fail2ban/{fail2ban-0.11.2-r3.ebuild => fail2ban-0.11.2-r4.ebuild} | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r3.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
similarity index 98%
rename from net-analyzer/fail2ban/fail2ban-0.11.2-r3.ebuild
rename to net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
index 1390bc1bdc39..fe1a7dcfa4cb 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r3.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r4.ebuild
@@ -64,6 +64,9 @@ python_test() {
--no-network \
--no-gamin \
--verbosity=4 || die "Tests failed with ${EPYTHON}"
+
+ # Workaround for bug #790251
+ rm -r fail2ban.egg-info || die
}
python_install_all() {
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-20 13:16 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2022-01-20 13:16 UTC (permalink / raw
To: gentoo-commits
commit: f44634fe3241b9e1cb1aeb1eff65af38f4ca4b02
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 13:15:57 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 13:15:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f44634fe
net-analyzer/fail2ban: Stabilize 0.11.2-r2 x86, #831578
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
index e1483b6442e6..411878569f34 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-20 13:16 Jakov Smolić
0 siblings, 0 replies; 134+ messages in thread
From: Jakov Smolić @ 2022-01-20 13:16 UTC (permalink / raw
To: gentoo-commits
commit: f5cc617d7a087018b3e3209727798ab017d08479
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 20 13:16:00 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 13:16:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5cc617d
net-analyzer/fail2ban: Stabilize 0.11.2-r2 amd64, #831578
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
index 411878569f34..5592c700addf 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2022-01-04 20:45 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2022-01-04 20:45 UTC (permalink / raw
To: gentoo-commits
commit: 28dc3dd2a92f5920653c2f0719cb697e4f7cbae1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 4 20:41:23 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 4 20:45:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28dc3dd2
net-analyzer/fail2ban: sync live
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-9999.ebuild | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 9d117cebef47..59203cfb4af6 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
@@ -31,8 +31,7 @@ RDEPEND="
|| (
dev-python/python-systemd[${PYTHON_USEDEP}]
sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )
- ' 'python*')
+ )' 'python*' )
)
"
@@ -40,16 +39,15 @@ DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
PATCHES=(
"${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch
+ "${FILESDIR}"/${PN}-0.11.2-upstream-openrc.patch
)
python_prepare_all() {
+ distutils-r1_python_prepare_all
+
# Replace /var/run with /run, but not in the top source directory
find . -mindepth 2 -type f -exec \
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
}
python_compile() {
@@ -69,12 +67,13 @@ python_install_all() {
rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
- # Not ${FILESDIR}
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
+ newconfd files/fail2ban-openrc.conf ${PN}
+
+ # These two are placed in the ${BUILD_DIR} after being "built"
+ # in install_scripts().
+ newinitd "${BUILD_DIR}/fail2ban-openrc.init" "${PN}"
+ systemd_dounit "${BUILD_DIR}/${PN}.service"
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
- systemd_dounit "${T}"/${PN}.service
dotmpfiles files/${PN}-tmpfiles.conf
doman man/*.{1,5}
@@ -98,7 +97,7 @@ pkg_preinst() {
pkg_postinst() {
tmpfiles_process ${PN}-tmpfiles.conf
- if [[ ${previous_less_than_0_7} == 0 ]] ; then
+ if [[ ${previous_less_than_0_7} = 0 ]] ; then
elog
elog "Configuration files are now in /etc/fail2ban/"
elog "You probably have to manually update your configuration"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2021-09-16 6:29 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2021-09-16 6:29 UTC (permalink / raw
To: gentoo-commits
commit: b5bf65c99b25586c019e8640813370122ca22f9b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 16 06:29:03 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 16 06:29:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5bf65c9
net-analyzer/fail2ban: Stabilize 0.11.2-r1 ALLARCHES, #813165
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild
index a858cbe09d2..d2a4540b0ea 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 sparc x86"
fi
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2021-05-14 17:22 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2021-05-14 17:22 UTC (permalink / raw
To: gentoo-commits
commit: 84ef946be41efb9b2e0f22fad8b2b39c3e18197b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 14 12:54:55 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 14 17:22:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ef946b
net-analyzer/fail2ban: use live template
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2.ebuild | 26 ++++++++++------
net-analyzer/fail2ban/fail2ban-9999.ebuild | 45 +++++++++++++++++-----------
2 files changed, 45 insertions(+), 26 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
index 1c47a71b51d..caf428f0ca7 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
@@ -10,11 +10,16 @@ inherit bash-completion-r1 distutils-r1 systemd tmpfiles
DESCRIPTION="Scans log files and bans IPs that show malicious signs"
HOMEPAGE="https://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86"
+fi
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86"
IUSE="selinux systemd"
RDEPEND="
@@ -27,7 +32,7 @@ RDEPEND="
dev-python/python-systemd[${PYTHON_USEDEP}]
sys-apps/systemd[python(-),${PYTHON_USEDEP}]
)' 'python*' )
- )
+ )
"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
@@ -52,7 +57,10 @@ python_compile() {
}
python_test() {
- bin/fail2ban-testcases -n -g --verbosity=4 || die "Tests failed with ${EPYTHON}"
+ bin/fail2ban-testcases \
+ --no-network \
+ --no-gamin \
+ --verbosity=4 || die "Tests failed with ${EPYTHON}"
}
python_install_all() {
@@ -64,8 +72,8 @@ python_install_all() {
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
+ systemd_dounit "${T}"/${PN}.service
dotmpfiles files/${PN}-tmpfiles.conf
doman man/*.{1,5}
@@ -87,13 +95,13 @@ pkg_preinst() {
}
pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
+ if [[ ${previous_less_than_0_7} = 0 ]] ; then
elog
elog "Configuration files are now in /etc/fail2ban/"
elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
+ elog "files before restarting Fail2Ban!"
elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "Fail2Ban is not installed under /usr/lib anymore. The"
elog "new location is under /usr/share."
elog
elog "You are upgrading from version 0.6.x, please see:"
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 0765abc8425..d0d4d4ef18f 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -6,35 +6,39 @@ EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
DISTUTILS_SINGLE_IMPL=1
-inherit bash-completion-r1 distutils-r1 git-r3 systemd tmpfiles
+inherit bash-completion-r1 distutils-r1 systemd tmpfiles
DESCRIPTION="Scans log files and bans IPs that show malicious signs"
HOMEPAGE="https://www.fail2ban.org/"
-EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+fi
LICENSE="GPL-2"
SLOT="0"
IUSE="selinux systemd"
-# Needs some work to enable them right now
-RESTRICT="test"
RDEPEND="
virtual/logger
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
systemd? (
- $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' )
+ $(python_gen_cond_dep '
+ || (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )
+ ' 'python*')
)
"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
python_prepare_all() {
- default
-
# Replace /var/run with /run, but not in the top source directory
find . -mindepth 2 -type f -exec \
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
@@ -49,17 +53,24 @@ python_compile() {
distutils-r1_python_compile
}
+python_test() {
+ bin/fail2ban-testcases \
+ --no-network \
+ --no-gamin \
+ --verbosity=4 || die "Tests failed with ${EPYTHON}"
+}
+
python_install_all() {
distutils-r1_python_install_all
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+ rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
- # not ${FILESDIR}
+ # Not ${FILESDIR}
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
+ systemd_dounit "${T}"/${PN}.service
dotmpfiles files/${PN}-tmpfiles.conf
doman man/*.{1,5}
@@ -81,13 +92,13 @@ pkg_preinst() {
}
pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
+ if [[ ${previous_less_than_0_7} == 0 ]] ; then
elog
elog "Configuration files are now in /etc/fail2ban/"
elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
+ elog "files before restarting Fail2Ban!"
elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "Fail2Ban is not installed under /usr/lib anymore. The"
elog "new location is under /usr/share."
elog
elog "You are upgrading from version 0.6.x, please see:"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2021-03-23 4:53 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2021-03-23 4:53 UTC (permalink / raw
To: gentoo-commits
commit: 5ad85c6533e8cc080fbfd474823e642f5ff2cf21
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 22:57:10 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 23 04:48:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ad85c65
net-analyzer/fail2ban: cosmetic changes, no PYTHON_MULTI_USEDEP
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2.ebuild | 23 ++++++++++++++---------
net-analyzer/fail2ban/fail2ban-9999.ebuild | 20 ++++++++++++--------
2 files changed, 26 insertions(+), 17 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
index 5e9fd5b5317..8f57fd666aa 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
@@ -23,10 +23,13 @@ RDEPEND="
virtual/logger
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
- )' 'python*' ) )
+ systemd? (
+ $(python_gen_cond_dep '
+ || (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' )
+ )
"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
@@ -51,14 +54,16 @@ python_compile() {
python_install_all() {
distutils-r1_python_install_all
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+ rm -rf "${ED}"/usr/share/doc/${PN} "${ED}"/run || die
- # not FILESDIR
+ # Not ${FILESDIR}
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
+
sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
systemd_dounit "${T}/${PN}.service"
dotmpfiles files/${PN}-tmpfiles.conf
+
doman man/*.{1,5}
# Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
@@ -91,20 +96,20 @@ pkg_postinst() {
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
elog "For most jail.conf configurations, it is recommended you install either"
elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
elog "to control how log file modifications are detected"
fi
- if ! has_version dev-lang/python[sqlite]; then
+ if ! has_version dev-lang/python[sqlite] ; then
elog "If you want to use ${PN}'s persistent database, then reinstall"
elog "dev-lang/python with USE=sqlite. If you do not use the"
elog "persistent database feature, then you should set"
elog "dbfile = :memory: in fail2ban.conf accordingly."
fi
- if has_version sys-apps/systemd[-python]; then
+ if has_version sys-apps/systemd[-python] ; then
elog "If you want to track logins through sys-apps/systemd's"
elog "journal backend, then reinstall sys-apps/systemd with USE=python"
fi
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 4a13926cd46..0765abc8425 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -22,10 +22,12 @@ RDEPEND="
virtual/logger
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
- )' 'python*' ) )
+ systemd? (
+ $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' )
+ )
"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
@@ -52,12 +54,14 @@ python_install_all() {
rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
- # not FILESDIR
+ # not ${FILESDIR}
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
+
sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
systemd_dounit "${T}/${PN}.service"
dotmpfiles files/${PN}-tmpfiles.conf
+
doman man/*.{1,5}
# Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
@@ -90,20 +94,20 @@ pkg_postinst() {
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin ; then
elog "For most jail.conf configurations, it is recommended you install either"
elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
elog "to control how log file modifications are detected"
fi
- if ! has_version dev-lang/python[sqlite]; then
+ if ! has_version dev-lang/python[sqlite] ; then
elog "If you want to use ${PN}'s persistent database, then reinstall"
elog "dev-lang/python with USE=sqlite. If you do not use the"
elog "persistent database feature, then you should set"
elog "dbfile = :memory: in fail2ban.conf accordingly."
fi
- if has_version sys-apps/systemd[-python]; then
+ if has_version sys-apps/systemd[-python] ; then
elog "If you want to track logins through sys-apps/systemd's"
elog "journal backend, then reinstall sys-apps/systemd with USE=python"
fi
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2021-03-17 1:44 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2021-03-17 1:44 UTC (permalink / raw
To: gentoo-commits
commit: dfab2798bf9a79583cb8303c4eb03deaba1c7541
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 01:39:19 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 01:39:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfab2798
net-analyzer/fail2ban: style change for DESCRIPTION
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-9999.ebuild | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
index 5ed0a845c74..5e9fd5b5317 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 systemd tmpfiles
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
+DESCRIPTION="Scans log files and bans IPs that show malicious signs"
HOMEPAGE="https://www.fail2ban.org/"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 5e5fb78a51f..4a13926cd46 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -8,13 +8,12 @@ DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 git-r3 systemd tmpfiles
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
+DESCRIPTION="Scans log files and bans IPs that show malicious signs"
HOMEPAGE="https://www.fail2ban.org/"
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
IUSE="selinux systemd"
# Needs some work to enable them right now
RESTRICT="test"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2021-01-02 11:11 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2021-01-02 11:11 UTC (permalink / raw
To: gentoo-commits
commit: 834fddb1847d7b5a76fa81f8a83b4efcc732977a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 2 11:01:42 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 2 11:10:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834fddb1
net-analyzer/fail2ban: minor style changes to 9999
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-9999.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index bf5f5359b22..75cf1cc7136 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
PYTHON_COMPAT=( python3_{6,7,8,9} )
DISTUTILS_SINGLE_IMPL=1
@@ -15,6 +16,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="selinux systemd"
+# Needs some work to enable them right now
+RESTRICT="test"
RDEPEND="
virtual/logger
@@ -26,7 +29,6 @@ RDEPEND="
)' 'python*' ) )
"
-RESTRICT="test"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
python_prepare_all() {
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2021-01-02 11:11 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2021-01-02 11:11 UTC (permalink / raw
To: gentoo-commits
commit: 53432beb26d2fd3cd1a50ee2378b5cbaef7676a0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 2 11:00:34 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 2 11:10:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53432beb
net-analyzer/fail2ban: rename live ebuild to 9999
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../fail2ban/{fail2ban-99999999.ebuild => fail2ban-9999.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-9999.ebuild
similarity index 98%
rename from net-analyzer/fail2ban/fail2ban-99999999.ebuild
rename to net-analyzer/fail2ban/fail2ban-9999.ebuild
index ab7e2cb0ad8..bf5f5359b22 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-12-29 23:41 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-12-29 23:41 UTC (permalink / raw
To: gentoo-commits
commit: f042e7d532ed22af57c7734fb02886e357bbe049
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 29 23:40:36 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 29 23:40:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f042e7d5
net-analyzer/fail2ban: cleanup old
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 -
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 109 ------------------------
2 files changed, 110 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 26cff752e05..544366b395d 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,2 +1 @@
-DIST fail2ban-0.11.1.tar.gz 538660 BLAKE2B c88765ac3f49c19e0570248891814c647f2c3515290982de21c7b6c377508189fa53182fca84d62f61b231e250395992e8cf06cc61394dd41150f02d8a254f8b SHA512 019b088aa6375f98742ed101ef6f65adabca3324444d71d5b8597a8d1d22fa76b9f503660f0498643fe24a3b8e4368de916072a1ab77b8e2ea3eda41c3e0c8c6
DIST fail2ban-0.11.2.tar.gz 559552 BLAKE2B 0c61c1d5f6eb23d585533fbb84e69343cb305df188537a97002489318292c6056447c4c221c9d4d4cde6cca52f0c2fb877b597957f703e4d6707801a646e52b0 SHA512 46b27abd947b00ea64106dbac563ef8afef38eec86684024d47d9a0e8c1969ff864ad6df7f4f8de2aa3eb1af6d769fb6796592d9f0e35521d5f95f17b8cade97
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
deleted file mode 100644
index 55969ac3638..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 distutils-r1 systemd
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
- )' 'python*' ) )
-"
-
-RESTRICT="test"
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-python_prepare_all() {
- default
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- ./fail2ban-2to3 || die
- distutils-r1_python_compile
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- 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() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-12-28 4:58 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-12-28 4:58 UTC (permalink / raw
To: gentoo-commits
commit: 25bed59e1bd665991e4005af5f73963b3fda07e3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 04:58:10 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 04:58:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25bed59e
net-analyzer/fail2ban: Stabilize 0.11.2 ALLARCHES
Closes: https://bugs.gentoo.org/762148
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
index bd35827ae05..ebb59e058f0 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86"
IUSE="selinux systemd"
# Needs some work to enable them right now
RESTRICT="test"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-12-28 4:58 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-12-28 4:58 UTC (permalink / raw
To: gentoo-commits
commit: a98a0cff8619c920b82b578d97f208529fa89a49
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 04:56:24 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 04:58:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a98a0cff
net-analyzer/fail2ban: mark ALLARCHES
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/net-analyzer/fail2ban/metadata.xml b/net-analyzer/fail2ban/metadata.xml
index 1512403ed49..c56cd77765c 100644
--- a/net-analyzer/fail2ban/metadata.xml
+++ b/net-analyzer/fail2ban/metadata.xml
@@ -9,6 +9,7 @@
<email>netmon@gentoo.org</email>
<name>Gentoo network monitoring and analysis project</name>
</maintainer>
+ <stabilize-allarches/>
<upstream>
<remote-id type="github">fail2ban/fail2ban</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-12-28 4:58 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-12-28 4:58 UTC (permalink / raw
To: gentoo-commits
commit: 2e9ab3c06af58d4f8f0cd6517ea7a3d17d609b78
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 04:56:52 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 04:58:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9ab3c0
net-analyzer/fail2ban: drop netmon@ as maintainer
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net-analyzer/fail2ban/metadata.xml b/net-analyzer/fail2ban/metadata.xml
index c56cd77765c..cd908145eac 100644
--- a/net-analyzer/fail2ban/metadata.xml
+++ b/net-analyzer/fail2ban/metadata.xml
@@ -5,10 +5,6 @@
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
- <maintainer type="project">
- <email>netmon@gentoo.org</email>
- <name>Gentoo network monitoring and analysis project</name>
- </maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">fail2ban/fail2ban</remote-id>
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-12-21 22:52 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-12-21 22:52 UTC (permalink / raw
To: gentoo-commits
commit: 31b87fe803301b4fc3463ef11ebc4f26feb87a47
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 22:52:51 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 22:52:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b87fe8
net-analyzer/fail2ban: adopt package
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-analyzer/fail2ban/metadata.xml b/net-analyzer/fail2ban/metadata.xml
index ece130a93bd..1512403ed49 100644
--- a/net-analyzer/fail2ban/metadata.xml
+++ b/net-analyzer/fail2ban/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
<maintainer type="project">
<email>netmon@gentoo.org</email>
<name>Gentoo network monitoring and analysis project</name>
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-12-13 5:35 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-12-13 5:35 UTC (permalink / raw
To: gentoo-commits
commit: 47eb0761e38fd8af202552c0ce0d58a656cd8782
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 13 05:35:23 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 13 05:35:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47eb0761
net-analyzer/fail2ban: add Python 3.9
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.2.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
index 4d17977f7a5..bd35827ae05 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 systemd
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 4cfac190293..ab7e2cb0ad8 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 git-r3 systemd
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-12-12 23:29 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-12-12 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 429e33a3aec40e692c3e8eaa52d075036ae5473f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 12 23:29:42 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 12 23:29:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429e33a3
net-analyzer/fail2ban: bump to 0.11.2
Not yet adding tests as the previous version
didn't seem to fully work with Python 3.8, so
needed this in a hurry.
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.11.2.ebuild | 111 +++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index fc0170a8a29..26cff752e05 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1 +1,2 @@
DIST fail2ban-0.11.1.tar.gz 538660 BLAKE2B c88765ac3f49c19e0570248891814c647f2c3515290982de21c7b6c377508189fa53182fca84d62f61b231e250395992e8cf06cc61394dd41150f02d8a254f8b SHA512 019b088aa6375f98742ed101ef6f65adabca3324444d71d5b8597a8d1d22fa76b9f503660f0498643fe24a3b8e4368de916072a1ab77b8e2ea3eda41c3e0c8c6
+DIST fail2ban-0.11.2.tar.gz 559552 BLAKE2B 0c61c1d5f6eb23d585533fbb84e69343cb305df188537a97002489318292c6056447c4c221c9d4d4cde6cca52f0c2fb877b597957f703e4d6707801a646e52b0 SHA512 46b27abd947b00ea64106dbac563ef8afef38eec86684024d47d9a0e8c1969ff864ad6df7f4f8de2aa3eb1af6d769fb6796592d9f0e35521d5f95f17b8cade97
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
new file mode 100644
index 00000000000..4d17977f7a5
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.11.2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit bash-completion-r1 distutils-r1 systemd
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="https://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="selinux systemd"
+# Needs some work to enable them right now
+RESTRICT="test"
+
+RDEPEND="
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
+ )' 'python*' ) )
+"
+
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+python_prepare_all() {
+ default
+
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ ./fail2ban-2to3 || die
+ distutils-r1_python_compile
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
+ systemd_dounit "${T}/${PN}.service"
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ 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() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite. If you do not use the"
+ elog "persistent database feature, then you should set"
+ elog "dbfile = :memory: in fail2ban.conf accordingly."
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-12-03 6:49 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-12-03 6:49 UTC (permalink / raw
To: gentoo-commits
commit: 276e0e4f773aac17146f22d168e16a4c93ed0228
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 3 06:49:00 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 3 06:49:00 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276e0e4f
net-analyzer/fail2ban: add Python 3.8 to live too
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 358d12b3149..4cfac190293 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 git-r3 systemd
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-11-20 13:44 Sam James
0 siblings, 0 replies; 134+ messages in thread
From: Sam James @ 2020-11-20 13:44 UTC (permalink / raw
To: gentoo-commits
commit: f4320a663feed52fc9e804cee3c6e001b0a8da52
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 20 13:43:39 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 20 13:43:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4320a66
net-analyzer/fail2ban: arm64 keyworded (bug #754780)
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index dae97e6adc4..55969ac3638 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ppc ppc64 sparc x86"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-08-14 23:22 Andreas Sturmlechner
0 siblings, 0 replies; 134+ messages in thread
From: Andreas Sturmlechner @ 2020-08-14 23:22 UTC (permalink / raw
To: gentoo-commits
commit: 4db82961339725f1218f6e2e58d75007b444d1db
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 3 21:23:58 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 23:21:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db82961
net-analyzer/fail2ban: Drop superfluous calls to python_is_python3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 4 +---
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index f71bda0473e..dae97e6adc4 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -42,9 +42,7 @@ python_prepare_all() {
}
python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
+ ./fail2ban-2to3 || die
distutils-r1_python_compile
}
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 2fe548988a0..358d12b3149 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -42,9 +42,7 @@ python_prepare_all() {
}
python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
+ ./fail2ban-2to3 || die
distutils-r1_python_compile
}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-05-02 0:40 Patrick McLean
0 siblings, 0 replies; 134+ messages in thread
From: Patrick McLean @ 2020-05-02 0:40 UTC (permalink / raw
To: gentoo-commits
commit: 1e309919419a62d5636a51cefbc2523f42a59d98
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Sat May 2 00:40:36 2020 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat May 2 00:40:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e309919
net-analyzer/fail2ban-0.11.1-r2: Add py38
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index b5f23353313..f71bda0473e 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 systemd
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-28 7:35 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2020-04-28 7:35 UTC (permalink / raw
To: gentoo-commits
commit: 3f7f989bfaf2135842c192e056e0b87a0b2ed00c
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 28 07:34:29 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Apr 28 07:35:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7f989b
net-analyzer/fail2ban: Stable for HPPA
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index f5c9e3ecae9..b5f23353313 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-28 7:35 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2020-04-28 7:35 UTC (permalink / raw
To: gentoo-commits
commit: bb4646b05548dd4dae94129299454dce970eaf37
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 28 07:35:27 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Apr 28 07:35:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb4646b0
net-analyzer/fail2ban: Old
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 2 -
net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild | 110 ----------------------
net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild | 113 -----------------------
net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild | 116 ------------------------
4 files changed, 341 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 66b2d4bb5f0..fc0170a8a29 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,3 +1 @@
-DIST fail2ban-0.10.4.tar.gz 493104 BLAKE2B 3a58ab114cf25172c77b229ce53bf6dd009d4fb8c700142480ba0212072d8820126bfabf5dd417835bdac5f5b65d599c6dde859d8c57267e90cfb569dc4a2073 SHA512 ee53f2e8dc3cda4f588c60da5227d3d71550496ddfdf5bdbffced25bafd442b8e2352a9ad9f27bf76489903b5b779cdb9614963342de907c1036ae9268b8f35f
-DIST fail2ban-0.10.5.tar.gz 520460 BLAKE2B 872b1b2d96d5c79b228cf7c38923161336e452c33fddce75d25004454a5b5d119d435aeb789d55576de4e24bbf8d8288d9fc2fb3f17323074a27857a08e3c6a4 SHA512 d2ad64999031537f2adfc01efd02d2db0718485e38745736339c2e3a1792cd82147fb6cf5a3d371d83dbe91d1afe34e741e038ed4d84d6f444ea1922dc4bb658
DIST fail2ban-0.11.1.tar.gz 538660 BLAKE2B c88765ac3f49c19e0570248891814c647f2c3515290982de21c7b6c377508189fa53182fca84d62f61b231e250395992e8cf06cc61394dd41150f02d8a254f8b SHA512 019b088aa6375f98742ed101ef6f65adabca3324444d71d5b8597a8d1d22fa76b9f503660f0498643fe24a3b8e4368de916072a1ab77b8e2ea3eda41c3e0c8c6
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
deleted file mode 100644
index 1db3b7bffdd..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_6 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 eutils systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86"
-IUSE="selinux systemd"
-
-# TODO support ipfw and ipfilter
-RDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
- net-misc/whois
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
- )' 'python*' ) )
-"
-
-RESTRICT="test"
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-python_prepare_all() {
- eapply_user
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
- distutils-r1_python_compile
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-
- keepdir /var/lib/${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
deleted file mode 100644
index 652d96b809d..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_6 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 systemd
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
- )' 'python*' ) )
-"
-
-RESTRICT="test"
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-src_unpack() {
- default
- mv ${PN}-${PN}-* ${P} || die
-}
-
-python_prepare_all() {
- default
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
- distutils-r1_python_compile
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-
- keepdir /var/lib/${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
deleted file mode 100644
index e00569c23f0..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_6 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit bash-completion-r1 distutils-r1 systemd
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="https://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="selinux systemd"
-
-RDEPEND="
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
- )' 'python*' ) )
-"
-
-RESTRICT="test"
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-src_unpack() {
- default
- mv ${PN}-${PN}-* ${P} || die
-}
-
-python_prepare_all() {
- default
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
- distutils-r1_python_compile
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- 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() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite. If you do not use the"
- elog "persistent database feature, then you should set"
- elog "dbfile = :memory: in fail2ban.conf accordingly."
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-27 11:40 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2020-04-27 11:40 UTC (permalink / raw
To: gentoo-commits
commit: 898abf14ebafbf68eff1f12144bb68ea7545b188
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 11:40:48 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 11:40:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=898abf14
net-analyzer/fail2ban: x86 stable wrt bug #719458
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index 72501437326..f5c9e3ecae9 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 sparc x86"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-27 11:40 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2020-04-27 11:40 UTC (permalink / raw
To: gentoo-commits
commit: 12085eeddbe4d1521d2da41bca4442f8433fa5d7
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 11:40:12 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 11:40:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12085eed
net-analyzer/fail2ban: sparc stable wrt bug #719458
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index f7f3ebc8cd3..72501437326 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 sparc ~x86"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-27 11:39 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2020-04-27 11:39 UTC (permalink / raw
To: gentoo-commits
commit: ef651a128d351a2b50f1f3ee61e09f919615284c
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 11:39:41 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 11:39:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef651a12
net-analyzer/fail2ban: ppc64 stable wrt bug #719458
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index 24a392927bc..f7f3ebc8cd3 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 ~sparc ~x86"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-27 11:39 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2020-04-27 11:39 UTC (permalink / raw
To: gentoo-commits
commit: 4314a735c75786280d9dcf245186330c243af439
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 11:39:04 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 11:39:04 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4314a735
net-analyzer/fail2ban: ppc stable wrt bug #719458
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index a47ecc1eba9..24a392927bc 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ppc ~ppc64 ~sparc ~x86"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-27 8:14 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2020-04-27 8:14 UTC (permalink / raw
To: gentoo-commits
commit: 179818ff4ec8546ec1b96a0b073a25f140ab10dd
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 08:14:18 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 08:14:18 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=179818ff
net-analyzer/fail2ban: arm stable wrt bug #719458
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index 5eb40fc65d7..a47ecc1eba9 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-27 8:13 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2020-04-27 8:13 UTC (permalink / raw
To: gentoo-commits
commit: 6ee429021bfb420d3a3b3ff11ebd8989d78b73a7
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 27 08:13:41 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 08:13:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ee42902
net-analyzer/fail2ban: amd64 stable wrt bug #719458
Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index a9be25c7563..5eb40fc65d7 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-04-08 16:07 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2020-04-08 16:07 UTC (permalink / raw
To: gentoo-commits
commit: 1652b77383199c849d3de54b1a00e451ba6bfc98
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 8 16:03:01 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Apr 8 16:07:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1652b773
net-analyzer/fail2ban: Add support for python 3.7
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Closes: https://bugs.gentoo.org/show_bug.cgi?id=714902
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index 12997e0f764..a9be25c7563 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 systemd
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 4bde96c6afe..2fe548988a0 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 git-r3 systemd
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-02-09 16:47 Michał Górny
0 siblings, 0 replies; 134+ messages in thread
From: Michał Górny @ 2020-02-09 16:47 UTC (permalink / raw
To: gentoo-commits
commit: ae9ee1fe923bc3a32d7cb13aa1be1527d86d96d0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 06:45:45 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:46:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae9ee1fe
net-analyzer/fail2ban: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../fail2ban/{fail2ban-0.10.4.ebuild => fail2ban-0.10.4-r1.ebuild} | 4 ++--
net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild | 4 ++--
net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild | 4 ++--
.../fail2ban/{fail2ban-0.11.1-r1.ebuild => fail2ban-0.11.1-r2.ebuild} | 4 ++--
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
similarity index 96%
rename from net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
rename to net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
index f20a2d4b3e7..1db3b7bffdd 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
@@ -25,8 +25,8 @@ RDEPEND="
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
)' 'python*' ) )
"
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
index 653f9960754..652d96b809d 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
@@ -21,8 +21,8 @@ RDEPEND="
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
)' 'python*' ) )
"
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
index e4b07d80df2..e00569c23f0 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
@@ -21,8 +21,8 @@ RDEPEND="
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
)' 'python*' ) )
"
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
similarity index 96%
rename from net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild
rename to net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
index dc79df197e2..12997e0f764 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r2.ebuild
@@ -21,8 +21,8 @@ RDEPEND="
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
)' 'python*' ) )
"
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 4d89363141a..4bde96c6afe 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -21,8 +21,8 @@ RDEPEND="
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ dev-python/python-systemd[${PYTHON_MULTI_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_MULTI_USEDEP}]
)' 'python*' ) )
"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-02-05 20:47 Michał Górny
0 siblings, 0 replies; 134+ messages in thread
From: Michał Górny @ 2020-02-05 20:47 UTC (permalink / raw
To: gentoo-commits
commit: bc711058d12a49f027bc02c21f5e50bc8bd8cd0b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 5 20:32:10 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 5 20:47:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc711058
net-analyzer/fail2ban: Remove py2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.10.4.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
index 85730ff0b68..653f9960754 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 systemd
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
index 7acd5a03851..f20a2d4b3e7 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 eutils systemd vcs-snapshot
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
index 56a0f3046d2..e4b07d80df2 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.5-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 systemd
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild
index 8481a7ca53f..dc79df197e2 100644
--- a/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 systemd
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 1618b1f20e2..4d89363141a 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
DISTUTILS_SINGLE_IMPL=1
inherit bash-completion-r1 distutils-r1 git-r3 systemd
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-01-12 9:01 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2020-01-12 9:01 UTC (permalink / raw
To: gentoo-commits
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() {
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-01-11 23:11 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2020-01-11 23:11 UTC (permalink / raw
To: gentoo-commits
commit: dd48948f37836ba2964c776d3bd0958f60ccdc5e
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 23:08:58 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 23:11:47 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd48948f
net-analyzer/fail2ban: Version 0.11.1
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.11.1.ebuild | 108 +++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 96d52fcf26f..66b2d4bb5f0 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,2 +1,3 @@
DIST fail2ban-0.10.4.tar.gz 493104 BLAKE2B 3a58ab114cf25172c77b229ce53bf6dd009d4fb8c700142480ba0212072d8820126bfabf5dd417835bdac5f5b65d599c6dde859d8c57267e90cfb569dc4a2073 SHA512 ee53f2e8dc3cda4f588c60da5227d3d71550496ddfdf5bdbffced25bafd442b8e2352a9ad9f27bf76489903b5b779cdb9614963342de907c1036ae9268b8f35f
DIST fail2ban-0.10.5.tar.gz 520460 BLAKE2B 872b1b2d96d5c79b228cf7c38923161336e452c33fddce75d25004454a5b5d119d435aeb789d55576de4e24bbf8d8288d9fc2fb3f17323074a27857a08e3c6a4 SHA512 d2ad64999031537f2adfc01efd02d2db0718485e38745736339c2e3a1792cd82147fb6cf5a3d371d83dbe91d1afe34e741e038ed4d84d6f444ea1922dc4bb658
+DIST fail2ban-0.11.1.tar.gz 538660 BLAKE2B c88765ac3f49c19e0570248891814c647f2c3515290982de21c7b6c377508189fa53182fca84d62f61b231e250395992e8cf06cc61394dd41150f02d8a254f8b SHA512 019b088aa6375f98742ed101ef6f65adabca3324444d71d5b8597a8d1d22fa76b9f503660f0498643fe24a3b8e4368de916072a1ab77b8e2ea3eda41c3e0c8c6
diff --git a/net-analyzer/fail2ban/fail2ban-0.11.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.11.1.ebuild
new file mode 100644
index 00000000000..2b9834eff16
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.11.1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_6} )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="https://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="selinux systemd"
+
+RDEPEND="
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' ) )
+"
+
+RESTRICT="test"
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+python_prepare_all() {
+ default
+
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ if python_is_python3; then
+ ./fail2ban-2to3 || die
+ fi
+ distutils-r1_python_compile
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
+ systemd_dounit "${T}/${PN}.service"
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins files/${PN}-logrotate ${PN}
+
+ keepdir /var/lib/${PN}
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite. If you do not use the"
+ elog "persistent database feature, then you should set"
+ elog "dbfile = :memory: in fail2ban.conf accordingly."
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-01-10 13:20 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2020-01-10 13:20 UTC (permalink / raw
To: gentoo-commits
commit: 240bcf47695d4bbf1698df8f6257b98bc9137191
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 13:15:42 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 13:20:07 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240bcf47
net-analyzer/fail2ban: Version 0.10.5
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.10.5.ebuild | 113 +++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 8ae35bf6701..96d52fcf26f 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1 +1,2 @@
DIST fail2ban-0.10.4.tar.gz 493104 BLAKE2B 3a58ab114cf25172c77b229ce53bf6dd009d4fb8c700142480ba0212072d8820126bfabf5dd417835bdac5f5b65d599c6dde859d8c57267e90cfb569dc4a2073 SHA512 ee53f2e8dc3cda4f588c60da5227d3d71550496ddfdf5bdbffced25bafd442b8e2352a9ad9f27bf76489903b5b779cdb9614963342de907c1036ae9268b8f35f
+DIST fail2ban-0.10.5.tar.gz 520460 BLAKE2B 872b1b2d96d5c79b228cf7c38923161336e452c33fddce75d25004454a5b5d119d435aeb789d55576de4e24bbf8d8288d9fc2fb3f17323074a27857a08e3c6a4 SHA512 d2ad64999031537f2adfc01efd02d2db0718485e38745736339c2e3a1792cd82147fb6cf5a3d371d83dbe91d1afe34e741e038ed4d84d6f444ea1922dc4bb658
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.5.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.5.ebuild
new file mode 100644
index 00000000000..85730ff0b68
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.10.5.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_6} )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="https://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="selinux systemd"
+
+RDEPEND="
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' ) )
+"
+
+RESTRICT="test"
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+src_unpack() {
+ default
+ mv ${PN}-${PN}-* ${P} || die
+}
+
+python_prepare_all() {
+ default
+
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ if python_is_python3; then
+ ./fail2ban-2to3 || die
+ fi
+ distutils-r1_python_compile
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
+ systemd_dounit "${T}/${PN}.service"
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins files/${PN}-logrotate ${PN}
+
+ keepdir /var/lib/${PN}
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite. If you do not use the"
+ elog "persistent database feature, then you should set"
+ elog "dbfile = :memory: in fail2ban.conf accordingly."
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2020-01-10 13:20 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2020-01-10 13:20 UTC (permalink / raw
To: gentoo-commits
commit: 55db316d2faf53a0cd07b0bccf16a37e9d3367fd
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 13:19:30 2020 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Jan 10 13:20:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55db316d
net-analyzer/fail2ban: Update live ebuild
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index bb304da8236..59fb036b167 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -41,6 +41,13 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
+python_compile() {
+ if python_is_python3; then
+ ./fail2ban-2to3 || die
+ fi
+ distutils-r1_python_compile
+}
+
python_install_all() {
distutils-r1_python_install_all
@@ -49,8 +56,8 @@ python_install_all() {
# not FILESDIR
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
- systemd_dounit "${T}"/${PN}.service
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
+ systemd_dounit "${T}/${PN}.service"
systemd_dotmpfilesd files/${PN}-tmpfiles.conf
doman man/*.{1,5}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-12-30 12:59 Michał Górny
0 siblings, 0 replies; 134+ messages in thread
From: Michał Górny @ 2019-12-30 12:59 UTC (permalink / raw
To: gentoo-commits
commit: 867a39bbe540327982d93847c6962cee0551ced1
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 00:48:31 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 12:58:46 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867a39bb
net-analyzer/fail2ban: Remove to-be-redundant REQUIRED_USE
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.10.4.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
index ac3d0618622..d5d7baa066b 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
@@ -25,7 +25,7 @@ RDEPEND="
sys-apps/systemd[python(-),${PYTHON_USEDEP}]
)' 'python*' ) )
"
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
RESTRICT="test"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
index 613c33272c0..3845f402b88 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
@@ -29,7 +29,7 @@ RDEPEND="
sys-apps/systemd[python(-),${PYTHON_USEDEP}]
)' 'python*' ) )
"
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
RESTRICT="test"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index d4e1f1886dc..a562cf3e6d0 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -25,7 +25,7 @@ RDEPEND="
sys-apps/systemd[python(-),${PYTHON_USEDEP}]
)' 'python*' ) )
"
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
RESTRICT="test"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-06-10 5:32 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-06-10 5:32 UTC (permalink / raw
To: gentoo-commits
commit: 0654602fda66ee342c93697ea3b81b3ee09b51d6
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 05:31:44 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 05:32:02 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0654602f
net-analyzer/fail2ban: Use HTTPS
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.10.4.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
index c44c1d21b5a..9f2e26d12f2 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 systemd
DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
+HOMEPAGE="https://www.fail2ban.org/"
SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
index 6f6e99cae9b..3b63990008e 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 eutils systemd vcs-snapshot
DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
+HOMEPAGE="https://www.fail2ban.org/"
SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index a3968f20f62..d4e1f1886dc 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 git-r3 systemd
DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
+HOMEPAGE="https://www.fail2ban.org/"
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
LICENSE="GPL-2"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-04-21 12:54 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-04-21 12:54 UTC (permalink / raw
To: gentoo-commits
commit: 4be9865061ccfd45ac0472e706622e3a31c0c8df
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 12:53:57 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 12:54:15 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4be98650
net-analyzer/fail2ban: Explain better how to disable sqlite at run time
Bug: https://bugs.gentoo.org/683960
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild | 6 ++++--
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
index f03ad9d3815..c44c1d21b5a 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
@@ -66,7 +66,7 @@ python_install_all() {
systemd_dotmpfilesd files/${PN}-tmpfiles.conf
doman man/*.{1,5}
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
# See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
insinto /etc/logrotate.d
newins files/${PN}-logrotate ${PN}
@@ -101,7 +101,9 @@ pkg_postinst() {
if ! has_version dev-lang/python[sqlite]; then
elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
+ elog "dev-lang/python with USE=sqlite. If you do not use the"
+ elog "persistent database feature, then you should set"
+ elog "dbfile = :memory: in fail2ban.conf accordingly."
fi
if has_version sys-apps/systemd[-python]; then
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 9dcaaf4be16..a3968f20f62 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -54,7 +54,7 @@ python_install_all() {
systemd_dotmpfilesd files/${PN}-tmpfiles.conf
doman man/*.{1,5}
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
# See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
insinto /etc/logrotate.d
newins files/${PN}-logrotate ${PN}
@@ -89,7 +89,9 @@ pkg_postinst() {
if ! has_version dev-lang/python[sqlite]; then
elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
+ elog "dev-lang/python with USE=sqlite. If you do not use the"
+ elog "persistent database feature, then you should set"
+ elog "dbfile = :memory: in fail2ban.conf accordingly."
fi
if has_version sys-apps/systemd[-python]; then
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-03-27 10:22 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-03-27 10:22 UTC (permalink / raw
To: gentoo-commits
commit: 19d568a99cb999a26abb068949fccc771a0fea15
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 27 10:18:19 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 10:22:21 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19d568a9
net-analyzer/fail2ban: Drop various optional runtime dependencies
Support for net-firewall/iptables, net-misc/whois and
sys-freebsd/freebsd-pf is entirely optional and depends on your local
configuration.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Fixes: https://bugs.gentoo.org/627872
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
.../fail2ban/{fail2ban-0.10.4-r1.ebuild => fail2ban-0.10.4-r2.ebuild} | 4 ----
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 4 ----
2 files changed, 8 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
similarity index 95%
rename from net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
rename to net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
index 08162400a07..1f4495bb15b 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r2.ebuild
@@ -16,11 +16,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
-# TODO support ipfw and ipfilter
RDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
- net-misc/whois
virtual/logger
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 3eb5b64cab5..0adb597ee8c 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -16,11 +16,7 @@ SLOT="0"
KEYWORDS=""
IUSE="selinux systemd"
-# TODO support ipfw and ipfilter
RDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
- net-misc/whois
virtual/logger
virtual/mta
selinux? ( sec-policy/selinux-fail2ban )
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-03-27 10:06 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-03-27 10:06 UTC (permalink / raw
To: gentoo-commits
commit: 2e44db8d62bee1108fd116ab3854b09446d25c66
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 27 10:06:18 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 10:06:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e44db8d
net-analyzer/fail2ban: Drop eutils.eclass
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
index 7c58a3532c1..08162400a07 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1 eutils systemd
+inherit distutils-r1 systemd
DESCRIPTION="scans log files and bans IPs that show malicious signs"
HOMEPAGE="http://www.fail2ban.org/"
@@ -39,7 +39,7 @@ src_unpack() {
}
python_prepare_all() {
- eapply_user
+ default
# Replace /var/run with /run, but not in the top source directory
find . -mindepth 2 -type f -exec \
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-03-27 10:03 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-03-27 10:03 UTC (permalink / raw
To: gentoo-commits
commit: 78e16048c98968d0a8d27ff688cc1b705e017c79
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 27 10:02:16 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 10:03:27 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e16048
net-analyzer/fail2ban: Drop vcs-snapshot.eclass, set EAPI=7
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
index 51b196ff788..7c58a3532c1 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1 eutils systemd vcs-snapshot
+inherit distutils-r1 eutils systemd
DESCRIPTION="scans log files and bans IPs that show malicious signs"
HOMEPAGE="http://www.fail2ban.org/"
@@ -33,6 +33,11 @@ REQUIRED_USE="systemd? ( !python_single_target_pypy )"
RESTRICT="test"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+src_unpack() {
+ default
+ mv ${PN}-${PN}-* ${P} || die
+}
+
python_prepare_all() {
eapply_user
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-03-27 9:45 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-03-27 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 2c83d223b009069602d896da6eb321aa4ac254db
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 27 09:43:19 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Mar 27 09:45:02 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c83d223
net-analyzer/fail2ban: RESTRICT=test
Fixes: https://bugs.gentoo.org/659010
Fixes: https://bugs.gentoo.org/681838
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
.../{fail2ban-0.10.4.ebuild => fail2ban-0.10.4-r1.ebuild} | 11 +++--------
net-analyzer/fail2ban/fail2ban-0.10.4.ebuild | 9 ++-------
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 7 +------
3 files changed, 6 insertions(+), 21 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
similarity index 94%
copy from net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
copy to net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
index 4ba2745237d..51b196ff788 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
@@ -29,9 +29,8 @@ RDEPEND="
sys-apps/systemd[python(-),${PYTHON_USEDEP}]
)' 'python*' ) )
"
-
REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
+RESTRICT="test"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
python_prepare_all() {
@@ -53,10 +52,6 @@ python_compile() {
distutils-r1_python_compile
}
-python_test() {
- "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
python_install_all() {
distutils-r1_python_install_all
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
index 4ba2745237d..55ab05ed1d4 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -29,9 +29,8 @@ RDEPEND="
sys-apps/systemd[python(-),${PYTHON_USEDEP}]
)' 'python*' ) )
"
-
REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
+RESTRICT="test"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
python_prepare_all() {
@@ -53,10 +52,6 @@ python_compile() {
distutils-r1_python_compile
}
-python_test() {
- "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
python_install_all() {
distutils-r1_python_install_all
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index c43c91b4673..3eb5b64cab5 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -29,9 +29,8 @@ RDEPEND="
sys-apps/systemd[python(-),${PYTHON_USEDEP}]
)' 'python*' ) )
"
-
REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
+RESTRICT="test"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
python_prepare_all() {
@@ -46,10 +45,6 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
-python_test() {
- "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
python_install_all() {
distutils-r1_python_install_all
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-02-02 14:34 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-02-02 14:34 UTC (permalink / raw
To: gentoo-commits
commit: 15b7f07f59a52c15f474a9847b7cc44a9deda75c
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 2 14:34:02 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 2 14:34:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b7f07f
net-analyzer/fail2ban: EAPI
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index c0387412503..c43c91b4673 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1 eutils systemd git-r3
+inherit distutils-r1 git-r3 systemd
DESCRIPTION="scans log files and bans IPs that show malicious signs"
HOMEPAGE="http://www.fail2ban.org/"
@@ -35,7 +35,7 @@ REQUIRED_USE="systemd? ( !python_single_target_pypy )"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
python_prepare_all() {
- eapply_user
+ default
# Replace /var/run with /run, but not in the top source directory
find . -mindepth 2 -type f -exec \
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-01-01 6:19 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-01-01 6:19 UTC (permalink / raw
To: gentoo-commits
commit: 0af58e1d6cc01d1658f264e86d3404323d207e5d
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 1 06:16:34 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jan 1 06:19:10 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af58e1d
net-analyzer/fail2ban: Fix live ebuild
Closes: https://bugs.gentoo.org/674204
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index a00563b4c26..c0387412503 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -58,7 +58,6 @@ python_install_all() {
# not FILESDIR
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
- systemd_dounit files/${PN}.service
sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
systemd_dounit "${T}"/${PN}.service
systemd_dotmpfilesd files/${PN}-tmpfiles.conf
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2019-01-01 6:19 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2019-01-01 6:19 UTC (permalink / raw
To: gentoo-commits
commit: d3634f6c31c170dcab9cadbec7f502b10c2b1a70
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 1 06:18:43 2019 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jan 1 06:19:11 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3634f6c
net-analyzer/fail2ban: Old
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 -
net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild | 113 -------------------------
2 files changed, 114 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 29d56938a6c..8ae35bf6701 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,2 +1 @@
-DIST fail2ban-0.10.3.1.tar.gz 485826 BLAKE2B 79ca86a601bd79ba3729d4c9b00f20a0717df8c7ceb20183099e11f84cceade274173be90d0b4b000d37a1b9d242e14106c9e7e40e372e450d69bca003fff6fb SHA512 ed3646ef2113fe10d9130c239818087b228ac9708411e26acc412beae022e3f9ff8cea32d824bd491117882fb8f184dcb88bda295bd31e865ac8310c7e27fc7a
DIST fail2ban-0.10.4.tar.gz 493104 BLAKE2B 3a58ab114cf25172c77b229ce53bf6dd009d4fb8c700142480ba0212072d8820126bfabf5dd417835bdac5f5b65d599c6dde859d8c57267e90cfb569dc4a2073 SHA512 ee53f2e8dc3cda4f588c60da5227d3d71550496ddfdf5bdbffced25bafd442b8e2352a9ad9f27bf76489903b5b779cdb9614963342de907c1036ae9268b8f35f
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
deleted file mode 100644
index 3dda24f6f47..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 eutils systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="selinux systemd"
-
-# TODO support ipfw and ipfilter
-RDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
- net-misc/whois
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' ) )
-"
-
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-python_prepare_all() {
- eapply_user
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
- distutils-r1_python_compile
-}
-
-python_test() {
- "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-12-13 0:18 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-12-13 0:18 UTC (permalink / raw
To: gentoo-commits
commit: bfed17f94219db7fa0648c4a4f647feeb91d6665
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 13 00:17:43 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Dec 13 00:18:00 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfed17f9
net-analyzer/fail2ban: Stable
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.10.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
index d17adcb5886..4ba2745237d 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-11-02 16:42 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-11-02 16:42 UTC (permalink / raw
To: gentoo-commits
commit: 71ea54aa376b7d371382602048dfcb36980232fa
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 2 16:40:50 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Nov 2 16:42:07 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ea54aa
net-analyzer/fail2ban: Version 0.10.4
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 1 +
...2ban-99999999.ebuild => fail2ban-0.10.4.ebuild} | 22 +++++++++++++++-------
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 2 ++
3 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 301224a7529..29d56938a6c 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1 +1,2 @@
DIST fail2ban-0.10.3.1.tar.gz 485826 BLAKE2B 79ca86a601bd79ba3729d4c9b00f20a0717df8c7ceb20183099e11f84cceade274173be90d0b4b000d37a1b9d242e14106c9e7e40e372e450d69bca003fff6fb SHA512 ed3646ef2113fe10d9130c239818087b228ac9708411e26acc412beae022e3f9ff8cea32d824bd491117882fb8f184dcb88bda295bd31e865ac8310c7e27fc7a
+DIST fail2ban-0.10.4.tar.gz 493104 BLAKE2B 3a58ab114cf25172c77b229ce53bf6dd009d4fb8c700142480ba0212072d8820126bfabf5dd417835bdac5f5b65d599c6dde859d8c57267e90cfb569dc4a2073 SHA512 ee53f2e8dc3cda4f588c60da5227d3d71550496ddfdf5bdbffced25bafd442b8e2352a9ad9f27bf76489903b5b779cdb9614963342de907c1036ae9268b8f35f
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
similarity index 87%
copy from net-analyzer/fail2ban/fail2ban-99999999.ebuild
copy to net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
index c55edd10429..d17adcb5886 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.4.ebuild
@@ -1,19 +1,19 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1 eutils systemd git-r3
+inherit distutils-r1 eutils systemd vcs-snapshot
DESCRIPTION="scans log files and bans IPs that show malicious signs"
HOMEPAGE="http://www.fail2ban.org/"
-EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
@@ -46,6 +46,13 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
+python_compile() {
+ if python_is_python3; then
+ ./fail2ban-2to3 || die
+ fi
+ distutils-r1_python_compile
+}
+
python_test() {
"${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
}
@@ -58,9 +65,8 @@ python_install_all() {
# not FILESDIR
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
- systemd_dounit files/${PN}.service
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
- systemd_dounit "${T}"/${PN}.service
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
+ systemd_dounit "${T}/${PN}.service"
systemd_dotmpfilesd files/${PN}-tmpfiles.conf
doman man/*.{1,5}
@@ -68,6 +74,8 @@ python_install_all() {
# See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
insinto /etc/logrotate.d
newins files/${PN}-logrotate ${PN}
+
+ keepdir /var/lib/${PN}
}
pkg_preinst() {
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index c55edd10429..a00563b4c26 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -68,6 +68,8 @@ python_install_all() {
# See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
insinto /etc/logrotate.d
newins files/${PN}-logrotate ${PN}
+
+ keepdir /var/lib/${PN}
}
pkg_preinst() {
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-10-02 19:59 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-10-02 19:59 UTC (permalink / raw
To: gentoo-commits
commit: a09e48389d8caacdadff2b75649595cfcaf838d4
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 2 19:57:04 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Oct 2 19:59:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a09e4838
net-analyzer/fail2ban: Old.
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
net-analyzer/fail2ban/Manifest | 2 -
net-analyzer/fail2ban/fail2ban-0.10.2.ebuild | 113 ---------------------------
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 102 ------------------------
3 files changed, 217 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 87787bf8d08..301224a7529 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,3 +1 @@
-DIST fail2ban-0.10.2.tar.gz 474675 BLAKE2B 569599eec3c7b786933af332507ca148f49d38688f7467d3d9bb811353402646136fb28351e593fad0c95de4ece4ac4967d8215430827e8f5a2a52a6ea61a3ca SHA512 1c16682b3cbf26b5aed1bace4c09ed911e487fbd01f8e8355f2427dae85b86d1d28e7a18948ad66488393115c1439e9daf634f2edb8c3ce7ce8639aa53e35503
DIST fail2ban-0.10.3.1.tar.gz 485826 BLAKE2B 79ca86a601bd79ba3729d4c9b00f20a0717df8c7ceb20183099e11f84cceade274173be90d0b4b000d37a1b9d242e14106c9e7e40e372e450d69bca003fff6fb SHA512 ed3646ef2113fe10d9130c239818087b228ac9708411e26acc412beae022e3f9ff8cea32d824bd491117882fb8f184dcb88bda295bd31e865ac8310c7e27fc7a
-DIST fail2ban-0.9.6.tar.gz 352145 BLAKE2B a529a7a1c78f29f457abc26215da015f7624f6d777571e96725775557725b6cbbfda5068e77520f1b3c20efcff07c11f210c5cca3ed47cf86c6f5e87c503052f SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.2.ebuild
deleted file mode 100644
index 1efe5233391..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.10.2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 eutils systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="selinux systemd"
-
-# TODO support ipfw and ipfilter
-RDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
- net-misc/whois
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' ) )
-"
-
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-python_prepare_all() {
- eapply_user
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
- distutils-r1_python_compile
-}
-
-python_test() {
- "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
deleted file mode 100644
index 78c4e85f890..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 eutils systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="selinux systemd"
-
-# TODO support ipfw and ipfilter
-RDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
- net-misc/whois
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' ) )
-"
-
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-python_prepare_all() {
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- systemd_dounit files/${PN}.service
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-07-11 13:34 Mikle Kolyada
0 siblings, 0 replies; 134+ messages in thread
From: Mikle Kolyada @ 2018-07-11 13:34 UTC (permalink / raw
To: gentoo-commits
commit: 4bf80ace7def1f63c247b73f2a717a7a2243f38f
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 11 13:34:05 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Wed Jul 11 13:34:05 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bf80ace
net-analyzer/fail2ban: arm/ppc/ppc64 stable wrt bug #658760
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
index 1ccf82b68cd..3dda24f6f47 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-06-27 17:23 Tobias Klausmann
0 siblings, 0 replies; 134+ messages in thread
From: Tobias Klausmann @ 2018-06-27 17:23 UTC (permalink / raw
To: gentoo-commits
commit: dee79a0eb177be0709c957fc7bc7a6341d3ab637
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 27 10:13:20 2018 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Wed Jun 27 17:23:07 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dee79a0e
net-analyzer/fail2ban-0.10.3.1-r0: alpha stable
Gentoo-Bug: http://bugs.gentoo.org/658760
net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
index fdc215aa101..1ccf82b68cd 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm hppa ~ppc ~ppc64 sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-06-27 6:25 Sergei Trofimovich
0 siblings, 0 replies; 134+ messages in thread
From: Sergei Trofimovich @ 2018-06-27 6:25 UTC (permalink / raw
To: gentoo-commits
commit: d2738f0681436d7ac7ce954c13adb6886966b054
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Tue Jun 26 13:32:44 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 27 06:24:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2738f06
net-analyzer/fail2ban: stable 0.10.3.1 for sparc
Bug: https://bugs.gentoo.org/658760
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="sparc"
net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
index 842feac3a0a..fdc215aa101 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-06-24 0:05 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-06-24 0:05 UTC (permalink / raw
To: gentoo-commits
commit: 980878b312c850f04bb8f41ded4eefb478a152a4
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 24 00:05:07 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Jun 24 00:05:40 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980878b3
net-analyzer/fail2ban: Stable for AMD64 HPPA x86 too.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --ignore-arches
net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
index 1efe5233391..842feac3a0a 100644
--- a/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-04-06 5:30 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-04-06 5:30 UTC (permalink / raw
To: gentoo-commits
commit: 3b2c9504dfd64c6db9b5f44ab0f762cedcdd6b40
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 6 05:30:03 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Apr 6 05:30:03 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2c9504
net-analyzer/fail2ban: Version 0.10.3.1.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
net-analyzer/fail2ban/Manifest | 2 +-
.../fail2ban/{fail2ban-0.10.3.ebuild => fail2ban-0.10.3.1.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 9fe6ca09132..87787bf8d08 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,3 +1,3 @@
DIST fail2ban-0.10.2.tar.gz 474675 BLAKE2B 569599eec3c7b786933af332507ca148f49d38688f7467d3d9bb811353402646136fb28351e593fad0c95de4ece4ac4967d8215430827e8f5a2a52a6ea61a3ca SHA512 1c16682b3cbf26b5aed1bace4c09ed911e487fbd01f8e8355f2427dae85b86d1d28e7a18948ad66488393115c1439e9daf634f2edb8c3ce7ce8639aa53e35503
-DIST fail2ban-0.10.3.tar.gz 485520 BLAKE2B 0c4cc389fd57f53b0de143b66bb9b0ae45c088ea8a6cecf8c1e10f85d3fcfe2cec27f28201cad220648cec215195673c00c35701c2d91fe1a83da93858f0aca6 SHA512 5ea2fa76b46a8135b87feffaa95ed19ea426adf0f9ca4f7b3e6c4725629e1a5ddb78147103104cdd52b9777c8372ca9db1ebbba3b5457c6238c91fec5ad9841f
+DIST fail2ban-0.10.3.1.tar.gz 485826 BLAKE2B 79ca86a601bd79ba3729d4c9b00f20a0717df8c7ceb20183099e11f84cceade274173be90d0b4b000d37a1b9d242e14106c9e7e40e372e450d69bca003fff6fb SHA512 ed3646ef2113fe10d9130c239818087b228ac9708411e26acc412beae022e3f9ff8cea32d824bd491117882fb8f184dcb88bda295bd31e865ac8310c7e27fc7a
DIST fail2ban-0.9.6.tar.gz 352145 BLAKE2B a529a7a1c78f29f457abc26215da015f7624f6d777571e96725775557725b6cbbfda5068e77520f1b3c20efcff07c11f210c5cca3ed47cf86c6f5e87c503052f SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.3.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
similarity index 100%
rename from net-analyzer/fail2ban/fail2ban-0.10.3.ebuild
rename to net-analyzer/fail2ban/fail2ban-0.10.3.1.ebuild
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-04-06 5:25 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-04-06 5:25 UTC (permalink / raw
To: gentoo-commits
commit: 1a1e127f72290287b6157d18f4125b7d27cf96a4
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 6 05:13:50 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Apr 6 05:25:24 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1e127f
net-analyzer/fail2ban: Version 0.10.3.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.10.3.ebuild | 113 +++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 135b7a4dd73..6ebe7e4b176 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,3 +1,4 @@
DIST fail2ban-0.10.1.tar.gz 465197 BLAKE2B 1e9ed7d07f4565f49e6ebec9ba1ebbbb9835d2eab69d786672addbdf32b2d350a582927cf56722eea91c1420e2d0d7d7564c2739d412c33f639551fa83a7d4ad SHA512 80170082903b7d92732a7accd8ec5188f4b08b57ce46c2df9bc014771ab50602df2065abe87ccb890cfba41699f5441ebfe4648090ffcedb83e0374e509002f2
DIST fail2ban-0.10.2.tar.gz 474675 BLAKE2B 569599eec3c7b786933af332507ca148f49d38688f7467d3d9bb811353402646136fb28351e593fad0c95de4ece4ac4967d8215430827e8f5a2a52a6ea61a3ca SHA512 1c16682b3cbf26b5aed1bace4c09ed911e487fbd01f8e8355f2427dae85b86d1d28e7a18948ad66488393115c1439e9daf634f2edb8c3ce7ce8639aa53e35503
+DIST fail2ban-0.10.3.tar.gz 485520 BLAKE2B 0c4cc389fd57f53b0de143b66bb9b0ae45c088ea8a6cecf8c1e10f85d3fcfe2cec27f28201cad220648cec215195673c00c35701c2d91fe1a83da93858f0aca6 SHA512 5ea2fa76b46a8135b87feffaa95ed19ea426adf0f9ca4f7b3e6c4725629e1a5ddb78147103104cdd52b9777c8372ca9db1ebbba3b5457c6238c91fec5ad9841f
DIST fail2ban-0.9.6.tar.gz 352145 BLAKE2B a529a7a1c78f29f457abc26215da015f7624f6d777571e96725775557725b6cbbfda5068e77520f1b3c20efcff07c11f210c5cca3ed47cf86c6f5e87c503052f SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.3.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.3.ebuild
new file mode 100644
index 00000000000..1efe5233391
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.10.3.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 eutils systemd vcs-snapshot
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="http://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="selinux systemd"
+
+# TODO support ipfw and ipfilter
+RDEPEND="
+ kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
+ net-misc/whois
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' ) )
+"
+
+REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+python_prepare_all() {
+ eapply_user
+
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ if python_is_python3; then
+ ./fail2ban-2to3 || die
+ fi
+ distutils-r1_python_compile
+}
+
+python_test() {
+ "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
+ systemd_dounit "${T}/${PN}.service"
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins files/${PN}-logrotate ${PN}
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-04-06 5:25 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-04-06 5:25 UTC (permalink / raw
To: gentoo-commits
commit: 5d650c79d0ebfb95f29020fbd9051792d6e7481c
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 6 05:14:44 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Apr 6 05:25:26 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d650c79
net-analyzer/fail2ban: Old.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
net-analyzer/fail2ban/Manifest | 1 -
net-analyzer/fail2ban/fail2ban-0.10.1.ebuild | 113 ---------------------------
2 files changed, 114 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 6ebe7e4b176..9fe6ca09132 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,4 +1,3 @@
-DIST fail2ban-0.10.1.tar.gz 465197 BLAKE2B 1e9ed7d07f4565f49e6ebec9ba1ebbbb9835d2eab69d786672addbdf32b2d350a582927cf56722eea91c1420e2d0d7d7564c2739d412c33f639551fa83a7d4ad SHA512 80170082903b7d92732a7accd8ec5188f4b08b57ce46c2df9bc014771ab50602df2065abe87ccb890cfba41699f5441ebfe4648090ffcedb83e0374e509002f2
DIST fail2ban-0.10.2.tar.gz 474675 BLAKE2B 569599eec3c7b786933af332507ca148f49d38688f7467d3d9bb811353402646136fb28351e593fad0c95de4ece4ac4967d8215430827e8f5a2a52a6ea61a3ca SHA512 1c16682b3cbf26b5aed1bace4c09ed911e487fbd01f8e8355f2427dae85b86d1d28e7a18948ad66488393115c1439e9daf634f2edb8c3ce7ce8639aa53e35503
DIST fail2ban-0.10.3.tar.gz 485520 BLAKE2B 0c4cc389fd57f53b0de143b66bb9b0ae45c088ea8a6cecf8c1e10f85d3fcfe2cec27f28201cad220648cec215195673c00c35701c2d91fe1a83da93858f0aca6 SHA512 5ea2fa76b46a8135b87feffaa95ed19ea426adf0f9ca4f7b3e6c4725629e1a5ddb78147103104cdd52b9777c8372ca9db1ebbba3b5457c6238c91fec5ad9841f
DIST fail2ban-0.9.6.tar.gz 352145 BLAKE2B a529a7a1c78f29f457abc26215da015f7624f6d777571e96725775557725b6cbbfda5068e77520f1b3c20efcff07c11f210c5cca3ed47cf86c6f5e87c503052f SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.1.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.1.ebuild
deleted file mode 100644
index ffb03e0fe70..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.10.1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 eutils systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="selinux systemd"
-
-# TODO support ipfw and ipfilter
-RDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
- net-misc/whois
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' ) )
-"
-
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-python_prepare_all() {
- eapply_user
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile() {
- if python_is_python3; then
- ./fail2ban-2to3 || die
- fi
- distutils-r1_python_compile
-}
-
-python_test() {
- "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
- systemd_dounit "${T}/${PN}.service"
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-01-22 15:02 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-01-22 15:02 UTC (permalink / raw
To: gentoo-commits
commit: 82cf1284eb255da49192c7ee10740fca02c317c5
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 22 15:01:56 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 15:01:56 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82cf1284
net-analyzer/fail2ban: Old.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
net-analyzer/fail2ban/Manifest | 1 -
net-analyzer/fail2ban/fail2ban-0.9.7.ebuild | 105 ----------------------------
2 files changed, 106 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 1c6f7cd2e8c..135b7a4dd73 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,4 +1,3 @@
DIST fail2ban-0.10.1.tar.gz 465197 BLAKE2B 1e9ed7d07f4565f49e6ebec9ba1ebbbb9835d2eab69d786672addbdf32b2d350a582927cf56722eea91c1420e2d0d7d7564c2739d412c33f639551fa83a7d4ad SHA512 80170082903b7d92732a7accd8ec5188f4b08b57ce46c2df9bc014771ab50602df2065abe87ccb890cfba41699f5441ebfe4648090ffcedb83e0374e509002f2
DIST fail2ban-0.10.2.tar.gz 474675 BLAKE2B 569599eec3c7b786933af332507ca148f49d38688f7467d3d9bb811353402646136fb28351e593fad0c95de4ece4ac4967d8215430827e8f5a2a52a6ea61a3ca SHA512 1c16682b3cbf26b5aed1bace4c09ed911e487fbd01f8e8355f2427dae85b86d1d28e7a18948ad66488393115c1439e9daf634f2edb8c3ce7ce8639aa53e35503
DIST fail2ban-0.9.6.tar.gz 352145 BLAKE2B a529a7a1c78f29f457abc26215da015f7624f6d777571e96725775557725b6cbbfda5068e77520f1b3c20efcff07c11f210c5cca3ed47cf86c6f5e87c503052f SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e
-DIST fail2ban-0.9.7.tar.gz 356410 BLAKE2B 0dc83741825299236e70f6544155ccefea9682b6b62ee98087918433fe5c3795331bdbc92ee003ec794739d9a826293fd0c20518dd4c0c0bc5c6b963941d11d4 SHA512 117b2cad742636c84ddd1f7de04abb603a74893eae062bd19edcde70a7246bc02157b644ee7192e5bcbd4c45ff6c541d5c598846bdd2dcbab21b884c6402f94d
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
deleted file mode 100644
index eaa1dbd0fc8..00000000000
--- a/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 eutils systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="selinux systemd"
-
-# TODO support ipfw and ipfilter
-RDEPEND="
- kernel_linux? ( net-firewall/iptables )
- kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
- net-misc/whois
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' ) )
-"
-
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-
-python_prepare_all() {
- eapply_user
-
- # Replace /var/run with /run, but not in the top source directory
- find . -mindepth 2 -type f -exec \
- sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
-
- sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- systemd_dounit files/${PN}.service
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
-
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
-}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2018-01-22 15:02 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2018-01-22 15:02 UTC (permalink / raw
To: gentoo-commits
commit: 3a4f6be7c2c36da69eb14f6895d6ca8f7cd7c3be
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 22 15:00:34 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 15:00:34 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a4f6be7
net-analyzer/fail2ban: Version 0.10.2.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.10.2.ebuild | 113 +++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 6dadb26f74f..1c6f7cd2e8c 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,3 +1,4 @@
DIST fail2ban-0.10.1.tar.gz 465197 BLAKE2B 1e9ed7d07f4565f49e6ebec9ba1ebbbb9835d2eab69d786672addbdf32b2d350a582927cf56722eea91c1420e2d0d7d7564c2739d412c33f639551fa83a7d4ad SHA512 80170082903b7d92732a7accd8ec5188f4b08b57ce46c2df9bc014771ab50602df2065abe87ccb890cfba41699f5441ebfe4648090ffcedb83e0374e509002f2
+DIST fail2ban-0.10.2.tar.gz 474675 BLAKE2B 569599eec3c7b786933af332507ca148f49d38688f7467d3d9bb811353402646136fb28351e593fad0c95de4ece4ac4967d8215430827e8f5a2a52a6ea61a3ca SHA512 1c16682b3cbf26b5aed1bace4c09ed911e487fbd01f8e8355f2427dae85b86d1d28e7a18948ad66488393115c1439e9daf634f2edb8c3ce7ce8639aa53e35503
DIST fail2ban-0.9.6.tar.gz 352145 BLAKE2B a529a7a1c78f29f457abc26215da015f7624f6d777571e96725775557725b6cbbfda5068e77520f1b3c20efcff07c11f210c5cca3ed47cf86c6f5e87c503052f SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e
DIST fail2ban-0.9.7.tar.gz 356410 BLAKE2B 0dc83741825299236e70f6544155ccefea9682b6b62ee98087918433fe5c3795331bdbc92ee003ec794739d9a826293fd0c20518dd4c0c0bc5c6b963941d11d4 SHA512 117b2cad742636c84ddd1f7de04abb603a74893eae062bd19edcde70a7246bc02157b644ee7192e5bcbd4c45ff6c541d5c598846bdd2dcbab21b884c6402f94d
diff --git a/net-analyzer/fail2ban/fail2ban-0.10.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.2.ebuild
new file mode 100644
index 00000000000..1efe5233391
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.10.2.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 eutils systemd vcs-snapshot
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="http://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="selinux systemd"
+
+# TODO support ipfw and ipfilter
+RDEPEND="
+ kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
+ net-misc/whois
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' ) )
+"
+
+REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+python_prepare_all() {
+ eapply_user
+
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ if python_is_python3; then
+ ./fail2ban-2to3 || die
+ fi
+ distutils-r1_python_compile
+}
+
+python_test() {
+ "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
+ systemd_dounit "${T}/${PN}.service"
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins files/${PN}-logrotate ${PN}
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-12-27 11:28 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2017-12-27 11:28 UTC (permalink / raw
To: gentoo-commits
commit: bdf68cec78f2dc54e255677c16785cd778fcd5c0
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 11:28:07 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 11:28:27 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdf68cec
net-analyzer/fail2ban: Version bump (bug #627870 by Joe, patch by floppym).
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-analyzer/fail2ban/Manifest | 1 +
...fail2ban-99999999.ebuild => fail2ban-0.10.1.ebuild} | 18 +++++++++++++-----
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 4 +++-
3 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index b2e14287711..6dadb26f74f 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,2 +1,3 @@
+DIST fail2ban-0.10.1.tar.gz 465197 BLAKE2B 1e9ed7d07f4565f49e6ebec9ba1ebbbb9835d2eab69d786672addbdf32b2d350a582927cf56722eea91c1420e2d0d7d7564c2739d412c33f639551fa83a7d4ad SHA512 80170082903b7d92732a7accd8ec5188f4b08b57ce46c2df9bc014771ab50602df2065abe87ccb890cfba41699f5441ebfe4648090ffcedb83e0374e509002f2
DIST fail2ban-0.9.6.tar.gz 352145 BLAKE2B a529a7a1c78f29f457abc26215da015f7624f6d777571e96725775557725b6cbbfda5068e77520f1b3c20efcff07c11f210c5cca3ed47cf86c6f5e87c503052f SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e
DIST fail2ban-0.9.7.tar.gz 356410 BLAKE2B 0dc83741825299236e70f6544155ccefea9682b6b62ee98087918433fe5c3795331bdbc92ee003ec794739d9a826293fd0c20518dd4c0c0bc5c6b963941d11d4 SHA512 117b2cad742636c84ddd1f7de04abb603a74893eae062bd19edcde70a7246bc02157b644ee7192e5bcbd4c45ff6c541d5c598846bdd2dcbab21b884c6402f94d
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-0.10.1.ebuild
similarity index 85%
copy from net-analyzer/fail2ban/fail2ban-99999999.ebuild
copy to net-analyzer/fail2ban/fail2ban-0.10.1.ebuild
index e847560915e..ffb03e0fe70 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.10.1.ebuild
@@ -2,18 +2,18 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1 eutils systemd git-r3
+inherit distutils-r1 eutils systemd vcs-snapshot
DESCRIPTION="scans log files and bans IPs that show malicious signs"
HOMEPAGE="http://www.fail2ban.org/"
-EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
@@ -46,6 +46,13 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
+python_compile() {
+ if python_is_python3; then
+ ./fail2ban-2to3 || die
+ fi
+ distutils-r1_python_compile
+}
+
python_test() {
"${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
}
@@ -58,7 +65,8 @@ python_install_all() {
# not FILESDIR
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
- systemd_dounit files/${PN}.service
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}/${PN}.service" || die
+ systemd_dounit "${T}/${PN}.service"
systemd_dotmpfilesd files/${PN}-tmpfiles.conf
doman man/*.{1,5}
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index e847560915e..c55edd10429 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 eutils systemd git-r3
@@ -59,6 +59,8 @@ python_install_all() {
newconfd files/gentoo-confd ${PN}
newinitd files/gentoo-initd ${PN}
systemd_dounit files/${PN}.service
+ sed -e "s:@BINDIR@:${EPREFIX}/usr/bin:g" files/${PN}.service.in > "${T}"/${PN}.service || die
+ systemd_dounit "${T}"/${PN}.service
systemd_dotmpfilesd files/${PN}-tmpfiles.conf
doman man/*.{1,5}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-12-20 2:52 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2017-12-20 2:52 UTC (permalink / raw
To: gentoo-commits
commit: 18a40cacf1bbe85369168bfbbc4d63d5310bff31
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 20 02:52:08 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 02:52:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a40cac
net-analyzer/fail2ban: Fix pkg_postinst() message conditions (bug #543348 again).
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 30 ++++++++++++--------------
net-analyzer/fail2ban/fail2ban-0.9.7.ebuild | 30 ++++++++++++--------------
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 30 ++++++++++++--------------
3 files changed, 42 insertions(+), 48 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
index 416c743d3f1..78c4e85f890 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -84,21 +84,19 @@ pkg_postinst() {
elog "You are upgrading from version 0.6.x, please see:"
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
- if ! has_version ${CATEGORY}/${PN}; then
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
fi
}
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
index f51e3cf37b7..eaa1dbd0fc8 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
@@ -87,21 +87,19 @@ pkg_postinst() {
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
- if ! has_version ${CATEGORY}/${PN}; then
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
fi
}
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index b642ecf3d5b..e847560915e 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -87,21 +87,19 @@ pkg_postinst() {
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
- if ! has_version ${CATEGORY}/${PN}; then
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
-
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
fi
}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-05-14 9:36 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2017-05-14 9:36 UTC (permalink / raw
To: gentoo-commits
commit: 48dca3295fe1d9353ecff4e155139aff7deb2351
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 09:36:32 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun May 14 09:36:32 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48dca329
net-analyzer/fail2ban: Update live ebuild.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
net-analyzer/fail2ban/fail2ban-0.9.7.ebuild | 1 +
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 11 +++++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
index dfe115e9c2b..f51e3cf37b7 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
@@ -86,6 +86,7 @@ pkg_postinst() {
elog "You are upgrading from version 0.6.x, please see:"
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
+
if ! has_version ${CATEGORY}/${PN}; then
if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
elog "For most jail.conf configurations, it is recommended you install either"
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 34b83c3cedc..b642ecf3d5b 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
DISTUTILS_SINGLE_IMPL=1
@@ -35,10 +35,14 @@ REQUIRED_USE="systemd? ( !python_single_target_pypy )"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
python_prepare_all() {
+ eapply_user
+
# Replace /var/run with /run, but not in the top source directory
find . -mindepth 2 -type f -exec \
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
distutils-r1_python_prepare_all
}
@@ -82,16 +86,19 @@ pkg_postinst() {
elog "You are upgrading from version 0.6.x, please see:"
elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
fi
+
if ! has_version ${CATEGORY}/${PN}; then
if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
elog "For most jail.conf configurations, it is recommended you install either"
elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
elog "to control how log file modifications are detected"
fi
+
if ! has_version dev-lang/python[sqlite]; then
elog "If you want to use ${PN}'s persistent database, then reinstall"
elog "dev-lang/python with USE=sqlite"
fi
+
if has_version sys-apps/systemd[-python]; then
elog "If you want to track logins through sys-apps/systemd's"
elog "journal backend, then reinstall sys-apps/systemd with USE=python"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-05-14 9:31 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2017-05-14 9:31 UTC (permalink / raw
To: gentoo-commits
commit: f8cb5ada51d7da98d5ebb517e5b46085a66a2d99
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 09:30:13 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun May 14 09:31:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8cb5ada
net-analyzer/fail2ban: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.9.7.ebuild | 106 ++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 79e5dbce864..482d0713519 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1 +1,2 @@
DIST fail2ban-0.9.6.tar.gz 352145 SHA256 c6758b43f9d673ec014fc2f2d3497476d5396f9f85e37724a638b43dfdde7a97 SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e WHIRLPOOL a18b4d2905d8c2d4bbb8121bf4a7f69ce1d95ecb9fa521d753fd5f103bf463ada09d04e4e60b9191dce56cfced09426f74397c09df87bffeaf13dc7358a570b4
+DIST fail2ban-0.9.7.tar.gz 356410 SHA256 629882f3401a706a6223fb19aa64950082f4dca463fe8a4242101ca3f3ee0e50 SHA512 117b2cad742636c84ddd1f7de04abb603a74893eae062bd19edcde70a7246bc02157b644ee7192e5bcbd4c45ff6c541d5c598846bdd2dcbab21b884c6402f94d WHIRLPOOL 994144828d829333a8ac55337383ab743f2069661613d8f90e6f553df9619133c4aaf287198b7e2c9432dd87942af7ff0b972ee08ee5934a66463caf1d9b03e8
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
new file mode 100644
index 00000000000..dfe115e9c2b
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.9.7.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 eutils systemd vcs-snapshot
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="http://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="selinux systemd"
+
+# TODO support ipfw and ipfilter
+RDEPEND="
+ kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
+ net-misc/whois
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' ) )
+"
+
+REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+python_prepare_all() {
+ eapply_user
+
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ systemd_dounit files/${PN}.service
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins files/${PN}-logrotate ${PN}
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+ if ! has_version ${CATEGORY}/${PN}; then
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-02-28 11:22 Tobias Klausmann
0 siblings, 0 replies; 134+ messages in thread
From: Tobias Klausmann @ 2017-02-28 11:22 UTC (permalink / raw
To: gentoo-commits
commit: 1e4f3bb3af7522c999b498d39e33408a5f5eff6b
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 11:21:28 2017 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 11:21:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4f3bb3
net-analyzer/fail2ban-0.9.6-r0: add alpha keyword
Gentoo-Bug: 610674
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
index b48a8dc2fb..017ce52f6e 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-02-25 10:03 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2017-02-25 10:03 UTC (permalink / raw
To: gentoo-commits
commit: bc7c92ceb2f82016954584da05eb515bdb31de3a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 10:02:39 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 10:02:39 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7c92ce
net-analyzer/fail2ban: sparc stable wrt bug #610674
Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
index b2778c3a92..b48a8dc2fb 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-02-24 14:07 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2017-02-24 14:07 UTC (permalink / raw
To: gentoo-commits
commit: 96a9229505cfb6a1d14981aaf941cde4aed3842a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 14:07:10 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 14:07:10 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a92295
net-analyzer/fail2ban: ppc stable wrt bug #610674
Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
index 6cc08b5385..b2778c3a92 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm hppa ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-02-24 0:34 Michael Weber
0 siblings, 0 replies; 134+ messages in thread
From: Michael Weber @ 2017-02-24 0:34 UTC (permalink / raw
To: gentoo-commits
commit: 423627d773b51ffcf13381a18103cc296707782b
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 00:15:28 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 00:15:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423627d7
net-analyzer/fail2ban: arm stable (bug 610674).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
index 5c6572f303..6cc08b5385 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm hppa ~ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-02-23 23:15 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2017-02-23 23:15 UTC (permalink / raw
To: gentoo-commits
commit: 1e7e8227e21edaf2fc29fe08691bf9d2ff9c2ae7
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 23:15:09 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 23:15:23 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e7e8227
net-analyzer/fail2ban: Stable for HPPA PPC64 (bug #610674).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
index 99ed746aeb..5c6572f303 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm hppa ~ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-02-23 16:30 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2017-02-23 16:30 UTC (permalink / raw
To: gentoo-commits
commit: 89121457bdbe9151eb7ae6c9454c2abc8eca9c7f
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 16:30:11 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 16:30:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89121457
net-analyzer/fail2ban: x86 stable wrt bug #610674
Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
index 4817ae59b5..99ed746aeb 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2017-02-23 15:55 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2017-02-23 15:55 UTC (permalink / raw
To: gentoo-commits
commit: 452e99247754c00fe4d94821dc6524a26e31aacc
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 15:54:55 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 15:54:55 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=452e9924
net-analyzer/fail2ban: amd64 stable wrt bug #610674
Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
index 7cca52e521..4817ae59b5 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-12-15 22:18 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2016-12-15 22:18 UTC (permalink / raw
To: gentoo-commits
commit: 6b9845a01c26cfa6a112ae634ab8022eed172f6c
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 22:18:10 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 22:18:29 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b9845a0
net-analyzer/fail2ban: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.9.6.ebuild | 105 ++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 815995a..0c8ede3 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,3 +1,4 @@
DIST fail2ban-0.9.3.tar.gz 321960 SHA256 146811530b7acf706db6d28068ee60806f6e0c80da14d89b732955a696728c46 SHA512 c8f45f776677a1e2e222feb4e33499a59c0c1c108365b759daf417870e2cc717a8b26073869eb3846a24928d8a2d33225761a19965b804bb7fee750e86cef6c8 WHIRLPOOL d01a25a9ac422e538e15db5f4f6c5015ee5c429c8fa6adf35accb80ce56f8e703e5104860ca7b205b927697b20a9a1109852dc6059b6ce208c432e0661a78edb
DIST fail2ban-0.9.4.tar.gz 335521 SHA256 9a4a6402f8e6bda15ef8b5a848ce8d91d80735356b52dfac0d7612cdd2fbcaf3 SHA512 fee7368adf30c9b5a47309c0c519de9fb0113a49b5e69d0f9396b5fb3dc9a3c6a5a51fef155fcf7debd86eb839441d1199c992fa8211da83a81f7c182c4a2125 WHIRLPOOL 5d44f39204eb3717f00102c686b5b3873555b82dd3bcae0bfbbb96f54e15d0d020655c3b3efe51536a5746489d133e2dc5bf3d3b7081c6619ba2ab715abe4ba2
DIST fail2ban-0.9.5.tar.gz 342310 SHA256 7fec0e7a23a315358b09580962920d3faec7369a85a0c9f349775b06605aa759 SHA512 d894a5f62d553ccdb406a25163995a655cbd952c1253e966d1b27500bd8431c6e7eba33400412a0ef9df844e1f31ce544b80fb49e3706f7536f58e8d84022d51 WHIRLPOOL 555f929535f68612a05eecbd6ff1ef8d39412dff156e0d06d0c8268f2319797e9f4272e99a09660b784cc38ba9321f9c2d74b5af4164c2aee261c44bdc2451fa
+DIST fail2ban-0.9.6.tar.gz 352145 SHA256 c6758b43f9d673ec014fc2f2d3497476d5396f9f85e37724a638b43dfdde7a97 SHA512 c09778d39741dc38d1073495a9f491012717d5ed04d28722f2ae6755104bdcc472baf06d33f500fed592b04c05277ba5cf74e527f1c0ed751108f4f1be22fa7e WHIRLPOOL a18b4d2905d8c2d4bbb8121bf4a7f69ce1d95ecb9fa521d753fd5f103bf463ada09d04e4e60b9191dce56cfced09426f74397c09df87bffeaf13dc7358a570b4
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
new file mode 100644
index 00000000..7cca52e
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.9.6.ebuild
@@ -0,0 +1,105 @@
+# 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_4,3_5} pypy )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 eutils systemd vcs-snapshot
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="http://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="selinux systemd"
+
+# TODO support ipfw and ipfilter
+RDEPEND="
+ kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
+ net-misc/whois
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' ) )
+"
+
+REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+python_prepare_all() {
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ systemd_dounit files/${PN}.service
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins files/${PN}-logrotate ${PN}
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+ if ! has_version ${CATEGORY}/${PN}; then
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-07-21 6:39 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2016-07-21 6:39 UTC (permalink / raw
To: gentoo-commits
commit: d17fb7455e306a46934cb7e1d9cfde6482ea06d4
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 06:34:46 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 06:34:46 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17fb745
net-analyzer/fail2ban: Version bump.
Package-Manager: portage-2.3.0
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.9.5.ebuild | 105 ++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 9cd701f..815995a 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,2 +1,3 @@
DIST fail2ban-0.9.3.tar.gz 321960 SHA256 146811530b7acf706db6d28068ee60806f6e0c80da14d89b732955a696728c46 SHA512 c8f45f776677a1e2e222feb4e33499a59c0c1c108365b759daf417870e2cc717a8b26073869eb3846a24928d8a2d33225761a19965b804bb7fee750e86cef6c8 WHIRLPOOL d01a25a9ac422e538e15db5f4f6c5015ee5c429c8fa6adf35accb80ce56f8e703e5104860ca7b205b927697b20a9a1109852dc6059b6ce208c432e0661a78edb
DIST fail2ban-0.9.4.tar.gz 335521 SHA256 9a4a6402f8e6bda15ef8b5a848ce8d91d80735356b52dfac0d7612cdd2fbcaf3 SHA512 fee7368adf30c9b5a47309c0c519de9fb0113a49b5e69d0f9396b5fb3dc9a3c6a5a51fef155fcf7debd86eb839441d1199c992fa8211da83a81f7c182c4a2125 WHIRLPOOL 5d44f39204eb3717f00102c686b5b3873555b82dd3bcae0bfbbb96f54e15d0d020655c3b3efe51536a5746489d133e2dc5bf3d3b7081c6619ba2ab715abe4ba2
+DIST fail2ban-0.9.5.tar.gz 342310 SHA256 7fec0e7a23a315358b09580962920d3faec7369a85a0c9f349775b06605aa759 SHA512 d894a5f62d553ccdb406a25163995a655cbd952c1253e966d1b27500bd8431c6e7eba33400412a0ef9df844e1f31ce544b80fb49e3706f7536f58e8d84022d51 WHIRLPOOL 555f929535f68612a05eecbd6ff1ef8d39412dff156e0d06d0c8268f2319797e9f4272e99a09660b784cc38ba9321f9c2d74b5af4164c2aee261c44bdc2451fa
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.5.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.5.ebuild
new file mode 100644
index 0000000..466d66b
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.9.5.ebuild
@@ -0,0 +1,105 @@
+# 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,3_5} pypy )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 eutils systemd vcs-snapshot
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="http://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="selinux systemd"
+
+# TODO support ipfw and ipfilter
+RDEPEND="
+ kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
+ net-misc/whois
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' ) )
+"
+
+REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+
+python_prepare_all() {
+ # Replace /var/run with /run, but not in the top source directory
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
+
+ sed -i -e 's|runscript|openrc-run|g' files/gentoo-initd || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ systemd_dounit files/${PN}.service
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins files/${PN}-logrotate ${PN}
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+ if ! has_version ${CATEGORY}/${PN}; then
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-04-12 5:43 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2016-04-12 5:43 UTC (permalink / raw
To: gentoo-commits
commit: a9e932309410c0b37d6f49117b2ed31daed764c6
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 12 05:43:26 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Apr 12 05:43:26 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9e93230
net-analyzer/fail2ban: Old.
Package-Manager: portage-2.2.28
net-analyzer/fail2ban/Manifest | 1 -
net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild | 105 -------------------------
net-analyzer/fail2ban/fail2ban-0.9.2.ebuild | 100 -----------------------
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 2 +
net-analyzer/fail2ban/fail2ban-0.9.4.ebuild | 2 +
5 files changed, 4 insertions(+), 206 deletions(-)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 843c3f6..9cd701f 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,3 +1,2 @@
-DIST fail2ban-0.9.2.tar.gz 314919 SHA256 3e002f916e71128d4d7a97354b3e9b3bc20add878c9aa29c4034744de6156893 SHA512 c0fe3b126bcab34599661eaba9a84a8748e1450de57bc43cf91434d478463af1f60dc2bd2b50f7419fb1020ed63d398ca8493bd156cf1905767dbb8f79d0fda1 WHIRLPOOL 11264467e1465ad8697e174dcc751a63c0f550a01d381981f0b8bbc6f6c8f1b2ab13c2df205b08662e0e4bf983a139211932942795693c2c2cca71da9ddb833d
DIST fail2ban-0.9.3.tar.gz 321960 SHA256 146811530b7acf706db6d28068ee60806f6e0c80da14d89b732955a696728c46 SHA512 c8f45f776677a1e2e222feb4e33499a59c0c1c108365b759daf417870e2cc717a8b26073869eb3846a24928d8a2d33225761a19965b804bb7fee750e86cef6c8 WHIRLPOOL d01a25a9ac422e538e15db5f4f6c5015ee5c429c8fa6adf35accb80ce56f8e703e5104860ca7b205b927697b20a9a1109852dc6059b6ce208c432e0661a78edb
DIST fail2ban-0.9.4.tar.gz 335521 SHA256 9a4a6402f8e6bda15ef8b5a848ce8d91d80735356b52dfac0d7612cdd2fbcaf3 SHA512 fee7368adf30c9b5a47309c0c519de9fb0113a49b5e69d0f9396b5fb3dc9a3c6a5a51fef155fcf7debd86eb839441d1199c992fa8211da83a81f7c182c4a2125 WHIRLPOOL 5d44f39204eb3717f00102c686b5b3873555b82dd3bcae0bfbbb96f54e15d0d020655c3b3efe51536a5746489d133e2dc5bf3d3b7081c6619ba2ab715abe4ba2
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild
deleted file mode 100644
index 32fc830..0000000
--- a/net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 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 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 eutils systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="selinux systemd"
-
-RDEPEND="
- net-firewall/iptables
- net-misc/whois
- virtual/logger
- virtual/mta
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' ) )
-"
-
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
-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
-
- # Fix bashisms and do not direct useful output to /dev/null (bug #536320)
- # Remove global logrotate settings (bug #549856)
- epatch \
- "${FILESDIR}"/${PN}-0.9.2-initd.patch \
- "${FILESDIR}"/${PN}-0.9.2-logrotate.patch
-
- distutils-r1_src_prepare
-}
-
-python_test() {
- ${EPYTHON} bin/${PN}-testcases
-}
-
-src_install() {
- distutils-r1_src_install
-
- rm -rf "${D}"/usr/share/doc/${PN}
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- systemd_dounit files/${PN}.service
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
- if ! has_version ${CATEGORY}/${PN}; then
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
- fi
-}
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.2.ebuild
deleted file mode 100644
index 2e66531..0000000
--- a/net-analyzer/fail2ban/fail2ban-0.9.2.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2015 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 )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 systemd vcs-snapshot
-
-DESCRIPTION="scans log files and bans IPs that show malicious signs"
-HOMEPAGE="http://www.fail2ban.org/"
-SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
-IUSE="selinux systemd"
-
-DEPEND=""
-RDEPEND="
- net-misc/whois
- virtual/mta
- virtual/logger
- net-firewall/iptables
- selinux? ( sec-policy/selinux-fail2ban )
- systemd? ( $(python_gen_cond_dep '|| (
- dev-python/python-systemd[${PYTHON_USEDEP}]
- sys-apps/systemd[python(-),${PYTHON_USEDEP}]
- )' 'python*' ) )
-"
-
-REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-
-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
-
- distutils-r1_src_prepare
-}
-
-python_test() {
- ${EPYTHON} bin/${PN}-testcases
-}
-
-src_install() {
- distutils-r1_src_install
-
- rm -rf "${D}"/usr/share/doc/${PN}
-
- # not FILESDIR
- newconfd files/gentoo-confd ${PN}
- newinitd files/gentoo-initd ${PN}
- systemd_dounit files/${PN}.service
- systemd_dotmpfilesd files/${PN}-tmpfiles.conf
- doman man/*.{1,5}
-
- # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
- # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
- insinto /etc/logrotate.d
- newins files/${PN}-logrotate ${PN}
-}
-
-pkg_preinst() {
- has_version "<${CATEGORY}/${PN}-0.7"
- previous_less_than_0_7=$?
-}
-
-pkg_postinst() {
- if [[ $previous_less_than_0_7 = 0 ]] ; then
- elog
- elog "Configuration files are now in /etc/fail2ban/"
- elog "You probably have to manually update your configuration"
- elog "files before restarting Fail2ban!"
- elog
- elog "Fail2ban is not installed under /usr/lib anymore. The"
- elog "new location is under /usr/share."
- elog
- elog "You are upgrading from version 0.6.x, please see:"
- elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
- fi
- if ! has_version ${CATEGORY}/${PN}; then
- if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
- elog "For most jail.conf configurations, it is recommended you install either"
- elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
- elog "to control how log file modifications are detected"
- fi
- if ! has_version dev-lang/python[sqlite]; then
- elog "If you want to use ${PN}'s persistent database, then reinstall"
- elog "dev-lang/python with USE=sqlite"
- fi
-
- if has_version sys-apps/systemd[-python]; then
- elog "If you want to track logins through sys-apps/systemd's"
- elog "journal backend, then reinstall sys-apps/systemd with USE=python"
- fi
- fi
-}
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index e3b794d..341c7a7 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -95,10 +95,12 @@ pkg_postinst() {
elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
elog "to control how log file modifications are detected"
fi
+
if ! has_version dev-lang/python[sqlite]; then
elog "If you want to use ${PN}'s persistent database, then reinstall"
elog "dev-lang/python with USE=sqlite"
fi
+
if has_version sys-apps/systemd[-python]; then
elog "If you want to track logins through sys-apps/systemd's"
elog "journal backend, then reinstall sys-apps/systemd with USE=python"
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
index 3af04d8..4896bd4 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
@@ -89,10 +89,12 @@ pkg_postinst() {
elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
elog "to control how log file modifications are detected"
fi
+
if ! has_version dev-lang/python[sqlite]; then
elog "If you want to use ${PN}'s persistent database, then reinstall"
elog "dev-lang/python with USE=sqlite"
fi
+
if has_version sys-apps/systemd[-python]; then
elog "If you want to track logins through sys-apps/systemd's"
elog "journal backend, then reinstall sys-apps/systemd with USE=python"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-03-23 23:25 Patrick McLean
0 siblings, 0 replies; 134+ messages in thread
From: Patrick McLean @ 2016-03-23 23:25 UTC (permalink / raw
To: gentoo-commits
commit: a24492e87c142514702533ef7d7c3a314311b14c
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 23 23:25:12 2016 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 23:25:12 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24492e8
net-analyzer/fail2ban: Don't fail with USE=-systemd when attempting to remove /run from ${D}
Package-Manager: portage-2.2.28
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.9.4.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 6a4c570..e3b794d 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -56,7 +56,7 @@ python_test() {
python_install_all() {
distutils-r1_python_install_all
- rm -r "${D}"/usr/share/doc/${PN} "${D}"/run || die
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
# not FILESDIR
newconfd files/gentoo-confd ${PN}
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
index a32e11c..3af04d8 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
@@ -50,7 +50,7 @@ python_test() {
python_install_all() {
distutils-r1_python_install_all
- rm -r "${D}"/usr/share/doc/${PN} "${D}"/run || die
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
# not FILESDIR
newconfd files/gentoo-confd ${PN}
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index 8372daa..ff0f3fc 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -50,7 +50,7 @@ python_test() {
python_install_all() {
distutils-r1_python_install_all
- rm -r "${D}"/usr/share/doc/${PN} "${D}"/run || die
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run || die
# not FILESDIR
newconfd files/gentoo-confd ${PN}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-03-23 16:03 Mike Frysinger
0 siblings, 0 replies; 134+ messages in thread
From: Mike Frysinger @ 2016-03-23 16:03 UTC (permalink / raw
To: gentoo-commits
commit: 7678670e7f1ee8f35ada0c8e6ac4e04d2e340ce2
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 23 15:57:29 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 16:03:28 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7678670e
net-analyzer/fail2ban: add alpha love
net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.9.2.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 2 +-
net-analyzer/fail2ban/fail2ban-0.9.4.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild
index b649d0d..32fc830 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.2-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
RDEPEND="
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.2.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.2.ebuild
index acc59ac..2e66531 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.2.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
DEPEND=""
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 26c7940..6a4c570 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
index 3f29cce3..a32e11c 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
# TODO support ipfw and ipfilter
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-03-09 14:22 Patrice Clement
0 siblings, 0 replies; 134+ messages in thread
From: Patrice Clement @ 2016-03-09 14:22 UTC (permalink / raw
To: gentoo-commits
commit: 7074cf7863e1656ed077eb24dcd209ea5c9e487b
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Wed Feb 24 12:51:20 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 14:07:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7074cf78
net-analyzer/fail2ban: add missing die, rewrite find/sed
Package-Manager: portage-2.2.27
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 1b4e768..4196d58 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -35,7 +35,8 @@ 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 . -mindepth 2 -type f ) || die
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
# Fix bashisms and do not direct useful output to /dev/null (bug #536320)
# Remove global logrotate settings (bug #549856)
@@ -47,13 +48,13 @@ src_prepare() {
}
python_test() {
- ${EPYTHON} bin/${PN}-testcases
+ "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
}
src_install() {
distutils-r1_src_install
- rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run
+ rm -r "${D}"/usr/share/doc/${PN} "${D}"/run || die
# not FILESDIR
newconfd files/gentoo-confd ${PN}
@@ -96,7 +97,6 @@ pkg_postinst() {
elog "If you want to use ${PN}'s persistent database, then reinstall"
elog "dev-lang/python with USE=sqlite"
fi
-
if has_version sys-apps/systemd[-python]; then
elog "If you want to track logins through sys-apps/systemd's"
elog "journal backend, then reinstall sys-apps/systemd with USE=python"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-03-09 14:22 Patrice Clement
0 siblings, 0 replies; 134+ messages in thread
From: Patrice Clement @ 2016-03-09 14:22 UTC (permalink / raw
To: gentoo-commits
commit: feb118383adb2e8b93bc802d5703ab631f6b3969
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Wed Feb 24 12:55:51 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 14:07:38 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feb11838
net-analyzer/fail2ban: use distutils-r1 functions
Package-Manager: portage-2.2.27
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 4196d58..9e04e5f 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -33,7 +33,7 @@ REQUIRED_USE="systemd? ( !python_single_target_pypy )"
DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-src_prepare() {
+python_prepare_all() {
# Replace /var/run with /run, but not in the top source directory
find . -mindepth 2 -type f -exec \
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
@@ -44,15 +44,15 @@ src_prepare() {
"${FILESDIR}"/${PN}-0.9.2-initd.patch \
"${FILESDIR}"/${PN}-0.9.2-logrotate.patch
- distutils-r1_src_prepare
+ distutils-r1_python_prepare_all
}
python_test() {
"${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
}
-src_install() {
- distutils-r1_src_install
+python_install_all() {
+ distutils-r1_python_install_all
rm -r "${D}"/usr/share/doc/${PN} "${D}"/run || die
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-03-09 14:22 Patrice Clement
0 siblings, 0 replies; 134+ messages in thread
From: Patrice Clement @ 2016-03-09 14:22 UTC (permalink / raw
To: gentoo-commits
commit: 0fa3969cba9b09fd5317515762493b929ed489e2
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Wed Feb 24 12:57:49 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 14:07:38 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa3969c
net-analyzer/fail2ban: support freebsd-pf
Package-Manager: portage-2.2.27
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 9e04e5f..a4f7599 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -17,8 +17,10 @@ SLOT="0"
KEYWORDS="amd64 arm hppa ~ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
+# TODO support ipfw and ipfilter
RDEPEND="
kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
net-misc/whois
virtual/logger
virtual/mta
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-03-09 14:22 Patrice Clement
0 siblings, 0 replies; 134+ messages in thread
From: Patrice Clement @ 2016-03-09 14:22 UTC (permalink / raw
To: gentoo-commits
commit: 9e5135b109c04b6e6335884cdb71c890c7d5e945
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Wed Feb 24 13:01:40 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 14:08:21 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e5135b1
net-analyzer/fail2ban: update live ebuild, drop useless patches
Apply changes from the stable ebuild and drop the two patches
since they are not needed any more, as per:
https://github.com/fail2ban/fail2ban/commit/294a7790a9a32f98448e1e2a2d7a5cfdf741c35f
https://github.com/fail2ban/fail2ban/commit/869d99dd377ff45efa5796bb3be2500e41f32dc3
Pull-Request: https://github.com/gentoo/gentoo/pull/832
Acked-by: Mike Frysinger <vapier <AT> gentoo.org>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
Package-Manager: portage-2.2.27
net-analyzer/fail2ban/fail2ban-99999999.ebuild | 40 +++++++++++---------------
1 file changed, 17 insertions(+), 23 deletions(-)
diff --git a/net-analyzer/fail2ban/fail2ban-99999999.ebuild b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
index ee2f56e..8372daa 100644
--- a/net-analyzer/fail2ban/fail2ban-99999999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-99999999.ebuild
@@ -1,24 +1,26 @@
-# 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 git-r3 systemd vcs-snapshot
+inherit distutils-r1 eutils systemd git-r3
DESCRIPTION="scans log files and bans IPs that show malicious signs"
HOMEPAGE="http://www.fail2ban.org/"
-EGIT_REPO_URI="https://github.com/${PN}/${PN}/"
+EGIT_REPO_URI="https://github.com/${PN}/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="selinux systemd"
+# TODO support ipfw and ipfilter
RDEPEND="
- net-firewall/iptables
+ kernel_linux? ( net-firewall/iptables )
+ kernel_FreeBSD? ( sys-freebsd/freebsd-pf )
net-misc/whois
virtual/logger
virtual/mta
@@ -29,33 +31,26 @@ RDEPEND="
)' 'python*' ) )
"
-DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
+REQUIRED_USE="systemd? ( !python_single_target_pypy )"
-src_unpack() {
- git-r3_src_unpack
-}
+DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
-src_prepare() {
+python_prepare_all() {
# 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
+ find . -mindepth 2 -type f -exec \
+ sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
- # Fix bashisms and do not direct useful output to /dev/null (bug #536320)
- # Remove global logrotate settings (bug #549856)
- epatch \
- "${FILESDIR}"/${PN}-0.9.2-initd.patch \
- "${FILESDIR}"/${PN}-0.9.2-logrotate.patch
-
- distutils-r1_src_prepare
+ distutils-r1_python_prepare_all
}
python_test() {
- ${EPYTHON} bin/${PN}-testcases
+ "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
}
-src_install() {
- distutils-r1_src_install
+python_install_all() {
+ distutils-r1_python_install_all
- rm -rf "${D}"/usr/share/doc/${PN}
+ rm -r "${D}"/usr/share/doc/${PN} "${D}"/run || die
# not FILESDIR
newconfd files/gentoo-confd ${PN}
@@ -98,7 +93,6 @@ pkg_postinst() {
elog "If you want to use ${PN}'s persistent database, then reinstall"
elog "dev-lang/python with USE=sqlite"
fi
-
if has_version sys-apps/systemd[-python]; then
elog "If you want to track logins through sys-apps/systemd's"
elog "journal backend, then reinstall sys-apps/systemd with USE=python"
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-03-09 1:56 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2016-03-09 1:56 UTC (permalink / raw
To: gentoo-commits
commit: 1bbd4151d8b9278ae0aa71873eeeb3c2b76d5048
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 9 01:55:26 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 01:55:26 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bbd4151
net-analyzer/fail2ban: Version bump (bug #576812).
Package-Manager: portage-2.2.27
net-analyzer/fail2ban/Manifest | 1 +
net-analyzer/fail2ban/fail2ban-0.9.4.ebuild | 102 ++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/net-analyzer/fail2ban/Manifest b/net-analyzer/fail2ban/Manifest
index 515d01d..843c3f6 100644
--- a/net-analyzer/fail2ban/Manifest
+++ b/net-analyzer/fail2ban/Manifest
@@ -1,2 +1,3 @@
DIST fail2ban-0.9.2.tar.gz 314919 SHA256 3e002f916e71128d4d7a97354b3e9b3bc20add878c9aa29c4034744de6156893 SHA512 c0fe3b126bcab34599661eaba9a84a8748e1450de57bc43cf91434d478463af1f60dc2bd2b50f7419fb1020ed63d398ca8493bd156cf1905767dbb8f79d0fda1 WHIRLPOOL 11264467e1465ad8697e174dcc751a63c0f550a01d381981f0b8bbc6f6c8f1b2ab13c2df205b08662e0e4bf983a139211932942795693c2c2cca71da9ddb833d
DIST fail2ban-0.9.3.tar.gz 321960 SHA256 146811530b7acf706db6d28068ee60806f6e0c80da14d89b732955a696728c46 SHA512 c8f45f776677a1e2e222feb4e33499a59c0c1c108365b759daf417870e2cc717a8b26073869eb3846a24928d8a2d33225761a19965b804bb7fee750e86cef6c8 WHIRLPOOL d01a25a9ac422e538e15db5f4f6c5015ee5c429c8fa6adf35accb80ce56f8e703e5104860ca7b205b927697b20a9a1109852dc6059b6ce208c432e0661a78edb
+DIST fail2ban-0.9.4.tar.gz 335521 SHA256 9a4a6402f8e6bda15ef8b5a848ce8d91d80735356b52dfac0d7612cdd2fbcaf3 SHA512 fee7368adf30c9b5a47309c0c519de9fb0113a49b5e69d0f9396b5fb3dc9a3c6a5a51fef155fcf7debd86eb839441d1199c992fa8211da83a81f7c182c4a2125 WHIRLPOOL 5d44f39204eb3717f00102c686b5b3873555b82dd3bcae0bfbbb96f54e15d0d020655c3b3efe51536a5746489d133e2dc5bf3d3b7081c6619ba2ab715abe4ba2
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
new file mode 100644
index 0000000..eae742b
--- /dev/null
+++ b/net-analyzer/fail2ban/fail2ban-0.9.4.ebuild
@@ -0,0 +1,102 @@
+# 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,3_5} pypy )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 eutils systemd vcs-snapshot
+
+DESCRIPTION="scans log files and bans IPs that show malicious signs"
+HOMEPAGE="http://www.fail2ban.org/"
+SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="selinux systemd"
+
+RDEPEND="
+ kernel_linux? ( net-firewall/iptables )
+ net-misc/whois
+ virtual/logger
+ virtual/mta
+ selinux? ( sec-policy/selinux-fail2ban )
+ systemd? ( $(python_gen_cond_dep '|| (
+ dev-python/python-systemd[${PYTHON_USEDEP}]
+ sys-apps/systemd[python(-),${PYTHON_USEDEP}]
+ )' 'python*' ) )
+"
+
+REQUIRED_USE="systemd? ( !python_single_target_pypy )"
+
+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 . -mindepth 2 -type f ) || die
+
+ # Fix bashisms and do not direct useful output to /dev/null (bug #536320)
+ # Remove global logrotate settings (bug #549856)
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ ${EPYTHON} bin/${PN}-testcases
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ rm -rf "${D}"/usr/share/doc/${PN} "${D}"/run
+
+ # not FILESDIR
+ newconfd files/gentoo-confd ${PN}
+ newinitd files/gentoo-initd ${PN}
+ systemd_dounit files/${PN}.service
+ systemd_dotmpfilesd files/${PN}-tmpfiles.conf
+ doman man/*.{1,5}
+
+ # Use INSTALL_MASK if you do not want to touch /etc/logrotate.d.
+ # See http://thread.gmane.org/gmane.linux.gentoo.devel/35675
+ insinto /etc/logrotate.d
+ newins files/${PN}-logrotate ${PN}
+}
+
+pkg_preinst() {
+ has_version "<${CATEGORY}/${PN}-0.7"
+ previous_less_than_0_7=$?
+}
+
+pkg_postinst() {
+ if [[ $previous_less_than_0_7 = 0 ]] ; then
+ elog
+ elog "Configuration files are now in /etc/fail2ban/"
+ elog "You probably have to manually update your configuration"
+ elog "files before restarting Fail2ban!"
+ elog
+ elog "Fail2ban is not installed under /usr/lib anymore. The"
+ elog "new location is under /usr/share."
+ elog
+ elog "You are upgrading from version 0.6.x, please see:"
+ elog "http://www.fail2ban.org/wiki/index.php/HOWTO_Upgrade_from_0.6_to_0.8"
+ fi
+ if ! has_version ${CATEGORY}/${PN}; then
+ if ! has_version dev-python/pyinotify && ! has_version app-admin/gamin; then
+ elog "For most jail.conf configurations, it is recommended you install either"
+ elog "dev-python/pyinotify or app-admin/gamin (in order of preference)"
+ elog "to control how log file modifications are detected"
+ fi
+ if ! has_version dev-lang/python[sqlite]; then
+ elog "If you want to use ${PN}'s persistent database, then reinstall"
+ elog "dev-lang/python with USE=sqlite"
+ fi
+
+ if has_version sys-apps/systemd[-python]; then
+ elog "If you want to track logins through sys-apps/systemd's"
+ elog "journal backend, then reinstall sys-apps/systemd with USE=python"
+ fi
+ fi
+}
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-02-14 17:29 Markus Meier
0 siblings, 0 replies; 134+ messages in thread
From: Markus Meier @ 2016-02-14 17:29 UTC (permalink / raw
To: gentoo-commits
commit: 389aaee545d8b5d14f237ce861ec528f71931652
Author: Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 17:29:03 2016 +0000
Commit: Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 17:29:03 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=389aaee5
net-analyzer/fail2ban: arm stable, bug #573558
Package-Manager: portage-2.2.27
RepoMan-Options: --include-arches="arm"
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index bb0644b..1b4e768 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="amd64 arm hppa ~ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-02-13 15:33 Agostino Sarubbo
0 siblings, 0 replies; 134+ messages in thread
From: Agostino Sarubbo @ 2016-02-13 15:33 UTC (permalink / raw
To: gentoo-commits
commit: abd4a9520a4ef26d5d8a3822871c0227e63c9a7c
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 15:33:09 2016 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 15:33:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd4a952
net-analyzer/fail2ban: amd64 stable wrt bug #573558
Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 8dc8749..3d5859f 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm hppa ~ppc ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~arm hppa ~ppc ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-02-13 8:22 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2016-02-13 8:22 UTC (permalink / raw
To: gentoo-commits
commit: c00ccc9bc4f5c97e19ca96ed4c1278e523cc475a
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 08:19:44 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 08:22:00 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00ccc9b
net-analyzer/fail2ban: Stable for PPC64 (bug #573558).
Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index f54a2db..8dc8749 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~arm hppa ~ppc ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-02-13 8:06 Jeroen Roovers
0 siblings, 0 replies; 134+ messages in thread
From: Jeroen Roovers @ 2016-02-13 8:06 UTC (permalink / raw
To: gentoo-commits
commit: f2b315767b1f06e5ce1f60e715843f77564f74c0
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 08:06:18 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 08:06:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b31576
net-analyzer/fail2ban: Stable for HPPA (bug #573558).
Package-Manager: portage-2.2.27
RepoMan-Options: --ignore-arches
net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 72cb443..f54a2db 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/${PN}/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~arm hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="selinux systemd"
RDEPEND="
^ permalink raw reply related [flat|nested] 134+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/
@ 2016-01-29 9:29 Ian Delaney
0 siblings, 0 replies; 134+ messages in thread
From: Ian Delaney @ 2016-01-29 9:29 UTC (permalink / raw
To: gentoo-commits
commit: 6505f589d009391718b532ded333de8543fc0d38
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Thu Jan 28 23:56:36 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Fri Jan 29 08:36:42 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6505f589
net-analyzer/fail2ban: add support for Python 3.5, fix fbsd deps
Package-Manager: portage-2.2.27
.../fail2ban/{fail2ban-0.9.3.ebuild => fail2ban-0.9.3-r1.ebuild} | 8 ++++----
1 file 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
similarity index 93%
rename from net-analyzer/fail2ban/fail2ban-0.9.3.ebuild
rename to net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 51f8963..72cb443 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)
^ permalink raw reply related [flat|nested] 134+ messages in thread
end of thread, other threads:[~2024-10-12 15:05 UTC | newest]
Thread overview: 134+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-19 21:24 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2024-10-12 15:05 Sam James
2024-08-29 6:34 Jakov Smolić
2024-08-29 6:34 Jakov Smolić
2024-08-29 6:34 Jakov Smolić
2024-08-29 5:10 Jakov Smolić
2024-08-29 5:10 Jakov Smolić
2024-08-29 3:15 Sam James
2024-07-17 5:14 Sam James
2024-07-17 5:14 Sam James
2024-06-01 22:19 Sam James
2024-06-01 22:19 Sam James
2024-06-01 22:19 Sam James
2024-06-01 22:19 Sam James
2024-06-01 22:19 Sam James
2024-06-01 22:19 Sam James
2024-06-01 22:19 Sam James
2024-05-28 11:52 Michał Górny
2024-04-28 23:28 Sam James
2024-04-19 6:39 Ionen Wolkens
2024-04-18 16:17 Arthur Zamarin
2024-04-18 16:16 Arthur Zamarin
2024-03-18 12:01 Jakov Smolić
2024-03-14 4:52 Sam James
2023-12-28 3:43 Sam James
2023-07-03 23:08 Sam James
2023-07-02 19:55 Sam James
2023-07-02 19:55 Sam James
2023-07-02 18:58 Sam James
2023-07-02 18:58 Sam James
2023-05-01 12:49 Sam James
2023-03-04 5:47 Arthur Zamarin
2023-02-27 9:02 WANG Xuerui
2023-02-27 9:02 WANG Xuerui
2023-02-27 9:02 WANG Xuerui
2023-02-22 16:21 Sam James
2022-11-25 5:04 Sam James
2022-11-10 6:21 Sam James
2022-09-27 17:57 Sam James
2022-02-20 5:51 Sam James
2022-02-10 10:04 Sam James
2022-02-10 10:04 Sam James
2022-02-10 10:04 Sam James
2022-02-10 10:04 Sam James
2022-02-02 7:25 Sam James
2022-01-31 1:26 Sam James
2022-01-30 22:26 Sam James
2022-01-29 21:42 Jakov Smolić
2022-01-29 21:42 Jakov Smolić
2022-01-25 21:25 Sam James
2022-01-23 15:20 Sam James
2022-01-20 13:16 Jakov Smolić
2022-01-20 13:16 Jakov Smolić
2022-01-04 20:45 Sam James
2021-09-16 6:29 Sam James
2021-05-14 17:22 Sam James
2021-03-23 4:53 Sam James
2021-03-17 1:44 Sam James
2021-01-02 11:11 Sam James
2021-01-02 11:11 Sam James
2020-12-29 23:41 Sam James
2020-12-28 4:58 Sam James
2020-12-28 4:58 Sam James
2020-12-28 4:58 Sam James
2020-12-21 22:52 Sam James
2020-12-13 5:35 Sam James
2020-12-12 23:29 Sam James
2020-12-03 6:49 Sam James
2020-11-20 13:44 Sam James
2020-08-14 23:22 Andreas Sturmlechner
2020-05-02 0:40 Patrick McLean
2020-04-28 7:35 Jeroen Roovers
2020-04-28 7:35 Jeroen Roovers
2020-04-27 11:40 Agostino Sarubbo
2020-04-27 11:40 Agostino Sarubbo
2020-04-27 11:39 Agostino Sarubbo
2020-04-27 11:39 Agostino Sarubbo
2020-04-27 8:14 Agostino Sarubbo
2020-04-27 8:13 Agostino Sarubbo
2020-04-08 16:07 Jeroen Roovers
2020-02-09 16:47 Michał Górny
2020-02-05 20:47 Michał Górny
2020-01-12 9:01 Jeroen Roovers
2020-01-11 23:11 Jeroen Roovers
2020-01-10 13:20 Jeroen Roovers
2020-01-10 13:20 Jeroen Roovers
2019-12-30 12:59 Michał Górny
2019-06-10 5:32 Jeroen Roovers
2019-04-21 12:54 Jeroen Roovers
2019-03-27 10:22 Jeroen Roovers
2019-03-27 10:06 Jeroen Roovers
2019-03-27 10:03 Jeroen Roovers
2019-03-27 9:45 Jeroen Roovers
2019-02-02 14:34 Jeroen Roovers
2019-01-01 6:19 Jeroen Roovers
2019-01-01 6:19 Jeroen Roovers
2018-12-13 0:18 Jeroen Roovers
2018-11-02 16:42 Jeroen Roovers
2018-10-02 19:59 Jeroen Roovers
2018-07-11 13:34 Mikle Kolyada
2018-06-27 17:23 Tobias Klausmann
2018-06-27 6:25 Sergei Trofimovich
2018-06-24 0:05 Jeroen Roovers
2018-04-06 5:30 Jeroen Roovers
2018-04-06 5:25 Jeroen Roovers
2018-04-06 5:25 Jeroen Roovers
2018-01-22 15:02 Jeroen Roovers
2018-01-22 15:02 Jeroen Roovers
2017-12-27 11:28 Jeroen Roovers
2017-12-20 2:52 Jeroen Roovers
2017-05-14 9:36 Jeroen Roovers
2017-05-14 9:31 Jeroen Roovers
2017-02-28 11:22 Tobias Klausmann
2017-02-25 10:03 Agostino Sarubbo
2017-02-24 14:07 Agostino Sarubbo
2017-02-24 0:34 Michael Weber
2017-02-23 23:15 Jeroen Roovers
2017-02-23 16:30 Agostino Sarubbo
2017-02-23 15:55 Agostino Sarubbo
2016-12-15 22:18 Jeroen Roovers
2016-07-21 6:39 Jeroen Roovers
2016-04-12 5:43 Jeroen Roovers
2016-03-23 23:25 Patrick McLean
2016-03-23 16:03 Mike Frysinger
2016-03-09 14:22 Patrice Clement
2016-03-09 14:22 Patrice Clement
2016-03-09 14:22 Patrice Clement
2016-03-09 14:22 Patrice Clement
2016-03-09 1:56 Jeroen Roovers
2016-02-14 17:29 Markus Meier
2016-02-13 15:33 Agostino Sarubbo
2016-02-13 8:22 Jeroen Roovers
2016-02-13 8:06 Jeroen Roovers
2016-01-29 9:29 Ian Delaney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox