diff options
Diffstat (limited to 'net-dns/pdns-recursor')
-rw-r--r-- | net-dns/pdns-recursor/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild | 49 |
2 files changed, 56 insertions, 1 deletions
diff --git a/net-dns/pdns-recursor/ChangeLog b/net-dns/pdns-recursor/ChangeLog index 090b90b00d7a..3e27d7ea7e05 100644 --- a/net-dns/pdns-recursor/ChangeLog +++ b/net-dns/pdns-recursor/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/pdns-recursor # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.18 2008/04/06 23:34:25 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.19 2008/05/03 14:22:31 swegener Exp $ + +*pdns-recursor-3.1.6 (03 May 2008) + + 03 May 2008; Sven Wegener <swegener@gentoo.org> + +pdns-recursor-3.1.6.ebuild: + Version bump. 06 Apr 2008; Sven Wegener <swegener@gentoo.org> -files/pdns-recursor-3.1.4-chdir.patch, diff --git a/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild new file mode 100644 index 000000000000..b57778e19975 --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild,v 1.1 2008/05/03 14:22:31 swegener Exp $ + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="The PowerDNS Recursor" +HOMEPAGE="http://www.powerdns.com/" +SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-libs/boost-1.33.1" +RDEPEND="${DEPEND} + !<net-dns/pdns-2.9.20-r1" + +src_unpack() { + unpack ${A} + + sed -i -e s:/var/run/:/var/lib/powerdns: "${S}"/config.h || die +} + +src_compile() { + filter-flags -ftree-vectorize + + emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + || die "emake failed" +} + +src_install() { + dosbin pdns_recursor rec_control || die "dosbin failed" + doman pdns_recursor.1 rec_control.1 || die "doman failed" + + insinto /etc/powerdns + doins "${FILESDIR}"/recursor.conf || die "doins failed" + + doinitd "${FILESDIR}"/precursor || die "doinitd failed" + + # Pretty ugly, uh? + dodir /var/lib/powerdns/var/lib + dosym ../.. /var/lib/powerdns/var/lib/powerdns +} |