Commit Graph

32 Commits

Author SHA1 Message Date
Izorkin
5b6295c969 fail2ban: fix work with python3 2020-01-02 12:52:32 +03:00
Jan Tojnar
7adbfb1220
fail2ban: switch to Python 3
We are dropping Python support from gamin so nothing is holding us any more.
Instead of gamin, we will use systemd on Linux and polling on Darwin;
gamin is the worst backend any way, according to upstream:

https://github.com/fail2ban/fail2ban/issues/1330#issuecomment-314429043
2019-12-15 01:50:38 +01:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Josh Steadmon
90aa42b683 fail2ban: fix dovecot filter's journalmatch
The dovecot filter config distributed with fail2ban watches for log
entries with a journalmatch filter of "_SYSTEMD_UNIT=dovecot.service",
but NixOS's Dovecot runs as dovecot2.service. Fix the journalmatch
config to match NixOS's Dovecot.
2019-06-20 19:09:04 -07:00
Tim Steinbach
562866e64f
fail2ban: 0.10.3.1 -> 0.10.4 2018-10-14 10:27:04 -04:00
R. RyanTM
7fc3e0e0cf fail2ban: 0.10.2 -> 0.10.3.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/fail2ban/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/fail2ban-python -h’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/fail2ban-python --help’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/.fail2ban-client-wrapped -h’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/.fail2ban-client-wrapped --help’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/fail2ban-client -h’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/fail2ban-client --help’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/.fail2ban-regex-wrapped -h’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/.fail2ban-regex-wrapped --help’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/fail2ban-regex -h’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/fail2ban-regex --help’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/.fail2ban-server-wrapped -h’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/.fail2ban-server-wrapped --help’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/fail2ban-server -h’ got 0 exit code
- ran ‘/nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1/bin/fail2ban-server --help’ got 0 exit code
- found 0.10.3.1 with grep in /nix/store/iwbizr0g8f6wb5243l5730sdgb3nbjqk-fail2ban-0.10.3.1
- directory tree listing: https://gist.github.com/3b1b92178d21ce7b05d59b7e88a6620c
2018-04-11 00:16:27 -07:00
Pascal Wittmann
f3ca47561c
fail2ban: install docs to $out/share/doc
fixes issue #28145
2018-03-25 16:14:48 +02:00
adisbladis
64d9a928f4
fail2ban: 0.10.1 -> 0.10.2 2018-01-28 06:51:31 +08:00
adisbladis
1c0c82582a
fail2ban: 0.9.7 -> 0.10.1 2018-01-04 16:34:33 +01:00
Franz Pletz
d40f993073
fail2ban: 0.9.6 -> 0.9.7 2017-08-01 06:16:03 +02:00
Robin Gloster
209d453bfb
fail2ban: 0.9.4 -> 0.9.6 2017-02-02 19:19:28 +01:00
Frederik Rietdijk
104c50dd1a Python: remove modules and pythonFull 2016-10-10 10:33:24 +02:00
Robin Gloster
afbeda22d5 fail2ban: remove unnecessary substituteInPlace
`substituteInPlace` was operating on non-existant files.
2016-08-14 22:55:21 +00:00
Franz Pletz
f03993366e fail2ban: 0.9.3 -> 0.9.4 2016-03-22 02:12:43 +01:00
Frederik Rietdijk
4d06bf70f4 buildPythonApplication: use new function for Python applications 2016-02-19 13:16:41 +01:00
Rodney Lorrimar
75d143ae9a fail2ban: 0.9.1 -> 0.9.3 2015-12-18 09:44:22 +00:00
Rodney Lorrimar
201859ea18 fail2ban: update python-systemd dependency
The python module has been split off from systemd since v223.
2015-12-18 09:44:22 +00:00
Rodney Lorrimar
242c24c402 fail2ban: python packaging workaround for /etc/fail2ban installation (fixes #11534)
Removed path substitutions from setup.py because these should be handled
by the setuptools install prefix.

Except that the install prefix won't quite work until issue #4968 is
resolved.

In the meantime there are preInstall and postInstall scripts so that
this package continues to work with the nix python packaging
improvements.
2015-12-18 09:44:22 +00:00
Bjørn Forsman
b217d9a4dd fail2ban: fix broken download/hash
The (dynamically generated) compressed archive has changed. Switch from
fetchurl to fetchzip to not get bitten by that again.
2015-05-24 20:31:52 +02:00
Spencer Whitt
3885fc5c3b fail2ban: include systemd on Linux only 2015-04-07 13:48:31 -04:00
Thomas Hunger
41d89224c9 Update fail2ban to 0.9.1.
Version 0.9 is no longer available for downloat at github.
2014-11-15 16:54:40 +00:00
Joel Taylor
d8cca3d624 fail2ban: systemd support
- upgrade fail2ban to 0.9
- override systemd to enable python support and include sqlite3 module
- make fail2ban enablable
2014-08-08 00:10:19 +02:00
Peter Simons
37f327acfd fail2ban: update from 0.8.12 to 0.8.13 2014-04-09 12:41:10 +02:00
Domen Kožar
fae6079a01 adopt rest of the packages that were failing with the buildPythonPackage changes 2014-02-20 01:19:15 +01:00
Nixpkgs Monitor
318c44d84c fail2ban: Update from 0.8.11 to 0.8.12 2014-02-13 18:34:02 +01:00
Nixpkgs Monitor
5e3f82dceb fail2ban: update from 0.8.10 to 0.8.11 2014-01-13 16:15:57 +01:00
Eelco Dolstra
01087750ba Don't build some packages on some platforms 2013-11-04 21:11:00 +01:00
Eelco Dolstra
7c7bfa817a fail2ban: Update to 0.8.10
Also fix random start failures due to a race between the fail2ban
server and the postStart script.
2013-10-16 10:03:43 +02:00
Jason "Don" O'Conal
5bfb4a4f30 fail2ban: fix build on darwin (close #933) 2013-09-14 15:18:29 +02:00
Rob Vermaas
aa28196ec4 Update hash for fail2ban 2013-09-11 10:44:14 +02:00
Eelco Dolstra
1a931bfa62 * Use Gamin to detect log file changes.
svn path=/nixpkgs/trunk/; revision=34155
2012-05-17 13:43:11 +00:00
Eelco Dolstra
1d4df9f299 * Added fail2ban, a program that scans log files for repeated failing
login attempts and bans IP addresses.

svn path=/nixpkgs/trunk/; revision=34148
2012-05-16 22:58:49 +00:00