]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
update nagios_nrpe to 3.2.1
authorPeter Müller <peter.mueller@link38.eu>
Sun, 29 Apr 2018 08:20:17 +0000 (10:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 May 2018 19:39:50 +0000 (20:39 +0100)
Update NRPE to 3.2.1, which fixes various security vulnerabilities
and bugs (changelog is available at:
https://github.com/NagiosEnterprises/nrpe/blob/master/CHANGELOG.md).

Due to changes in ./configure, some options such as initsystem (sysV)
need to be specified now. Also, simple "make" does not exist anymore
and must be replaced by "make all".

Rootfile information is now included which was missing in the
first version of this patch.

This fixes #11700 and partly addresses #11551.

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/packages/nagios_nrpe
lfs/nagios_nrpe

index 83ce40200f23f3a60ac758c35f8e5c09a2bc17be..51adc47f93de637490642a8aaea63ebc33b3aff3 100644 (file)
@@ -1,4 +1,6 @@
+etc/nagios
+etc/nagios/nrpe.cfg
 #root/.rnd
+#usr/bin/nrpe-uninstall
 usr/bin/nrpe
-#usr/lib/nagios
 usr/lib/nagios/check_nrpe
index 369f9335d048bdd156c2ffd3efa6164a288ef079..bebb80144da3147aad2ebcc4ba33a0094706e259 100644 (file)
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.12
+VER        = 3.2.1
 
 THISAPP    = nrpe-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = nagios_nrpe
-PAK_VER    = 4
+PAK_VER    = 5
 
 DEPS       = "nagios-plugins"
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = b2d75e2962f1e3151ef58794d60c9e97
+$(DL_FILE)_MD5 = 8997e195fea93cdceb8c7ed8ac1d43bc
 
 install : $(TARGET)
 
@@ -80,14 +80,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && ./configure \
                --prefix=/usr \
                --libexecdir=/usr/lib/nagios \
+               --sysconfdir=/etc/nagios \
+               --with-init-type=sysv \
                --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
+               --with-nagios-group=nobody
 
-       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && make all $(MAKETUNING)
        cd $(DIR_APP) && make install
+       cd $(DIR_APP) && make install-config
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)