1 |
commit: c7bd5b7fb72acc6e98deb5803e4eceaf40a5d24e |
2 |
Author: Andreas Schuerch <nativemad <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 21 17:12:44 2021 +0000 |
4 |
Commit: Andreas Schuerch <nativemad <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 21 17:14:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7bd5b7f |
7 |
|
8 |
net-dns/dnsdist: version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas Schuerch <nativemad <AT> gentoo.org> |
12 |
|
13 |
net-dns/dnsdist/Manifest | 1 + |
14 |
net-dns/dnsdist/dnsdist-1.6.1.ebuild | 80 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 81 insertions(+) |
16 |
|
17 |
diff --git a/net-dns/dnsdist/Manifest b/net-dns/dnsdist/Manifest |
18 |
index a19099ebb1f..c3dd19a29e1 100644 |
19 |
--- a/net-dns/dnsdist/Manifest |
20 |
+++ b/net-dns/dnsdist/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST dnsdist-1.5.1.tar.bz2 1068061 BLAKE2B 1c0fdd181b62b96fcd433581715cea9dc204fcdd2f65efd26a5293cc9c17d904e0937b51ba33d2dc01ecc8044f491ba2c6c8720c0816587fa5082da73108783e SHA512 68fe5f55fd081ed80a620933af9f8310be0e21c86ba449a9c557975b5c83f4b64e3002e6032dc002582d081e70e1ec2ff080c5d8389fd46a9896bdafd5a41f9f |
23 |
DIST dnsdist-1.6.0.tar.bz2 1328707 BLAKE2B d093142875882cacaa456d76d42e703e45577c32a0e5d5024fb372180d2bdd4ff0c82546142f6c2c01904bdd15407f0a39dc1d658e04e171cffe386cfc1e943d SHA512 f6a1676c431d5622af075bc184c9f82b4ea0bb40ec84797a8fe835804f91bc0a93a745495f193bb52f3a5204ec0e98ed41bc206c997d1f5b13e872bb31747b0f |
24 |
+DIST dnsdist-1.6.1.tar.bz2 1328069 BLAKE2B a9e9c0cb35ebc2ecd93d7fa0d6d3961b02d711da2df56240335786a5d2e529d4a7e8716f578b6e935edd3bc79dfed767d358b9feaff32dd9cd65993ef0b97b71 SHA512 68e114eeb1a7ae8a4ce52a7de31095c46d0ba8f572676a8ef1e858b97da199c04ec88656c7642160ba07b7db325cc2a49cd91794da8dd2e81a5301d089c34f90 |
25 |
|
26 |
diff --git a/net-dns/dnsdist/dnsdist-1.6.1.ebuild b/net-dns/dnsdist/dnsdist-1.6.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a883f49ab1c |
29 |
--- /dev/null |
30 |
+++ b/net-dns/dnsdist/dnsdist-1.6.1.ebuild |
31 |
@@ -0,0 +1,80 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+LUA_COMPAT=( lua5-{1..4} luajit ) |
38 |
+ |
39 |
+inherit flag-o-matic lua-single |
40 |
+ |
41 |
+DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" |
42 |
+HOMEPAGE="https://dnsdist.org" |
43 |
+ |
44 |
+SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+IUSE="dnscrypt dnstap doh gnutls +lmdb regex remote-logging snmp +ssl systemd test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+REQUIRED_USE="${LUA_REQUIRED_USE} |
52 |
+ dnscrypt? ( ssl ) |
53 |
+ gnutls? ( ssl ) |
54 |
+ doh? ( ssl !gnutls )" |
55 |
+ |
56 |
+RDEPEND="acct-group/dnsdist |
57 |
+ acct-user/dnsdist |
58 |
+ >=dev-libs/boost-1.35:= |
59 |
+ dev-libs/libedit:= |
60 |
+ >=dev-libs/protobuf-3:= |
61 |
+ dnscrypt? ( dev-libs/libsodium:= ) |
62 |
+ dnstap? ( dev-libs/fstrm:= ) |
63 |
+ doh? ( www-servers/h2o:=[libh2o] ) |
64 |
+ lmdb? ( dev-db/lmdb:= ) |
65 |
+ regex? ( dev-libs/re2:= ) |
66 |
+ snmp? ( net-analyzer/net-snmp:= ) |
67 |
+ ssl? ( |
68 |
+ gnutls? ( net-libs/gnutls:= ) |
69 |
+ !gnutls? ( dev-libs/openssl:= ) |
70 |
+ ) |
71 |
+ systemd? ( sys-apps/systemd:0= ) |
72 |
+ ${LUA_DEPS} |
73 |
+" |
74 |
+ |
75 |
+DEPEND="${RDEPEND}" |
76 |
+BDEPEND="virtual/pkgconfig" |
77 |
+ |
78 |
+src_configure() { |
79 |
+ econf \ |
80 |
+ --sysconfdir=/etc/dnsdist \ |
81 |
+ --with-lua="${ELUA}" \ |
82 |
+ $(use_enable doh dns-over-https) \ |
83 |
+ $(use_enable dnscrypt) \ |
84 |
+ $(use_enable dnstap) \ |
85 |
+ $(use_with lmdb ) \ |
86 |
+ $(use_with regex re2) \ |
87 |
+ $(use_with snmp net-snmp) \ |
88 |
+ $(use ssl && { echo "--enable-dns-over-tls" && use_with gnutls && use_with !gnutls libssl;} || echo "--without-gnutls --without-libssl") \ |
89 |
+ $(use_enable systemd) \ |
90 |
+ $(use_enable test unit-tests) |
91 |
+ sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \ |
92 |
+ -i "${S}/configure" |
93 |
+} |
94 |
+ |
95 |
+src_install() { |
96 |
+ default |
97 |
+ |
98 |
+ insinto /etc/dnsdist |
99 |
+ doins "${FILESDIR}"/dnsdist.conf.example |
100 |
+ |
101 |
+ newconfd "${FILESDIR}"/dnsdist.confd ${PN} |
102 |
+ newinitd "${FILESDIR}"/dnsdist.initd ${PN} |
103 |
+} |
104 |
+ |
105 |
+pkg_postinst() { |
106 |
+ elog "dnsdist provides multiple instances support. You can create more instances" |
107 |
+ elog "by symlinking the dnsdist init script to another name." |
108 |
+ elog |
109 |
+ elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" |
110 |
+ elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." |
111 |
+} |