mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
3db34ff5cb
This port is based on dns/dnsmasq 2.62_1,1 and has been updated to 2.63rc2. Description (by Simon Kelley, the upstream maintainer): Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and, optionally, DHCP, to a small network. It can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file. Dnsmasq supports static and dynamic DHCP leases and BOOTP/TFTP/PXE for network booting of diskless machines.
22 lines
929 B
Plaintext
22 lines
929 B
Plaintext
sbin/dnsmasq
|
|
@exec if [ ! -f %D/etc/dnsmasq.conf ]; then cp -p %D/%F %B/dnsmasq.conf; fi
|
|
@unexec if cmp -s %D/etc/dnsmasq.conf %D/etc/dnsmasq.conf.example ; then rm -f %D/etc/dnsmasq.conf ; fi
|
|
etc/dnsmasq.conf.example
|
|
%%EXAMPLESDIR%%/dnslist/dhcp.css
|
|
%%EXAMPLESDIR%%/dnslist/dnslist.pl
|
|
%%EXAMPLESDIR%%/dnslist/dnslist.tt2
|
|
%%EXAMPLESDIR%%/dynamic-dnsmasq/dynamic-dnsmasq.pl
|
|
@dirrm %%EXAMPLESDIR%%/dnslist
|
|
@dirrm %%EXAMPLESDIR%%/dynamic-dnsmasq
|
|
@dirrm %%EXAMPLESDIR%%
|
|
%%NLS%%share/locale/de/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/es/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/fi/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/fr/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/id/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/it/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/no/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/pl/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/pt_BR/LC_MESSAGES/dnsmasq.mo
|
|
%%NLS%%share/locale/ro/LC_MESSAGES/dnsmasq.mo
|