package/snmppp: bump to version 3.4.9
PATCH 1/2 package/snmppp: bump to version 3.4.9
Update hash of src/v3.cpp, update in year and "Frank Fock" added:
- _## SNMP++ v3.3 + _## SNMP++ v3.4 - _## Copyright (c) 2001-2013 Jochen Katz, Frank Fock + _## Copyright (c) 2001-2021 Jochen Katz, Frank Fock - _## Hewlett-Packard and Jochen Katz make no representations about the - _## suitability of this software for any purpose. It is provided + _## Hewlett-Packard, Frank Fock, and Jochen Katz make no representations + _## about the suitability of this software for any purpose. It is provided
https://www.agentpp.com/download/changes_snmp++v3.txt
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/snmppp/snmppp.hash | 4 ++-- package/snmppp/snmppp.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/snmppp/snmppp.hash +2 -2
@@ -1,3 +1,3 @@ # Locally computed: -sha256 a3eb75e2310c315d9b2c2094154c7cd9b46684adb80a4b36b8957dcc09af4041 snmp++-3.4.2.tar.gz -sha256 f6fd4321c7eb6e51a272f91f964aea7f53039bb2b55f690d5a9d042f3a5d79b9 src/v3.cpp +sha256 7c0aaf4ea21db082453f880cc2062a86dcbbf0ee6c8d47c72beb8e0c77c26b6c snmp++-3.4.9.tar.gz +sha256 61337e799c8274e596e5783b22607beea8073ee296c6b27fc5c7487296e56851 src/v3.cpp
package/snmppp/snmppp.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -SNMPPP_VERSION = 3.4.2 +SNMPPP_VERSION = 3.4.9 SNMPPP_SOURCE = snmp++-$(SNMPPP_VERSION).tar.gz SNMPPP_SITE = http://www.agentpp.com/download SNMPPP_DEPENDENCIES = host-pkgconf
Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/agentpp: bump to version 4.5.3
Drop patch (not needed anymore):
"Fixed: Allow compilation without _SNMPv3 defined."
https://agentpp.com/download/changes_agent++.txt
Signed-off-by Fabrice Fontaine <[email protected]>
--- ...01-Fix-build-when-SNMPv3-is-disabled.patch | 102 ------------------ package/agentpp/agentpp.hash | 2 +- package/agentpp/agentpp.mk | 2 +- 3 files changed, 2 insertions(+), 104 deletions(-) delete mode 100644 package/agentpp/0001-Fix-build-when-SNMPv3-is-disabled.patch
package/agentpp/0001-Fix-build-when-SNMPv3-is-disabled.patch deleted +0 -102
@@ -1,102 +0,0 @@ -From 2a0fe384eec254643ca2176ccfcbbd036a5aad06 Mon Sep 17 00:00:00 2001 -From: Luca Ceresoli <[email protected]> -Date: Tue, 14 Jul 2020 10:30:10 +0200 -Subject: [PATCH] Fix build when SNMPv3 is disabled - -agentpp has ifdefs to disable v3 code when SNMPv3 is disabled. However it -is missing one and it has a few ones in excess. Fix them. - -Upstream is aware, says "will fix in later version", but thinks to make v3 -mandatory. See discussion at -https://forum.snmp.app/t/agent-compile-fails-if-snmp-has-disable-snmpv3/326 - -Upstream status: none, upstream is not welcoming contributions. - -Signed-off-by: Luca Ceresoli <[email protected]> ---- - include/agent_pp/notification_log_mib.h | 4 ++-- - include/agent_pp/notification_originator.h | 2 ++ - include/agent_pp/snmp_community_mib.h | 4 ++-- - src/notification_originator.cpp | 2 ++ - 4 files changed, 8 insertions(+), 4 deletions(-) - -diff --git a/include/agent_pp/notification_log_mib.h b/include/agent_pp/notification_log_mib.h -index ddac05e515d9..8fd8cfec32ca 100644 ---- a/include/agent_pp/notification_log_mib.h -+++ b/include/agent_pp/notification_log_mib.h -@@ -22,7 +22,7 @@ - - //--AgentGen BEGIN=_BEGIN - #include <agent_pp/agent++.h> --#ifdef _SNMPv3 -+// #ifdef _SNMPv3 // This file deos not look SNMPv3-specific - #include <agent_pp/mib_complex_entry.h> - //--AgentGen END - -@@ -688,6 +688,6 @@ protected: - */ - - --#endif -+// #endif // _SNMPv3 - - -diff --git a/include/agent_pp/notification_originator.h b/include/agent_pp/notification_originator.h -index 95e8b4e1836d..6f50cd52625b 100644 ---- a/include/agent_pp/notification_originator.h -+++ b/include/agent_pp/notification_originator.h -@@ -307,7 +307,9 @@ class AGENTPP_DECL NotificationOriginator: public NotificationSender { - */ - virtual nlmLogEntry* get_nlm_log_entry(); - -+#ifdef _SNMPv3 - virtual v3MP* get_v3mp(); -+#endif - - protected: - -diff --git a/include/agent_pp/snmp_community_mib.h b/include/agent_pp/snmp_community_mib.h -index 7d5c4558f36d..d9eb2b4a87ec 100644 ---- a/include/agent_pp/snmp_community_mib.h -+++ b/include/agent_pp/snmp_community_mib.h -@@ -49,7 +49,7 @@ namespace Agentpp { - #define oidSnmpTrapAddress "1.3.6.1.6.3.18.1.3.0" - #define oidSnmpTrapCommunity "1.3.6.1.6.3.18.1.4.0" - --#ifdef _SNMPv3 -+// #ifdef _SNMPv3 // This file deos not look SNMPv3-specific - - /** - * snmpCommunityName -@@ -346,7 +346,7 @@ class AGENTPP_DECL snmp_community_mib: public MibGroup - static void add_public(); - static void add_public(Mib* mib); - }; --#endif -+// #endif // _SNMPv3 - - #ifdef AGENTPP_NAMESPACE - } -diff --git a/src/notification_originator.cpp b/src/notification_originator.cpp -index d7d566869998..39ddbe08cdeb 100644 ---- a/src/notification_originator.cpp -+++ b/src/notification_originator.cpp -@@ -237,6 +237,7 @@ nlmLogEntry* NotificationOriginator::get_nlm_log_entry() { - return nlmLogEntry::instance; - } - -+#ifdef _SNMPv3 - v3MP* NotificationOriginator::get_v3mp() { - if (mib) { - return mib->get_request_list()->get_v3mp(); -@@ -244,6 +245,7 @@ v3MP* NotificationOriginator::get_v3mp() { - return v3MP::I; - } - } -+#endif - - - bool NotificationOriginator::check_access(ListCursor<MibTableRow>& cur, --- -2.27.0 -
package/agentpp/agentpp.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed: -sha256 9b45123df45e803198a1181540b37a4ccd0e63c68df6e826702e2ba49167edac agent++-4.3.1.tar.gz +sha256 bcfc014cc7ce37afdd6eefb71b59f1eabf23984525905546aa363c2a2c498c79 agent++-4.5.3.tar.gz sha256 1eb85fc97224598dad1852b5d6483bbcf0aa8608790dcc657a5a2a761ae9c8c6 LICENSE-2_0.txt
package/agentpp/agentpp.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -AGENTPP_VERSION = 4.3.1 +AGENTPP_VERSION = 4.5.3 AGENTPP_SOURCE = agent++-$(AGENTPP_VERSION).tar.gz AGENTPP_SITE = http://www.agentpp.com/download AGENTPP_LICENSE = Apache-2.0
Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedRe: [Buildroot] [PATCH 2/2] package/agentpp: bump to version 4.5.3
Quoted 5 lines · On Sun, 20 Mar 2022 17:58:02 +0100 Fabrice Fontaine…
Drop patch (not needed anymore):
"Fixed: Allow compilation without_SNMPv3defined."
Quoted 7 lines
Signed-off-by Fabrice Fontaine <[email protected]>--- ...01-Fix-build-when-SNMPv3-is-disabled.patch | 102 ------------------ package/agentpp/agentpp.hash | 2 +- package/agentpp/agentpp.mk | 2 +- 3 files changed, 2 insertions(+), 104 deletions(-) delete mode 100644 package/agentpp/0001-Fix-build-when-SNMPv3-is-disabled.patch
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 11 lines · On Sun, 20 Mar 2022 17:58:01 +0100 Fabrice Fontaine…
Update hash of src/v3.cpp, update in year and "Frank Fock" added:
- _## SNMP++ v3.3 + _## SNMP++ v3.4 - _## Copyright (c) 2001-2013 Jochen Katz, Frank Fock + _## Copyright (c) 2001-2021 Jochen Katz, Frank Fock - _## Hewlett-Packard and Jochen Katz make no representations about the - _## suitability of this software for any purpose. It is provided + _## Hewlett-Packard, Frank Fock, and Jochen Katz make no representations + _## about the suitability of this software for any purpose. It is provided
Quoted 7 lines
https://www.agentpp.com/download/changes_snmp++v3.txt
Signed-off-by Fabrice Fontaine <[email protected]>--- package/snmppp/snmppp.hash | 4 ++-- package/snmppp/snmppp.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot