maradns is upstream

This commit is contained in:
Micha Glave 2012-04-12 09:33:54 +02:00
parent 8da4e59ccc
commit e732d30474
5 changed files with 0 additions and 143 deletions

View File

@ -1,5 +0,0 @@
AUX maradns.rc6 566 RMD160 38793b954ebdcc03fac9f4116255c52a2dc82e9f SHA1 2dc8823fa74a5d1c900275fbd13b4bcaea85aee4 SHA256 e6c3e2e1ea3b7ce164c8501bfa524cf572d42451bd56e193b3a4038ccaf73008
AUX zoneserver.rc6 516 RMD160 b174116573ccf04ed74d93108169cd1c47258b6e SHA1 f11383b47eca3845cc5372df62aff590d4d0fe11 SHA256 2e35a8a85ab75a386b986da8bfafd3769814b1a032d10ccb3963e1ad22751b8c
DIST maradns-2.0.04.tar.bz2 1012201 RMD160 7c298055dced59cf3cd4f28b2085a868a0acaf88 SHA1 ab84bdd260aa9a94492bbba20099e9d88ffe39c3 SHA256 07c689566a6b0815403f32b7c11e8fa328cf8e507829b26d1ea47c1a8059a61b
EBUILD maradns-2.0.04.ebuild 2316 RMD160 69a248f4489fe07af99611a50db29705f98826a0 SHA1 31f61eb3061bb3c2d2705095cef335820d8b638d SHA256 3e2381e7198552f2f00fc9f02a6487bbd1063c9746335e5b564c95022b205ef4
MISC metadata.xml 316 RMD160 119799ab0c38870ffcc68ba65248fb0352f84dcc SHA1 4d53ecab3f4237e799ba1c44baaa097fcb86671f SHA256 34db6861bf8f606b478bff87cdaf6b0375e5aaf6a743d7039c95be653931c252

View File

@ -1,23 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/files/maradns.rc6,v 1.5 2010/07/29 00:16:04 matsuu Exp $
depend() {
need net
provide dns
}
start() {
ebegin "Starting maradns"
start-stop-daemon --start --quiet --name maradns \
--exec /usr/bin/duende --pid=/var/run/maradns.pid /usr/sbin/maradns
eend $?
}
stop() {
ebegin "Stopping maradns"
start-stop-daemon --stop --quiet --name maradns \
--exec /usr/sbin/duende
eend $?
}

View File

@ -1,21 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/files/zoneserver.rc6,v 1.3 2008/01/06 03:10:37 matsuu Exp $
depend() {
need net
}
start() {
ebegin "Starting zoneserver"
start-stop-daemon --start --quiet --name zoneserver \
--exec /usr/bin/duende /usr/sbin/zoneserver
eend $?
}
stop() {
ebegin "Stopping zoneserver"
start-stop-daemon --stop --quiet --name zoneserver
eend $?
}

View File

@ -1,83 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/Attic/maradns-2.0.01.ebuild,v 1.1 2011/01/24 13:22:58 matsuu Exp $
EAPI="3"
inherit eutils toolchain-funcs
DESCRIPTION="Proxy DNS server with permanent caching"
HOMEPAGE="http://www.maradns.org/"
SRC_URI="http://www.maradns.org/download/${PV%.*}/${PV}/${P}.tar.bz2"
DEADWOOD="deadwood-3.0.05"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="ipv6"
DEPEND="dev-lang/perl"
src_prepare() {
sed -i \
-e "s:PREFIX/man:PREFIX/share/man:" \
-e "s:PREFIX/doc/maradns-\$VERSION:PREFIX/share/doc/${PF}:" \
build/install.locations || die
sed -i \
-e "s:make:\$(MAKE):g" \
-e "s:\$(CC):$(tc-getCC):g" \
build/Makefile.linux || die
sed -i -e "s:duende.c:duende-ng.c:g" tools/Makefile* || die
sed -e "/provide dns/d" "${FILESDIR}/maradns.rc6" > "${T}/maradns.rc6" || die
sed -e "s:maradns:Deadwood:g" "${FILESDIR}/maradns.rc6" > "${T}/deadwood.rc6" || die
sed -i \
-e "s:/etc/deadwood:/var/cache/deadwood:g" \
${DEADWOOD}/doc/dwood3rc || die
}
src_configure() {
local myconf
use ipv6 && myconf="${myconf} --ipv6"
cd utf8 && make || die
cd ${S}
./configure ${myconf} || die
}
src_install() {
dosbin server/maradns || die
dosbin tcp/zoneserver || die
dobin tcp/getzone tcp/fetchzone tools/askmara tools/askmara-tcp tools/duende \
tools/bind2csv2.py || die
doman doc/en/man/*.[1-9] || die
dodoc maradns.gpg.key || die
dodoc 0QuickStart || die
dodoc doc/en/*.txt || die
docinto examples; dodoc doc/en/examples/example_* || die
insinto /etc; newins doc/en/examples/example_mararc mararc || die
insinto /etc/maradns; newins doc/en/examples/example_csv2 db.example.net || die
# DEADWOOD install
dosbin ${DEADWOOD}/src/Deadwood || die
doman ${DEADWOOD}/doc/Deadwood.1 || die
diropts -m775 -o maradns -g maradns
keepdir /var/cache/deadwood || die
keepdir /etc/maradns/logger || die
insinto /etc; newins ${DEADWOOD}/doc/dwood3rc dwood3rc || die
newinitd "${T}"/deadwood.rc6 deadwood || die
newinitd "${T}"/maradns.rc6 maradns || die
newinitd "${FILESDIR}"/zoneserver.rc6 zoneserver || die
}
pkg_setup() {
enewgroup maradns 99
enewuser duende 66 -1 -1 maradns
enewuser maradns 99 -1 -1 maradns
}

View File

@ -1,11 +0,0 @@
<?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>
<use>
<flag name='authonly'>Allows one to build only authoritative DNS server</flag>
</use>
</pkgmetadata>