]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
squid: Drop /var/run
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Mar 2023 13:39:26 +0000 (14:39 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:40 +0000 (18:25 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
squid/squid.nm

index eca35788fc2f0329baf32356bf6e6a79bdf7d7d9..053c05543c69bdf49b886b7fc866735687d4e2f0 100644 (file)
@@ -7,7 +7,7 @@ name       = squid
 major_ver  = 5
 minor_ver  = 7
 version    = %{major_ver}.%{minor_ver}
-release    = 1.2
+release    = 2
 
 groups     = Networking/Daemons
 url        = https://www.squid-cache.org/
@@ -106,6 +106,9 @@ build
                cp -vf %{DIR_SOURCE}/cache_swap.sh %{BUILDROOT}/usr/lib/squid/
                chmod 755 %{BUILDROOT}/usr/lib/squid/cache_swap.sh
                chown -Rv squid:squid %{BUILDROOT}/usr/lib/squid/cache_swap.sh
+
+               # Drop /var/run
+               rm -rvf %{BUILDROOT}%{localstatedir}/run
        end
 end