summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2016-07-02 09:09:28 +0000
committerSven Wegener <swegener@gentoo.org>2016-07-18 20:40:16 +0000
commit527e529a1655b0017567ab8eea699b9be351bfad (patch)
tree5861439bf0e399850b8bd5af61e34158ab14aff8 /net-dns
parentnet-dns/pdns: Version bump (diff)
downloadgentoo-527e529a1655b0017567ab8eea699b9be351bfad.tar.gz
gentoo-527e529a1655b0017567ab8eea699b9be351bfad.tar.bz2
gentoo-527e529a1655b0017567ab8eea699b9be351bfad.zip
net-dns/pdns-recursor: Version bump
Package-Manager: portage-2.2.28 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns-recursor/Manifest1
-rw-r--r--net-dns/pdns-recursor/metadata.xml4
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild57
3 files changed, 62 insertions, 0 deletions
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest
index 83d907dd2c55..e25457afcf39 100644
--- a/net-dns/pdns-recursor/Manifest
+++ b/net-dns/pdns-recursor/Manifest
@@ -1,2 +1,3 @@
DIST pdns-recursor-3.6.4.tar.bz2 200278 SHA256 b1ab90cd91b10a4888d0641b39195d5b3dc85d780a9b20c8fd95c117a1c171aa SHA512 c803b3118f5fa75060538fcc7c5ad94458aaee2c989389a10b74f9b476d25dcd9b457e47fed1d4fb73b201b518c6d0581a5cd995db6a9b67a881a73a8e719833 WHIRLPOOL fca1d9d2eb2ef6b54fff54860aa0585fdb2890bade817498d99d52e95a6ac701f6950a8fb49254c631bd9c8ef47d22735489bb4426f8cdf7c6e4f8c3c2f36257
DIST pdns-recursor-3.7.3.tar.bz2 245192 SHA256 859ca6071147dd2e2ac1b2a5c3d5c2cbff0f5cbc501660db4259e7cbf27fea11 SHA512 35b95130e46d04c91adc3c4676a6e5546ac25d21ec576734162764732993d876d34f0e8124b7b6934c8354c0d042ffa5ec30f138b83a9aeaafcefa3808adcf23 WHIRLPOOL 62bc6b2cb5d6b8350da378af1b3fdf621e5719cd07968603c57dabfdbe384f56971e45c0a757c0b654a727729de55d59798683fe92f5338fc23684d22e372c9a
+DIST pdns-recursor-4.0.0.tar.bz2 1034944 SHA256 900a5d5858c9caa825afd9df657dadebcc1842e3068754c19562eeaab8c791fd SHA512 1a0a9ce39e5540a79308721bb47cccde54679570a218cef9740be06cfe9971af88f1cf82b3daabc4c1733484446a4432ffaf4e875ae9532cbb4a9264fcac7798 WHIRLPOOL 0a8577f582390844f0ad7d4aafce977383ed6984f4d4543f442b3b029d68c86c9d41742488edd4dec31fdc38a63bc6bf1333445dab626b9cc714e90589e7579e
diff --git a/net-dns/pdns-recursor/metadata.xml b/net-dns/pdns-recursor/metadata.xml
index e01f31882436..fc6bc9a86c84 100644
--- a/net-dns/pdns-recursor/metadata.xml
+++ b/net-dns/pdns-recursor/metadata.xml
@@ -15,4 +15,8 @@ caches server performance and timeouts, making it both network and user friendly
It also has built-in hooks for making graphs with rrdtool, providing insight into
nameserver performance.
</longdescription>
+<use>
+ <flag name="luajit">Enable support for <pkg>dev-lang/luajit.</pkg></flag>
+ <flag name="protobuf">Enable support for <pkg>dev-libs/protobuf</pkg>.</flag>
+</use>
</pkgmetadata>
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild
new file mode 100644
index 000000000000..0ae0e416b17a
--- /dev/null
+++ b/net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit toolchain-funcs flag-o-matic eutils
+
+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 ~arm ~x86"
+IUSE="lua luajit protobuf systemd"
+REQUIRED_USE="?? ( lua luajit )"
+
+DEPEND="lua? ( >=dev-lang/lua-5.1:= )
+ luajit? ( dev-lang/luajit:= )
+ protobuf? (
+ dev-libs/protobuf
+ >=dev-libs/boost-1.42
+ )
+ >=dev-libs/boost-1.35"
+RDEPEND="${DEPEND}
+ !<net-dns/pdns-2.9.20-r1"
+DEPEND="${DEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}"/${P/_/-}
+
+pkg_setup() {
+ filter-flags -ftree-vectorize
+}
+
+src_configure() {
+ econf \
+ $(use_enable systemd) \
+ $(use_with lua) \
+ $(use_with luajit) \
+ $(use_with protobuf)
+}
+
+src_install() {
+ dosbin pdns_recursor rec_control
+ doman pdns_recursor.1 rec_control.1
+
+ insinto /etc/powerdns
+ doins "${FILESDIR}"/recursor.conf
+
+ doinitd "${FILESDIR}"/precursor
+
+ # Pretty ugly, uh?
+ dodir /var/lib/powerdns/var/lib
+ dosym ../.. /var/lib/powerdns/var/lib/powerdns
+}