From: Alexander Wirt Date: Sat, 11 Dec 2010 09:17:31 +0000 (+0100) Subject: Don't use the provided waitmax X-Git-Url: https://git.tokkee.org/?p=pkg-check_mk.git;a=commitdiff_plain;h=a60c6d328d372b7c400d1b8e05f468ec93a1f38f Don't use the provided waitmax --- diff --git a/debian/rules b/debian/rules index 0dd93b5..650da0c 100755 --- a/debian/rules +++ b/debian/rules @@ -55,6 +55,9 @@ install: build dh_installdirs mkdir -p debian/tmp DESTDIR=debian/tmp ./setup.sh --yes + #don't use the statically linked binary. + rm debian/tmp/usr/share/check_mk/agents/waitmax + gcc -s -o debian/tmp/usr/share/check_mk/agents/waitmax debian/tmp/usr/share/check_mk/agents/waitmax.c cp -a livestatus.src/debian/tmp/* debian/tmp/ # We need 2 different "defaults" files for Icinga and Nagios3 rm debian/tmp/usr/share/check_mk/modules/defaults