[packages/monitoring-plugins] drop nagios-plugins-check_radius_segfault.patch
glen
glen at pld-linux.org
Tue Sep 13 19:16:58 CEST 2016
commit a997abe5fb689b991397dbe38599fe551974764e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Sep 13 20:16:12 2016 +0300
drop nagios-plugins-check_radius_segfault.patch
origin of the patch suggests it is no longer needed
https://github.com/monitoring-plugins/monitoring-plugins/pull/1408
monitoring-plugins.spec | 2 --
nagios-plugins-check_radius_segfault.patch | 25 -------------------------
2 files changed, 27 deletions(-)
---
diff --git a/monitoring-plugins.spec b/monitoring-plugins.spec
index 1294b37..0abe50b 100644
--- a/monitoring-plugins.spec
+++ b/monitoring-plugins.spec
@@ -28,7 +28,6 @@ Patch4: nagios-plugins-noroot.patch
Patch5: nagios-plugins-check_ping-socket-filter-warning.patch
Patch7: nagios-plugins-pgsql.patch
Patch9: nagios-plugins-check_log_paths.patch
-Patch13: nagios-plugins-check_radius_segfault.patch
Patch21: nagios-plugins-check_hpjd-no-paper-out.patch
Patch23: nagios-plugins-check_disk_smb-zero-cap.patch
Patch24: nagios-plugins-paths.patch
@@ -537,7 +536,6 @@ mv nagios-plugins-config-*/* .
%patch4 -p1
%patch5 -p1
%patch7 -p1
-%patch13 -p1
%patch21 -p1
%patch23 -p1
%patch24 -p1
diff --git a/nagios-plugins-check_radius_segfault.patch b/nagios-plugins-check_radius_segfault.patch
deleted file mode 100644
index c2f0335..0000000
--- a/nagios-plugins-check_radius_segfault.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://github.com/monitoring-plugins/monitoring-plugins/pull/1408
-
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 27_check_radius_segfault.dpatch by Yasper Casper <komputnik at gmail.com>
-##
-
- at DPATCH@
-diff -urNad nagios-plugins-1.4.5~/plugins/check_radius.c nagios-plugins-1.4.5/plugins/check_radius.c
---- nagios-plugins-1.4.5~/plugins/check_radius.c 2006-10-20 01:53:28.000000000 +0200
-+++ nagios-plugins-1.4.5/plugins/check_radius.c 2006-11-20 20:38:49.000000000 +0100
-@@ -137,6 +137,14 @@
- rc_read_dictionary (rc_conf_str (str)))
- die (STATE_UNKNOWN, _("Config file error"));
-
-+ /* Initialize Value Pair to prevent segfault on rc_avpair_add.
-+ * debugging on radiuslib-ng show that the mem isn't allocated,
-+ * and some random memory is in the USER-PASSWORD pair.
-+ * So, after initialization, the password is filled with the correct values
-+ */
-+ data.send_pairs = NULL;
-+ data.receive_pairs = NULL;
-+
- service = PW_AUTHENTICATE_ONLY;
-
- if (!(rc_avpair_add (&data.send_pairs, PW_SERVICE_TYPE, &service, 0) &&
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/monitoring-plugins.git/commitdiff/a997abe5fb689b991397dbe38599fe551974764e
More information about the pld-cvs-commit
mailing list