diff options
| author | zhengruoqin <zhengrq.fnst@fujitsu.com> | 2021-06-11 02:51:59 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-06-10 07:06:34 -0700 |
| commit | 5411629c443d0d64b6d10f77d0622626e31a789d (patch) | |
| tree | c17607897e3624ced0e2d878a5072b14bbe58b0d | |
| parent | 4c7254df86b32fd41f57d518f82a248241d45eec (diff) | |
| download | meta-openembedded-5411629c443d0d64b6d10f77d0622626e31a789d.tar.gz | |
net-snmp: upgrade 5.9 -> 5.9.1
Refresh the following patch:
net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch | 19 | ||||
| -rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb (renamed from meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb) | 2 |
2 files changed, 12 insertions, 9 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch index da6d80ef4a..022eb958f3 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp/net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From b6a3d6c8af35f1ef27b80b0516742fce89f4eb29 Mon Sep 17 00:00:00 2001 | 1 | From 1e3178835217ba89aa355e2b6b88e490f17be16d Mon Sep 17 00:00:00 2001 |
| 2 | From: Marian Florea <marian.florea@windriver.com> | 2 | From: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> |
| 3 | Date: Thu, 20 Jul 2017 16:55:24 +0800 | 3 | Date: Wed, 9 Jun 2021 15:47:30 +0900 |
| 4 | Subject: [PATCH] net snmp: fix engineBoots value on SIGHUP | 4 | Subject: [PATCH] net snmp: fix engineBoots value on SIGHUP |
| 5 | 5 | ||
| 6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
| @@ -14,17 +14,17 @@ Signed-off-by: Li Zhou <li.zhou@windriver.com> | |||
| 14 | 2 files changed, 3 insertions(+), 2 deletions(-) | 14 | 2 files changed, 3 insertions(+), 2 deletions(-) |
| 15 | 15 | ||
| 16 | diff --git a/agent/snmpd.c b/agent/snmpd.c | 16 | diff --git a/agent/snmpd.c b/agent/snmpd.c |
| 17 | index ae73eda..66b4560 100644 | 17 | index 1af439f..355b510 100644 |
| 18 | --- a/agent/snmpd.c | 18 | --- a/agent/snmpd.c |
| 19 | +++ b/agent/snmpd.c | 19 | +++ b/agent/snmpd.c |
| 20 | @@ -1207,6 +1207,7 @@ receive(void) | 20 | @@ -1208,6 +1208,7 @@ receive(void) |
| 21 | snmp_log(LOG_INFO, "NET-SNMP version %s restarted\n", | 21 | snmp_log(LOG_INFO, "NET-SNMP version %s restarted\n", |
| 22 | netsnmp_get_version()); | 22 | netsnmp_get_version()); |
| 23 | update_config(); | 23 | update_config(); |
| 24 | + snmp_store(app_name); | 24 | + snmp_store(app_name); |
| 25 | send_easy_trap(SNMP_TRAP_ENTERPRISESPECIFIC, 3); | 25 | send_easy_trap(SNMP_TRAP_ENTERPRISESPECIFIC, 3); |
| 26 | #if HAVE_SIGHOLD | 26 | #if HAVE_SIGPROCMASK |
| 27 | sigrelse(SIGHUP); | 27 | ret = sigprocmask(SIG_UNBLOCK, &set, NULL); |
| 28 | diff --git a/snmplib/snmpv3.c b/snmplib/snmpv3.c | 28 | diff --git a/snmplib/snmpv3.c b/snmplib/snmpv3.c |
| 29 | index 29c2a0f..ada961c 100644 | 29 | index 29c2a0f..ada961c 100644 |
| 30 | --- a/snmplib/snmpv3.c | 30 | --- a/snmplib/snmpv3.c |
| @@ -41,3 +41,6 @@ index 29c2a0f..ada961c 100644 | |||
| 41 | engineBoots = 1; | 41 | engineBoots = 1; |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | -- | ||
| 45 | 2.25.1 | ||
| 46 | |||
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb index de0aeeec7c..1d48a85989 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.1.bb | |||
| @@ -27,7 +27,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \ | |||
| 27 | file://reproducibility-have-printcap.patch \ | 27 | file://reproducibility-have-printcap.patch \ |
| 28 | file://0001-ac_add_search_path.m4-keep-consistent-between-32bit.patch \ | 28 | file://0001-ac_add_search_path.m4-keep-consistent-between-32bit.patch \ |
| 29 | " | 29 | " |
| 30 | SRC_URI[sha256sum] = "04303a66f85d6d8b16d3cc53bde50428877c82ab524e17591dfceaeb94df6071" | 30 | SRC_URI[sha256sum] = "eb7fd4a44de6cddbffd9a92a85ad1309e5c1054fb9d5a7dd93079c8953f48c3f" |
| 31 | 31 | ||
| 32 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/" | 32 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/net-snmp/files/net-snmp/" |
| 33 | UPSTREAM_CHECK_REGEX = "/net-snmp/(?P<pver>\d+(\.\d+)+)/" | 33 | UPSTREAM_CHECK_REGEX = "/net-snmp/(?P<pver>\d+(\.\d+)+)/" |
