]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/nagios_nrpe
vnstat: Update to 1.18
[ipfire-2.x.git] / lfs / nagios_nrpe
index 34bc5a890bb48fd8858d45012ba9590b5e3ee229..369f9335d048bdd156c2ffd3efa6164a288ef079 100644 (file)
@@ -31,11 +31,10 @@ DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-
 PROG       = nagios_nrpe
-PAK_VER    = 1
+PAK_VER    = 4
 
-DEPS       = "nagios"
+DEPS       = "nagios-plugins"
 
 ###############################################################################
 # Top-level Rules
@@ -78,9 +77,16 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --prefix=/usr --libexecdir=/usr/lib/nagios \
-                           --with-nrpe-user=nobody --with-nrpe-group=nobody \
-                           --with-nagios-user=nobody --with-nagios-group=nobody
+       cd $(DIR_APP) && ./configure \
+               --prefix=/usr \
+               --libexecdir=/usr/lib/nagios \
+               --with-nrpe-user=nobody \
+               --with-nrpe-group=nobody \
+               --with-nagios-user=nobody \
+               --with-nagios-group=nobody \
+               --enable-command-args \
+               ac_cv_lib_wrap_main=no
+
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)