Blame SOURCES/net-snmp-5.5-dir-fix.patch

b5ae06
Let net-snmp-create-v3-user save settings into /etc/ instead of /usr/
b5ae06
b5ae06
diff -up net-snmp-5.5/net-snmp-create-v3-user.in.orig net-snmp-5.5/net-snmp-create-v3-user.in
b5ae06
--- net-snmp-5.5/net-snmp-create-v3-user.in.orig	2008-07-22 16:33:25.000000000 +0200
b5ae06
+++ net-snmp-5.5/net-snmp-create-v3-user.in	2009-09-29 16:30:36.000000000 +0200
b5ae06
@@ -158,7 +158,7 @@ if test ! -d $outfile ; then
b5ae06
     touch $outfile
b5ae06
 fi
b5ae06
 echo $line >> $outfile
b5ae06
-outfile="@datadir@/snmp/snmpd.conf"
b5ae06
+outfile="/etc/snmp/snmpd.conf"
b5ae06
 line="$token $user"
b5ae06
 echo "adding the following line to $outfile:"
b5ae06
 echo "  " $line