0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-19 11:52:07 +00:00
Lakka-LibreELEC/packages/addons/service/net-snmp/patches/net-snmp-0001-read_config.c.patch
heitbaum 0e6341bfdd net-snmp: update to 5.9
update 5.8 to 5.9
fix patches (dos2unix on 0003 patch)
changelog:
*5.9*
    snmplib:
      - Add IPv6 support to DTLSUDP transport CHANGES: snmplib: use new
	netsnmp_sockaddr_storage in netsnmp_addr_pair CHANGES: snmplib: add
	base_transport ptr for tunneled transports

    snmpd:
      - Security vulnerabilty in the ping MIB reported by Christopher Ertl
	from Microsoft fixed
      - Changing to a different uid/gid can only be done once
      - The extend mib is now read-only by default

    snmptrap:
      - BUG: 2899: Patch from Drew Roedersheimer to set library
	engineboots/time values before sending

    unspecified:
      - Add pkg-config support for building applications and sub-agents Use
	the netsnmp package when building Net-SNMP applications. Use the
	netsnmp-agent package when building Net-SNMP subagents.
2021-01-14 07:23:40 +00:00

12 lines
1.1 KiB
Diff

--- a/snmplib/read_config.c 2014-12-08 14:23:22.000000000 -0600
+++ b/snmplib/read_config.c 2017-03-30 12:21:16.351042803 -0500
@@ -1642,7 +1642,7 @@
* save a warning header to the top of the new file
*/
snprintf(fileold, sizeof(fileold),
- "%s%s# Please save normal configuration tokens for %s in SNMPCONFPATH/%s.conf.\n# Only \"createUser\" tokens should be placed here by %s administrators.\n%s",
+ "%s%s# Please save normal configuration tokens for %s in /storage/.kodi/userdata/addon_data/service.net-snmp/share/snmp/%s.conf.\n# Only \"createUser\" tokens should be placed here by %s administrators.\n%s",
"#\n# net-snmp (or ucd-snmp) persistent data file.\n#\n############################################################################\n# STOP STOP STOP STOP STOP STOP STOP STOP STOP \n",
"#\n# **** DO NOT EDIT THIS FILE ****\n#\n# STOP STOP STOP STOP STOP STOP STOP STOP STOP \n############################################################################\n#\n# DO NOT STORE CONFIGURATION ENTRIES HERE.\n",
type, type, type,