mirror of https://github.com/fail2ban/fail2ban
ENH: run unittests at build time
parent
e3d068fcf8
commit
2e3eb926a5
|
@ -12,8 +12,12 @@ fail2ban (0.8.9-1) unstable; urgency=low
|
||||||
roundcube-auth, sogo-auth, mysqld-auth
|
roundcube-auth, sogo-auth, mysqld-auth
|
||||||
* debian/control:
|
* debian/control:
|
||||||
- suggest system-log-daemon (Closes: #691001)
|
- suggest system-log-daemon (Closes: #691001)
|
||||||
|
* debian/rules:
|
||||||
|
- be positive: run fail2ban's unittests at build time. Only pyinotify
|
||||||
|
was added to build-depends since gamin might still be buggy on older
|
||||||
|
Ubuntus, which would complicate backporting
|
||||||
|
|
||||||
-- Yaroslav Halchenko <debian@onerussian.com> Mon, 13 May 2013 11:18:20 -0400
|
-- Yaroslav Halchenko <debian@onerussian.com> Mon, 13 May 2013 11:33:12 -0400
|
||||||
|
|
||||||
fail2ban (0.8.8-1+lucid0) UNRELEASED; urgency=low
|
fail2ban (0.8.8-1+lucid0) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ 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 (>= 2.5.4-1~)
|
Build-Depends: debhelper (>= 5.0.37.2), python (>= 2.5.4-1~), python-pyinotify
|
||||||
Homepage: http://www.fail2ban.org
|
Homepage: http://www.fail2ban.org
|
||||||
Vcs-Git: git://github.com/fail2ban/fail2ban.git
|
Vcs-Git: git://github.com/fail2ban/fail2ban.git
|
||||||
Vcs-Browser: http://github.com/fail2ban/fail2ban
|
Vcs-Browser: http://github.com/fail2ban/fail2ban
|
||||||
|
|
|
@ -53,6 +53,13 @@ install: build
|
||||||
install -d $(DESTDIR)/etc/bash_completion.d
|
install -d $(DESTDIR)/etc/bash_completion.d
|
||||||
install -m 644 files/bash-completion $(DESTDIR)/etc/bash_completion.d/fail2ban
|
install -m 644 files/bash-completion $(DESTDIR)/etc/bash_completion.d/fail2ban
|
||||||
|
|
||||||
|
# Run tests
|
||||||
|
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||||
|
./fail2ban-testcases-all
|
||||||
|
else
|
||||||
|
: # Skip unittests due to nocheck
|
||||||
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
# Just to comply with policy 4.8
|
# Just to comply with policy 4.8
|
||||||
binary-arch:
|
binary-arch:
|
||||||
|
|
Loading…
Reference in New Issue