Accepting request 1087003 from home:gmbr3:Active

- Correct rundir from /var/run to /run for pid file

OBS-URL: https://build.opensuse.org/request/show/1087003
OBS-URL: https://build.opensuse.org/package/show/network/dnsmasq?expand=0&rev=161
This commit is contained in:
Reinhard Max 2023-05-15 11:30:28 +00:00 committed by Git OBS Bridge
parent 5812a696e5
commit 4d358c4945
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 13 16:48:15 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
- Correct rundir from /var/run to /run for pid file
-------------------------------------------------------------------
Tue Apr 25 08:32:41 UTC 2023 - Reinhard Max <max@suse.com>

View File

@ -93,10 +93,11 @@ sed -i -e 's|lua5.2|lua%{lua_version}|' Makefile
sed -i -e 's|The default is "dip",|The default is "dnsmasq",|' \
man/dnsmasq.8
# SED-FIX-UPSTREAM -- Fix cachesize, group and user
# SED-FIX-UPSTREAM -- Fix cachesize, group , user and pid location
sed -i -e 's|CACHESIZ 150|CACHESIZ 2000|;
s|CHUSER "nobody"|CHUSER "dnsmasq"|;
s|CHGRP "dip"|CHGRP "dnsmasq"|' \
s|CHGRP "dip"|CHGRP "dnsmasq"|;
s|RUNFILE "/var/run/dnsmasq.pid"|RUNFILE "%{_rundir}/dnsmasq.pid"|' \
src/config.h
# Tweaks to the default configuration: