---
name: dnsmasq
version: 2.66,1
origin: dns/dnsmasq
comment: Lightweight DNS forwarder, DHCP, and TFTP server
arch: freebsd:9:x86:64
www: http://www.thekelleys.org.uk/dnsmasq/doc.html
maintainer: mandree@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- GPLv2
flatsize: 748121
desc: "Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server.
  It\nis designed to provide DNS and, optionally, DHCP, to a small network. It can\nserve
  the names of local machines which are not in the global DNS. The DHCP\nserver integrates
  with the DNS server and allows machines with DHCP-allocated\naddresses to appear
  in the DNS with names configured either in each host or in\na central configuration
  file. Dnsmasq supports static and dynamic DHCP leases\nand BOOTP/TFTP/PXE for network
  booting of diskless machines.\n\nDnsmasq is targeted at home networks using NAT
  and connected to the internet\nvia a modem, cable-modem or ADSL connection but would
  be a good choice for any\nsmallish network (up to 1000 clients is known to work)
  where low resource use\nand ease of configuration are important. \t\t\t-- Simon
  Kelley\n\nWWW: http://www.thekelleys.org.uk/dnsmasq/doc.html\n"
deps:
  libidn: {origin: dns/libidn, version: 1.27}
  gettext: {origin: devel/gettext, version: 0.18.3}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- ipv6
- dns
shlibs_required:
- libidn.so.17
- libintl.so.9
options: {NLS: on, LUA: off, IPV6: on, IDN: off, DBUS: off}
files:
  /usr/local/etc/dnsmasq.conf.example: 22e44dd69ce1c36d88a3f131da44c37f1f261173670870faf7ede96a1b8b64d0
  /usr/local/etc/rc.d/dnsmasq: 5e10425846d1cfdf8862a67836dc954e9b451a0fa4b4b0f2cfc5db330344e398
  /usr/local/man/man8/dnsmasq.8.gz: 134e6dda5a5b106b1f9cd40e3627fa84eeaf5484476520e0a49da2a0ea20546e
  /usr/local/sbin/dnsmasq: 69b2a85af98a7f9eda655144c62a6d3805bd33eca1c1740096f7a67523f040d7
  /usr/local/share/doc/dnsmasq/CHANGELOG: ba254cef77ec55b1b1a9339d36dc65432c6c37cbe39d79d6092e3974ef37c813
  /usr/local/share/doc/dnsmasq/CHANGELOG.archive: 95945be28afaf1ed1f707520983999bc61cf68083dcb14970c899aff2e43a747
  /usr/local/share/doc/dnsmasq/FAQ: 29a1cd3af8427bf77416d6f0a83f09022ea36e846e3edb92bcc8e75f6ee7de9a
  /usr/local/share/doc/dnsmasq/doc.html: 2541e730cfa097400a134dd2dfccf15eae0ca2fb7302bc56926259f474cece9b
  /usr/local/share/doc/dnsmasq/setup.html: d95a82baf2d56ae9de4f38595c6f729e981fafd32bc3332071ab7917ccdd6469
  /usr/local/share/examples/dnsmasq/dnslist/dhcp.css: 2777e4eeb3440bd834286c258bba713905fcaf3eaf38f86a646be53f6f62e1df
  /usr/local/share/examples/dnsmasq/dnslist/dnslist.pl: 525ba862047b58c71c645ad3b9af10e54dbdbc2f75292c4dc08470b219a0a6b7
  /usr/local/share/examples/dnsmasq/dnslist/dnslist.tt2: 2f7c3bfb9c73d182acd7d8751c9c3fc1926db100f22dae0d0f71c98de090c78f
  /usr/local/share/examples/dnsmasq/dynamic-dnsmasq/dynamic-dnsmasq.pl: ed0ec432aeda33fbbab97b82b9d4eae3a1ded3710243beab2f344c6ca588949b
  /usr/local/share/licenses/dnsmasq-2.66,1/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/dnsmasq-2.66,1/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/dnsmasq-2.66,1/catalog.mk: 70b0b6dc386e32827e665fda90010deced028d8d097ee33d3e7c35e17b16685b
  /usr/local/share/locale/de/LC_MESSAGES/dnsmasq.mo: f1a0c755902840136d44c7df0306a7c64ed2ea5af060559ab698071f38bfa992
  /usr/local/share/locale/es/LC_MESSAGES/dnsmasq.mo: a801c032e0500873704f4f167eb7893a1d77f3a2df1b234c74102cb2860a798f
  /usr/local/share/locale/fi/LC_MESSAGES/dnsmasq.mo: 00069690ab41668ce8c4a181cd0a37a0f147fde7153122bfbe345d97f547b3b9
  /usr/local/share/locale/fr/LC_MESSAGES/dnsmasq.mo: d3d9cc659326649d65da645b31a4e867105c6e24065936c3dd01e8059cb2bb1e
  /usr/local/share/locale/id/LC_MESSAGES/dnsmasq.mo: a341c620d0179cbbffdddea7ce5153285601cc917d816872b9cf094aade5379c
  /usr/local/share/locale/it/LC_MESSAGES/dnsmasq.mo: 724ebeaac3e07af73f8b2524a5a7da26655bb301815ab3e6bacd85fa27bc6ed4
  /usr/local/share/locale/no/LC_MESSAGES/dnsmasq.mo: b2566243b1e54e61440ff8ac1a613d074df9db0bb272c9196c8e59ad6e3aee6b
  /usr/local/share/locale/pl/LC_MESSAGES/dnsmasq.mo: a2577b52bb0fd5899e5b3e78be49d4cbd942a905537019f1700e58bf6f9271eb
  /usr/local/share/locale/pt_BR/LC_MESSAGES/dnsmasq.mo: 42653bd3dca9915686ccc054c06d9716a83fac785c0e67dae23673bb4b15413f
  /usr/local/share/locale/ro/LC_MESSAGES/dnsmasq.mo: fb008fc73849cd1615e2f3902f8e108bbd102c46e2b802b559114372c6c0cec1
directories:
  /usr/local/share/licenses/dnsmasq-2.66,1/: n
  /usr/local/share/licenses/: y
  /usr/local/share/examples/dnsmasq/dynamic-dnsmasq/: n
  /usr/local/share/examples/dnsmasq/dnslist/: n
  /usr/local/share/examples/dnsmasq/: n
  /usr/local/share/doc/dnsmasq/: n
scripts:
  post-install: |
    if [ ! -f /usr/local/etc/dnsmasq.conf ]; then cp -p /usr/local/sbin/dnsmasq /usr/local/sbin/dnsmasq.conf; fi
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/dnsmasq.conf /usr/local/etc/dnsmasq.conf.example ; then rm -f /usr/local/etc/dnsmasq.conf ; fi
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
message: |2+

  *** To enable dnsmasq, edit /usr/local/etc/dnsmasq.conf and
  *** set dnsmasq_enable="YES" in /etc/rc.conf[.local]
  ***
  *** Further options and actions are documented inside
  *** /usr/local/etc/rc.d/dnsmasq

