public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-dns/maradns: maradns-1.3.07.09-r1.ebuild metadata.xml ChangeLog
@ 2008-12-28  7:32 Matsuu Takuto (matsuu)
  0 siblings, 0 replies; only message in thread
From: Matsuu Takuto (matsuu) @ 2008-12-28  7:32 UTC (permalink / raw
  To: gentoo-commits

matsuu      08/12/28 07:32:09

  Modified:             metadata.xml ChangeLog
  Added:                maradns-1.3.07.09-r1.ebuild
  Log:
  Added authonly to IUSE, bug #252376. Added enewgroup maradns.
  (Portage version: 2.1.6.3/cvs/Linux 2.6.28-gentoo x86_64)

Revision  Changes    Path
1.2                  net-dns/maradns/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/maradns/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/maradns/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/maradns/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dns/maradns/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	23 Jun 2004 03:44:01 -0000	1.1
+++ metadata.xml	28 Dec 2008 07:32:09 -0000	1.2
@@ -5,4 +5,7 @@
 <maintainer>
   <email>matsuu@gentoo.org</email>
 </maintainer>
+<use>
+  <flag name='authonly'>Allows one to build only authoritative DNS server</flag>
+</use>
 </pkgmetadata>



1.26                 net-dns/maradns/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/maradns/ChangeLog?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/maradns/ChangeLog?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/maradns/ChangeLog?r1=1.25&r2=1.26

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ChangeLog	15 Sep 2008 01:39:11 -0000	1.25
+++ ChangeLog	28 Dec 2008 07:32:09 -0000	1.26
@@ -1,6 +1,12 @@
 # ChangeLog for net-dns/maradns
 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.25 2008/09/15 01:39:11 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.26 2008/12/28 07:32:09 matsuu Exp $
+
+*maradns-1.3.07.09-r1 (28 Dec 2008)
+
+  28 Dec 2008; MATSUU Takuto <matsuu@gentoo.org> metadata.xml,
+  +maradns-1.3.07.09-r1.ebuild:
+  Added authonly to IUSE, bug #252376. Added enewgroup maradns.
 
 *maradns-1.3.07.09 (15 Sep 2008)
 *maradns-1.2.12.10 (15 Sep 2008)



1.1                  net-dns/maradns/maradns-1.3.07.09-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/maradns/maradns-1.3.07.09-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/maradns/maradns-1.3.07.09-r1.ebuild?rev=1.1&content-type=text/plain

Index: maradns-1.3.07.09-r1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/maradns-1.3.07.09-r1.ebuild,v 1.1 2008/12/28 07:32:09 matsuu Exp $

inherit eutils toolchain-funcs

DESCRIPTION="Proxy DNS server with permanent caching"
HOMEPAGE="http://www.maradns.org/"
SRC_URI="http://www.maradns.org/download/1.3/${PV}/${P}.tar.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="authonly"

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
	if use authonly ; then
		sed -e "/provide dns/d" \
			"${FILESDIR}/maradns.rc6" > "${T}/maradns.rc6" || die
	else
		cp "${FILESDIR}/maradns.rc6" "${T}/maradns.rc6" || die
	fi
}

src_compile() {
	local myconf
	if use authonly ; then
		myconf="${myconf} --authonly"
	fi

	./configure ${myconf} || die
	emake CC="$(tc-getCC)" || die "compile problem"
}

src_install() {
	if use authonly ; then
		newsbin server/maradns.authonly maradns
	else
		dosbin server/maradns
	fi
	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 examples; dodoc doc/en/examples/example_*

	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 "${T}"/maradns.rc6 maradns
	newinitd "${FILESDIR}"/zoneserver.rc6 zoneserver
}

pkg_postinst() {
	enewgroup maradns 99
	enewuser maradns 99 -1 -1 maradns
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-28  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-28  7:32 [gentoo-commits] gentoo-x86 commit in net-dns/maradns: maradns-1.3.07.09-r1.ebuild metadata.xml ChangeLog Matsuu Takuto (matsuu)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox