diff options
author | minskim <minskim@pkgsrc.org> | 2005-10-18 04:41:59 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-10-18 04:41:59 +0000 |
commit | cca9b4b7d6522814812f42d7ffcaf8bb5b1c1fac (patch) | |
tree | 6b88e3d8230b9d69364fed65d30f68581376806f /net/dnsmasq | |
parent | 69ecdeea3a44d37a20236fdabb5a7fcd561ce2be (diff) | |
download | pkgsrc-cca9b4b7d6522814812f42d7ffcaf8bb5b1c1fac.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')
-rw-r--r-- | net/dnsmasq/DESCR | 8 | ||||
-rw-r--r-- | net/dnsmasq/Makefile | 23 | ||||
-rw-r--r-- | net/dnsmasq/PLIST | 6 | ||||
-rw-r--r-- | net/dnsmasq/distinfo | 5 | ||||
-rw-r--r-- | net/dnsmasq/files/dnsmasq.sh | 17 |
5 files changed, 59 insertions, 0 deletions
diff --git a/net/dnsmasq/DESCR b/net/dnsmasq/DESCR new file mode 100644 index 00000000000..71e855545ca --- /dev/null +++ b/net/dnsmasq/DESCR @@ -0,0 +1,8 @@ +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. 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" diff --git a/net/dnsmasq/PLIST b/net/dnsmasq/PLIST new file mode 100644 index 00000000000..ddb72ad935a --- /dev/null +++ b/net/dnsmasq/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/18 04:41:59 minskim Exp $ +man/man8/dnsmasq.8 +sbin/dnsmasq +share/examples/dnsmasq/dnsmasq.conf.example +share/examples/rc.d/dnsmasq +@dirrm share/examples/dnsmasq diff --git a/net/dnsmasq/distinfo b/net/dnsmasq/distinfo new file mode 100644 index 00000000000..a54bfdd396e --- /dev/null +++ b/net/dnsmasq/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/18 04:41:59 minskim Exp $ + +SHA1 (dnsmasq-2.23.tar.gz) = 6ddeaaa9b7a457d65c8d02980a69ccbd08925acc +RMD160 (dnsmasq-2.23.tar.gz) = 3ba342790e1912828a5bb389abfa4679e4d93c2c +Size (dnsmasq-2.23.tar.gz) = 159102 bytes diff --git a/net/dnsmasq/files/dnsmasq.sh b/net/dnsmasq/files/dnsmasq.sh new file mode 100644 index 00000000000..81558399c12 --- /dev/null +++ b/net/dnsmasq/files/dnsmasq.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $NetBSD: dnsmasq.sh,v 1.1.1.1 2005/10/18 04:41:59 minskim Exp $ +# + +# PROVIDE: dnsmasq +# REQUIRE: DAEMON SERVERS + +. /etc/rc.subr + +name="dnsmasq" +rcvar=$name +command="@PREFIX@/sbin/${name}" +pidfile="/var/run/${name}.pid" + +load_rc_config $name +run_rc_command "$1" |