openbsd-ports/net/adsuck/pkg
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
..
adsuck.rc
DESCR
PLIST
README

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Running adsuck(1) locally with dhclient(8)
==========================================

To make dhclient(8) play nice with adsuck(1), the following script has
been installed:

    ${TRUEPREFIX}/sbin/dhclient-adsuck

Provided that adsuck(1) is installed and adsuck_flags is not set to "NO"
in rc.conf.local(8), this script will prevent from using
/etc/resolv.conf to resolve non-blacklisted entries but use
/var/adsuck/files/resolv.conf instead.
For a proper use you need to add this line to /etc/dhclient.conf:

    script "${PREFIX}/sbin/dhclient-adsuck";

Make sure that /etc/resolv.conf only contains:

    nameserver 127.0.0.1