1 |
commit: 2b54d922f518dc20864b35a62879527aaf32cf40 |
2 |
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> |
3 |
AuthorDate: Fri Jul 28 15:54:41 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 09:51:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b54d922 |
7 |
|
8 |
net-dns/knot: Version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/5235 |
12 |
|
13 |
net-dns/knot/Manifest | 1 + |
14 |
net-dns/knot/knot-2.5.3.ebuild | 77 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest |
18 |
index 5ee7d7d21e4..c2a3700278d 100644 |
19 |
--- a/net-dns/knot/Manifest |
20 |
+++ b/net-dns/knot/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST knot-2.4.5.tar.xz 1111536 SHA256 87ce8ccc83511c5a1f4eadd3f0122f2f5ae86fb68e9b72f0700c6f5340ba95cb SHA512 db4919dbe2dc688f401e6611d784d47e1d40a0f8ec8c8cd6240d89ab9dd2ce7dd1976ac7cb24c712ed8aa074e0026ff0a10e9d6d5e685929d271ae554d9a1cff WHIRLPOOL cdfdf0bc2591df8436f8ab0959581129cb1a4d86138f6bb75b507d83280c7d567eb794e3b76b8374d4087721de53e4afd7566411b8e51fa2655e9e5462357ef4 |
23 |
DIST knot-2.5.2.tar.xz 1071648 SHA256 286671a4ee35a5207b2e45fd0812962b481b1b543bf3d5df3a8c319c26e2f5e9 SHA512 bc40ec34dfab45daa3e41839ad9bf1590c36240678a7cb6256103f42a95603e24213f7258cf9fa323a26690de482e848270048d624bf4da7f989d9efb6ea2a11 WHIRLPOOL a465ff278d735b227a35733c0f57b5167a77399c678f088d56a620ea5d51198a5d4aab785235476bdcdf14290fbc7550944ea7d8971c66486c1643423bfbe0c3 |
24 |
+DIST knot-2.5.3.tar.xz 1073372 SHA256 d78ae231a68ace264f5738c8e57481923bcad7413f3f440c06fa6cc0aded9d8e SHA512 c93bfdd42c3f1e5b74de7a5bb46841bee75d5153b4c72eb876f11e193a290484620ea8f877bd039c40fc665a9d5d07905a712e8e085c3267da5db5208aa71f08 WHIRLPOOL c6fa2cd7dde2cd0ee54a7fc68fdd441d6af03777c788adaf2534bc944a0a5f8f0445b2cc1f80502c905e1f55baf0f65db37b66a097e46ec9fa0c960767398278 |
25 |
|
26 |
diff --git a/net-dns/knot/knot-2.5.3.ebuild b/net-dns/knot/knot-2.5.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4644120da23 |
29 |
--- /dev/null |
30 |
+++ b/net-dns/knot/knot-2.5.3.ebuild |
31 |
@@ -0,0 +1,77 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit bash-completion-r1 eutils systemd user |
38 |
+ |
39 |
+DESCRIPTION="High-performance authoritative-only DNS server" |
40 |
+HOMEPAGE="http://www.knot-dns.cz/" |
41 |
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="dnstap doc caps +fastparser idn systemd" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=net-libs/gnutls-3.3:= |
50 |
+ >=dev-db/lmdb-0.9.15 |
51 |
+ >=dev-libs/userspace-rcu-0.5.4 |
52 |
+ caps? ( >=sys-libs/libcap-ng-0.6.4 ) |
53 |
+ dnstap? ( |
54 |
+ dev-libs/fstrm |
55 |
+ dev-libs/protobuf-c |
56 |
+ ) |
57 |
+ idn? ( || ( net-dns/libidn >=net-dns/libidn2-2.0.0 ) ) |
58 |
+ dev-libs/libedit |
59 |
+ systemd? ( sys-apps/systemd ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ virtual/pkgconfig |
63 |
+ doc? ( dev-python/sphinx ) |
64 |
+" |
65 |
+ |
66 |
+S="${WORKDIR}/${P/_/-}" |
67 |
+ |
68 |
+src_configure() { |
69 |
+ econf \ |
70 |
+ --with-storage="${EPREFIX}/var/lib/${PN}" \ |
71 |
+ --with-rundir="${EPREFIX}/var/run/${PN}" \ |
72 |
+ --with-lmdb \ |
73 |
+ --with-bash-completions="$(get_bashcompdir)" \ |
74 |
+ $(use_enable fastparser) \ |
75 |
+ $(use_enable dnstap) \ |
76 |
+ $(use_enable doc documentation) \ |
77 |
+ $(use_with idn libidn) \ |
78 |
+ --enable-systemd=$(usex systemd) |
79 |
+} |
80 |
+ |
81 |
+src_compile() { |
82 |
+ default |
83 |
+ |
84 |
+ if use doc; then |
85 |
+ emake -C doc html |
86 |
+ HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) |
87 |
+ fi |
88 |
+} |
89 |
+ |
90 |
+src_test() { |
91 |
+ emake check |
92 |
+} |
93 |
+ |
94 |
+src_install() { |
95 |
+ default |
96 |
+ |
97 |
+ keepdir /var/lib/${PN} |
98 |
+ |
99 |
+ newinitd "${FILESDIR}/knot.init" knot |
100 |
+ systemd_dounit "${FILESDIR}/knot.service" |
101 |
+ |
102 |
+ prune_libtool_files |
103 |
+} |
104 |
+ |
105 |
+pkg_postinst() { |
106 |
+ enewgroup knot 53 |
107 |
+ enewuser knot 53 -1 /var/lib/knot knot |
108 |
+} |