1 |
commit: e3e9a215d7b347d43ab8bb5ba4e3b3929acc0811 |
2 |
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> |
3 |
AuthorDate: Thu Mar 30 09:47:27 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 25 21:06:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3e9a215 |
7 |
|
8 |
net-dns/knot: bump to 2.4.3, remove debug USE flag. |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/613312 |
11 |
|
12 |
See-also: https://gitlab.labs.nic.cz/labs/knot/commit/5e76f6e8bd65e9efee4098c89d48a9c42905490a |
13 |
|
14 |
Package-Manager: portage-2.3.3 |
15 |
Closes: https://github.com/gentoo/gentoo/pull/4329 |
16 |
|
17 |
net-dns/knot/Manifest | 1 + |
18 |
net-dns/knot/knot-2.4.3.ebuild | 76 ++++++++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 77 insertions(+) |
20 |
|
21 |
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest |
22 |
index 686f20225a7..3a795fe0f15 100644 |
23 |
--- a/net-dns/knot/Manifest |
24 |
+++ b/net-dns/knot/Manifest |
25 |
@@ -1,2 +1,3 @@ |
26 |
DIST knot-2.3.3.tar.xz 1071160 SHA256 a929bce3b957a81776b1db7b43b0e4473339bf16be8dbba5abb4b0593bf43c94 SHA512 ed7b93c2d0ae15819d09a8bf77c2d12505a035dcd7777e9ac453b58c36d302c3cbaa2766e1f6d2163a71234d005494a7d9b5be436c0e16b443de4da97f7a5d9f WHIRLPOOL 4bdf92d537d90e2ad412bb0619a7b4b8f0752c9dc981b3522beece19514f22d88db083e59c0f833d9492b0a1f8d347e008350d108d4c7337c9ee748d007bbde7 |
27 |
DIST knot-2.4.1.tar.xz 1104576 SHA256 c064ddf99bf5fc24dd3c6a3a523394760357e204c8b69f0e691e49bc0d9b704c SHA512 2b3e6c1a187538b218e3e915aaa91bc38ad4cdecb0f03f31b29bfa83c620d117c169a580ddcc8a33e6422109b422c72f3cf79f2a8d1e10e613edfe4437b4b29c WHIRLPOOL 538b8433efced9afe57d3d34216d3a4981a4c637e813b1601ca360f9eb8c7c903051ca5dbff3248b138129e80388a673e9177b8340e1e465b737686d4d2528e8 |
28 |
+DIST knot-2.4.3.tar.xz 1110588 SHA256 f90258bcb29c1f351cd8d824ff8d67aef906ae5d5ff0f652c4f69c69ed8a704f SHA512 b10b739673484c108748a247238acc8d58b7dc78bdb659d22903c9eeebd0a8d042dd5fc85328b09fa22ffa7d0aa3fe1f108ba1bf0b8eafe9ea3a81118226fae8 WHIRLPOOL 1f8d7e6ef8cb0df49c0ec1e4b55c74acb638d328e96f9b1d730d86eda5fc8ff46f31a4c8ba29e797ceb26d3d33ab83a8413b69995b207a02f638310b20f03a59 |
29 |
|
30 |
diff --git a/net-dns/knot/knot-2.4.3.ebuild b/net-dns/knot/knot-2.4.3.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..ff4d019e322 |
33 |
--- /dev/null |
34 |
+++ b/net-dns/knot/knot-2.4.3.ebuild |
35 |
@@ -0,0 +1,76 @@ |
36 |
+# Copyright 1999-2017 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+inherit bash-completion-r1 eutils systemd user |
42 |
+ |
43 |
+DESCRIPTION="High-performance authoritative-only DNS server" |
44 |
+HOMEPAGE="http://www.knot-dns.cz/" |
45 |
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="dnstap doc caps +fastparser idn systemd" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=net-libs/gnutls-3.3:= |
54 |
+ >=dev-libs/jansson-2.3 |
55 |
+ >=dev-db/lmdb-0.9.15 |
56 |
+ >=dev-libs/userspace-rcu-0.5.4 |
57 |
+ caps? ( >=sys-libs/libcap-ng-0.6.4 ) |
58 |
+ dnstap? ( |
59 |
+ dev-libs/fstrm |
60 |
+ dev-libs/protobuf-c |
61 |
+ ) |
62 |
+ idn? ( net-dns/libidn ) |
63 |
+ dev-libs/libedit |
64 |
+ systemd? ( sys-apps/systemd ) |
65 |
+" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ virtual/pkgconfig |
68 |
+ doc? ( dev-python/sphinx ) |
69 |
+" |
70 |
+ |
71 |
+S="${WORKDIR}/${P/_/-}" |
72 |
+ |
73 |
+src_configure() { |
74 |
+ econf \ |
75 |
+ --with-storage="${EPREFIX}/var/lib/${PN}" \ |
76 |
+ --with-rundir="${EPREFIX}/var/run/${PN}" \ |
77 |
+ --with-lmdb \ |
78 |
+ --with-bash-completions="$(get_bashcompdir)" \ |
79 |
+ $(use_enable fastparser) \ |
80 |
+ $(use_enable dnstap) \ |
81 |
+ $(use_enable doc documentation) \ |
82 |
+ $(use_with idn libidn) \ |
83 |
+ --enable-systemd=$(usex systemd) |
84 |
+} |
85 |
+ |
86 |
+src_compile() { |
87 |
+ default |
88 |
+ |
89 |
+ if use doc; then |
90 |
+ emake -C doc html |
91 |
+ HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) |
92 |
+ fi |
93 |
+} |
94 |
+ |
95 |
+src_test() { |
96 |
+ emake check |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ default |
101 |
+ |
102 |
+ keepdir /var/lib/${PN} |
103 |
+ |
104 |
+ newinitd "${FILESDIR}/knot.init" knot |
105 |
+ systemd_dounit "${FILESDIR}/knot.service" |
106 |
+} |
107 |
+ |
108 |
+pkg_postinst() { |
109 |
+ enewgroup knot 53 |
110 |
+ enewuser knot 53 -1 /var/lib/knot knot |
111 |
+} |