---
name: adsuck
version: 2.3_1
origin: dns/adsuck
comment: DNS relay for ad blocking
arch: freebsd:9:x86:64
www: http://opensource.conformal.com/wiki/Adsuck
maintainer: phil@philpep.org
prefix: /usr/local
licenselogic: single
licenses:
- BSD
flatsize: 11949872
desc: |
  adsuck is a DNS relay that returns NXdomain for hosts that match names in a
  blacklist for quick and non browser plugin based ad blocking.

  WWW: http://opensource.conformal.com/wiki/Adsuck
deps:
  ldns: {origin: dns/ldns, version: 1.6.16_1}
  libevent: {origin: devel/libevent, version: 1.4.14b_2}
categories:
- dns
users:
- _adsuck
groups:
- _adsuck
shlibs_required:
- libldns.so.1
- libevent-1.4.so.4
message: |2+


  Quick way to use adsuck chrooted in /var/adsuck

  mkdir /var/adsuck
  cp /usr/local/share/examples/adsuck/* /var/adsuck

  # Adsuck forward to your old dns server
  cp /etc/resolv.conf /var/adsuck

  # Enable and start adsuck
  echo adsuck_enable=\"YES\" >> /etc/rc.conf
  /usr/local/etc/rc.d/adsuck start

  # Use adsuck as dns server
  echo "nameserver 127.0.0.1" > /etc/resolv.conf

  If you're using DHCP consider configuring your dhclient.conf(5) to prevent
  resolv.conf updates.


