]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
nagios_nrpe: Disable linking against tcpwrappers.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Dec 2011 12:44:09 +0000 (13:44 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Dec 2011 12:44:09 +0000 (13:44 +0100)
tcpwrappers is $%&"$%&/ and just causing headaches. Use the
stupid firewall if you want to block access from remote hosts.

lfs/nagios_nrpe

index 34bc5a890bb48fd8858d45012ba9590b5e3ee229..41be3d3976f11aea355b77ed90c46911a25991c2 100644 (file)
@@ -33,7 +33,7 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
 PROG       = nagios_nrpe
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = "nagios"
 
@@ -78,9 +78,15 @@ $(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 \
+               ac_cv_lib_wrap_main=no
+
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)