public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Schuerch" <nativemad@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsdist/
Date: Thu, 28 Mar 2019 20:40:24 +0000 (UTC)	[thread overview]
Message-ID: <1553805602.b22e01fdbd14ba264f89dd1cfd7630ca6a8bcd29.nativemad@gentoo> (raw)

commit:     b22e01fdbd14ba264f89dd1cfd7630ca6a8bcd29
Author:     Andreas Schuerch <nativemad <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 20:17:47 2019 +0000
Commit:     Andreas Schuerch <nativemad <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 20:40:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b22e01fd

net-dns/dnsdist: new maintainer, bump, remove old, new useflags

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Andreas Schuerch <nativemad <AT> gentoo.org>

 net-dns/dnsdist/Manifest                           |  2 +-
 .../{dnsdist-1.2.0.ebuild => dnsdist-1.3.3.ebuild} | 38 +++++++++++++++-------
 net-dns/dnsdist/dnsdist-9999.ebuild                | 38 +++++++++++++++-------
 net-dns/dnsdist/metadata.xml                       |  9 ++---
 4 files changed, 56 insertions(+), 31 deletions(-)

diff --git a/net-dns/dnsdist/Manifest b/net-dns/dnsdist/Manifest
index d67dcea2a2d..52184b556f1 100644
--- a/net-dns/dnsdist/Manifest
+++ b/net-dns/dnsdist/Manifest
@@ -1 +1 @@
-DIST dnsdist-1.2.0.tar.bz2 876104 BLAKE2B 6e9d0f871c63a0aae539ae074648edcd6b9d626434c343b28c45cf16ffb6b088300d5327e04c45dbb1c9a0b9ad6077d539dc36ae0424d1ec0a240932e8b34223 SHA512 93f8c5f18462d3291c973a690f6ac2b3c5791d9947bee83d9250b503b7526de365bdcb530f3b082e51ae168a9129e77d5558af7cc3b9d2e98a585af53783c237
+DIST dnsdist-1.3.3.tar.bz2 971253 BLAKE2B e9c36969fc1e4b95b71a3f6885503aea2d527b4d9abce9cb137c290a21aee994a441c0e17c0bf985396fda51020b5ef910753554990259abb16641d93d2d1010 SHA512 c0e3435eafc1f7bcdf41346cecf7b089cc142716f94058f9ec262d0c6ad16467e0b8bed5abc648829c597120c94f998602849ded574e75bfc1a1fb70c1b719ad

diff --git a/net-dns/dnsdist/dnsdist-1.2.0.ebuild b/net-dns/dnsdist/dnsdist-1.3.3.ebuild
similarity index 64%
rename from net-dns/dnsdist/dnsdist-1.2.0.ebuild
rename to net-dns/dnsdist/dnsdist-1.3.3.ebuild
index 81f8dbfc0f8..b13e2bdae49 100644
--- a/net-dns/dnsdist/dnsdist-1.2.0.ebuild
+++ b/net-dns/dnsdist/dnsdist-1.3.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 EGIT_REPO_URI="https://github.com/PowerDNS/pdns.git"
 
@@ -24,18 +24,25 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="dnscrypt luajit regex remote-logging snmp +ssl test"
-REQUIRED_USE="dnscrypt? ( ssl )"
+IUSE="dnscrypt gnutls fstrm luajit regex remote-logging snmp +ssl systemd test"
+REQUIRED_USE="dnscrypt? ( ssl )
+		gnutls? ( ssl )"
 
 DEPEND="
 	>=dev-libs/boost-1.35:=
 	dev-libs/libedit:=
+	fstrm? ( dev-libs/fstrm:= )
 	luajit? ( dev-lang/luajit:= )
 	!luajit? ( >=dev-lang/lua-5.1:= )
-	remote-logging? ( dev-libs/protobuf:= )
+	remote-logging? ( >=dev-libs/protobuf-3:= )
 	regex? ( dev-libs/re2:= )
 	snmp? ( net-analyzer/net-snmp:= )
-	ssl? ( dev-libs/libsodium:= )
+	ssl? (
+		dev-libs/libsodium:=
+		gnutls? ( net-libs/gnutls:= )
+		!gnutls? ( dev-libs/openssl:= )
+	)
+	systemd? ( sys-apps/systemd:0= )
 "
 
 RDEPEND="${DEPEND}"
@@ -53,13 +60,20 @@ src_prepare() {
 src_configure() {
 	econf \
 		--sysconfdir=/etc/dnsdist \
-		$(use_enable ssl libsodium) \
-		$(use_with remote-logging protobuf) \
-		$(use_enable regex re2) \
 		$(use_enable dnscrypt) \
-		$(use_with luajit) \
-		$(use_enable test unit-tests) \
-		$(use_with snmp net-snmp)
+		$(use_enable fstrm) \
+		$(use luajit && echo "--with-lua=luajit" || echo "--with-lua=lua" ) \
+		$(use_enable regex re2) \
+		$(use_with remote-logging protobuf) \
+		$(use_with snmp net-snmp) \
+		$(use_enable ssl libsodium) \
+		$(use ssl && { echo "--enable-dns-over-tls" && use_enable gnutls && use_enable !gnutls libssl;} || echo "--disable-gnutls --disable-libssl") \
+		$(use_enable systemd) \
+		$(use_enable test unit-tests)
+		if [ ${PV} == "1.3.3" ]; then
+			sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \
+			-i "${S}/configure"
+		fi
 }
 
 src_install() {

diff --git a/net-dns/dnsdist/dnsdist-9999.ebuild b/net-dns/dnsdist/dnsdist-9999.ebuild
index 81f8dbfc0f8..b13e2bdae49 100644
--- a/net-dns/dnsdist/dnsdist-9999.ebuild
+++ b/net-dns/dnsdist/dnsdist-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 EGIT_REPO_URI="https://github.com/PowerDNS/pdns.git"
 
@@ -24,18 +24,25 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="dnscrypt luajit regex remote-logging snmp +ssl test"
-REQUIRED_USE="dnscrypt? ( ssl )"
+IUSE="dnscrypt gnutls fstrm luajit regex remote-logging snmp +ssl systemd test"
+REQUIRED_USE="dnscrypt? ( ssl )
+		gnutls? ( ssl )"
 
 DEPEND="
 	>=dev-libs/boost-1.35:=
 	dev-libs/libedit:=
+	fstrm? ( dev-libs/fstrm:= )
 	luajit? ( dev-lang/luajit:= )
 	!luajit? ( >=dev-lang/lua-5.1:= )
-	remote-logging? ( dev-libs/protobuf:= )
+	remote-logging? ( >=dev-libs/protobuf-3:= )
 	regex? ( dev-libs/re2:= )
 	snmp? ( net-analyzer/net-snmp:= )
-	ssl? ( dev-libs/libsodium:= )
+	ssl? (
+		dev-libs/libsodium:=
+		gnutls? ( net-libs/gnutls:= )
+		!gnutls? ( dev-libs/openssl:= )
+	)
+	systemd? ( sys-apps/systemd:0= )
 "
 
 RDEPEND="${DEPEND}"
@@ -53,13 +60,20 @@ src_prepare() {
 src_configure() {
 	econf \
 		--sysconfdir=/etc/dnsdist \
-		$(use_enable ssl libsodium) \
-		$(use_with remote-logging protobuf) \
-		$(use_enable regex re2) \
 		$(use_enable dnscrypt) \
-		$(use_with luajit) \
-		$(use_enable test unit-tests) \
-		$(use_with snmp net-snmp)
+		$(use_enable fstrm) \
+		$(use luajit && echo "--with-lua=luajit" || echo "--with-lua=lua" ) \
+		$(use_enable regex re2) \
+		$(use_with remote-logging protobuf) \
+		$(use_with snmp net-snmp) \
+		$(use_enable ssl libsodium) \
+		$(use ssl && { echo "--enable-dns-over-tls" && use_enable gnutls && use_enable !gnutls libssl;} || echo "--disable-gnutls --disable-libssl") \
+		$(use_enable systemd) \
+		$(use_enable test unit-tests)
+		if [ ${PV} == "1.3.3" ]; then
+			sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \
+			-i "${S}/configure"
+		fi
 }
 
 src_install() {

diff --git a/net-dns/dnsdist/metadata.xml b/net-dns/dnsdist/metadata.xml
index 3f6dc8527a3..e4d52294acd 100644
--- a/net-dns/dnsdist/metadata.xml
+++ b/net-dns/dnsdist/metadata.xml
@@ -2,18 +2,15 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<maintainer type="person">
-		<email>bgo@9dt.de</email>
-		<name>Vladimir Datsevich</name>
-	</maintainer>
-	<maintainer type="project">
-		<email>proxy-maint@gentoo.org</email>
-		<name>Proxy Maintainers</name>
+		<email>nativemad@gentoo.org</email>
+		<name>Andreas Schuerch</name>
 	</maintainer>
 	<longdescription lang="en">
 		dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life is to route traffic to the best server, delivering top performance to legitimate users while shunting or blocking abusive traffic.
 	</longdescription>
 	<use>
 		<flag name="dnscrypt">Enable the ability to act as a DNSCrypt server</flag>
+		<flag name="fstrm">Enable support for fstrm via <pkg>dev-libs/fstrm</pkg></flag>
 		<flag name="regex">Enable support for regular expression matching via <pkg>dev-libs/re2</pkg></flag>
 		<flag name="remote-logging">Enable support for remote logging via <pkg>dev-libs/protobuf</pkg></flag>
 		<flag name="ssl">Enable support for and encrypted client-server communication via <pkg>dev-libs/libsodium</pkg></flag>


             reply	other threads:[~2019-03-28 20:40 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-28 20:40 Andreas Schuerch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-20 13:36 [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsdist/ Sam James
2025-09-18 23:00 Sam James
2025-09-06 15:05 Sam James
2025-09-06 15:05 Sam James
2025-07-25 23:42 Sam James
2025-07-24 21:27 Sam James
2025-07-24 21:27 Sam James
2025-05-21 20:59 Sam James
2025-05-21 20:56 Sam James
2025-05-21 20:56 Sam James
2025-04-29 20:31 Sam James
2025-04-27 18:07 Sam James
2025-03-27 12:05 Sam James
2025-03-27 12:05 Sam James
2024-12-27 12:25 Andreas Schuerch
2024-10-06  7:57 Andreas Schuerch
2024-09-08  8:53 Sam James
2024-08-04 15:50 Andreas Schuerch
2024-07-03 15:39 Andreas Schuerch
2024-05-14 12:14 Andreas Schuerch
2024-05-14 12:12 Andreas Schuerch
2024-04-09 10:34 Andreas Schuerch
2024-04-09 10:32 Andreas Schuerch
2024-02-19 18:52 Andreas Schuerch
2024-02-18 11:17 Andreas Schuerch
2023-09-11 13:21 Andreas Schuerch
2023-09-11 13:20 Andreas Schuerch
2023-04-18  6:00 Sam James
2023-04-02 19:44 Andreas Schuerch
2023-01-27  8:35 Joonas Niilola
2023-01-27  8:35 Joonas Niilola
2022-11-05 10:20 Andreas Schuerch
2022-06-25  9:03 Andreas Schuerch
2022-06-08  3:00 Sam James
2022-06-08  2:57 Sam James
2022-04-27 12:14 Andreas Schuerch
2022-04-27 12:14 Andreas Schuerch
2022-01-22 14:03 Andreas Schuerch
2021-09-21 17:15 Andreas Schuerch
2021-05-17 15:47 Andreas Schuerch
2021-03-26 19:46 Conrad Kostecki
2020-10-02 13:26 Andreas Schuerch
2020-01-15 10:27 Andreas Schuerch
2018-04-05 15:21 Aaron Bauman
2017-10-28  9:53 Patrice Clement
2017-10-28  9:53 Patrice Clement
2017-06-30 20:17 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1553805602.b22e01fdbd14ba264f89dd1cfd7630ca6a8bcd29.nativemad@gentoo \
    --to=nativemad@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox