mirror of https://github.com/fail2ban/fail2ban
BF: --install-layout=deb for setup.py + python (>= 2.5.4-1~) to fix install with python2.6 (closes: #571213)
parent
d2d283d18c
commit
3f898d7c05
|
@ -2,13 +2,13 @@ Source: fail2ban
|
||||||
Section: net
|
Section: net
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Yaroslav Halchenko <debian@onerussian.com>
|
Maintainer: Yaroslav Halchenko <debian@onerussian.com>
|
||||||
Build-Depends: debhelper (>= 5.0.37.2), python
|
Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.5.4-1~)
|
||||||
Build-Depends-Indep: python-central (>= 0.5.6)
|
Build-Depends-Indep: python-central (>= 0.5.6)
|
||||||
XS-Python-Version: current, >= 2.4
|
XS-Python-Version: current, >= 2.4
|
||||||
Homepage: http://www.fail2ban.org
|
Homepage: http://www.fail2ban.org
|
||||||
Vcs-Browser: http://git.onerussian.com/?p=deb/fail2ban.git
|
Vcs-Browser: http://git.onerussian.com/?p=deb/fail2ban.git
|
||||||
Vcs-git: git://git.onerussian.com/deb/fail2ban.git
|
Vcs-git: git://git.onerussian.com/deb/fail2ban.git
|
||||||
Standards-Version: 3.8.3
|
Standards-Version: 3.8.4
|
||||||
|
|
||||||
|
|
||||||
Package: fail2ban
|
Package: fail2ban
|
||||||
|
|
|
@ -37,7 +37,7 @@ install: build
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
|
|
||||||
# Install the package into debian/fail2ban.
|
# Install the package into debian/fail2ban.
|
||||||
python setup.py install --root=$(DESTDIR) --no-compile
|
python setup.py install --root=$(DESTDIR) --no-compile --install-layout=deb
|
||||||
# Install Debian shipped jail file in 1 piece (instead of patching
|
# Install Debian shipped jail file in 1 piece (instead of patching
|
||||||
# the shipped one since there are too many changes)
|
# the shipped one since there are too many changes)
|
||||||
install -m 644 debian/jail.conf $(DESTDIR)/etc/fail2ban
|
install -m 644 debian/jail.conf $(DESTDIR)/etc/fail2ban
|
||||||
|
|
Loading…
Reference in New Issue