mirror of https://github.com/fail2ban/fail2ban
fixed binary-indep binary-arch separation
parent
e801352c78
commit
ac9362ae5b
|
@ -6,6 +6,8 @@ fail2ban (0.6.1-4) unstable; urgency=low
|
||||||
- debhelper and dpatch moved to Build-Depends
|
- debhelper and dpatch moved to Build-Depends
|
||||||
- added --no-compile for python setup.py install, and removed explicit
|
- added --no-compile for python setup.py install, and removed explicit
|
||||||
cleaning of .pyc's
|
cleaning of .pyc's
|
||||||
|
- fixed separation binary-indep and binary-arch in debian/rules
|
||||||
|
- restricted depends on python >= 2.3
|
||||||
|
|
||||||
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 16 May 2006 15:53:06 -0400
|
-- Yaroslav Halchenko <debian@onerussian.com> Tue, 16 May 2006 15:53:06 -0400
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ Standards-Version: 3.7.2
|
||||||
|
|
||||||
Package: fail2ban
|
Package: fail2ban
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: python, iptables, lsb-base (>=2.0-7)
|
Depends: python (>=2.3), iptables, lsb-base (>=2.0-7)
|
||||||
Description: bans IPs that cause multiple authentication errors
|
Description: bans IPs that cause multiple authentication errors
|
||||||
Monitors (in daemon mode) or just scans log files (e.g. /var/log/auth.log,
|
Monitors (in daemon mode) or just scans log files (e.g. /var/log/auth.log,
|
||||||
/var/log/apache/access.log) and temporarily bans failure-prone
|
/var/log/apache/access.log) and temporarily bans failure-prone
|
||||||
|
|
|
@ -23,11 +23,7 @@ configure-stamp:
|
||||||
# Add here commands to configure the package.
|
# Add here commands to configure the package.
|
||||||
touch configure-stamp
|
touch configure-stamp
|
||||||
|
|
||||||
build: patch build-stamp
|
build: patch
|
||||||
|
|
||||||
build-stamp: configure-stamp
|
|
||||||
dh_testdir
|
|
||||||
touch build-stamp
|
|
||||||
|
|
||||||
copy-inits:
|
copy-inits:
|
||||||
cp config/gentoo-confd debian/fail2ban.default
|
cp config/gentoo-confd debian/fail2ban.default
|
||||||
|
@ -47,7 +43,7 @@ clean: clean-inits unpatch
|
||||||
|
|
||||||
dh_clean
|
dh_clean
|
||||||
|
|
||||||
install: build
|
install: build copy-inits
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_clean -k
|
dh_clean -k
|
||||||
|
@ -63,13 +59,7 @@ $(MANPAGE): fail2ban fail2ban.h2m
|
||||||
help2man --include fail2ban.h2m --section=1x --no-info --output $@ ./fail2ban
|
help2man --include fail2ban.h2m --section=1x --no-info --output $@ ./fail2ban
|
||||||
|
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
binary-indep: build install $(MANPAGE)
|
binary-indep: install $(MANPAGE)
|
||||||
|
|
||||||
# migrated from binary-arch
|
|
||||||
dh_python
|
|
||||||
|
|
||||||
# Build architecture-dependent files here.
|
|
||||||
binary-arch: build install copy-inits
|
|
||||||
dh_testdir
|
dh_testdir
|
||||||
dh_testroot
|
dh_testroot
|
||||||
dh_installchangelogs CHANGELOG
|
dh_installchangelogs CHANGELOG
|
||||||
|
@ -82,6 +72,9 @@ binary-arch: build install copy-inits
|
||||||
# dh_installcron
|
# dh_installcron
|
||||||
# dh_installinfo
|
# dh_installinfo
|
||||||
dh_installman fail2ban.8 man/fail2ban.conf.5
|
dh_installman fail2ban.8 man/fail2ban.conf.5
|
||||||
|
# just for maint scripts. I don't want to use ${python:Depends} to be portable between
|
||||||
|
# systems with different pythons
|
||||||
|
dh_python
|
||||||
dh_link
|
dh_link
|
||||||
dh_compress
|
dh_compress
|
||||||
dh_fixperms
|
dh_fixperms
|
||||||
|
@ -91,5 +84,5 @@ binary-arch: build install copy-inits
|
||||||
dh_md5sums
|
dh_md5sums
|
||||||
dh_builddeb
|
dh_builddeb
|
||||||
|
|
||||||
binary: binary-indep binary-arch
|
binary: binary-indep
|
||||||
.PHONY: build clean binary-indep binary-arch binary install configure copy-inits clean-inits
|
.PHONY: build clean binary-indep binary install configure copy-inits clean-inits
|
||||||
|
|
Loading…
Reference in New Issue