Install monit configuration

pull/1858/head debian/0.9.1+git44-gd65c4f8-1
Yaroslav Halchenko 2014-12-30 18:33:06 -05:00
parent dacd6c4155
commit 12dd23004e
4 changed files with 10 additions and 4 deletions

5
debian/changelog vendored
View File

@ -13,8 +13,11 @@ fail2ban (0.9.1+git44-gd65c4f8-1) experimental; urgency=medium
- carries a lot of fixes and improvements. Consult upstream ChangeLog
- debian's init file is now maintained in upstream codebase (for manual
deployments)
- provides monit (now Suggest'ed) file which is now gets installed
but not enabled by default: ln -s /etc/monit/{monitrc,conf}.d/fail2ban
to assure that fail2ban process is running
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 30 Dec 2014 16:46:26 -0500
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 30 Dec 2014 18:32:16 -0500
fail2ban (0.9.1-1) unstable; urgency=medium

2
debian/control vendored
View File

@ -13,7 +13,7 @@ Package: fail2ban
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, lsb-base (>=2.0-7)
Recommends: iptables, whois, python3-pyinotify
Suggests: mailx, system-log-daemon, python3-systemd
Suggests: mailx, system-log-daemon, python3-systemd, monit
Description: ban hosts that cause multiple authentication errors
Fail2ban monitors log files (e.g. /var/log/auth.log,
/var/log/apache/access.log) and temporarily or persistently bans

View File

@ -14,9 +14,9 @@
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, lsb-base (>=2.0-7)
-Recommends: iptables, whois, python3-pyinotify
-Suggests: mailx, system-log-daemon, python3-systemd
-Suggests: mailx, system-log-daemon, python3-systemd, monit
+Recommends: iptables, whois, python-pyinotify
+Suggests: mailx, system-log-daemon, python-systemd
+Suggests: mailx, system-log-daemon, python-systemd, monit
Description: ban hosts that cause multiple authentication errors
Fail2ban monitors log files (e.g. /var/log/auth.log,
/var/log/apache/access.log) and temporarily or persistently bans

3
debian/rules vendored
View File

@ -31,6 +31,9 @@ override_dh_install:
: # just to please lintian since init file will
: # take care about it anyways
rm -rf $(DESTDIR)/var/run/
: # Install monit configuration
install -d $(DESTDIR)/etc/monit/monitrc.d
install -m 644 files/monit/fail2ban $(DESTDIR)/etc/monit/monitrc.d/fail2ban
: # Install bash completion
install -d $(DESTDIR)/etc/bash_completion.d
install -m 644 files/bash-completion $(DESTDIR)/etc/bash_completion.d/fail2ban