From patchwork Sun Apr 22 03:04:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 1723 Return-Path: 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 ; 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 ; 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" From: =?utf-8?q?Peter_M=C3=BCller?= 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-Language: en-US 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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 --- 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)