cca9b4b7d6
dhowland. 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 for network booting of diskless machines.
23 lines
653 B
Makefile
23 lines
653 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2005/10/18 04:41:59 minskim Exp $
|
|
#
|
|
|
|
DISTNAME= dnsmasq-2.23
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
|
|
|
MAINTAINER= pancake@phreaker.net
|
|
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
|
|
COMMENT= Lightweight, easy to configure DNS forwarder
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_PKGINSTALL= yes
|
|
|
|
RCD_SCRIPTS= dnsmasq
|
|
CONF_FILES= ${PREFIX}/share/examples/dnsmasq/dnsmasq.conf.example \
|
|
${PKG_SYSCONFDIR}/dnsmasq.conf
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
|
|
${INSTALL} ${WRKSRC}/dnsmasq.conf.example \
|
|
${PREFIX}/share/examples/dnsmasq/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|