pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/dnsmasq Import dnsmasq from pkgsrc-wip. Packaged ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3522c4be358b
branches: trunk
changeset: 501168:3522c4be358b
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue Oct 18 04:41:59 2005 +0000
description:
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:
net/dnsmasq/DESCR | 8 ++++++++
net/dnsmasq/Makefile | 23 +++++++++++++++++++++++
net/dnsmasq/PLIST | 6 ++++++
net/dnsmasq/distinfo | 5 +++++
net/dnsmasq/files/dnsmasq.sh | 17 +++++++++++++++++
5 files changed, 59 insertions(+), 0 deletions(-)
diffs (79 lines):
diff -r 239db002342b -r 3522c4be358b net/dnsmasq/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnsmasq/DESCR Tue Oct 18 04:41:59 2005 +0000
@@ -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 -r 239db002342b -r 3522c4be358b net/dnsmasq/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnsmasq/Makefile Tue Oct 18 04:41:59 2005 +0000
@@ -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@localhost
+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 -r 239db002342b -r 3522c4be358b net/dnsmasq/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnsmasq/PLIST Tue Oct 18 04:41:59 2005 +0000
@@ -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 -r 239db002342b -r 3522c4be358b net/dnsmasq/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnsmasq/distinfo Tue Oct 18 04:41:59 2005 +0000
@@ -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 -r 239db002342b -r 3522c4be358b net/dnsmasq/files/dnsmasq.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnsmasq/files/dnsmasq.sh Tue Oct 18 04:41:59 2005 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index