freebsd-ports/security/py-fail2ban/files/patch-setup.py
Nikolai Lifanov 5d62f355c2 Update fail2ban to version 0.9.6
PR:		215239
Submitted by:	John W. O'Brien <john@saltant.com>
Reviewed by:	matthew
Approved by:	theis@gmx.at (maintainer), matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D8917
2016-12-27 21:25:07 +00:00

30 lines
872 B
Python

--- setup.py.orig 2016-12-09 14:36:08 UTC
+++ setup.py
@@ -149,27 +149,14 @@ setup(
'bin/fail2ban-client',
'bin/fail2ban-server',
'bin/fail2ban-regex',
- 'bin/fail2ban-testcases',
# 'bin/fail2ban-python', -- link (binary), will be installed via install_scripts_f2b wrapper
],
packages = [
'fail2ban',
'fail2ban.client',
'fail2ban.server',
- 'fail2ban.tests',
- 'fail2ban.tests.action_d',
],
package_data = {
- 'fail2ban.tests':
- [ join(w[0], f).replace("fail2ban/tests/", "", 1)
- for w in os.walk('fail2ban/tests/files')
- for f in w[2]] +
- [ join(w[0], f).replace("fail2ban/tests/", "", 1)
- for w in os.walk('fail2ban/tests/config')
- for f in w[2]] +
- [ join(w[0], f).replace("fail2ban/tests/", "", 1)
- for w in os.walk('fail2ban/tests/action_d')
- for f in w[2]]
},
data_files = [
('/etc/fail2ban',