summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-01-15 12:07:38 +0100
committerPacho Ramos <pacho@gentoo.org>2017-01-15 12:20:15 +0100
commit113469283ff65b3b374db3399cfa2684c2a2ba97 (patch)
tree3741673787782497a2666f85c1c2e13593012cd3 /sys-cluster/ganglia/files
parentsys-block/seekwatcher: Drop old (diff)
downloadgentoo-113469283ff65b3b374db3399cfa2684c2a2ba97.tar.gz
gentoo-113469283ff65b3b374db3399cfa2684c2a2ba97.tar.bz2
gentoo-113469283ff65b3b374db3399cfa2684c2a2ba97.zip
sys-cluster/ganglia: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-cluster/ganglia/files')
-rw-r--r--sys-cluster/ganglia/files/ganglia-3.1.1-ctype-c99.patch13
-rw-r--r--sys-cluster/ganglia/files/ganglia-3.1.1-multidisk-group.patch11
-rw-r--r--sys-cluster/ganglia/files/ganglia-3.1.1-process_path-overflow-r1.patch48
3 files changed, 0 insertions, 72 deletions
diff --git a/sys-cluster/ganglia/files/ganglia-3.1.1-ctype-c99.patch b/sys-cluster/ganglia/files/ganglia-3.1.1-ctype-c99.patch
deleted file mode 100644
index e462de57a941..000000000000
--- a/sys-cluster/ganglia/files/ganglia-3.1.1-ctype-c99.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -urN a/ganglia-3.1.1/libmetrics/linux/metrics.c b/ganglia-3.1.1/libmetrics/linux/metrics.c
---- a/ganglia-3.1.1/libmetrics/linux/metrics.c 2008-08-25 13:44:57.000000000 -0400
-+++ b/ganglia-3.1.1/libmetrics/linux/metrics.c 2008-11-18 21:33:01.370635031 -0500
-@@ -3,6 +3,9 @@
- #ifndef __USE_GNU
- #define __USE_GNU
- #endif
-+#ifndef __USE_ISOC99
-+#define __USE_ISOC99
-+#endif
- #include <string.h>
- #include <time.h>
- #include <unistd.h>
diff --git a/sys-cluster/ganglia/files/ganglia-3.1.1-multidisk-group.patch b/sys-cluster/ganglia/files/ganglia-3.1.1-multidisk-group.patch
deleted file mode 100644
index e908764131e1..000000000000
--- a/sys-cluster/ganglia/files/ganglia-3.1.1-multidisk-group.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN a/ganglia-3.1.1/gmond/python_modules/disk/multidisk.py b/ganglia-3.1.1/gmond/python_modules/disk/multidisk.py
---- a/ganglia-3.1.1/gmond/python_modules/disk/multidisk.py 2008-08-25 13:44:57.000000000 -0400
-+++ b/ganglia-3.1.1/gmond/python_modules/disk/multidisk.py 2008-11-18 21:40:41.768077035 -0500
-@@ -92,6 +92,7 @@
- 'slope': slope,
- 'format': fmt,
- 'description': desc,
-+ 'groups': 'disk',
- 'mount': line[1]}
- return d
-
diff --git a/sys-cluster/ganglia/files/ganglia-3.1.1-process_path-overflow-r1.patch b/sys-cluster/ganglia/files/ganglia-3.1.1-process_path-overflow-r1.patch
deleted file mode 100644
index c8858e81ad10..000000000000
--- a/sys-cluster/ganglia/files/ganglia-3.1.1-process_path-overflow-r1.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Index: gmetad/server.c
-===================================================================
---- gmetad/server.c (revision 1953)
-+++ gmetad/server.c (working copy)
-@@ -370,14 +370,13 @@
-
- /* sacerdoti: This function does a tree walk while respecting the filter path.
- * Will return valid XML even if we have chosen a subtree. Since tree depth is
-- * bounded, this function guarantees O(1) search time. The recursive structure
-- * does not require any memory allocations.
-+ * bounded, this function guarantees O(1) search time.
- */
- static int
- process_path (client_t *client, char *path, datum_t *myroot, datum_t *key)
- {
- char *p, *q, *pathend;
-- char element[256];
-+ char *element;
- int rc, len;
- datum_t *found;
- datum_t findkey;
-@@ -419,6 +418,9 @@
- if (!q) q=pathend;
-
- len = q-p;
-+ element = malloc(len + 1);
-+ if ( element == NULL )
-+ return 1;
- strncpy(element, p, len);
- element[len] = '\0';
-
-@@ -440,6 +442,7 @@
- {
- rc = process_path(client, 0, myroot, NULL);
- }
-+ free(element);
- }
- if (rc) return 1;
-
-@@ -537,7 +540,7 @@
- socklen_t len;
- client_t client;
- char remote_ip[16];
-- char request[REQUESTLEN];
-+ char request[REQUESTLEN + 1];
- llist_entry *le;
- datum_t rootdatum;
-