Commit graph

40 commits

Author SHA1 Message Date
Sandro Jäckel 5496ed328a
fail2ban: cleanup 2021-07-25 01:02:25 +02:00
Flakebi 2346ec8883
fail2ban: 0.11.1 -> 0.11.2
Fixes fail2ban with python 3.9.
2021-07-24 22:31:51 +02:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jan Tojnar 88bf62113b
fail2ban: drop unused gamin arg 2020-09-02 01:35:24 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Izorkin 15b0ae6156 fail2ban: 0.10.5 -> 0.11.1 2020-01-29 23:15:56 +03:00
Will Dietz f4f3213b57
fail2ban: 0.10.4 -> 0.10.5
https://github.com/fail2ban/fail2ban/blob/0.10.5/ChangeLog

Drop included patch.
2020-01-10 23:58:41 -06:00
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