Diff fail2ban-1.0.2-r2 with a fail2ban-9999
/usr/portage/net-analyzer/fail2ban/fail2ban-9999.ebuild 2023-10-09 14:52:33.312368446 +0300 | ||
---|---|---|
39 | 39 |
PATCHES=( |
40 | 40 |
"${FILESDIR}"/${PN}-0.11.2-adjust-apache-logs-paths.patch |
41 | 41 |
"${FILESDIR}"/${PN}-1.0.2-umask-tests.patch |
42 |
"${FILESDIR}"/${P}-configreader-warning.patch |
|
43 | 42 |
) |
44 | 43 | |
45 | 44 |
python_prepare_all() { |
... | ... | |
50 | 49 |
sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die |
51 | 50 |
} |
52 | 51 | |
53 |
python_compile() { |
|
54 |
./fail2ban-2to3 || die |
|
55 |
distutils-r1_python_compile |
|
56 |
} |
|
57 | ||
58 | 52 |
python_test() { |
59 | 53 |
# Skip testRepairDb for bug #907348 (didn't always fail..) |
60 | 54 |
bin/fail2ban-testcases \ |
61 | 55 |
--no-network \ |
62 |
--no-gamin \ |
|
63 | 56 |
--ignore databasetestcase.DatabaseTest.testRepairDb \ |
64 | 57 |
--verbosity=4 || die "Tests failed with ${EPYTHON}" |
65 | 58 |