Gentoo Archives: gentoo-commits

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/unbound/
Date: Thu, 02 Sep 2021 10:45:24
Message-Id: 1630579500.12bd62a0066c71a35b4ee35b064a6f79270839ac.mschiff@gentoo
1 commit: 12bd62a0066c71a35b4ee35b064a6f79270839ac
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 2 10:41:17 2021 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 2 10:45:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12bd62a0
7
8 net-dns/unbound: add tfo USE flag
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>
12
13 net-dns/unbound/metadata.xml | 3 ++-
14 net-dns/unbound/unbound-1.13.2.ebuild | 6 +++---
15 2 files changed, 5 insertions(+), 4 deletions(-)
16
17 diff --git a/net-dns/unbound/metadata.xml b/net-dns/unbound/metadata.xml
18 index b125fb7df61..844b7d8ad1d 100644
19 --- a/net-dns/unbound/metadata.xml
20 +++ b/net-dns/unbound/metadata.xml
21 @@ -30,7 +30,8 @@
22 <flag name="ecs">Enable EDNS client subnet support</flag>
23 <flag name="gost">Enable GOST support</flag>
24 <flag name="http2">Enable HTTP/2 support for DoH<pkg>net-libs/nghttp2</pkg></flag>
25 - <flag name="redis">Enable cache db backend which uses <pkg>dev-libs/hiredis</pkg></flag>
26 + <flag name="redis">Enable cache db backend which uses<pkg>dev-libs/hiredis</pkg></flag>
27 + <flag name="tfo">Enable TCP Fast Open client+server</flag>
28 </use>
29 <upstream>
30 <remote-id type="github">NLnetLabs/unbound</remote-id>
31
32 diff --git a/net-dns/unbound/unbound-1.13.2.ebuild b/net-dns/unbound/unbound-1.13.2.ebuild
33 index 83b74f7345d..4e61650bf38 100644
34 --- a/net-dns/unbound/unbound-1.13.2.ebuild
35 +++ b/net-dns/unbound/unbound-1.13.2.ebuild
36 @@ -14,7 +14,7 @@ SRC_URI="https://nlnetlabs.nl/downloads/unbound/${MY_P}.tar.gz"
37 LICENSE="BSD GPL-2"
38 SLOT="0/8" # ABI version of libunbound.so
39 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86"
40 -IUSE="debug dnscrypt dnstap +ecdsa ecs gost +http2 python redis selinux static-libs systemd test threads"
41 +IUSE="debug dnscrypt dnstap +ecdsa ecs gost +http2 python redis selinux static-libs systemd test +tfo threads"
42 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
43 RESTRICT="!test? ( test )"
44
45 @@ -100,12 +100,12 @@ multilib_src_configure() {
46 $(multilib_native_use_with python pyunbound) \
47 $(use_with threads pthreads) \
48 $(use_with http2 libnghttp2) \
49 + $(use_enable tfo tfo-client) \
50 + $(use_enable tfo tfo-server) \
51 --disable-flto \
52 --disable-rpath \
53 --enable-event-api \
54 --enable-ipsecmod \
55 - --enable-tfo-client \
56 - --enable-tfo-server \
57 --with-libevent="${EPREFIX}"/usr \
58 $(multilib_native_usex redis --with-libhiredis="${EPREFIX}/usr" --without-libhiredis) \
59 --with-pidfile="${EPREFIX}"/run/unbound.pid \