Update to adsuck-2.3.
from Gonzalo L. R. (maintainer) with some tweaks.
This commit is contained in:
parent
52428be03a
commit
442a17a38c
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2011/03/18 13:13:59 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2011/04/18 16:36:59 ajacoutot Exp $
|
||||
|
||||
COMMENT= DNS relay for ad blocking
|
||||
|
||||
DISTNAME= adsuck-2.2
|
||||
DISTNAME= adsuck-2.3
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://opensource.conformal.com/wiki/Adsuck
|
||||
@ -34,7 +34,7 @@ post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/adsuck
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/adsuck
|
||||
${INSTALL_DATA} ${WRKSRC}/files/README ${PREFIX}/share/doc/adsuck
|
||||
${INSTALL_DATA} ${WRKSRC}/dhclient-adsuck ${PREFIX}/sbin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/dhclient-adsuck ${PREFIX}/sbin
|
||||
.for _f in ${_files}
|
||||
${INSTALL_DATA} ${WRKSRC}/files/${_f} ${PREFIX}/share/examples/adsuck
|
||||
.endfor
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (adsuck-2.2.tgz) = sjUrhkZ5UI9K2j+Co7+R7Q==
|
||||
RMD160 (adsuck-2.2.tgz) = Y45fUSjFIKdyPOv8o0R5VabMfmg=
|
||||
SHA1 (adsuck-2.2.tgz) = gZ0KuXWr0b9GpZOElh58S+hAM68=
|
||||
SHA256 (adsuck-2.2.tgz) = tBTm7xiSlHn9hcisRwu8ymSgaZAWlP5EnOTsw4iYhjs=
|
||||
SIZE (adsuck-2.2.tgz) = 2740496
|
||||
MD5 (adsuck-2.3.tgz) = PdwRWYq345elVVz2WeZKCQ==
|
||||
RMD160 (adsuck-2.3.tgz) = xToZg4RsUOtsgOg+YG0zMSA8Rt0=
|
||||
SHA1 (adsuck-2.3.tgz) = dM6Ttz9neiJ8WFqtihmQp7vFdRE=
|
||||
SHA256 (adsuck-2.3.tgz) = ZoNn7xfrSldFt6+OjuNZztIT1d7cgsJzvnEUQL2Wqe0=
|
||||
SIZE (adsuck-2.3.tgz) = 2320307
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: README,v 1.2 2011/03/18 13:13:59 ajacoutot Exp $
|
||||
$OpenBSD: README,v 1.3 2011/04/18 16:36:59 ajacoutot Exp $
|
||||
|
||||
Running adsuck on OpenBSD
|
||||
=========================
|
||||
@ -15,6 +15,9 @@ 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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user