SHA256
1
0
forked from pool/net-snmp
net-snmp/net-snmp-5.9.4-fix-create-v3-user-outfile.patch
Marcus Meissner 529de9b9f0 Accepting request 1118370 from home:abergmann:net-snmp-5.9.4:net-snmp-network-utilities
- Update to net-snmp-5.9.4 (bsc#1214364).
- Removing legacy MIBs used by Velocity Software (jira#PED-6416).
- Re-add support for hostname netgroups that was removed accidentally and
  previously added with FATE#316305 (bsc#1207697).
  '@hostgroup' can be specified for multiple hosts
- Hardening systemd services setting "ProtectHome=true" caused home directory
  size and allocation to be listed incorrectly (bsc#1206044).

OBS-URL: https://build.opensuse.org/request/show/1118370
OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=59
2023-10-19 08:41:14 +00:00

13 lines
583 B
Diff

diff -Nurp net-snmp-5.9.2-orig/net-snmp-create-v3-user.in net-snmp-5.9.2/net-snmp-create-v3-user.in
--- net-snmp-5.9.2-orig/net-snmp-create-v3-user.in 2022-07-04 16:55:43.067366177 +0200
+++ net-snmp-5.9.2/net-snmp-create-v3-user.in 2022-07-04 16:57:54.927367685 +0200
@@ -138,7 +138,7 @@ prefix=@prefix@
datarootdir=@datarootdir@
# To suppress shellcheck complaints about $prefix and $datarootdir.
: "$prefix" "$datarootdir"
-outfile="@datadir@/snmp/snmpd.conf"
+outfile="/etc/snmp/snmpd.conf"
line="$token $user"
echo "adding the following line to $outfile:"
echo " $line"