From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: [PATCH v2] update nagios_nrpe to 3.2.1 Date: Sun, 29 Apr 2018 10:20:17 +0200 Message-ID: In-Reply-To: <1524494169.1637848.248.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1509488503643601072==" List-Id: --===============1509488503643601072== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=C3=BCller --- config/rootfiles/packages/nagios_nrpe | 4 +++- lfs/nagios_nrpe | 15 ++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/config/rootfiles/packages/nagios_nrpe b/config/rootfiles/package= s/nagios_nrpe index 83ce40200..51adc47f9 100644 --- a/config/rootfiles/packages/nagios_nrpe +++ b/config/rootfiles/packages/nagios_nrpe @@ -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 diff --git a/lfs/nagios_nrpe b/lfs/nagios_nrpe index 369f9335d..bebb80144 100644 --- a/lfs/nagios_nrpe +++ b/lfs/nagios_nrpe @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 2.12 +VER =3D 3.2.1 =20 THISAPP =3D nrpe-$(VER) DL_FILE =3D $(THISAPP).tar.gz @@ -32,7 +32,7 @@ DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) PROG =3D nagios_nrpe -PAK_VER =3D 4 +PAK_VER =3D 5 =20 DEPS =3D "nagios-plugins" =20 @@ -44,7 +44,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D b2d75e2962f1e3151ef58794d60c9e97 +$(DL_FILE)_MD5 =3D 8997e195fea93cdceb8c7ed8ac1d43bc =20 install : $(TARGET) =20 @@ -80,14 +80,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && ./configure \ --prefix=3D/usr \ --libexecdir=3D/usr/lib/nagios \ + --sysconfdir=3D/etc/nagios \ + --with-init-type=3Dsysv \ --with-nrpe-user=3Dnobody \ --with-nrpe-group=3Dnobody \ --with-nagios-user=3Dnobody \ - --with-nagios-group=3Dnobody \ - --enable-command-args \ - ac_cv_lib_wrap_main=3Dno + --with-nagios-group=3Dnobody =20 - 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) --=20 2.13.6 --===============1509488503643601072==--