summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp/0001-get_pid_from_inode-Include-limit.h.patch29
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb33
2 files changed, 46 insertions, 16 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-get_pid_from_inode-Include-limit.h.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-get_pid_from_inode-Include-limit.h.patch
new file mode 100644
index 0000000000..60ce80996d
--- /dev/null
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-get_pid_from_inode-Include-limit.h.patch
@@ -0,0 +1,29 @@
1From 7136d593ba96b64537069637c328bc65e1b66b2d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 22 Jul 2016 18:34:39 +0000
4Subject: [PATCH] get_pid_from_inode: Include limit.h
5
6PATH_MAX and NAME_MAX are required by this file
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10Upstream-Status: Pending
11
12 agent/mibgroup/util_funcs/get_pid_from_inode.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/agent/mibgroup/util_funcs/get_pid_from_inode.c b/agent/mibgroup/util_funcs/get_pid_from_inode.c
16index 8e157ae..a494ec7 100644
17--- a/agent/mibgroup/util_funcs/get_pid_from_inode.c
18+++ b/agent/mibgroup/util_funcs/get_pid_from_inode.c
19@@ -5,6 +5,7 @@
20 #include <net-snmp/output_api.h>
21
22 #include <ctype.h>
23+#include <limits.h>
24 #include <stdio.h>
25 #if HAVE_STDLIB_H
26 #include <stdlib.h>
27--
281.8.3.1
29
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index 4ad5b21ab9..1997d5cd0c 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -8,22 +8,23 @@ LIC_FILES_CHKSUM = "file://README;beginline=3;endline=8;md5=7f7f00ba639ac8e8deb5
8DEPENDS = "openssl libnl pciutils" 8DEPENDS = "openssl libnl pciutils"
9 9
10SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \ 10SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \
11 file://init \ 11 file://init \
12 file://snmpd.conf \ 12 file://snmpd.conf \
13 file://snmptrapd.conf \ 13 file://snmptrapd.conf \
14 file://systemd-support.patch \ 14 file://systemd-support.patch \
15 file://snmpd.service \ 15 file://snmpd.service \
16 file://snmptrapd.service \ 16 file://snmptrapd.service \
17 file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \ 17 file://net-snmp-add-knob-whether-nlist.h-are-checked.patch \
18 file://fix-libtool-finish.patch \ 18 file://fix-libtool-finish.patch \
19 file://net-snmp-testing-add-the-output-format-for-ptest.patch \ 19 file://net-snmp-testing-add-the-output-format-for-ptest.patch \
20 file://run-ptest \ 20 file://run-ptest \
21 file://dont-return-incompletely-parsed-varbinds.patch \ 21 file://dont-return-incompletely-parsed-varbinds.patch \
22 file://0001-config_os_headers-Error-Fix.patch \ 22 file://0001-config_os_headers-Error-Fix.patch \
23 file://0001-config_os_libs2-Error-Fix.patch \ 23 file://0001-config_os_libs2-Error-Fix.patch \
24 file://0001-snmplib-keytools.c-Don-t-check-for-return-from-EVP_M.patch \ 24 file://0001-snmplib-keytools.c-Don-t-check-for-return-from-EVP_M.patch \
25 file://net-snmp-agentx-crash.patch \ 25 file://net-snmp-agentx-crash.patch \
26" 26 file://0001-get_pid_from_inode-Include-limit.h.patch \
27 "
27SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee" 28SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee"
28SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e" 29SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e"
29 30