Dominique Leuenberger 2023-05-16 12:15:54 +00:00 committed by Git OBS Bridge
commit a543d4ad0b
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: