Fix systemd-service-in-odd-location lib/systemd/system/fail2ban.service => /usr/lib/systemd/system/fail2ban.service

debian
Sylvestre Ledru 2021-10-23 17:11:46 +02:00
parent 5c71ca9791
commit bdb82eb3b2
2 changed files with 5 additions and 3 deletions

2
debian/changelog vendored
View File

@ -10,6 +10,8 @@ fail2ban (0.11.2-3) unstable; urgency=medium
[ Sylvestre Ledru ]
* Fix the watch file
* Fix systemd-service-in-odd-location
lib/systemd/system/fail2ban.service => /usr/lib/systemd/system/fail2ban.service
* Fix the roundcube debian custom path (Closes: #988323)
Thanks to Kurt Fitzner for the patch
* Do not fail the postinst if chown/chmod are failing (Closes: #926237)

6
debian/rules vendored
View File

@ -45,11 +45,11 @@ override_dh_install:
install -d $(DESTDIR)/usr/share/bash-completion/completions
install -m 644 files/bash-completion $(DESTDIR)/usr/share/bash-completion/completions/fail2ban
: # Install systemd files
install -d $(DESTDIR)/lib/systemd/system
install -d $(DESTDIR)/usr/lib/systemd/system/
install -d $(DESTDIR)/usr/lib/tmpfiles.d
install -m 644 build/fail2ban.service $(DESTDIR)/lib/systemd/system
install -m 644 build/fail2ban.service $(DESTDIR)/usr/lib/systemd/system
install -m 644 files/fail2ban-tmpfiles.conf $(DESTDIR)/usr/lib/tmpfiles.d
install -d $(DESTDIR)/lib/systemd/system
install -d $(DESTDIR)/usr/lib/systemd/system
: # Install default jail enabler
install -m 644 debian/debian-files/jail.d_defaults-debian.conf $(DESTDIR)/etc/fail2ban/jail.d/defaults-debian.conf
dh_install