summaryrefslogtreecommitdiff
path: root/net/dnsmasq/Makefile
diff options
context:
space:
mode:
authorminskim <minskim>2005-10-18 04:41:59 +0000
committerminskim <minskim>2005-10-18 04:41:59 +0000
commit4ef908a71c7e89e0c06d9856927e8fa5def4b01b (patch)
tree6b88e3d8230b9d69364fed65d30f68581376806f /net/dnsmasq/Makefile
parent55dd49fe396e7a126c60fbeb22cd3ea15fb540db (diff)
downloadpkgsrc-4ef908a71c7e89e0c06d9856927e8fa5def4b01b.tar.gz
Import dnsmasq from pkgsrc-wip. Packaged by pancake and updated by
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.
Diffstat (limited to 'net/dnsmasq/Makefile')
-rw-r--r--net/dnsmasq/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/dnsmasq/Makefile b/net/dnsmasq/Makefile
new file mode 100644
index 00000000000..bfd7eb4c467
--- /dev/null
+++ b/net/dnsmasq/Makefile
@@ -0,0 +1,23 @@
+# $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"