Message ID | 5684f8f2-d132-39a3-86e6-22918cecb22c@link38.eu |
---|---|
State | Superseded |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.ipfire.org [IPv6:2001:470:7183:25::1]) by web02.i.ipfire.org (Postfix) with ESMTP id B358260A2A for <patchwork@web02.i.ipfire.org>; Sat, 21 Apr 2018 19:04:46 +0200 (CEST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 1D0271008070; Sat, 21 Apr 2018 18:04:46 +0100 (BST) Authentication-Results: dkim=pass header.d=link38.eu; dmarc=pass (policy=none) header.from=link38.eu; spf=pass smtp.mailfrom=peter.mueller@link38.eu Received: from mx-nbg.link38.eu (mx-nbg.link38.eu [37.120.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx-nbg.link38.eu", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 32BF9108B8B4 for <development@lists.ipfire.org>; Sat, 21 Apr 2018 18:04:44 +0100 (BST) ARC-Authentication-Results: i=1; mx-nbg.link38.eu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=link38.eu; s=201803; t=1524330280; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=j6LB4t+S8uu1n7uuTtmvCl1xx+wNgyyvWGsCZns9Tqw=; b=iLxdc4KqMfAVIS+fzUgopEuzeDhSkPZciJ+TE6zP6f0/V88TqijHmPhc9W2BB83cm4bk8X mdDylez2iANqmcIMAn1Cy4h8bfnhIZ/w1YK0JJ3hKkZXkVD7WLq97qPx9yoibIypVCNKJ4 FzrTZbFCMv9hHAXGDac6l5udf/hdR1b17n+yZPSODJqU/UFLelTh578RidC8hso5E2TrtC aYlo2XQbA82yR+MP2TemaaUOhTrjIrI9RzvJSElhkdXSCaqk7rt3V2RKbv+Irbu7xb7e1F Ksd9cwLJ1kZt0HDwAHjl+VHm4W3nnj/qpMWdMNW1zzgryRgZsYuQ0cbztq6PNA== ARC-Seal: i=1; s=201803; d=link38.eu; t=1524330283; a=rsa-sha256; cv=none; b=BIJIelPkMUOTW4h74d6dCIedSaSGhR+8Av639orvL8Z0DjfOJdjoNfc2Pj6HjRTcNfCKJd9uronbJXGRhq8WMi4MSPQidN1xi1ULJW1zwj7GumumwuIxn1xghQp8tkccikb5L1Yk3o+Z44/nZSB8AwrQUMQApEI2T5hreEh83Nv5qTnB0vIrXLlu2ne2eH/SifQXpOde53hbAdvprpWMWetPzesw9+p3vp3FU4+vvMo1Jl/YNndRbNuIa0xm3X4h7a5ECeTpxEyD6EzQZYJvw7cTKyIvYlnH+RyOXrKz+wUZ3BG2J8v50TA/BWhMNYwp66EafS/iGYD6hdXB4k/wGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=link38.eu; s=201803; t=1524330283; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=j6LB4t+S8uu1n7uuTtmvCl1xx+wNgyyvWGsCZns9Tqw=; b=yBv226HzgBVjPs95xQ2N0DTEU1VjDLZH+e9HxaaSzGVbUQ9I4hgsUIsEntew3Wc3SqP4W6 SxNQ5kunOq2L/1EGa6hJpp/5c3MyOfW3L7nUNkgTy9bPKxgr4axxVGqyY+A9ki7JCm+kqQ vf81JoTcGQM367sgrOBYYraQq4fVrnw92nuqRHbW8EilNXFK7pwR03r/gAUGlu1Zf6SHl2 SOAmPnfzG0JKQMEGiikKXMmUhuP0wkyK2QjyvNZIG3BbMW+CNxqwgnRLPurPG5V282KUPG 7psytVDykwyc44CkEirwDv4uq2S20jSspFHSqQebyunjB0U/kQidfY8dN5I4tA== To: "IPFire: Development-List" <development@lists.ipfire.org> From: =?utf-8?q?Peter_M=C3=BCller?= <peter.mueller@link38.eu> Subject: [PATCH] update nagios_nrpe to 3.2.1 Message-ID: <5684f8f2-d132-39a3-86e6-22918cecb22c@link38.eu> Date: Sat, 21 Apr 2018 19:04:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-10.52 / 11.00]; IP_SCORE(-3.76)[ip: (-9.88), ipnet: 37.120.160.0/19(-4.94), asn: 197540(-3.92), country: DE(-0.09)]; ARC_ALLOW(-1.00)[i=1]; RCVD_IN_DNSWL_MED(-2.00)[53.167.120.37.list.dnswl.org : 127.0.6.2]; RCVD_COUNT_ZERO(0.00)[0]; FROM_HAS_DN(0.00)[]; MX_GOOD(-0.01)[cached: mx-nbg.link38.eu]; BAYES_HAM(-3.00)[100.00%]; DKIM_TRACE(0.00)[link38.eu:+]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:37.120.167.53]; RCPT_COUNT_ONE(0.00)[1]; DMARC_POLICY_ALLOW(-0.25)[link38.eu,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_ALLOW(-0.20)[link38.eu]; ASN(0.00)[asn:197540, ipnet:37.120.160.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Spam-Status: No, score=-10.52 X-Rspamd-Server: mail01.i.ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <https://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <https://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <https://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Series |
update nagios_nrpe to 3.2.1
|
|
Commit Message
Peter Müller
April 22, 2018, 3:04 a.m. UTC
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".
This fixes #11700 and partly addresses #11551.
Signed-off-by: Peter Müller <peter.mueller@link38.eu>
---
lfs/nagios_nrpe | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Comments
Hello, does this patch not change anything in the rootfiles at all? If you have any questions, Matthias can help :) Best, -Michael On Sat, 2018-04-21 at 19:04 +0200, Peter Müller wrote: > 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". > > This fixes #11700 and partly addresses #11551. > > Signed-off-by: Peter Müller <peter.mueller@link38.eu> > --- > lfs/nagios_nrpe | 15 ++++++++------- > 1 file changed, 8 insertions(+), 7 deletions(-) > > 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 @@ > > 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)
Hello, yes, indeed, the rootfiles are not changed here as I'll do this in another patch in order to avoid patches going too big (or is this wrong here?). Further, there are still some questions left regarding the rootfile, I'll try myself and get back to this if bigger problems appear. Best regards, Peter Müller > Hello, > > does this patch not change anything in the rootfiles at all? > > If you have any questions, Matthias can help :) > > Best, > -Michael > > On Sat, 2018-04-21 at 19:04 +0200, Peter Müller wrote: >> 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". >> >> This fixes #11700 and partly addresses #11551. >> >> Signed-off-by: Peter Müller <peter.mueller@link38.eu> >> --- >> lfs/nagios_nrpe | 15 ++++++++------- >> 1 file changed, 8 insertions(+), 7 deletions(-) >> >> 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 @@ >> >> 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)
Hi, On Mon, 2018-04-23 at 16:12 +0200, Peter Müller wrote: > Hello, > > yes, indeed, the rootfiles are not changed here as I'll do this in > another patch in order to avoid patches going too big (or is this wrong > here?). The update of the package itself should be one patch. So that one patch can be applied to get a new version of the package and reverted to go back to the old one. > Further, there are still some questions left regarding the rootfile, > I'll try myself and get back to this if bigger problems appear. > > Best regards, > Peter Müller > > > Hello, > > > > does this patch not change anything in the rootfiles at all? > > > > If you have any questions, Matthias can help :) > > > > Best, > > -Michael > > > > On Sat, 2018-04-21 at 19:04 +0200, Peter Müller wrote: > > > 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". > > > > > > This fixes #11700 and partly addresses #11551. > > > > > > Signed-off-by: Peter Müller <peter.mueller@link38.eu> > > > --- > > > lfs/nagios_nrpe | 15 ++++++++------- > > > 1 file changed, 8 insertions(+), 7 deletions(-) > > > > > > 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 @@ > > > > > > 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)
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 @@ 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)