diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-06-06 19:18:49 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-06-06 19:18:49 +0000 |
commit | baab8a0d55af00eac1c5b6e03ffed262ccc223a9 (patch) | |
tree | 23d50b5e2c4892fa98064c973c792edcd6520724 /net-misc | |
parent | chase latest lcrzoex (diff) | |
download | gentoo-2-baab8a0d55af00eac1c5b6e03ffed262ccc223a9.tar.gz gentoo-2-baab8a0d55af00eac1c5b6e03ffed262ccc223a9.tar.bz2 gentoo-2-baab8a0d55af00eac1c5b6e03ffed262ccc223a9.zip |
and + close #2079
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dnsmasq/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/dnsmasq/dnsmasq-1.6.ebuild | 32 | ||||
-rw-r--r-- | net-misc/dnsmasq/files/digest-dnsmasq-1.6 | 1 | ||||
-rw-r--r-- | net-misc/dnsmasq/files/dnsmasq-init | 21 | ||||
-rw-r--r-- | net-misc/dnsmasq/files/dnsmasq.confd | 8 |
5 files changed, 69 insertions, 0 deletions
diff --git a/net-misc/dnsmasq/ChangeLog b/net-misc/dnsmasq/ChangeLog new file mode 100644 index 000000000000..6bc474f97813 --- /dev/null +++ b/net-misc/dnsmasq/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for net-misc/dnsmasq +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/net-misc/dnsmasq/ChangeLog,v 1.1 2002/06/06 19:18:49 woodchip Exp $ + +*dnsmasq-1.6 (6 Jun 2002) + 6 Jun 2002; Donny Davies <woodchip@gentoo.org> : + Based on a submission by bardur-gta@odense.kollegienet.dk; #2079. diff --git a/net-misc/dnsmasq/dnsmasq-1.6.ebuild b/net-misc/dnsmasq/dnsmasq-1.6.ebuild new file mode 100644 index 000000000000..c9f27bde220c --- /dev/null +++ b/net-misc/dnsmasq/dnsmasq-1.6.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/dnsmasq/dnsmasq-1.6.ebuild,v 1.1 2002/06/06 19:18:49 woodchip Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Proxy DNS server" +SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${P}.tar.gz" +HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/" +DEPEND="virtual/glibc" +LICENSE="GPL-2" +SLOT="0" + +src_unpack() { + unpack ${A} ; cd ${S} + cp Makefile Makefile.orig + sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile +} + +src_compile() { + emake || die +} + +src_install() { + dosbin dnsmasq + doman dnsmasq.8 + dodoc CHANGELOG COPYING FAQ + dohtml *.html + exeinto /etc/init.d + newexe ${FILESDIR}/dnsmasq-init dnsmasq + insinto /etc/conf.d + newins ${FILESDIR}/dnsmasq.confd dnsmasq +} diff --git a/net-misc/dnsmasq/files/digest-dnsmasq-1.6 b/net-misc/dnsmasq/files/digest-dnsmasq-1.6 new file mode 100644 index 000000000000..17cdbe61a13e --- /dev/null +++ b/net-misc/dnsmasq/files/digest-dnsmasq-1.6 @@ -0,0 +1 @@ +MD5 4b462d11b638ff755d262f27097a3a21 dnsmasq-1.6.tar.gz 40234 diff --git a/net-misc/dnsmasq/files/dnsmasq-init b/net-misc/dnsmasq/files/dnsmasq-init new file mode 100644 index 000000000000..c392e90ce5e6 --- /dev/null +++ b/net-misc/dnsmasq/files/dnsmasq-init @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/dnsmasq/files/dnsmasq-init,v 1.1 2002/06/06 19:18:49 woodchip Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting dnsmasq" + start-stop-daemon --start --quiet --exec /usr/sbin/dnsmasq \ + -- -x /var/run/dnsmasq.pid ${DNSMASQ_OPTS} + eend $? +} + +stop() { + ebegin "Stopping dnsmasq" + start-stop-daemon --stop --quiet --pidfile /var/run/dnsmasq.pid + eend $? +} diff --git a/net-misc/dnsmasq/files/dnsmasq.confd b/net-misc/dnsmasq/files/dnsmasq.confd new file mode 100644 index 000000000000..70edc330c122 --- /dev/null +++ b/net-misc/dnsmasq/files/dnsmasq.confd @@ -0,0 +1,8 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-misc/dnsmasq/files/dnsmasq.confd,v 1.1 2002/06/06 19:18:49 woodchip Exp $ + +# Config file for /etc/init.d/dnsmasq + +# See the dnsmasq(8) man page for possible options to put here. +DNSMASQ_OPTS="" |