summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dns/maradns/ChangeLog8
-rw-r--r--net-dns/maradns/files/digest-maradns-1.2.12.043
-rw-r--r--net-dns/maradns/files/maradns.rc68
-rw-r--r--net-dns/maradns/files/zoneserver.rc69
-rw-r--r--net-dns/maradns/maradns-1.2.12.04.ebuild57
5 files changed, 75 insertions, 10 deletions
diff --git a/net-dns/maradns/ChangeLog b/net-dns/maradns/ChangeLog
index 040e379181f2..675609fa951d 100644
--- a/net-dns/maradns/ChangeLog
+++ b/net-dns/maradns/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dns/maradns
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.8 2006/08/13 00:48:10 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.9 2006/12/03 03:46:54 matsuu Exp $
+
+*maradns-1.2.12.04 (03 Dec 2006)
+
+ 03 Dec 2006; MATSUU Takuto <matsuu@gentoo.org> files/maradns.rc6,
+ files/zoneserver.rc6, +maradns-1.2.12.04.ebuild:
+ Version bumped. Support syslog, bug #156564.
*maradns-1.2.07.8 (13 Aug 2006)
diff --git a/net-dns/maradns/files/digest-maradns-1.2.12.04 b/net-dns/maradns/files/digest-maradns-1.2.12.04
new file mode 100644
index 000000000000..bb89da4f6b53
--- /dev/null
+++ b/net-dns/maradns/files/digest-maradns-1.2.12.04
@@ -0,0 +1,3 @@
+MD5 957b7772d22f30cb948def52eb6eaaf6 maradns-1.2.12.04.tar.bz2 987784
+RMD160 4ab165b60f7b868c86e210e138892e5ce4fc5cb1 maradns-1.2.12.04.tar.bz2 987784
+SHA256 55b843b9e0f33aaab8a37537ce17358f9ca8df66990fedc0eee86b876270bcfe maradns-1.2.12.04.tar.bz2 987784
diff --git a/net-dns/maradns/files/maradns.rc6 b/net-dns/maradns/files/maradns.rc6
index 90f494ad3447..f93ad5587f9a 100644
--- a/net-dns/maradns/files/maradns.rc6
+++ b/net-dns/maradns/files/maradns.rc6
@@ -1,7 +1,7 @@
#!/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.2 2004/07/14 23:23:52 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/files/maradns.rc6,v 1.3 2006/12/03 03:46:55 matsuu Exp $
depend() {
need net
@@ -10,13 +10,13 @@ depend() {
start() {
ebegin "Starting maradns"
- start-stop-daemon --start --quiet -b -m --pidfile /var/run/maradns.pid \
- --exec /usr/sbin/maradns
+ start-stop-daemon --start --quiet \
+ --exec /usr/bin/duende /usr/sbin/maradns
eend $?
}
stop() {
ebegin "Stopping maradns"
- start-stop-daemon --stop --quiet --pidfile /var/run/maradns.pid
+ start-stop-daemon --stop --quiet --name maradns
eend $?
}
diff --git a/net-dns/maradns/files/zoneserver.rc6 b/net-dns/maradns/files/zoneserver.rc6
index 38faf8a4b83e..b2fe8fe3da2a 100644
--- a/net-dns/maradns/files/zoneserver.rc6
+++ b/net-dns/maradns/files/zoneserver.rc6
@@ -1,7 +1,7 @@
#!/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 $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/files/zoneserver.rc6,v 1.2 2006/12/03 03:46:55 matsuu Exp $
depend() {
need net
@@ -9,14 +9,13 @@ depend() {
start() {
ebegin "Starting zoneserver"
- start-stop-daemon --start --quiet -b -m \
- --pidfile /var/run/zoneserver.pid \
- --exec /usr/sbin/zoneserver
+ start-stop-daemon --start --quiet \
+ --exec /usr/bin/duende /usr/sbin/zoneserver
eend $?
}
stop() {
ebegin "Stopping zoneserver"
- start-stop-daemon --stop --quiet --pidfile /var/run/zoneserver.pid
+ start-stop-daemon --stop --quiet --name zoneserver
eend $?
}
diff --git a/net-dns/maradns/maradns-1.2.12.04.ebuild b/net-dns/maradns/maradns-1.2.12.04.ebuild
new file mode 100644
index 000000000000..c0de67e0cd2a
--- /dev/null
+++ b/net-dns/maradns/maradns-1.2.12.04.ebuild
@@ -0,0 +1,57 @@
+# 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.12.04.ebuild,v 1.1 2006/12/03 03:46:54 matsuu Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Proxy DNS server with permanent caching"
+HOMEPAGE="http://www.maradns.org/"
+SRC_URI="mirror://sourceforge/maradns/${P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+
+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 CC="$(tc-getCC)" || 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
+
+ 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
+
+ newinitd "${FILESDIR}"/maradns.rc6 maradns
+ newinitd "${FILESDIR}"/zoneserver.rc6 zoneserver
+}
+
+pkg_postinst() {
+ enewuser maradns 99 -1 /var/empty daemon
+}