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
commit79f977705983f8f4e78130f7f7998f2843f1ce64 (patch)
tree1f5d499e04e0211beb07e12a30eecf95d458ef4f /net-dns
parentdev-db/dybase was removed from the tree. (diff)
downloadgentoo-2-79f977705983f8f4e78130f7f7998f2843f1ce64.tar.gz
gentoo-2-79f977705983f8f4e78130f7f7998f2843f1ce64.tar.bz2
gentoo-2-79f977705983f8f4e78130f7f7998f2843f1ce64.zip
Version bumped, Bug 117107.
(Portage version: 2.0.54)
Diffstat (limited to 'net-dns')
-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..bade15fd33e3 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 7ecc7d0e8c2fccb3c3419454e48b9d6e 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 77d7c938c392cd31797ec2a4b2750496 files/zoneserver.rc6 444
+MD5 9ea01a65182e18bff3bd9e2d4fbaae74 maradns-1.0.27.ebuild 1143
+MD5 14d4aaad8f86cd9b4b07f26a606faf2e maradns-1.0.32.ebuild 1143
+MD5 0e4dfea4438208592fd20c4d19b0631f maradns-1.2.03.3.ebuild 1521
+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
+}