NetBSD Problem Report #52028

From www@NetBSD.org  Fri Mar  3 19:54:50 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2B4F07A16F
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  3 Mar 2017 19:54:50 +0000 (UTC)
Message-Id: <20170303195448.BADBB7A297@mollari.NetBSD.org>
Date: Fri,  3 Mar 2017 19:54:48 +0000 (UTC)
From: alberto.m@futurelinkcorporation.com
Reply-To: alberto.m@futurelinkcorporation.com
To: gnats-bugs@NetBSD.org
Subject: Upgrading nagios-nrpe package to version 3.0.1
X-Send-Pr-Version: www-1.0

>Number:         52028
>Category:       pkg
>Synopsis:       Upgrading nagios-nrpe package to version 3.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bsiegert
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 03 19:55:00 +0000 2017
>Closed-Date:    Fri Nov 03 17:16:25 +0000 2017
>Last-Modified:  Fri Nov 03 17:16:25 +0000 2017
>Originator:     Alberto Mijares
>Release:        Current branch
>Organization:
Future Link Corporation
>Environment:
>Description:
This is a patch for nagios-nrpe package, updating to 3.0.1. Tested on FreeBSD and CentOS 7.
>How-To-Repeat:

>Fix:
diff -r nagios-nrpe.old/Makefile nagios-nrpe/Makefile
4,6c4,6
< DISTNAME=		nrpe-2.15
< PKGNAME=		nagios-${DISTNAME}
< PKGREVISION=		3
---
> DISTNAME=		3.0.1
> PKGNAME=		nagios-nrpe-${DISTNAME}
> WRKSRC=			${WRKDIR}/nrpe-${DISTNAME}
8c8
< MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=nagios/}
---
> MASTER_SITES=		https://github.com/NagiosEnterprises/nrpe/archive/
diff -r nagios-nrpe.old/PLIST nagios-nrpe/PLIST
1,2c1
< @comment $NetBSD: PLIST,v 1.5 2014/03/11 14:05:09 jperkin Exp $
< sbin/nrpe
---
> @comment $NetBSD$
3a3
> sbin/nrpe
Only in nagios-nrpe/: PLIST.Linux
diff -r nagios-nrpe.old/distinfo nagios-nrpe/distinfo
1c1
< $NetBSD: distinfo,v 1.7 2015/11/04 00:35:13 agc Exp $
---
> $NetBSD$
3,7c3,6
< SHA1 (nrpe-2.15.tar.gz) = 45f434758c547c0af516e8b3324717f8dcd100a3
< RMD160 (nrpe-2.15.tar.gz) = e98893d447f3dd9a91e5f55f3b1e50594e84fd9b
< SHA512 (nrpe-2.15.tar.gz) = 03ce9774b5112d03235dc9da075770d89d1bcc5ffa5faf221ff7ea8ec5c92ded1e1ae9222581a87cf53736d190ac047e1acce7edc2f31f26c432d786cdef0e73
< Size (nrpe-2.15.tar.gz) = 419695 bytes
< SHA1 (patch-aa) = f3861f83f45fc6bbfa9a21041c75e1428bf861e7
---
> SHA1 (3.0.1.tar.gz) = 62987f2fa5f337b592a8feb48f1a7fdae234c45a
> RMD160 (3.0.1.tar.gz) = 51f93f2dbc7217a80a530145f0e9a1e72620d047
> SHA512 (3.0.1.tar.gz) = 91d46010776bf1b4a5f1e037b4cc52a8e2e78ea2b5bedaf11847b1446bd509012bfde4ada30566fca623b7eb104a51e670e20139b593e6c9ccd21c317a0fb3a5
> Size (3.0.1.tar.gz) = 514097 bytes
Only in nagios-nrpe.old/: patches

>Release-Note:

>Audit-Trail:
From: Alberto Mijares <alberto.m@futurelinkcorporation.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52028: Upgrading nagios-nrpe package to version 3.0.1
Date: Fri, 26 May 2017 17:09:22 -0400

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --DP9AOxNvB17iriF54NU4MXN6DqVVUU1eb
 Content-Type: multipart/mixed; boundary="wo9aiV8g8MrEwvBe6HFXQp9I9IBNjcMeg";
  protected-headers="v1"
 From: Alberto Mijares <alberto.m@futurelinkcorporation.com>
 To: gnats-bugs@NetBSD.org
 Message-ID: <05ee9ca9-0d6c-826c-6546-ddd80c4e2486@futurelinkcorporation.com>
 Subject: Re: pkg/52028: Upgrading nagios-nrpe package to version 3.0.1
 References: <pr-pkg-52028@gnats.netbsd.org>
  <20170303195448.BADBB7A297@mollari.NetBSD.org>
  <20170303195500.DCC407A297@mollari.NetBSD.org>
 In-Reply-To: <20170303195500.DCC407A297@mollari.NetBSD.org>

 --wo9aiV8g8MrEwvBe6HFXQp9I9IBNjcMeg
 Content-Type: text/plain; charset=utf-8
 Content-Language: en-US
 Content-Transfer-Encoding: quoted-printable

 Hi guys,

 Here I come with a patch for upgrading to 3.1.1


 Index: Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/pkgsrc/net/nagios-nrpe/Makefile,v
 retrieving revision 1.30
 diff -u -r1.30 Makefile
 --- Makefile	9 Jul 2016 06:38:43 -0000	1.30
 +++ Makefile	26 May 2017 21:08:26 -0000
 @@ -1,7 +1,7 @@
  # $NetBSD: Makefile,v 1.30 2016/07/09 06:38:43 wiz Exp $
  #

 -DISTNAME=3D		nrpe-2.15
 +DISTNAME=3D		nrpe-3.1.1
  PKGNAME=3D		nagios-${DISTNAME}
  PKGREVISION=3D		3
  CATEGORIES=3D		net sysutils
 Index: distinfo
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/pkgsrc/net/nagios-nrpe/distinfo,v
 retrieving revision 1.7
 diff -u -r1.7 distinfo
 --- distinfo	4 Nov 2015 00:35:13 -0000	1.7
 +++ distinfo	26 May 2017 21:08:26 -0000
 @@ -1,7 +1,6 @@
  $NetBSD: distinfo,v 1.7 2015/11/04 00:35:13 agc Exp $

 -SHA1 (nrpe-2.15.tar.gz) =3D 45f434758c547c0af516e8b3324717f8dcd100a3
 -RMD160 (nrpe-2.15.tar.gz) =3D e98893d447f3dd9a91e5f55f3b1e50594e84fd9b
 -SHA512 (nrpe-2.15.tar.gz) =3D
 03ce9774b5112d03235dc9da075770d89d1bcc5ffa5faf221ff7ea8ec5c92ded1e1ae9222=
 581a87cf53736d190ac047e1acce7edc2f31f26c432d786cdef0e73
 -Size (nrpe-2.15.tar.gz) =3D 419695 bytes
 -SHA1 (patch-aa) =3D f3861f83f45fc6bbfa9a21041c75e1428bf861e7
 +SHA1 (nrpe-3.1.1.tar.gz) =3D dfb77bb4e3e230fa21ef7e9ce5e388d08a9a545e
 +RMD160 (nrpe-3.1.1.tar.gz) =3D 54e1d5e0ed2de3f29354c7cc78777d2b3cf37a97
 +SHA512 (nrpe-3.1.1.tar.gz) =3D
 1d4cb6e35ad88f1dcd66b552ac1b3892cbd894f182b2ab35929bb656423187a7e93ac3e9c=
 812a72f10aaecd0924fc7bc36719abbeec2d65363534830972b5d92
 +Size (nrpe-3.1.1.tar.gz) =3D 515215 bytes


 Best regards,


 Alberto Mijares


 --wo9aiV8g8MrEwvBe6HFXQp9I9IBNjcMeg--

 --DP9AOxNvB17iriF54NU4MXN6DqVVUU1eb
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2

 iQIcBAEBCAAGBQJZKJmCAAoJENEAbKV7uuEb1HoP/Agd7wygcnfwmVW8yViKvPAv
 ZfQlyTvodv9+NhNlO8wq4jkfEWZ5Xcv1bWLC7VjrgZjJrV2z90k8j7mLA2G2BN50
 G37l/ks1uPoFyjFPfh9gV8rsxfP/lzEyHld08XNj/K3ite3QdH9fKJbNHczFSEpB
 xQ3YRaGBClhN0H/M6XeV9gvtNxDR0zjOSxIQKkc0Ck6G4/axYDVYI2Z85epsLLa/
 vnsf7Usj8dFTa9uFWX6BNU9owY+KOiwq3NWhDhdK3klHSF+Jyb/21KY6aw/9aMW4
 hs33gcWXmqYHwoLsupsOXGhwSF+Ip3Zw+9fuyQKSQviq/RaquW4Aeqmya/04y8wt
 sQX+8QMxkbR2/hYK3yFXoihq91fy0Dd1UWUsi3uBSIcvv2/ji5kFd5xBTGoZNxy1
 XZq6yRPAbJtYc+MchnT22RxiWXY+CXkgLXB/pUpirmsaUeqafLsmL2isLWNaWbaX
 ZaeN3CgnMFJF3lYh7Rbk9H6yMjQCXiXGc02AS6rS+fl80hZ08bAAvRbRu5TUJQKd
 kgDjRUTONufoRLFkebTaWTUySeyiJ0TjsqKrl+/GtZFT3bGeaIAFu3G7hCfCHGiK
 VaTgKnS8tSgC37NSjiEHJ8aPUyqDq+YnjlsY2T8h2ookyi4/KWnartbmCNPhGgIj
 jXefBP6ztUYiXn2+xJEd
 =446a
 -----END PGP SIGNATURE-----

 --DP9AOxNvB17iriF54NU4MXN6DqVVUU1eb--

From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52028
Date: Tue, 18 Jul 2017 22:47:54 +0200

 Your patch is missing one file:

 > Only in nagios-nrpe/: PLIST.Linux

 Please use diff -urN to create your patch, otherwise newly created files =
 are not diffed.=

State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 05 Aug 2017 20:01:31 +0000
State-Changed-Why:
Please send an updated patch (using diff -urN) or commit the updated package
to pkgsrc-wip.


From: "Angel M. Adames" <angelmadames@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/52028
Date: Mon, 2 Oct 2017 10:44:34 -0400

 Applying recommended diff flags by Benny Siegert, to nagios-nrpe
 update patch. This new patch is for version 3.2.0 instead of 3.1.1:


 diff -urN nagios-nrpe.old/CVS/Entries nagios-nrpe/CVS/Entries
 --- nagios-nrpe.old/CVS/Entries    2017-10-02 10:19:57.222102000 -0400
 +++ nagios-nrpe/CVS/Entries    2017-10-02 10:18:26.354531000 -0400
 @@ -1,6 +1,7 @@
 +D/files////
 +D/patches////
  /DESCR/1.1.1.1/Sun May 21 10:28:40 2006//
 -/Makefile/1.31/Sun Sep  3 08:53:12 2017//
  /PLIST/1.5/Tue Mar 11 14:05:09 2014//
 -/distinfo/1.7/Wed Nov  4 00:35:13 2015//
 -/options.mk/1.6/Sat Oct 11 23:57:04 2014//
 -D
 +/options.mk/1.6/Mon Oct  2 13:45:06 2017//
 +/Makefile/1.31/Mon Oct  2 14:18:26 2017//
 +/distinfo/1.7/Mon Oct  2 14:18:26 2017//
 diff -urN nagios-nrpe.old/CVS/Entries.Log nagios-nrpe/CVS/Entries.Log
 --- nagios-nrpe.old/CVS/Entries.Log    2017-10-02 10:19:57.326303000 -0400
 +++ nagios-nrpe/CVS/Entries.Log    1969-12-31 19:30:00.000000000 -0430
 @@ -1,2 +0,0 @@
 -A D/files////
 -A D/patches////
 diff -urN nagios-nrpe.old/Makefile nagios-nrpe/Makefile
 --- nagios-nrpe.old/Makefile    2017-09-03 04:53:12.000000000 -0400
 +++ nagios-nrpe/Makefile    2017-10-02 10:19:12.301825000 -0400
 @@ -1,14 +1,13 @@
 -# $NetBSD: Makefile,v 1.31 2017/09/03 08:53:12 wiz Exp $
 +# $NetBSD: Makefile,v 1.30 2016/07/09 06:38:43 wiz Exp $
  #

 -DISTNAME=        nrpe-2.15
 +DISTNAME=        nrpe-3.2.0
  PKGNAME=        nagios-${DISTNAME}
 -PKGREVISION=        3
  CATEGORIES=        net sysutils
  MASTER_SITES=        ${MASTER_SITE_SOURCEFORGE:=nagios/}

  MAINTAINER=        pkgsrc-users@NetBSD.org
 -HOMEPAGE=        https://www.nagios.org/
 +HOMEPAGE=        http://www.nagios.org/
  COMMENT=        Nagios remote program execution daemon

  .include "../../mk/bsd.prefs.mk"
 diff -urN nagios-nrpe.old/PLIST nagios-nrpe/PLIST
 --- nagios-nrpe.old/PLIST    2014-03-11 10:05:09.000000000 -0400
 +++ nagios-nrpe/PLIST    2017-10-02 10:05:21.391870000 -0400
 @@ -1,4 +0,0 @@
 -@comment $NetBSD: PLIST,v 1.5 2014/03/11 14:05:09 jperkin Exp $
 -sbin/nrpe
 -libexec/nagios/check_nrpe
 -share/examples/nagios/nrpe.cfg
 diff -urN nagios-nrpe.old/distinfo nagios-nrpe/distinfo
 --- nagios-nrpe.old/distinfo    2015-11-03 20:35:13.000000000 -0400
 +++ nagios-nrpe/distinfo    2017-10-02 10:19:18.165310000 -0400
 @@ -1,7 +1,7 @@
  $NetBSD: distinfo,v 1.7 2015/11/04 00:35:13 agc Exp $

 -SHA1 (nrpe-2.15.tar.gz) = 45f434758c547c0af516e8b3324717f8dcd100a3
 -RMD160 (nrpe-2.15.tar.gz) = e98893d447f3dd9a91e5f55f3b1e50594e84fd9b
 -SHA512 (nrpe-2.15.tar.gz) =
 03ce9774b5112d03235dc9da075770d89d1bcc5ffa5faf221ff7ea8ec5c92ded1e1ae9222581a87cf53736d190ac047e1acce7edc2f31f26c432d786cdef0e73
 -Size (nrpe-2.15.tar.gz) = 419695 bytes
 +SHA1 (nrpe-3.2.0.tar.gz) = 3baddaf7d75cd630c126c0c411611f1afde6af39
 +RMD160 (nrpe-3.2.0.tar.gz) = c108adfa547e0e8779e52757cc399190bd07abe6
 +SHA512 (nrpe-3.2.0.tar.gz) =
 a2fe7971ce0ab1bdc55cdecb96d096b45db493cfefdb414930a1eb4cf99b92660a99784d14e6e9dc0b951769cf14f066507ee8b0fec0aa13d46288dcc069d473
 +Size (nrpe-3.2.0.tar.gz) = 517743 bytes
  SHA1 (patch-aa) = f3861f83f45fc6bbfa9a21041c75e1428bf861e7
 diff -urN nagios-nrpe.old/files/CVS/Entries nagios-nrpe/files/CVS/Entries
 --- nagios-nrpe.old/files/CVS/Entries    2017-10-02 10:19:57.329305000 -0400
 +++ nagios-nrpe/files/CVS/Entries    2017-10-02 09:47:03.438482000 -0400
 @@ -1,2 +1,2 @@
 -/nrpe.sh/1.1.1.1/Sun May 21 10:28:40 2006//
  D/smf////
 +/nrpe.sh/1.1.1.1/Sun May 21 10:28:40 2006//
 diff -urN nagios-nrpe.old/patches/CVS/Entries nagios-nrpe/patches/CVS/Entries
 --- nagios-nrpe.old/patches/CVS/Entries    2017-10-02 10:19:57.328581000 -0400
 +++ nagios-nrpe/patches/CVS/Entries    2017-10-02 10:18:26.360702000 -0400
 @@ -1,2 +1,2 @@
 -/patch-aa/1.3/Wed Sep 29 11:21:02 2010//
 +/patch-aa/1.3/Mon Oct  2 14:18:26 2017//
  D
 diff -urN nagios-nrpe.old/patches/patch-aa nagios-nrpe/patches/patch-aa
 --- nagios-nrpe.old/patches/patch-aa    2010-09-29 07:21:02.000000000 -0400
 +++ nagios-nrpe/patches/patch-aa    1969-12-31 19:30:00.000000000 -0430
 @@ -1,30 +0,0 @@
 -$NetBSD: patch-aa,v 1.3 2010/09/29 11:21:02 obache Exp $
 -
 -* some platforms don't support LOG_AUTHPRIV and LOG_FTP syslog facility
 -* remove deprecated `errno` definition
 -
 ---- src/nrpe.c.orig    2008-03-10 21:04:43.000000000 +0000
 -+++ src/nrpe.c
 -@@ -613,10 +613,14 @@ int get_log_facility(char *varvalue){
 -         log_facility=LOG_UUCP;
 -     else if(!strcmp(varvalue,"cron"))
 -         log_facility=LOG_CRON;
 -+#ifdef LOG_AUTHPRIV
 -     else if(!strcmp(varvalue,"authpriv"))
 -         log_facility=LOG_AUTHPRIV;
 -+#endif
 -+#ifdef LOG_FTP
 -     else if(!strcmp(varvalue,"ftp"))
 -         log_facility=LOG_FTP;
 -+#endif
 -     else if(!strcmp(varvalue,"local0"))
 -         log_facility=LOG_LOCAL0;
 -     else if(!strcmp(varvalue,"local1"))
 -@@ -1320,7 +1324,6 @@ int my_system(char *command,int timeout,
 -         pid_t pid;
 -     int status;
 -     int result;
 --    extern int errno;
 -     char buffer[MAX_INPUT_BUFFER];
 -     int fd[2];
 -     FILE *fp;

From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org, 
	Alberto Mijares <alberto.m@futurelinkcorporation.com>
Subject: Re: pkg/52028
Date: Fri, 3 Nov 2017 17:50:57 +0100

 - What happened to PLIST.Linux?
 - Why is PLIST now empty?
 - If you remove patch-aa, you need to run "make mps" to remove the
 checksum from the distinfo file.

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52028 CVS commit: pkgsrc/net/nagios-nrpe
Date: Fri, 3 Nov 2017 17:14:10 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Fri Nov  3 17:14:10 UTC 2017

 Modified Files:
 	pkgsrc/net/nagios-nrpe: Makefile distinfo
 Removed Files:
 	pkgsrc/net/nagios-nrpe/patches: patch-aa

 Log Message:
 Update nagios-nrpe to 3.2.0.

 From Alberto Mijares in PR pkg/52028.

 [3.2.0](https://github.com/NagiosEnterprises/nrpe/releases/tag/nrpe-3.2.0) - 2017-06-26
 ---------------------------------------------------------------------------------------
 **ENHANCEMENTS**
 * Added max_commands definition to nrpe.cfg to rate limit simultaneous fork()ed children (Bryan Heden)
 * Added -E, --stderr-to-stdout options for check_nrpe to redirect output (Bryan Heden)
 * Added support for Gentoo init (Troy Lea @box293)
 * Cleaned up code a bit, updated readmes and comments across the board (Bryan Heden)
 * Added -V, --version to nrpe and fixed the output (Bryan Heden)
 * Added different SSL error messages to be able to pinpoint where some SSL errors occured (Bryan Heden)
 * Updated logic in al parse_allowed_hosts (Bryan Heden)
 * Added builtin OpenSSL Engine support where available (Bryan Heden + @skrueger8)
 * Clean up compilation warnings (Bryan Heden)
 * Added more commented commands in nrpe.cfg (Bryan Heden)

 **FIXES**
 * Undefined check returns UNKNOWN (Bryan Heden)
 * Fix incompatibility with OpenSSL 1.1.0 via SECLEVEL distinction (Bryan Heden)
 * Fix ipv4 error in logfile even if address is ipv6 (Bryan Heden)
 * Fix improper valid/invalid certificate warnings (Bryan Heden)

 [3.1.1](https://github.com/NagiosEnterprises/nrpe/releases/tag/nrpe-3.1.1) - 2017-05-24
 ---------------------------------------------------------------------------------------
 **FIXES**
 * The '--log-file=' or '-g' option is missing from the help (John Frickson)
 * check_nrpe = segfault when specifying a config file (John Frickson)
 * Alternate log file not being used soon enough (John Frickson)
 * Unable to compile v3.1.0rc1 with new SSL checks on rh5 (John Frickson)
 * Unable to compile nrpe-3.1.0 - undefined references to va_start, va_end (John Frickson)
 * Can't build on Debian Stretch, openssl 1.1.0c (John Frickson)
 * Fix build failure with -Werror=format-security (Bas Couwenberg)
 * Fixed a typo in `nrpe.spec.in` (John Frickson)
 * More detailed error logging for SSL (John Frickson)
 * Fix infinite loop when unresolvable host is in allowed_hosts (Nick / John Frickson)

 [3.1.0](https://github.com/NagiosEnterprises/nrpe/releases/tag/nrpe-3.1.0) - 2017-04-17
 ---------------------------------------------------------------------------------------
 **ENHANCEMENTS**
 * Added option to nrpe.cfg.in that can override hard-coded NASTY_METACHARS (John Frickson)
 * While processing 'include_dir' statement, sort the files (Philippe Kueck / John Frickson)
 * nrpe can now write to a log file using 'log_file=' in nrpe.cfg (John Frickson)
 * check_nrpe can now write to a log file using '--log-file=' or '-g' options (John Frickson)

 **FIXES**
 * Added missing debugging syslog entries, and changed printf()'s to syslog()'s. (Jobst Schmalenbach)
 * Fix help output for ssl option (configure) (Ruben Kerkhof)
 * Fixes to README.SSL.md and SECURITY.md (Elan Ruusamäe)
 * Changed the 'check_load' command in nrpe.cfg.in (minusdavid)
 * Cleanup of config.h.in suggested by Ruben Kerkhof
 * Minor change to logging in check_nrpe (John Frickson)
 * Solaris 11 detection is broken in configure (John Frickson)
 * Removed function `b64_decode` which wasn't being used (John Frickson)
 * check_nrpe ignores -a option when -f option is specified (John Frickson)
 * Added missing LICENSE file (John Frickson)
 * Off-by-one BO in my_system() (John Frickson)
 * Got rid of some compiler warnings (Stefan Krüger / John Frickson)
 * Add SOURCE_DATE_EPOCH specification support for reproducible builds. (Bas Couwenberg)
 * nrpe 3.0.1 allows TLSv1 and TLSv1.1 when I configure for TLSv1.2+ (John Frickson)
 * "Remote %s accepted a Version %s Packet", please add to debug (John Frickson)
 * nrpe 3.0.1 segfaults when key and/or cert are broken symlinks (John Frickson)
 * Fixed a couple of typos in docs/NRPE.* files (Ludmil Meltchev)
 * Changed release date to ISO format (yyyy-mm-dd) (John Frickson)
 * Fix systemd unit description (Bas Couwenberg)
 * Add reload command to systemd service file (Bas Couwenberg)
 * fix file not found error when updating version (Sven Nierlein)
 * Spelling fixes (Josh Soref)
 * Return UNKNOWN when check_nrpe cannot communicate with nrpe and -u set (John Frickson)
 * xinetd.d parameter causes many messages in log file (John Frickson)
 * Fixes for openssl 1.1.x (Stephen Smoogen / John Frickson)
 * PATH and other environment variables not set with numeric nrpe_user (John Frickson)
 * rpmbuild -ta nrpe-3.0.1.tar.gz failed File not found: /etc/init.d/nrpe (bvandi / John Frickson)

 [3.0.1](https://github.com/NagiosEnterprises/nrpe/releases/tag/nrpe-3.0.1) - 2016-09-08
 ---------------------------------------------------------------------------------------
 **FIXES**
 * _set_rc: command not found reported by init script (John Frickson)
 * Version string contains name (John Frickson)
 * Changes to get 'rpmbuild' to work - nrpe.spec file outdated (John Frickson)
 * typo in startup/default-xinetd.in (Philippe Kueck)
 * debug output missing command name (Philippe Kueck)
 * /usr/lib/tmpfiles.d/ndo2db.conf should have 'd' type, not 'D' (John Frickson)
 * Fixes in parse_allowed_hosts() and called functions (Jobst Schmalenbach / John Frickson)
 * nrpe.cfg: 'debug' statement needs to be first in file (Jobst Schmalenbach / John Frickson)

 [3.0.0](https://github.com/NagiosEnterprises/nrpe/releases/tag/nrpe-3.0.0) - 2016-08-01
 ---------------------------------------------------------------------------------------
 **SECURITY**
 * Fix for CVE-2014-2913
 * Added function to clean the environment before forking. (John Frickson)

 **ENHANCEMENTS**
 * Added support for optional config file to check_nrpe. With the new SSL
   parameters, the line was getting long. The config file is specified with
   --config-file=<path> or -f <path> parameters. The config file must look
   like command line options, but the options can be on separate lines. It
   MUST NOT include --config-file (-f), --command (-c) or --args (-a). If any
   options are in both the config file and on the command line, the command line
   options are used.
 * make can now add users and groups using "make install-groups-users" (John Frickson)
 * Added "nrpe-uninstall" script to the same directory nrpe get installed to (John Frickson)
 * Updated code so configure && make will work on AIX, HP-UX, Solaris, OS X.
   There should be no errors or warnings. Let me know if any errors or
   warning appear (John Frickson)
 * Added command-line option to prevent forking, since some of the init
   replacements (such as systemd, etc.) don't want daemons to fork (John Frickson)
 * Added autoconf macros and additional files to better support multi-platform
   config and compile. The default will still set up to install to
   /usr/local/nagios but I added a new configure option:
   '--enable-install-method=<method>'. If <method> is 'opt', everything will
   install to '/opt/nagios'. If <method> is 'os', installation will be to O/S-
   and distribution-specific locations, such as /usr/sbin, /usr/lib/nagios,
   /etc/nagios, and so on.
 * Added additional init and inetd config files to support more systems,
   including SuSE, Debian, Slackware, Gentoo, *BSD, AIX, HP-UX, Solaris, OS X.
 * Added listen_queue_size as configuration option (Vadim Antipov, Kaspersky Lab)
 * Reworked SSL/TLS. See the README.SSL.md file for full info. (John Frickson)
 * Added support for version 3 variable sized packets up to 64KB. nrpe will
   accept either version from check_nrpe. check_nrpe will try to send a
   version 3 packet first, and fall back to version 2. check_nrpe can be forced
   to only send version 2 packets if the switch `-2` is used. (John Frickson)
 * Added extended timeout syntax in the -t <secs>:<status> format. (ABrist)

 **FIXES**
 * Fixed configure to check more places for SSL headers/libs. (John Frickson)
 * Added ifdefs for complete_SSL_shutdown to compile without SSL. (Matthew L. Daniel)
 * Renamed configure.in to configure.ac and added check for sigaction (John Frickson)
 * Replaced all instances of signal() with sigaction() + blocking (John Frickson)
 * check_nrpe does not parse passed arguments correctly (John Frickson)
 * NRPE should not start if cannot write pid file (John Frickson)
 * Fixed out-of-bounds error (return code 255) for some failures (John Frickson)
 * Connection Timeout and Connection Refused messages need a new line (Andrew Widdersheim)
 * allowed_hosts doesn't work, if one of the hostnames can't be resolved by dns (John Frickson)
 * allowed_hosts doesn't work with a hostname resolving to an IPv6 address (John Frickson)
 * Return UNKNOWN when issues occur (Andrew Widdersheim)
 * NRPE returns OK if check can't be executed (Andrew Widdersheim)
 * nrpe 2.15 [regression in Added SRC support on AIX - 2.14] (frphoebus)
 * compile nrpe - Solaris 9 doesn't have isblank() (lilo, John Frickson)
 * sample configuration for check_load has crazy sample load avg (ernestoongaro)

 2.15 - 09/06/2013
 -----------------
 * Now compiles on HP-UX (Grant Byers)
 * Added support for IPv6 (Leo Baltus, Eric Stanley)

 2.14 - 12/21/2012
 -----------------
 * Added configure option to allow bash command substitutions, disabled by default [bug #400] (Eric Stanley)
 * Patched to shutdown SSL connection completely (Jari Takkala)
 * Added SRC support on AIX (Thierry Bertaud)
 * Updated RPM SPEC file to support creating RPMs on AIX (Eric Stanley)
 * Updated logging to support compiling on AIX (Eric Stanley)


 To generate a diff of this commit:
 cvs rdiff -u -r1.31 -r1.32 pkgsrc/net/nagios-nrpe/Makefile
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/nagios-nrpe/distinfo
 cvs rdiff -u -r1.3 -r0 pkgsrc/net/nagios-nrpe/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Fri, 03 Nov 2017 17:16:25 +0000
Responsible-Changed-Why:
take


State-Changed-From-To: feedback->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Fri, 03 Nov 2017 17:16:25 +0000
State-Changed-Why:
I committed a modified version of your patch.
Happy Nagiosing!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.