Ver código fonte

Merge branch 'master' into change-ssl-to-nrpe-ssl

Dylan Anderson 1 ano atrás
pai
commit
de18e4e15b
5 arquivos alterados com 55 adições e 52 exclusões
  1. 48 45
      configure
  2. 2 2
      configure.ac
  3. 2 2
      include/common.h.in
  4. 1 1
      nrpe.spec.in
  5. 2 2
      update-version

+ 48 - 45
configure

@@ -1804,7 +1804,7 @@ else
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 $4
 $4
 int
 int
-main (void)
+main ()
 {
 {
 if (sizeof ($2))
 if (sizeof ($2))
 	 return 0;
 	 return 0;
@@ -1817,7 +1817,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 $4
 $4
 int
 int
-main (void)
+main ()
 {
 {
 if (sizeof (($2)))
 if (sizeof (($2)))
 	    return 0;
 	    return 0;
@@ -1855,7 +1855,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 $4
 $4
 int
 int
-main (void)
+main ()
 {
 {
 static int test_array [1 - 2 * !(($2) >= 0)];
 static int test_array [1 - 2 * !(($2) >= 0)];
 test_array [0] = 0;
 test_array [0] = 0;
@@ -1872,7 +1872,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 $4
 $4
 int
 int
-main (void)
+main ()
 {
 {
 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 test_array [0] = 0;
 test_array [0] = 0;
@@ -1899,7 +1899,7 @@ else
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 $4
 $4
 int
 int
-main (void)
+main ()
 {
 {
 static int test_array [1 - 2 * !(($2) < 0)];
 static int test_array [1 - 2 * !(($2) < 0)];
 test_array [0] = 0;
 test_array [0] = 0;
@@ -1916,7 +1916,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 $4
 $4
 int
 int
-main (void)
+main ()
 {
 {
 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 test_array [0] = 0;
 test_array [0] = 0;
@@ -1951,7 +1951,7 @@ while test "x$ac_lo" != "x$ac_hi"; do
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 $4
 $4
 int
 int
-main (void)
+main ()
 {
 {
 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 test_array [0] = 0;
 test_array [0] = 0;
@@ -1976,12 +1976,12 @@ esac
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 $4
 $4
-static long int longval (void) { return $2; }
-static unsigned long int ulongval (void) { return $2; }
+static long int longval () { return $2; }
+static unsigned long int ulongval () { return $2; }
 #include <stdio.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdlib.h>
 int
 int
-main (void)
+main ()
 {
 {
 
 
   FILE *f = fopen ("conftest.val", "w");
   FILE *f = fopen ("conftest.val", "w");
@@ -2088,7 +2088,7 @@ else
 #define $2 innocuous_$2
 #define $2 innocuous_$2
 
 
 /* System header to define __stub macros and hopefully few prototypes,
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $2 (void); below.
+    which can conflict with char $2 (); below.
     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     <limits.h> exists even on freestanding compilers.  */
     <limits.h> exists even on freestanding compilers.  */
 
 
@@ -2106,7 +2106,7 @@ else
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C"
 extern "C"
 #endif
 #endif
-char $2 (void);
+char $2 ();
 /* The GNU C library defines this for functions which it implements
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
     something starting with __ and the normal name is an alias.  */
@@ -2115,7 +2115,7 @@ choke me
 #endif
 #endif
 
 
 int
 int
-main (void)
+main ()
 {
 {
 return $2 ();
 return $2 ();
   ;
   ;
@@ -2505,9 +2505,9 @@ ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
 
 
 
 PKG_NAME=nrpe
 PKG_NAME=nrpe
-PKG_VERSION="4.1.1"
+PKG_VERSION="4.1.2"
 PKG_HOME_URL="http://www.nagios.org/"
 PKG_HOME_URL="http://www.nagios.org/"
-PKG_REL_DATE="2024-08-01"
+PKG_REL_DATE="2024-12-09"
 RPM_RELEASE=1
 RPM_RELEASE=1
 
 
 LANG=C
 LANG=C
@@ -5329,7 +5329,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
   ;
   ;
@@ -5469,7 +5469,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 #include <stdio.h>
 #include <stdio.h>
 int
 int
-main (void)
+main ()
 {
 {
 FILE *f = fopen ("conftest.out", "w");
 FILE *f = fopen ("conftest.out", "w");
  return ferror (f) || fclose (f) != 0;
  return ferror (f) || fclose (f) != 0;
@@ -5533,7 +5533,7 @@ else
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
   ;
   ;
@@ -5584,7 +5584,7 @@ else
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 
 
 int
 int
-main (void)
+main ()
 {
 {
 #ifndef __GNUC__
 #ifndef __GNUC__
        choke me
        choke me
@@ -5625,7 +5625,7 @@ else
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
   ;
   ;
@@ -5640,7 +5640,7 @@ else
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
   ;
   ;
@@ -5656,7 +5656,7 @@ else
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
   ;
   ;
@@ -5705,7 +5705,9 @@ struct stat;
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 struct buf { int x; };
 struct buf { int x; };
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (char **p, int i)
+static char *e (p, i)
+     char **p;
+     int i;
 {
 {
   return p[i];
   return p[i];
 }
 }
@@ -5740,7 +5742,7 @@ int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i
 int argc;
 int argc;
 char **argv;
 char **argv;
 int
 int
-main (void)
+main ()
 {
 {
 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   ;
   ;
@@ -6098,7 +6100,7 @@ else
 #include <float.h>
 #include <float.h>
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
   ;
   ;
@@ -6168,7 +6170,7 @@ else
 
 
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 int
 int
-main (void)
+main ()
 {
 {
   int i;
   int i;
   for (i = 0; i < 256; i++)
   for (i = 0; i < 256; i++)
@@ -6209,7 +6211,7 @@ else
 #include <time.h>
 #include <time.h>
 
 
 int
 int
-main (void)
+main ()
 {
 {
 if ((struct tm *) 0)
 if ((struct tm *) 0)
 return 0;
 return 0;
@@ -6249,7 +6251,7 @@ else
 #endif
 #endif
 
 
 int
 int
-main (void)
+main ()
 {
 {
   int s;
   int s;
   wait (&s);
   wait (&s);
@@ -6364,7 +6366,7 @@ else
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
 #ifndef __cplusplus
 #ifndef __cplusplus
@@ -6447,7 +6449,7 @@ else
 #include <time.h>
 #include <time.h>
 
 
 int
 int
-main (void)
+main ()
 {
 {
 struct tm tm;
 struct tm tm;
 				     int *p = &tm.tm_sec;
 				     int *p = &tm.tm_sec;
@@ -6515,7 +6517,7 @@ else
 #include <signal.h>
 #include <signal.h>
 
 
 int
 int
-main (void)
+main ()
 {
 {
 return *(signal (0, 0)) (0) == 1;
 return *(signal (0, 0)) (0) == 1;
   ;
   ;
@@ -6584,7 +6586,7 @@ $ac_includes_default
 #define MAX(x, y) ((x) > (y) ? (x) : (y))
 #define MAX(x, y) ((x) > (y) ? (x) : (y))
 
 
 int
 int
-main (void)
+main ()
 {
 {
   gid_t gidset[NGID];
   gid_t gidset[NGID];
   int i, n;
   int i, n;
@@ -6848,7 +6850,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 #include <stdarg.h>
 #include <stdarg.h>
 va_list ap1,ap2;
 va_list ap1,ap2;
 int
 int
-main (void)
+main ()
 {
 {
 va_copy(ap1,ap2);
 va_copy(ap1,ap2);
   ;
   ;
@@ -6881,7 +6883,7 @@ else
 #include <stdarg.h>
 #include <stdarg.h>
 	va_list ap1,ap2;
 	va_list ap1,ap2;
 int
 int
-main (void)
+main ()
 {
 {
 __va_copy(ap1,ap2);
 __va_copy(ap1,ap2);
   ;
   ;
@@ -7014,9 +7016,9 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C"
 extern "C"
 #endif
 #endif
-char getopt_long (void);
+char getopt_long ();
 int
 int
-main (void)
+main ()
 {
 {
 return getopt_long ();
 return getopt_long ();
   ;
   ;
@@ -7054,7 +7056,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
 
 
 int
 int
-main (void)
+main ()
 {
 {
 return main ();
 return main ();
   ;
   ;
@@ -7092,9 +7094,9 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C"
 extern "C"
 #endif
 #endif
-char socket (void);
+char socket ();
 int
 int
-main (void)
+main ()
 {
 {
 return socket ();
 return socket ();
   ;
   ;
@@ -7146,7 +7148,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
 
 
 int
 int
-main (void)
+main ()
 {
 {
 return main ();
 return main ();
   ;
   ;
@@ -7175,7 +7177,7 @@ $as_echo "#define HAVE_LIBWRAP 1" >>confdefs.h
 #include <tcpd.h>
 #include <tcpd.h>
 
 
 int
 int
-main (void)
+main ()
 {
 {
 int a = rfc931_timeout;
 int a = rfc931_timeout;
   ;
   ;
@@ -7243,7 +7245,7 @@ else
 					int getpeername (int, $arg2 *, $t *);
 					int getpeername (int, $arg2 *, $t *);
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
 					$t len;
 					$t len;
@@ -7289,7 +7291,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 #include <sys/socket.h>
 #include <sys/socket.h>
 
 
 int
 int
-main (void)
+main ()
 {
 {
 int a = send(1, (const void *)0, (size_t *) 0, (int *) 0);
 int a = send(1, (const void *)0, (size_t *) 0, (int *) 0);
   ;
   ;
@@ -7359,6 +7361,7 @@ SSL_LIB_DIR=
 
 
 
 
 
 
+
 SSL_DH_HEADER_MAKE_OLD="../include/dh.h:
 SSL_DH_HEADER_MAKE_OLD="../include/dh.h:
 	\$(SSLBIN) dhparam -C 2048 | awk '/^-----/ {exit} {print}' > \$@"
 	\$(SSLBIN) dhparam -C 2048 | awk '/^-----/ {exit} {print}' > \$@"
 SSL_DH_HEADER_MAKE_NEW="../include/dh.h: generate_dh_params
 SSL_DH_HEADER_MAKE_NEW="../include/dh.h: generate_dh_params
@@ -7713,7 +7716,7 @@ $as_echo_n "checking whether compiling and linking against SSL works... " >&6; }
 /* end confdefs.h.  */
 /* end confdefs.h.  */
 #include <${SSL_INC_PREFIX}${SSL_HDR}>
 #include <${SSL_INC_PREFIX}${SSL_HDR}>
 int
 int
-main (void)
+main ()
 {
 {
 SSL_new(NULL)
 SSL_new(NULL)
   ;
   ;
@@ -7746,7 +7749,7 @@ rm -f core conftest.err conftest.$ac_objext \
 				#include <${SSL_INC_PREFIX}${SSL_HDR}>
 				#include <${SSL_INC_PREFIX}${SSL_HDR}>
 
 
 int
 int
-main (void)
+main ()
 {
 {
 
 
 				#ifdef OPENSSL_VERSION_MAJOR
 				#ifdef OPENSSL_VERSION_MAJOR

+ 2 - 2
configure.ac

@@ -11,9 +11,9 @@ AC_CONFIG_AUX_DIR([build-aux])
 AC_PREFIX_DEFAULT(/usr/local/nagios)
 AC_PREFIX_DEFAULT(/usr/local/nagios)
 
 
 PKG_NAME=nrpe
 PKG_NAME=nrpe
-PKG_VERSION="4.1.1"
+PKG_VERSION="4.1.2"
 PKG_HOME_URL="http://www.nagios.org/"
 PKG_HOME_URL="http://www.nagios.org/"
-PKG_REL_DATE="2024-08-01"
+PKG_REL_DATE="2024-12-09"
 RPM_RELEASE=1
 RPM_RELEASE=1
 
 
 LANG=C
 LANG=C

+ 2 - 2
include/common.h.in

@@ -38,8 +38,8 @@
 # endif
 # endif
 #endif
 #endif
 
 
-#define PROGRAM_VERSION "4.1.1"
-#define MODIFICATION_DATE "2024-08-01"
+#define PROGRAM_VERSION "4.1.2"
+#define MODIFICATION_DATE "2024-12-09"
 
 
 #define OK							0
 #define OK							0
 #define ERROR						-1
 #define ERROR						-1

+ 1 - 1
nrpe.spec.in

@@ -22,7 +22,7 @@
 %define _sysconfdir /etc/nagios
 %define _sysconfdir /etc/nagios
 
 
 %define name @PACKAGE_NAME@
 %define name @PACKAGE_NAME@
-%define version 4.1.1
+%define version 4.1.2
 %define release @RPM_RELEASE@
 %define release @RPM_RELEASE@
 %define nsusr @nrpe_user@
 %define nsusr @nrpe_user@
 %define nsgrp @nrpe_group@
 %define nsgrp @nrpe_group@

+ 2 - 2
update-version

@@ -28,10 +28,10 @@ else
 fi
 fi
 
 
 # Current version number
 # Current version number
-CURRENTVERSION=4.1.1
+CURRENTVERSION=4.1.2
 
 
 # Last date
 # Last date
-LASTDATE=2024-08-01
+LASTDATE=2024-12-09
 
 
 if [ "x$1" = "x" ]
 if [ "x$1" = "x" ]
 then
 then