summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2006-02-25 17:49:54 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2006-02-25 17:49:54 +0000
commit39779df2a37c70d994d1e7230fefb8f71956ac1f (patch)
tree812bc2110d2c2f769d156ae2f3a56ec84bd837ad /net-dns/maradns
parentdev-db/dybase was removed from the tree. (diff)
downloadhistorical-39779df2a37c70d994d1e7230fefb8f71956ac1f.tar.gz
historical-39779df2a37c70d994d1e7230fefb8f71956ac1f.tar.bz2
historical-39779df2a37c70d994d1e7230fefb8f71956ac1f.zip
Version bumped, Bug 117107.
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-dns/maradns')
-rw-r--r--net-dns/maradns/ChangeLog10
-rw-r--r--net-dns/maradns/Manifest11
-rw-r--r--net-dns/maradns/files/digest-maradns-1.2.03.31
-rw-r--r--net-dns/maradns/files/zoneserver.rc622
-rw-r--r--net-dns/maradns/maradns-1.2.03.3.ebuild60
5 files changed, 98 insertions, 6 deletions
diff --git a/net-dns/maradns/ChangeLog b/net-dns/maradns/ChangeLog
index 337c298304ce..fe5723f64d02 100644
--- a/net-dns/maradns/ChangeLog
+++ b/net-dns/maradns/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/maradns
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.6 2005/08/27 01:10:56 matsuu Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.7 2006/02/25 17:49:54 matsuu Exp $
+
+*maradns-1.2.03.3 (25 Feb 2006)
+
+ 25 Feb 2006; MATSUU Takuto <matsuu@gentoo.org> +files/zoneserver.rc6,
+ +maradns-1.2.03.3.ebuild:
+ Version bumped, Bug 117107
*maradns-1.0.32 (27 Aug 2005)
diff --git a/net-dns/maradns/Manifest b/net-dns/maradns/Manifest
index 377927fa427c..74b80eac21b3 100644
--- a/net-dns/maradns/Manifest
+++ b/net-dns/maradns/Manifest
@@ -1,7 +1,10 @@
-MD5 14d4aaad8f86cd9b4b07f26a606faf2e maradns-1.0.32.ebuild 1143
-MD5 9ea01a65182e18bff3bd9e2d4fbaae74 maradns-1.0.27.ebuild 1143
-MD5 fec90e4862fbf8223beb8cef53e14e5d ChangeLog 889
-MD5 ae35aecf3e681586ace5f8c15866aed7 metadata.xml 222
+MD5 965bc448ed5513d31942819539e1f548 ChangeLog 1052
MD5 2f5e58d59cd494a4cd3ca0a0c39572c3 files/digest-maradns-1.0.27 67
MD5 b4d364528e92e4eb74783e4419db3e50 files/digest-maradns-1.0.32 67
+MD5 947f4d859190b324f5cdcebe21bf29c2 files/digest-maradns-1.2.03.3 69
MD5 c96def1e9760b2ffff24462dea0d73f9 files/maradns.rc6 535
+MD5 7253353e8372f874a6f2bb7f6577d3a7 files/zoneserver.rc6 542
+MD5 9ea01a65182e18bff3bd9e2d4fbaae74 maradns-1.0.27.ebuild 1143
+MD5 14d4aaad8f86cd9b4b07f26a606faf2e maradns-1.0.32.ebuild 1143
+MD5 8c610feee4092affc48966d205b5f9af maradns-1.2.03.3.ebuild 1523
+MD5 ae35aecf3e681586ace5f8c15866aed7 metadata.xml 222
diff --git a/net-dns/maradns/files/digest-maradns-1.2.03.3 b/net-dns/maradns/files/digest-maradns-1.2.03.3
new file mode 100644
index 000000000000..6064f9d36645
--- /dev/null
+++ b/net-dns/maradns/files/digest-maradns-1.2.03.3
@@ -0,0 +1 @@
+MD5 90d905d572e3c0c0ef67999ec42c8852 maradns-1.2.03.3.tar.bz2 770309
diff --git a/net-dns/maradns/files/zoneserver.rc6 b/net-dns/maradns/files/zoneserver.rc6
new file mode 100644
index 000000000000..38faf8a4b83e
--- /dev/null
+++ b/net-dns/maradns/files/zoneserver.rc6
@@ -0,0 +1,22 @@
+#!/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.1 2006/02/25 17:49:54 matsuu Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting zoneserver"
+ start-stop-daemon --start --quiet -b -m \
+ --pidfile /var/run/zoneserver.pid \
+ --exec /usr/sbin/zoneserver
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping zoneserver"
+ start-stop-daemon --stop --quiet --pidfile /var/run/zoneserver.pid
+ eend $?
+}
diff --git a/net-dns/maradns/maradns-1.2.03.3.ebuild b/net-dns/maradns/maradns-1.2.03.3.ebuild
new file mode 100644
index 000000000000..e1295ad2b0ea
--- /dev/null
+++ b/net-dns/maradns/maradns-1.2.03.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/maradns-1.2.03.3.ebuild,v 1.1 2006/02/25 17:49:54 matsuu Exp $
+
+inherit eutils
+
+DESCRIPTION="Proxy DNS server with permanent caching"
+HOMEPAGE="http://www.maradns.org/"
+SRC_URI="mirror://sourceforge/maradns/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+
+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
+ sed -i -e "s:-O2:${CFLAGS}:" build/Makefile.linux || die
+}
+
+src_compile() {
+ ./configure || die
+ emake || die "compile problem"
+}
+
+src_install() {
+ dosbin server/maradns
+ # use authonly && newsbin server/maradns.authonly maradns
+ dosbin tcp/zoneserver
+
+ dobin tcp/getzone tcp/fetchzone tools/askmara tools/duende
+
+ doman doc/en/man/*.[1-9]
+
+ dodoc maradns.gpg.key
+ dodoc doc/en/{QuickStart,README,*.txt}
+ dohtml doc/en/*.html
+ dohtml -r doc/en/webpage
+ docinto misc
+
+ insinto /etc; newins doc/en/examples/example_mararc mararc
+ insinto /etc/maradns; newins doc/en/examples/example_csv2 db.example.net
+ keepdir /etc/maradns/logger
+
+ builddir/mara.startup maradns
+ builddir/zoneserver.startup maradns.zoneserver
+ newinitd "${FILESDIR}"/maradns.rc6 maradns
+ newinitd "${FILESDIR}"/zoneserver.rc6 zoneserver
+}
+
+pkg_postinst() {
+ enewuser maradns 99 -1 /var/empty daemon
+}