diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2004-06-23 03:44:01 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2004-06-23 03:44:01 +0000 |
commit | e65e646ba69406b3a5a08a6a6be658ffa65b58e2 (patch) | |
tree | c42323e6d0517203cb0ee39a79d71ac093afc7d2 /net-dns | |
parent | Marked stable on x86 (Manifest recommit) (diff) | |
download | gentoo-2-e65e646ba69406b3a5a08a6a6be658ffa65b58e2.tar.gz gentoo-2-e65e646ba69406b3a5a08a6a6be658ffa65b58e2.tar.bz2 gentoo-2-e65e646ba69406b3a5a08a6a6be658ffa65b58e2.zip |
Initial import.
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/maradns/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/maradns/Manifest | 3 | ||||
-rw-r--r-- | net-dns/maradns/files/digest-maradns-1.0.23 | 1 | ||||
-rw-r--r-- | net-dns/maradns/files/maradns.rc6 | 22 | ||||
-rw-r--r-- | net-dns/maradns/maradns-1.0.23.ebuild | 49 | ||||
-rw-r--r-- | net-dns/maradns/metadata.xml | 8 |
6 files changed, 92 insertions, 0 deletions
diff --git a/net-dns/maradns/ChangeLog b/net-dns/maradns/ChangeLog new file mode 100644 index 000000000000..3bb518b79a0f --- /dev/null +++ b/net-dns/maradns/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-dns/maradns +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.1 2004/06/23 03:44:01 matsuu Exp $ + +*maradns-1.0.23 (23 Jun 2004) + + 23 Jun 2004; <matsuu@gentoo.org> +maradns-1.0.23.ebuild: + Initial import. Bug #54559. + diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest new file mode 100644 index 000000000000..e17d8c96752e --- /dev/null +++ b/net-dns/maradns/Manifest @@ -0,0 +1,3 @@ +MD5 d6609a309a82d1a83f8a942ebcd6e465 maradns-1.0.23.ebuild 1163 +MD5 6633cd1a232beec61b9260eb6e775dc7 files/digest-maradns-1.0.23 67 +MD5 dd6617665ebf4efbab70355f6d32de2e files/maradns.rc6 446 diff --git a/net-dns/maradns/files/digest-maradns-1.0.23 b/net-dns/maradns/files/digest-maradns-1.0.23 new file mode 100644 index 000000000000..ff0e2ec54bf6 --- /dev/null +++ b/net-dns/maradns/files/digest-maradns-1.0.23 @@ -0,0 +1 @@ +MD5 666f04f72b5eef6411304e55618d53e6 maradns-1.0.23.tar.bz2 433164 diff --git a/net-dns/maradns/files/maradns.rc6 b/net-dns/maradns/files/maradns.rc6 new file mode 100644 index 000000000000..7ab222a688dc --- /dev/null +++ b/net-dns/maradns/files/maradns.rc6 @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/files/maradns.rc6,v 1.1 2004/06/23 03:44:01 matsuu Exp $ + +depend() { + need net + provide dns +} + +start() { + ebegin "Starting maradns" + start-stop-daemon --start --quiet -b -m --pidfile /var/run/maradns.pid \ + --exec /usr/sbin/maradns + eend $? +} + +stop() { + ebegin "Stopping maradns" + start-stop-daemon --stop --quiet --pidfile /var/run/maradns.pid + eend $? +} diff --git a/net-dns/maradns/maradns-1.0.23.ebuild b/net-dns/maradns/maradns-1.0.23.ebuild new file mode 100644 index 000000000000..2b65e26131f3 --- /dev/null +++ b/net-dns/maradns/maradns-1.0.23.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/maradns-1.0.23.ebuild,v 1.1 2004/06/23 03:44:01 matsuu Exp $ + +DESCRIPTION="Proxy DNS server with permanent caching" +HOMEPAGE="http://www.maradns.org" +SRC_URI="http://www.maradns.org/download/${P}.tar.bz2" + +SLOT="0" +LICENSE="public-domain" +KEYWORDS="~x86 ~amd64 ~sparc" +IUSE="" + +DEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e "s:PREFIX/man:PREFIX/share/man:" \ + -e "s:PREFIX/doc/maradns-\$VERSION:PREFIX/share/doc/${PF}:" \ + build/install.locations || die +} + +src_compile() { + econf || die + emake FLAGS="${CFLAGS}" || die "compile problem" +} + +src_install() { + dodir /usr/{bin,sbin} + dodir /usr/share/man/man{1,5,8} + dodir /etc + + make \ + TOPLEVEL=${S} \ + BUILDDIR=${S}/build \ + RPM_BUILD_ROOT=${D} \ + PREFIX=${D}/usr \ + MAN1=${D}/usr/share/man/man1 \ + MAN5=${D}/usr/share/man/man5 \ + MAN8=${D}/usr/share/man/man8 \ + install || die + + exeinto /etc/init.d/; newexe ${FILESDIR}/maradns.rc6 maradns +} + +pkg_postinst() { + enewuser maradns 99 /bin/false /var/empty daemon +} diff --git a/net-dns/maradns/metadata.xml b/net-dns/maradns/metadata.xml new file mode 100644 index 000000000000..70313d27d4f6 --- /dev/null +++ b/net-dns/maradns/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>matsuu@gentoo.org</email> +</maintainer> +</pkgmetadata> |