Changes of Revision 12
[-] | Changed | nrpe.spec |
x 1
2 Patch1: %{myname}-config.patch 3 Patch2: %{myname}-%{version}_ADH.patch 4 Patch3: %{myname}-%{version}_openssl.patch 5 +Patch4: %{myname}-2.15_packetbuffer.patch 6 BuildRoot: %{_tmppath}/%{name}-buildroot 7 Prefix: %{_prefix} 8 Prefix: /etc/init.d 9
10 %if 0%{?rhel} >= 8 11 %patch3 12 %endif 13 +%patch4 14 15 %pre 16 # Create `nagios' group on the system if necessary 17 |
||
[+] | Added | nrpe-2.15_packetbuffer.patch ^ |
@@ -0,0 +1,11 @@ +--- include/common.h.orig 2020-02-05 09:55:21.662321386 +0100 ++++ include/common.h 2020-02-05 09:56:31.282321231 +0100 +@@ -60,7 +60,7 @@ + #define NRPE_PACKET_VERSION_2 2 + #define NRPE_PACKET_VERSION_1 1 /* older packet version identifiers (no longer supported) */ + +-#define MAX_PACKETBUFFER_LENGTH 1024 /* max amount of data we'll send in one query/response */ ++#define MAX_PACKETBUFFER_LENGTH 8192 /* max amount of data we'll send in one query/response */ + + typedef struct packet_struct{ + int16_t packet_version; |