1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Lakka-rk322x/packages/addons/service/net-snmp/patches/net-snmp-0002-net-snmp-create-v3-user.in.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

16 lines
581 B
Diff

--- net-snmp-5.9/net-snmp-create-v3-user.in 2020-08-14 21:41:47.000000000 +0000
+++ net-snmp-5.9/net-snmp-create-v3-user.in 2021-01-14 07:04:26.196982169 +0000
@@ -5,10 +5,8 @@
# this shell script is designed to add new SNMPv3 users
# to Net-SNMP config file.
-if @PSCMD@ | egrep ' snmpd *$' > /dev/null 2>&1 ; then
- echo "Apparently at least one snmpd demon is already running."
- echo "You must stop them in order to use this command."
- exit 1
+if @PSCMD@ | egrep 'snmpd'> /dev/null 2>&1 ; then
+ systemctl stop service.net-snmp.service
fi
Aalgorithm="MD5"