]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
net-snmp: Do not create /var/run anymore
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 18 Mar 2023 20:30:41 +0000 (21:30 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:39 +0000 (18:25 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
net-snmp/net-snmp.nm

index 1bcc538ac121d8987f4c6a431ca61d3dda52ad1b..26e90531393d38a8f02c2bf555a86a416f91957a 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = net-snmp
 version    = 5.9.3
-release    = 2
+release    = 3
 
 groups     = Networking/Daemons
 url        = http://net-snmp.sourceforge.net
@@ -93,8 +93,8 @@ build
                install -v -m644 %{DIR_SOURCE}/snmptrapd.conf \
                        %{BUILDROOT}%{sysconfdir}/snmp/snmptrapd.conf
 
-               # Prepare runtime directories.
-               mkdir -pv %{BUILDROOT}%{localstatedir}/{lib,run}/net-snmp
+               # Prepare runtime directory
+               mkdir -pv %{BUILDROOT}%{sharedstatedir}/net-snmp
 
                # Remove scripts in /bin which requires the SNMP
                # perl bindings.