Code

Don't use the provided waitmax
authorAlexander Wirt <formorer@debian.org>
Sat, 11 Dec 2010 09:17:31 +0000 (10:17 +0100)
committerAlexander Wirt <formorer@debian.org>
Sat, 11 Dec 2010 09:17:31 +0000 (10:17 +0100)
debian/rules

index 0dd93b56ea7778f2b8d957ac5b53e47ecf9bbf79..650da0c7d3a267305b34843a3507d81c36551679 100755 (executable)
@@ -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