summaryrefslogtreecommitdiff
path: root/source/n/net-snmp/net-snmp-5.8-dir-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/net-snmp/net-snmp-5.8-dir-fix.patch')
-rw-r--r--source/n/net-snmp/net-snmp-5.8-dir-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/n/net-snmp/net-snmp-5.8-dir-fix.patch b/source/n/net-snmp/net-snmp-5.8-dir-fix.patch
new file mode 100644
index 00000000..2c47d524
--- /dev/null
+++ b/source/n/net-snmp/net-snmp-5.8-dir-fix.patch
@@ -0,0 +1,12 @@
+diff -urNp a/net-snmp-create-v3-user.in b/net-snmp-create-v3-user.in
+--- a/net-snmp-create-v3-user.in 2018-07-18 11:11:53.227015237 +0200
++++ b/net-snmp-create-v3-user.in 2018-07-18 11:12:13.375010176 +0200
+@@ -137,7 +137,7 @@ fi
+ echo $line >> $outfile
+ prefix="@prefix@"
+ datarootdir="@datarootdir@"
+-outfile="@datadir@/snmp/snmpd.conf"
++outfile="/etc/snmp/snmpd.conf"
+ line="$token $user"
+ echo "adding the following line to $outfile:"
+ echo " " $line