maradns 2.0.02 added
This commit is contained in:
parent
032421f175
commit
a1d1a2d560
5
net-dns/maradns/Manifest
Normal file
5
net-dns/maradns/Manifest
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
AUX maradns.rc6 539 RMD160 8f6731a6c3612923a46d87c4e19e4a8ee9475d9d SHA1 d4aeb8403edb85b36119f93dd9a729401b347ec9 SHA256 860cd10e13a0dc2410c51a6b455103d73befe597de70d56fd0f24510046bce2f
|
||||||
|
AUX zoneserver.rc6 516 RMD160 b174116573ccf04ed74d93108169cd1c47258b6e SHA1 f11383b47eca3845cc5372df62aff590d4d0fe11 SHA256 2e35a8a85ab75a386b986da8bfafd3769814b1a032d10ccb3963e1ad22751b8c
|
||||||
|
DIST maradns-2.0.02.tar.bz2 940671 RMD160 75adc7cb8767c3638ee5aeebed70d430eb46a829 SHA1 a7194e8dc3db84deca6eb93bed5c5a517b551b95 SHA256 698c361f858232f421d7cda562604390a553b541fd8b67a300316c60ed8c1c27
|
||||||
|
EBUILD maradns-2.0.02.ebuild 2108 RMD160 604cc74d88ab50863a8c5bdf194053bafd143a1c SHA1 004e5a9f9c47727534865b9bbbcd6704da93905a SHA256 d0cda85068df376832732bd260f1473f0e5443c39d7955ef483ba1d8d3d5b5a5
|
||||||
|
MISC metadata.xml 316 RMD160 119799ab0c38870ffcc68ba65248fb0352f84dcc SHA1 4d53ecab3f4237e799ba1c44baaa097fcb86671f SHA256 34db6861bf8f606b478bff87cdaf6b0375e5aaf6a743d7039c95be653931c252
|
23
net-dns/maradns/files/maradns.rc6
Normal file
23
net-dns/maradns/files/maradns.rc6
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/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 /usr/sbin/maradns
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping maradns"
|
||||||
|
start-stop-daemon --stop --quiet --name maradns \
|
||||||
|
--exec /usr/sbin/duende
|
||||||
|
eend $?
|
||||||
|
}
|
21
net-dns/maradns/files/zoneserver.rc6
Normal file
21
net-dns/maradns/files/zoneserver.rc6
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/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 $?
|
||||||
|
}
|
76
net-dns/maradns/maradns-2.0.02.ebuild
Normal file
76
net-dns/maradns/maradns-2.0.02.ebuild
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
# 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.02"
|
||||||
|
|
||||||
|
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 -e "/provide dns/d" "${FILESDIR}/maradns.rc6" > "${T}/maradns.rc6" || die
|
||||||
|
sed -e "s:maradns:Deadwood:g" "${FILESDIR}/maradns.rc6" > "${T}/deadwood.rc6" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf
|
||||||
|
|
||||||
|
use ipv6 && myconf="${myconf} --ipv6"
|
||||||
|
|
||||||
|
./configure ${myconf} # || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dosbin server/maradns || die
|
||||||
|
|
||||||
|
dosbin tcp/zoneserver || die
|
||||||
|
|
||||||
|
dobin tcp/getzone tcp/fetchzone tools/askmara tools/duende || die
|
||||||
|
|
||||||
|
doman doc/en/man/*.[1-9] || die
|
||||||
|
|
||||||
|
dodoc maradns.gpg.key || die
|
||||||
|
dodoc doc/en/{QuickStart,README,*.txt} || die
|
||||||
|
dohtml doc/en/*.html || die
|
||||||
|
dohtml -r doc/en/webpage || 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
|
||||||
|
keepdir /etc/maradns/logger || die
|
||||||
|
|
||||||
|
# DEADWOOD install
|
||||||
|
dosbin ${DEADWOOD}/src/Deadwood || die
|
||||||
|
doman ${DEADWOOD}/doc/Deadwood.1 || die
|
||||||
|
|
||||||
|
keepdir /etc/deadwood || 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_postinst() {
|
||||||
|
enewgroup maradns 99
|
||||||
|
enewuser duende 66 -1 -1 maradns
|
||||||
|
enewuser maradns 99 -1 -1 maradns
|
||||||
|
}
|
11
net-dns/maradns/metadata.xml
Normal file
11
net-dns/maradns/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?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>
|
Loading…
Reference in New Issue
Block a user