pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/nagios-nrpe Update nagios-nrpe to 3.2.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/797ce2e0435f
branches: trunk
changeset: 371102:797ce2e0435f
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Fri Nov 03 17:14:10 2017 +0000
description:
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)
diffstat:
net/nagios-nrpe/Makefile | 7 +++----
net/nagios-nrpe/distinfo | 11 +++++------
net/nagios-nrpe/patches/patch-aa | 30 ------------------------------
3 files changed, 8 insertions(+), 40 deletions(-)
diffs (80 lines):
diff -r 3b6d7c84b7a4 -r 797ce2e0435f net/nagios-nrpe/Makefile
--- a/net/nagios-nrpe/Makefile Fri Nov 03 16:07:57 2017 +0000
+++ b/net/nagios-nrpe/Makefile Fri Nov 03 17:14:10 2017 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.31 2017/09/03 08:53:12 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2017/11/03 17:14:10 bsiegert 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@localhost
HOMEPAGE= https://www.nagios.org/
COMMENT= Nagios remote program execution daemon
+LICENSE= gnu-gpl-v2
.include "../../mk/bsd.prefs.mk"
@@ -37,7 +37,6 @@
SMF_NAME= nrpe
FILES_SUBST+= NAGIOS_USER=${NAGIOS_USER}
FILES_SUBST+= NAGIOS_GROUP=${NAGIOS_GROUP}
-FILES_SUBST+= NAGIOSDIR=${NAGIOSDIR}
INSTALLATION_DIRS+= sbin libexec/nagios share/examples/nagios
diff -r 3b6d7c84b7a4 -r 797ce2e0435f net/nagios-nrpe/distinfo
--- a/net/nagios-nrpe/distinfo Fri Nov 03 16:07:57 2017 +0000
+++ b/net/nagios-nrpe/distinfo Fri Nov 03 17:14:10 2017 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 00:35:13 agc Exp $
+$NetBSD: distinfo,v 1.8 2017/11/03 17:14:10 bsiegert 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 (patch-aa) = f3861f83f45fc6bbfa9a21041c75e1428bf861e7
+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
diff -r 3b6d7c84b7a4 -r 797ce2e0435f net/nagios-nrpe/patches/patch-aa
--- a/net/nagios-nrpe/patches/patch-aa Fri Nov 03 16:07:57 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index