diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2011-01-30 14:33:27 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2011-01-30 14:33:27 +0000 |
commit | cb3a36d5267d65f8b7e840185fa457d597ad455c (patch) | |
tree | aa5c6c6f7ab27ddd8d60763659791e1b2acb0ca1 /net-dns | |
parent | Added myself to metadata.xml (diff) | |
download | gentoo-2-cb3a36d5267d65f8b7e840185fa457d597ad455c.tar.gz gentoo-2-cb3a36d5267d65f8b7e840185fa457d597ad455c.tar.bz2 gentoo-2-cb3a36d5267d65f8b7e840185fa457d597ad455c.zip |
Version bumped. Removed 2.0.01 for security, bug #352569.
(Portage version: 2.1.9.31/cvs/Linux x86_64)
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/maradns/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/maradns/maradns-1.4.06.ebuild (renamed from net-dns/maradns/maradns-2.0.01.ebuild) | 29 |
2 files changed, 26 insertions, 11 deletions
diff --git a/net-dns/maradns/ChangeLog b/net-dns/maradns/ChangeLog index d35958554b01..2833c3448156 100644 --- a/net-dns/maradns/ChangeLog +++ b/net-dns/maradns/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/maradns # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.36 2011/01/24 13:22:58 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/ChangeLog,v 1.37 2011/01/30 14:33:27 matsuu Exp $ + +*maradns-1.4.06 (30 Jan 2011) + + 30 Jan 2011; MATSUU Takuto <matsuu@gentoo.org> +maradns-1.4.06.ebuild, + -maradns-2.0.01.ebuild: + Version bumped. Removed 2.0.01 for security, bug #352569. *maradns-2.0.01 (24 Jan 2011) *maradns-1.4.05 (24 Jan 2011) diff --git a/net-dns/maradns/maradns-2.0.01.ebuild b/net-dns/maradns/maradns-1.4.06.ebuild index c9e659d6ee9a..4f9a633d4ee7 100644 --- a/net-dns/maradns/maradns-2.0.01.ebuild +++ b/net-dns/maradns/maradns-1.4.06.ebuild @@ -1,18 +1,18 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/maradns-2.0.01.ebuild,v 1.1 2011/01/24 13:22:58 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/maradns-1.4.06.ebuild,v 1.1 2011/01/30 14:33:27 matsuu Exp $ -EAPI="3" +EAPI="2" 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" +SRC_URI="http://www.maradns.org/download/1.4/${PV}/${P}.tar.bz2" LICENSE="as-is" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="ipv6" +IUSE="authonly" DEPEND="dev-lang/perl" @@ -23,22 +23,31 @@ src_prepare() { build/install.locations || die sed -i \ -e "s:-O2:\$(CFLAGS) \$(LDFLAGS):" \ - -e "s:make:\$(MAKE):g" \ -e "s:\$(CC):$(tc-getCC):g" \ + -e "s:make:\$(MAKE):g" \ build/Makefile.linux || die - sed -e "/provide dns/d" "${FILESDIR}/maradns.rc6" > "${T}/maradns.rc6" || 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_configure() { local myconf - - use ipv6 && myconf="${myconf} --ipv6" - + if use authonly ; then + myconf="${myconf} --authonly" + fi ./configure ${myconf} # || die } src_install() { - dosbin server/maradns || die + if use authonly ; then + newsbin server/maradns.authonly maradns || die + else + dosbin server/maradns || die + fi dosbin tcp/zoneserver || die |