Merge pull request #325602 from pan93412/fail2ban-update

This commit is contained in:
Sandro 2024-07-09 18:04:05 +02:00 committed by GitHub
commit 6ffe5e4c1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,13 +5,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "fail2ban";
version = "1.0.2";
version = "1.1.0";
src = fetchFromGitHub {
owner = "fail2ban";
repo = "fail2ban";
rev = version;
hash = "sha256-Zd8zLkFlvXTbeInEkNFyHgcAiOsX4WwF6hf5juSQvbY=";
hash = "sha256-0xPNhbu6/p/cbHOr5Y+PXbMbt5q/S13S5100ZZSdylE=";
};
outputs = [ "out" "man" ];
@ -22,12 +22,12 @@ python3.pkgs.buildPythonApplication rec {
lib.optionals stdenv.isLinux [
systemd
pyinotify
# https://github.com/fail2ban/fail2ban/issues/3787, remove it in the next release
setuptools
];
preConfigure = ''
patchShebangs fail2ban-2to3
./fail2ban-2to3
for i in config/action.d/sendmail*.conf; do
substituteInPlace $i \
--replace /usr/sbin/sendmail sendmail