openbsd-ports/net/adsuck/pkg
naddy dbfd750590 Cope with bsd.man.mk changes and install source man pages.
While here, also update some PLISTs, fix PREFIX use, etc.
ok landry@
2011-06-23 22:50:26 +00:00
..
adsuck.rc Update to adsuck-2.2. 2011-03-18 13:13:59 +00:00
DESCR Cleanup from brad via a ajacoutot 2010-08-31 20:53:57 +00:00
PLIST Cope with bsd.man.mk changes and install source man pages. 2011-06-23 22:50:26 +00:00
README Add a consistent header that substitutes FULLPKGNAME for the READMEs. 2011-06-02 13:41:36 +00:00

$OpenBSD: README,v 1.4 2011/06/02 13:41:39 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} 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(5), 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