Files
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00

25 lines
1.2 KiB
Plaintext

@conflict dnscrypt-proxy-plugins-*
@pkgpath net/dnscrypt-proxy,-main
@pkgpath net/dnscrypt-proxy,-utils
@newgroup _dnscrypt-proxy:688
@newuser _dnscrypt-proxy:688:_dnscrypt-proxy::dnscrypt-proxy user:/var/empty:/sbin/nologin
@rcscript ${RCDIR}/dnscrypt_proxy
@extraunexec rm -rf /var/dnscrypt-proxy/*
@bin bin/dnscrypt-proxy
share/doc/pkg-readmes/${PKGSTEM}
share/examples/dnscrypt-proxy/
share/examples/dnscrypt-proxy/example-allowed-ips.txt
share/examples/dnscrypt-proxy/example-allowed-names.txt
share/examples/dnscrypt-proxy/example-blocked-ips.txt
share/examples/dnscrypt-proxy/example-blocked-names.txt
share/examples/dnscrypt-proxy/example-captive-portals.txt
share/examples/dnscrypt-proxy/example-cloaking-rules.txt
share/examples/dnscrypt-proxy/example-dnscrypt-proxy.toml
@sample ${SYSCONFDIR}/dnscrypt-proxy.toml
share/examples/dnscrypt-proxy/example-forwarding-rules.txt
@owner _dnscrypt-proxy
@group _dnscrypt-proxy
@sample ${LOCALSTATEDIR}/dnscrypt-proxy/
@comment fix owner for upgrades since privsep downloaded cache files in 2.0.43
@exec-update [[ $(stat -f '%u:%g' ${LOCALSTATEDIR}/dnscrypt-proxy/public-resolvers.md 2>/dev/null) != 688:688 ]] && chown -R _dnscrypt-proxy:_dnscrypt-proxy ${LOCALSTATEDIR}/dnscrypt-proxy || true