Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/knot/
Date: Mon, 26 Jun 2017 01:13:45
Message-Id: 1498439614.5ac43983c6eec180fa8e845cb00e197ce1def2e0.jer@gentoo
1 commit: 5ac43983c6eec180fa8e845cb00e197ce1def2e0
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 26 01:12:40 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 26 01:13:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac43983
7
8 net-dns/knot: Version bump.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 net-dns/knot/Manifest | 2 ++
13 net-dns/knot/knot-2.4.5.ebuild | 78 ++++++++++++++++++++++++++++++++++++++++++
14 net-dns/knot/knot-2.5.2.ebuild | 77 +++++++++++++++++++++++++++++++++++++++++
15 3 files changed, 157 insertions(+)
16
17 diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
18 index 2e6422b051c..2381fe895e2 100644
19 --- a/net-dns/knot/Manifest
20 +++ b/net-dns/knot/Manifest
21 @@ -1,3 +1,5 @@
22 DIST knot-2.3.3.tar.xz 1071160 SHA256 a929bce3b957a81776b1db7b43b0e4473339bf16be8dbba5abb4b0593bf43c94 SHA512 ed7b93c2d0ae15819d09a8bf77c2d12505a035dcd7777e9ac453b58c36d302c3cbaa2766e1f6d2163a71234d005494a7d9b5be436c0e16b443de4da97f7a5d9f WHIRLPOOL 4bdf92d537d90e2ad412bb0619a7b4b8f0752c9dc981b3522beece19514f22d88db083e59c0f833d9492b0a1f8d347e008350d108d4c7337c9ee748d007bbde7
23 DIST knot-2.4.4.tar.xz 1111116 SHA256 9e9e743399f565129fc5f94380912514498817e18dd32ec4f8780d60452e563c SHA512 b35a4d93929a226c768e13ff315a40a5752167ad6470521a3a01f73df91d093a7ee1c864ec2a37609e563c130efa2c6db287bd762edd82e0d9bf8a2854783800 WHIRLPOOL e4b4e7a9e5880c34731818a3a5937f74d78920a15a484c4f3aa5f86b0e9e4c0d4d36ac1ca83556b1265ac1e8f2f4bfed933162a8761e1a87af34d156c40e3fdd
24 +DIST knot-2.4.5.tar.xz 1111536 SHA256 87ce8ccc83511c5a1f4eadd3f0122f2f5ae86fb68e9b72f0700c6f5340ba95cb SHA512 db4919dbe2dc688f401e6611d784d47e1d40a0f8ec8c8cd6240d89ab9dd2ce7dd1976ac7cb24c712ed8aa074e0026ff0a10e9d6d5e685929d271ae554d9a1cff WHIRLPOOL cdfdf0bc2591df8436f8ab0959581129cb1a4d86138f6bb75b507d83280c7d567eb794e3b76b8374d4087721de53e4afd7566411b8e51fa2655e9e5462357ef4
25 DIST knot-2.5.1.tar.xz 1070108 SHA256 6c08cdc0a0182e262136b936a968ad667abce112195d99c27e50ea22afc08398 SHA512 83e65f0d16fc53377a31baedcd2b23f32ec7ac2c7e83728d0df1455935cad980534e27daf1e230bb8cd319728cc340d96d4de5a921220e651a5beabb2a9f9fcb WHIRLPOOL 67c67bc937591ea53a05cf185e815b862b4d39e87fd681057ce5011c55d052cd09ce350667d4ad144e305943acb6da44d802bee344d5d7229cce080182b31dbb
26 +DIST knot-2.5.2.tar.xz 1071648 SHA256 286671a4ee35a5207b2e45fd0812962b481b1b543bf3d5df3a8c319c26e2f5e9 SHA512 bc40ec34dfab45daa3e41839ad9bf1590c36240678a7cb6256103f42a95603e24213f7258cf9fa323a26690de482e848270048d624bf4da7f989d9efb6ea2a11 WHIRLPOOL a465ff278d735b227a35733c0f57b5167a77399c678f088d56a620ea5d51198a5d4aab785235476bdcdf14290fbc7550944ea7d8971c66486c1643423bfbe0c3
27
28 diff --git a/net-dns/knot/knot-2.4.5.ebuild b/net-dns/knot/knot-2.4.5.ebuild
29 new file mode 100644
30 index 00000000000..50af785a49d
31 --- /dev/null
32 +++ b/net-dns/knot/knot-2.4.5.ebuild
33 @@ -0,0 +1,78 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +inherit bash-completion-r1 eutils systemd user
40 +
41 +DESCRIPTION="High-performance authoritative-only DNS server"
42 +HOMEPAGE="http://www.knot-dns.cz/"
43 +SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
44 +
45 +LICENSE="GPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="dnstap doc caps +fastparser idn systemd"
49 +
50 +RDEPEND="
51 + >=net-libs/gnutls-3.3:=
52 + >=dev-libs/jansson-2.3
53 + >=dev-db/lmdb-0.9.15
54 + >=dev-libs/userspace-rcu-0.5.4
55 + caps? ( >=sys-libs/libcap-ng-0.6.4 )
56 + dnstap? (
57 + dev-libs/fstrm
58 + dev-libs/protobuf-c
59 + )
60 + idn? ( net-dns/libidn )
61 + dev-libs/libedit
62 + systemd? ( sys-apps/systemd )
63 +"
64 +DEPEND="${RDEPEND}
65 + virtual/pkgconfig
66 + doc? ( dev-python/sphinx )
67 +"
68 +
69 +S="${WORKDIR}/${P/_/-}"
70 +
71 +src_configure() {
72 + econf \
73 + --with-storage="${EPREFIX}/var/lib/${PN}" \
74 + --with-rundir="${EPREFIX}/var/run/${PN}" \
75 + --with-lmdb \
76 + --with-bash-completions="$(get_bashcompdir)" \
77 + $(use_enable fastparser) \
78 + $(use_enable dnstap) \
79 + $(use_enable doc documentation) \
80 + $(use_with idn libidn) \
81 + --enable-systemd=$(usex systemd)
82 +}
83 +
84 +src_compile() {
85 + default
86 +
87 + if use doc; then
88 + emake -C doc html
89 + HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
90 + fi
91 +}
92 +
93 +src_test() {
94 + emake check
95 +}
96 +
97 +src_install() {
98 + default
99 +
100 + keepdir /var/lib/${PN}
101 +
102 + newinitd "${FILESDIR}/knot.init" knot
103 + systemd_dounit "${FILESDIR}/knot.service"
104 +
105 + prune_libtool_files
106 +}
107 +
108 +pkg_postinst() {
109 + enewgroup knot 53
110 + enewuser knot 53 -1 /var/lib/knot knot
111 +}
112
113 diff --git a/net-dns/knot/knot-2.5.2.ebuild b/net-dns/knot/knot-2.5.2.ebuild
114 new file mode 100644
115 index 00000000000..4644120da23
116 --- /dev/null
117 +++ b/net-dns/knot/knot-2.5.2.ebuild
118 @@ -0,0 +1,77 @@
119 +# Copyright 1999-2017 Gentoo Foundation
120 +# Distributed under the terms of the GNU General Public License v2
121 +
122 +EAPI=6
123 +
124 +inherit bash-completion-r1 eutils systemd user
125 +
126 +DESCRIPTION="High-performance authoritative-only DNS server"
127 +HOMEPAGE="http://www.knot-dns.cz/"
128 +SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
129 +
130 +LICENSE="GPL-3"
131 +SLOT="0"
132 +KEYWORDS="~amd64 ~x86"
133 +IUSE="dnstap doc caps +fastparser idn systemd"
134 +
135 +RDEPEND="
136 + >=net-libs/gnutls-3.3:=
137 + >=dev-db/lmdb-0.9.15
138 + >=dev-libs/userspace-rcu-0.5.4
139 + caps? ( >=sys-libs/libcap-ng-0.6.4 )
140 + dnstap? (
141 + dev-libs/fstrm
142 + dev-libs/protobuf-c
143 + )
144 + idn? ( || ( net-dns/libidn >=net-dns/libidn2-2.0.0 ) )
145 + dev-libs/libedit
146 + systemd? ( sys-apps/systemd )
147 +"
148 +DEPEND="${RDEPEND}
149 + virtual/pkgconfig
150 + doc? ( dev-python/sphinx )
151 +"
152 +
153 +S="${WORKDIR}/${P/_/-}"
154 +
155 +src_configure() {
156 + econf \
157 + --with-storage="${EPREFIX}/var/lib/${PN}" \
158 + --with-rundir="${EPREFIX}/var/run/${PN}" \
159 + --with-lmdb \
160 + --with-bash-completions="$(get_bashcompdir)" \
161 + $(use_enable fastparser) \
162 + $(use_enable dnstap) \
163 + $(use_enable doc documentation) \
164 + $(use_with idn libidn) \
165 + --enable-systemd=$(usex systemd)
166 +}
167 +
168 +src_compile() {
169 + default
170 +
171 + if use doc; then
172 + emake -C doc html
173 + HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
174 + fi
175 +}
176 +
177 +src_test() {
178 + emake check
179 +}
180 +
181 +src_install() {
182 + default
183 +
184 + keepdir /var/lib/${PN}
185 +
186 + newinitd "${FILESDIR}/knot.init" knot
187 + systemd_dounit "${FILESDIR}/knot.service"
188 +
189 + prune_libtool_files
190 +}
191 +
192 +pkg_postinst() {
193 + enewgroup knot 53
194 + enewuser knot 53 -1 /var/lib/knot knot
195 +}