From: Stefan Schantl Date: Sat, 18 Mar 2023 20:30:41 +0000 (+0100) Subject: net-snmp: Do not create /var/run anymore X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe5c2860c0ec96070172d0d12dc000afcb70a61d;p=ipfire-3.x.git net-snmp: Do not create /var/run anymore Signed-off-by: Stefan Schantl --- diff --git a/net-snmp/net-snmp.nm b/net-snmp/net-snmp.nm index 1bcc538ac..26e905313 100644 --- a/net-snmp/net-snmp.nm +++ b/net-snmp/net-snmp.nm @@ -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.