[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2024-07-31 Thread Matthew Smith
commit: 63ea5300416022b95bed9611d81988c100cb8259
Author: Matthew Smith  gentoo  org>
AuthorDate: Wed Jul 31 16:53:17 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Wed Jul 31 17:50:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ea5300

net-dns/knot-resolver: drop myself as a maintainer

Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-dns/knot-resolver/metadata.xml 
b/net-dns/knot-resolver/metadata.xml
index 9f36a2c8cacc..a535381c62c3 100644
--- a/net-dns/knot-resolver/metadata.xml
+++ b/net-dns/knot-resolver/metadata.xml
@@ -1,10 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   matt...@gentoo.org
-   Matthew Smith
-   
+   


Build dnstap binary logging module



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2024-04-07 Thread Matthew Smith
commit: 42908cf32f480ccffcabecf05c94ea91a2efdcee
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Apr  7 10:38:53 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Apr  7 10:40:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42908cf3

net-dns/knot-resolver: add 5.7.2

Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/Manifest   |   2 +
 net-dns/knot-resolver/knot-resolver-5.7.2.ebuild | 101 +++
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index f0901331dea4..e689e1deb0f5 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -1,2 +1,4 @@
 DIST knot-resolver-5.7.1.tar.xz 1928088 BLAKE2B 
66a7f4e5e16a07f4ef2ed7ec42e40068dc9642362deffb2f78a1aa14e7cffe7e170ebde4180d460b9d5701632258e9e2148b34f5967200651762c2e8b5fe371a
 SHA512 
89ebff7e239ea09d9d180386f4551952fb59a3f1d0ca01a172acf27d2eade16ae578142d811333e49ad3a2f629cf5b23d038043c0768469078fcfd5cbfb5020b
 DIST knot-resolver-5.7.1.tar.xz.asc 833 BLAKE2B 
058a040d23a7e55dc9faf7b02967f9e5d9582f2fdbed9b8737843d0e734a1dd1bc7503e367904664fc5f42f79f1839c43aaf1c00a3fbce50c1a7d2ddf7c515cc
 SHA512 
0ec86e0aba583383df4f1ed909ef71a3473bc1412970b91d184372b53c5471ac41e6bf60e9a817c184501113f2d8272c3b0d2c379f80dfe2476ef32c861dd235
+DIST knot-resolver-5.7.2.tar.xz 1928336 BLAKE2B 
c4f17a050752a5d1ed141bae646f53f313e866b91b80bb72d37c6b2907d365333ca02fbadf4ff49e5559b721b695d1e7af3417a25e0518dbdfdec1860f890408
 SHA512 
973e9a541b54cee0d230247d279785a83ce2127216b12ee9f314a49adedac3e23e8369900d6f0985b0a666e9bcae7772f29224565e6208ed4988b13530e4ff0b
+DIST knot-resolver-5.7.2.tar.xz.asc 833 BLAKE2B 
f73f52d7b2326a58a37b821cd8495d20c93017bd1f7bad2cc828f807f1886fc376dc95405b3b36047719f8566e27d7c1052b7ab11fae3d1d67c5563a293d965e
 SHA512 
cf05ceca45544cf249b1029b93619a1d5fcf839bca1259a7b411a1ddef1da0aff187ea0023c587de1981e91a8d26af3bb22341cf426e5055e8ca1c4024e2

diff --git a/net-dns/knot-resolver/knot-resolver-5.7.2.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.7.2.ebuild
new file mode 100644
index ..9877746f6cda
--- /dev/null
+++ b/net-dns/knot-resolver/knot-resolver-5.7.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit lua-single meson tmpfiles verify-sig
+
+DESCRIPTION="A scaleable caching DNS resolver"
+HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
+SRC_URI="
+   https://secure.nic.cz/files/${PN}/${P}.tar.xz
+   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
+"
+
+LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="caps dnstap jemalloc kresc nghttp2 systemd test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+   ${LUA_DEPS}
+   acct-group/knot-resolver
+   acct-user/knot-resolver
+   dev-db/lmdb:=
+   dev-libs/libuv:=
+   net-dns/knot:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   jemalloc? ( dev-libs/jemalloc:= )
+   kresc? ( dev-libs/libedit )
+   nghttp2? ( net-libs/nghttp2:= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+ dev-util/cmocka
+   )
+"
+BDEPEND="
+   virtual/pkgconfig
+   verify-sig? ( >=sec-keys/openpgp-keys-knot-resolver-20240304 )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.5.3-docdir.patch
+   "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
+
+   # Bug #921567
+   "${FILESDIR}"/${PN}-5.7.0-r2-tmpfiles.patch
+)
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg
+
+src_unpack() {
+   if use verify-sig; then
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+   fi
+
+   unpack ${P}.tar.xz
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}"/var # double lib
+   # https://bugs.gentoo.org/870019
+   -Dauto_features=disabled
+   -Ddoc=disabled
+   -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
+   -Dopenssl=disabled
+   -Dmalloc=$(usex jemalloc jemalloc disabled)
+   $(meson_feature caps capng)
+   $(meson_feature dnstap)
+   $(meson_feature kresc client)
+   $(meson_feature nghttp2)
+   $(meson_feature test unit_tests)
+   $(meson_feature systemd systemd_files)
+   )
+
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+   fowners -R ${PN}: /etc/${PN}
+
+   newinitd "${FILESDIR}"/kresd.initd-r1 kresd
+   newconfd "${FILESDIR}"/kresd.confd-r1 kresd
+}
+
+pkg_postinst() {
+   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2024-02-16 Thread Matthew Smith
commit: 62c0efbb862c9a2cfb921f69c8b9c64cc0cde30b
Author: Matthew Smith  gentoo  org>
AuthorDate: Fri Feb 16 08:02:47 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Fri Feb 16 08:02:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c0efbb

net-dns/knot-resolver: drop vulnerable 5.7.0-r2

Bug: https://bugs.gentoo.org/924459
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/Manifest |  2 -
 .../knot-resolver/knot-resolver-5.7.0-r2.ebuild| 99 --
 2 files changed, 101 deletions(-)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index 2972f0eb00dd..f0901331dea4 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -1,4 +1,2 @@
-DIST knot-resolver-5.7.0.tar.xz 1926196 BLAKE2B 
8debd339b12781374721b4800957d4a30ed1e3455110babbab4ad9cac7b72eabe3436fe42c97a6c898d6ac48644102ac8afcbbaca435d8fc7c54fd7bd21c2457
 SHA512 
38095b94ef341717ba99f1dd354fe184acdce05cb234ff685d2ff84992d8cba6ca1b8b3623998dfd3ffe9d728282963c6973c30996b836060c75e1d2ac3ee544
-DIST knot-resolver-5.7.0.tar.xz.asc 833 BLAKE2B 
1a8384c1db6101ab52db3b7472f6d0022e7046b0544cfc272807376391994c7d57f53a1def2be68cc86a587997bc64d8bddcfbda07969b5ae8573a9396394619
 SHA512 
a0403af705ac39d80ec0a3a608e0210f50bc647c078a8dc74a3c814b6c3541a777a2c83ce11c448a10ac9bfa8f96b38537c5a54c2d4cd15ba3ee402793eb92a4
 DIST knot-resolver-5.7.1.tar.xz 1928088 BLAKE2B 
66a7f4e5e16a07f4ef2ed7ec42e40068dc9642362deffb2f78a1aa14e7cffe7e170ebde4180d460b9d5701632258e9e2148b34f5967200651762c2e8b5fe371a
 SHA512 
89ebff7e239ea09d9d180386f4551952fb59a3f1d0ca01a172acf27d2eade16ae578142d811333e49ad3a2f629cf5b23d038043c0768469078fcfd5cbfb5020b
 DIST knot-resolver-5.7.1.tar.xz.asc 833 BLAKE2B 
058a040d23a7e55dc9faf7b02967f9e5d9582f2fdbed9b8737843d0e734a1dd1bc7503e367904664fc5f42f79f1839c43aaf1c00a3fbce50c1a7d2ddf7c515cc
 SHA512 
0ec86e0aba583383df4f1ed909ef71a3473bc1412970b91d184372b53c5471ac41e6bf60e9a817c184501113f2d8272c3b0d2c379f80dfe2476ef32c861dd235

diff --git a/net-dns/knot-resolver/knot-resolver-5.7.0-r2.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.7.0-r2.ebuild
deleted file mode 100644
index 6757ff637a8b..
--- a/net-dns/knot-resolver/knot-resolver-5.7.0-r2.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-
-inherit lua-single meson tmpfiles verify-sig
-
-DESCRIPTION="A scaleable caching DNS resolver"
-HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
-SRC_URI="
-   https://secure.nic.cz/files/${PN}/${P}.tar.xz
-   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
-"
-
-LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="caps dnstap kresc nghttp2 systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
-   ${LUA_DEPS}
-   acct-group/knot-resolver
-   acct-user/knot-resolver
-   dev-db/lmdb:=
-   dev-libs/libuv:=
-   net-dns/knot:=
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   kresc? ( dev-libs/libedit )
-   nghttp2? ( net-libs/nghttp2:= )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="
-   ${RDEPEND}
-   test? (
- dev-util/cmocka
-   )
-"
-BDEPEND="
-   virtual/pkgconfig
-   verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.5.3-docdir.patch
-   "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
-
-   # Bug #921567
-   "${FILESDIR}"/${PN}-5.7.0-r2-tmpfiles.patch
-)
-
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg
-
-src_unpack() {
-   if use verify-sig; then
-   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
-   fi
-
-   unpack ${P}.tar.xz
-}
-
-src_configure() {
-   local emesonargs=(
-   --localstatedir "${EPREFIX}"/var # double lib
-   # https://bugs.gentoo.org/870019
-   -Dauto_features=disabled
-   -Ddoc=disabled
-   -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
-   -Dopenssl=disabled
-   $(meson_feature caps capng)
-   $(meson_feature dnstap)
-   $(meson_feature kresc client)
-   $(meson_feature nghttp2)
-   $(meson_feature test unit_tests)
-   $(meson_feature systemd systemd_files)
-   )
-
-   meson_src_configure
-}
-
-src_install() {
-   meson_src_install
-   fowners -R ${PN}: /etc/${PN}
-
-   newinitd "${FILESDIR}"/kresd.initd-r1 kresd
-   newconfd "${FILESDIR}"/kresd.confd-r1 kresd
-}
-
-pkg_postinst() {
-   tmpfiles_process knot-resolver.conf
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2024-02-15 Thread Sam James
commit: 49b598ae8d1d9ea36a2924ae234a8ec56382f8e2
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 15 20:03:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 15 20:03:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49b598ae

net-dns/knot-resolver: Stabilize 5.7.1 amd64, #924497

Signed-off-by: Sam James  gentoo.org>

 net-dns/knot-resolver/knot-resolver-5.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild
index d290dfce00fe..a30c19804140 100644
--- a/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="caps dnstap jemalloc kresc nghttp2 systemd test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${LUA_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2024-02-14 Thread Matthew Smith
commit: f5f77958c503a234dcf58feabeeb04922ccc986c
Author: Matthew Smith  gentoo  org>
AuthorDate: Wed Feb 14 08:31:27 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Wed Feb 14 08:31:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5f77958

net-dns/knot-resolver: add 5.7.1

Add jemalloc USE flag to fix automagic dependency.

Bug: https://bugs.gentoo.org/924459
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/Manifest   |   2 +
 net-dns/knot-resolver/knot-resolver-5.7.1.ebuild | 101 +++
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index 1dce09d66a1b..2972f0eb00dd 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -1,2 +1,4 @@
 DIST knot-resolver-5.7.0.tar.xz 1926196 BLAKE2B 
8debd339b12781374721b4800957d4a30ed1e3455110babbab4ad9cac7b72eabe3436fe42c97a6c898d6ac48644102ac8afcbbaca435d8fc7c54fd7bd21c2457
 SHA512 
38095b94ef341717ba99f1dd354fe184acdce05cb234ff685d2ff84992d8cba6ca1b8b3623998dfd3ffe9d728282963c6973c30996b836060c75e1d2ac3ee544
 DIST knot-resolver-5.7.0.tar.xz.asc 833 BLAKE2B 
1a8384c1db6101ab52db3b7472f6d0022e7046b0544cfc272807376391994c7d57f53a1def2be68cc86a587997bc64d8bddcfbda07969b5ae8573a9396394619
 SHA512 
a0403af705ac39d80ec0a3a608e0210f50bc647c078a8dc74a3c814b6c3541a777a2c83ce11c448a10ac9bfa8f96b38537c5a54c2d4cd15ba3ee402793eb92a4
+DIST knot-resolver-5.7.1.tar.xz 1928088 BLAKE2B 
66a7f4e5e16a07f4ef2ed7ec42e40068dc9642362deffb2f78a1aa14e7cffe7e170ebde4180d460b9d5701632258e9e2148b34f5967200651762c2e8b5fe371a
 SHA512 
89ebff7e239ea09d9d180386f4551952fb59a3f1d0ca01a172acf27d2eade16ae578142d811333e49ad3a2f629cf5b23d038043c0768469078fcfd5cbfb5020b
+DIST knot-resolver-5.7.1.tar.xz.asc 833 BLAKE2B 
058a040d23a7e55dc9faf7b02967f9e5d9582f2fdbed9b8737843d0e734a1dd1bc7503e367904664fc5f42f79f1839c43aaf1c00a3fbce50c1a7d2ddf7c515cc
 SHA512 
0ec86e0aba583383df4f1ed909ef71a3473bc1412970b91d184372b53c5471ac41e6bf60e9a817c184501113f2d8272c3b0d2c379f80dfe2476ef32c861dd235

diff --git a/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild
new file mode 100644
index ..d290dfce00fe
--- /dev/null
+++ b/net-dns/knot-resolver/knot-resolver-5.7.1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit lua-single meson tmpfiles verify-sig
+
+DESCRIPTION="A scaleable caching DNS resolver"
+HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
+SRC_URI="
+   https://secure.nic.cz/files/${PN}/${P}.tar.xz
+   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
+"
+
+LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="caps dnstap jemalloc kresc nghttp2 systemd test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+   ${LUA_DEPS}
+   acct-group/knot-resolver
+   acct-user/knot-resolver
+   dev-db/lmdb:=
+   dev-libs/libuv:=
+   net-dns/knot:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   jemalloc? ( dev-libs/jemalloc:= )
+   kresc? ( dev-libs/libedit )
+   nghttp2? ( net-libs/nghttp2:= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+ dev-util/cmocka
+   )
+"
+BDEPEND="
+   virtual/pkgconfig
+   verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.5.3-docdir.patch
+   "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
+
+   # Bug #921567
+   "${FILESDIR}"/${PN}-5.7.0-r2-tmpfiles.patch
+)
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg
+
+src_unpack() {
+   if use verify-sig; then
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+   fi
+
+   unpack ${P}.tar.xz
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}"/var # double lib
+   # https://bugs.gentoo.org/870019
+   -Dauto_features=disabled
+   -Ddoc=disabled
+   -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
+   -Dopenssl=disabled
+   -Dmalloc=$(usex jemalloc jemalloc disabled)
+   $(meson_feature caps capng)
+   $(meson_feature dnstap)
+   $(meson_feature kresc client)
+   $(meson_feature nghttp2)
+   $(meson_feature test unit_tests)
+   $(meson_feature systemd systemd_files)
+   )
+
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+   fowners -R ${PN}: /etc/${PN}
+
+   newinitd "${FILESDIR}"/kresd.initd-r1 kresd
+   newconfd 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/, net-dns/knot-resolver/files/

2024-01-21 Thread Matthew Smith
commit: a68f45ea0f1c0f438465e8f401744a41294c8b24
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Jan 21 19:44:11 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Jan 21 19:44:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a68f45ea

net-dns/knot-resolver: fix USE=-systemd tmpfiles

Closes: https://bugs.gentoo.org/922635
Signed-off-by: Matthew Smith  gentoo.org>

 ...tmpfiles.patch => knot-resolver-5.7.0-r2-tmpfiles.patch} | 13 +
 ...solver-5.7.0-r1.ebuild => knot-resolver-5.7.0-r2.ebuild} |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/net-dns/knot-resolver/files/knot-resolver-5.7.0-tmpfiles.patch 
b/net-dns/knot-resolver/files/knot-resolver-5.7.0-r2-tmpfiles.patch
similarity index 85%
rename from net-dns/knot-resolver/files/knot-resolver-5.7.0-tmpfiles.patch
rename to net-dns/knot-resolver/files/knot-resolver-5.7.0-r2-tmpfiles.patch
index e199806972cb..a909a6e8c89b 100644
--- a/net-dns/knot-resolver/files/knot-resolver-5.7.0-tmpfiles.patch
+++ b/net-dns/knot-resolver/files/knot-resolver-5.7.0-r2-tmpfiles.patch
@@ -2,6 +2,19 @@ Always install tmpfiles config.
 
 Bug: https://bugs.gentoo.org/921567
 Bug: https://gitlab.nic.cz/knot/knot-resolver/-/issues/886
+--- a/meson.build
 b/meson.build
+@@ -237,9 +237,7 @@ subdir('etc')
+ 
+ 
+ # Systemd unit files
+-if systemd_files != 'disabled'
+-  subdir('systemd')
+-endif
++subdir('systemd')
+ 
+ 
+ # Additional files
 --- a/systemd/meson.build
 +++ b/systemd/meson.build
 @@ -12,6 +12,18 @@ systemd_config.set('etc_dir', etc_dir)

diff --git a/net-dns/knot-resolver/knot-resolver-5.7.0-r1.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.7.0-r2.ebuild
similarity index 97%
rename from net-dns/knot-resolver/knot-resolver-5.7.0-r1.ebuild
rename to net-dns/knot-resolver/knot-resolver-5.7.0-r2.ebuild
index 23e7e7d6f11e..6757ff637a8b 100644
--- a/net-dns/knot-resolver/knot-resolver-5.7.0-r1.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.7.0-r2.ebuild
@@ -54,7 +54,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
 
# Bug #921567
-   "${FILESDIR}"/${PN}-5.7.0-tmpfiles.patch
+   "${FILESDIR}"/${PN}-5.7.0-r2-tmpfiles.patch
 )
 
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/, net-dns/knot-resolver/files/

2024-01-21 Thread Matthew Smith
commit: 91c56fb74d6419e4384f56a6dd514a33cdef5ca8
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Jan 21 14:11:02 2024 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Jan 21 14:12:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91c56fb7

net-dns/knot-resolver: always install tmpfiles config

Closes: https://bugs.gentoo.org/921567
Signed-off-by: Matthew Smith  gentoo.org>

 .../files/knot-resolver-5.7.0-tmpfiles.patch   | 47 ++
 ...-5.7.0.ebuild => knot-resolver-5.7.0-r1.ebuild} |  7 +++-
 2 files changed, 52 insertions(+), 2 deletions(-)

diff --git a/net-dns/knot-resolver/files/knot-resolver-5.7.0-tmpfiles.patch 
b/net-dns/knot-resolver/files/knot-resolver-5.7.0-tmpfiles.patch
new file mode 100644
index ..e199806972cb
--- /dev/null
+++ b/net-dns/knot-resolver/files/knot-resolver-5.7.0-tmpfiles.patch
@@ -0,0 +1,47 @@
+Always install tmpfiles config.
+
+Bug: https://bugs.gentoo.org/921567
+Bug: https://gitlab.nic.cz/knot/knot-resolver/-/issues/886
+--- a/systemd/meson.build
 b/systemd/meson.build
+@@ -12,6 +12,18 @@ systemd_config.set('etc_dir', etc_dir)
+ systemd_config.set('run_dir', run_dir)
+ systemd_config.set('lib_dir', lib_dir)
+ 
++## tmpfiles
++tmpfiles = configure_file(
++  input: 'tmpfiles.d/knot-resolver.conf.in',
++  output: 'knot-resolver.tmpfiles',
++  configuration: systemd_config,
++)
++install_data(
++  tmpfiles,
++  rename: ['knot-resolver.conf'],
++  install_dir: systemd_tmpfiles_dir,
++)
++
+ if systemd_files == 'enabled'
+   ## unit files
+   kresd_service = configure_file(
+@@ -39,18 +51,6 @@ if systemd_files == 'enabled'
+   )
+   install_man(kresd_systemd_man)
+ 
+-  ## tmpfiles
+-  tmpfiles = configure_file(
+-input: 'tmpfiles.d/knot-resolver.conf.in',
+-output: 'knot-resolver.tmpfiles',
+-configuration: systemd_config,
+-  )
+-  install_data(
+-tmpfiles,
+-rename: ['knot-resolver.conf'],
+-install_dir: systemd_tmpfiles_dir,
+-  )
+-
+   ## sysusers
+   sysusers = configure_file(
+ input: 'sysusers.d/knot-resolver.conf.in',
+-- 
+2.43.0
+

diff --git a/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.7.0-r1.ebuild
similarity index 93%
rename from net-dns/knot-resolver/knot-resolver-5.7.0.ebuild
rename to net-dns/knot-resolver/knot-resolver-5.7.0-r1.ebuild
index 7388f32ffb47..23e7e7d6f11e 100644
--- a/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2023 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -52,6 +52,9 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}"/${PN}-5.5.3-docdir.patch
"${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
+
+   # Bug #921567
+   "${FILESDIR}"/${PN}-5.7.0-tmpfiles.patch
 )
 
 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg
@@ -92,5 +95,5 @@ src_install() {
 }
 
 pkg_postinst() {
-   use systemd && tmpfiles_process knot-resolver.conf
+   tmpfiles_process knot-resolver.conf
 }



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/, net-dns/knot-resolver/files/

2023-11-27 Thread Matthew Smith
commit: f94aa3d33429bf55f0e948af14b719d160e8b2af
Author: Matthew Smith  gentoo  org>
AuthorDate: Mon Nov 27 08:35:28 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Mon Nov 27 08:35:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f94aa3d3

net-dns/knot-resolver: drop vulnerable 5.6.0, 5.6.0-r1, 5.6.0-r2

Bug: https://bugs.gentoo.org/918587
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/Manifest |  2 -
 net-dns/knot-resolver/files/kresd.confd|  5 --
 net-dns/knot-resolver/files/kresd.initd| 23 --
 .../knot-resolver/knot-resolver-5.6.0-r1.ebuild| 96 --
 .../knot-resolver/knot-resolver-5.6.0-r2.ebuild| 96 --
 net-dns/knot-resolver/knot-resolver-5.6.0.ebuild   | 93 -
 6 files changed, 315 deletions(-)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index 85106ad91e9d..1dce09d66a1b 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -1,4 +1,2 @@
-DIST knot-resolver-5.6.0.tar.xz 1923196 BLAKE2B 
8d1595e29ca5a3d597f15eda799a1e4e91bcd992c25f442f7b9247b4facec21fb41a89c4db3b2efcd8b8384d9463965ea16c617950fb408685ee6d565686d4e2
 SHA512 
efa978a8885e9aa6459bad8016e872ded5923d6c4367bb9586764ebfbad903923583ede9cab6339107d32450bf0846a40b8ab72ba7011d57827a86d822b95840
-DIST knot-resolver-5.6.0.tar.xz.asc 833 BLAKE2B 
0a5ea3a5458be6a9b8a6cb34e3862119a53841b98148cc543046d745e14cfb49952bf2dbece6cfb3ed302affbcc6dce1911fc8900c0f4cb0acf22698d8b2257c
 SHA512 
1c3ebe636b8295b31fffe08bd1ffade9d6c83a0584ef5cf84cb9f3951260b2e77272c4524789f244cd209381c7adb8c2e4b140e2fae616927a7d037cb187b165
 DIST knot-resolver-5.7.0.tar.xz 1926196 BLAKE2B 
8debd339b12781374721b4800957d4a30ed1e3455110babbab4ad9cac7b72eabe3436fe42c97a6c898d6ac48644102ac8afcbbaca435d8fc7c54fd7bd21c2457
 SHA512 
38095b94ef341717ba99f1dd354fe184acdce05cb234ff685d2ff84992d8cba6ca1b8b3623998dfd3ffe9d728282963c6973c30996b836060c75e1d2ac3ee544
 DIST knot-resolver-5.7.0.tar.xz.asc 833 BLAKE2B 
1a8384c1db6101ab52db3b7472f6d0022e7046b0544cfc272807376391994c7d57f53a1def2be68cc86a587997bc64d8bddcfbda07969b5ae8573a9396394619
 SHA512 
a0403af705ac39d80ec0a3a608e0210f50bc647c078a8dc74a3c814b6c3541a777a2c83ce11c448a10ac9bfa8f96b38537c5a54c2d4cd15ba3ee402793eb92a4

diff --git a/net-dns/knot-resolver/files/kresd.confd 
b/net-dns/knot-resolver/files/kresd.confd
deleted file mode 100644
index 6749da309845..
--- a/net-dns/knot-resolver/files/kresd.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 1999-2023 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-KRESD_OPTS="-n /var/run/kresd"
-
-#KRESD_PIDFILE="/var/run/kresd.pid"
\ No newline at end of file

diff --git a/net-dns/knot-resolver/files/kresd.initd 
b/net-dns/knot-resolver/files/kresd.initd
deleted file mode 100644
index b443d98d749d..
--- a/net-dns/knot-resolver/files/kresd.initd
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-command="/usr/sbin/kresd"
-command_args="${KRESD_OPTS}"
-pidfile="${KRESD_PIDFILE:-/var/run/${RC_SVCNAME}.pid}"
-command_background=true
-start_stop_daemon_args="--start -bm --pidfile ${pidfile} --exec ${command} -- 
${command_args}"
-
-name="knot-resolver"
-description="scaleable caching DNS resolver"
-
-depend() {
-need net
-use logger
-provide dns
-}
-
-start() {
-   checkpath --directory /var/run/kresd
-   default_start
-}

diff --git a/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild
deleted file mode 100644
index dd8eb0f8c6c6..
--- a/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-
-inherit lua-single meson tmpfiles verify-sig
-
-DESCRIPTION="A scaleable caching DNS resolver"
-HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
-SRC_URI="
-   https://secure.nic.cz/files/${PN}/${P}.tar.xz
-   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
-"
-
-LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="caps dnstap kresc nghttp2 systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
-   ${LUA_DEPS}
-   acct-group/knot-resolver
-   acct-user/knot-resolver
-   dev-db/lmdb:=
-   dev-libs/libuv:=
-   net-dns/knot:=
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   kresc? ( dev-libs/libedit )
-   nghttp2? ( net-libs/nghttp2:= )
-   systemd? ( sys-apps/systemd:= )
-"

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2023-11-26 Thread Sam James
commit: 100a0448932e53b61930cf5b06e02614039b8641
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 26 23:17:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 26 23:18:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100a0448

net-dns/knot-resolver: Stabilize 5.7.0 amd64, #918588

Signed-off-by: Sam James  gentoo.org>

 net-dns/knot-resolver/knot-resolver-5.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild
index 7e20818b9341..7388f32ffb47 100644
--- a/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="caps dnstap kresc nghttp2 systemd test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${LUA_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2023-09-29 Thread Matthew Smith
commit: 1f6fa51d6bf076c0a93c399fc340f0388041ee88
Author: Matthew Smith  gentoo  org>
AuthorDate: Fri Sep 29 10:10:03 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Fri Sep 29 10:10:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6fa51d

net-dns/knot-resolver: add 5.7.0

Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/Manifest   |  2 +
 net-dns/knot-resolver/knot-resolver-5.7.0.ebuild | 96 
 2 files changed, 98 insertions(+)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index 2cf178c5624e..85106ad91e9d 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -1,2 +1,4 @@
 DIST knot-resolver-5.6.0.tar.xz 1923196 BLAKE2B 
8d1595e29ca5a3d597f15eda799a1e4e91bcd992c25f442f7b9247b4facec21fb41a89c4db3b2efcd8b8384d9463965ea16c617950fb408685ee6d565686d4e2
 SHA512 
efa978a8885e9aa6459bad8016e872ded5923d6c4367bb9586764ebfbad903923583ede9cab6339107d32450bf0846a40b8ab72ba7011d57827a86d822b95840
 DIST knot-resolver-5.6.0.tar.xz.asc 833 BLAKE2B 
0a5ea3a5458be6a9b8a6cb34e3862119a53841b98148cc543046d745e14cfb49952bf2dbece6cfb3ed302affbcc6dce1911fc8900c0f4cb0acf22698d8b2257c
 SHA512 
1c3ebe636b8295b31fffe08bd1ffade9d6c83a0584ef5cf84cb9f3951260b2e77272c4524789f244cd209381c7adb8c2e4b140e2fae616927a7d037cb187b165
+DIST knot-resolver-5.7.0.tar.xz 1926196 BLAKE2B 
8debd339b12781374721b4800957d4a30ed1e3455110babbab4ad9cac7b72eabe3436fe42c97a6c898d6ac48644102ac8afcbbaca435d8fc7c54fd7bd21c2457
 SHA512 
38095b94ef341717ba99f1dd354fe184acdce05cb234ff685d2ff84992d8cba6ca1b8b3623998dfd3ffe9d728282963c6973c30996b836060c75e1d2ac3ee544
+DIST knot-resolver-5.7.0.tar.xz.asc 833 BLAKE2B 
1a8384c1db6101ab52db3b7472f6d0022e7046b0544cfc272807376391994c7d57f53a1def2be68cc86a587997bc64d8bddcfbda07969b5ae8573a9396394619
 SHA512 
a0403af705ac39d80ec0a3a608e0210f50bc647c078a8dc74a3c814b6c3541a777a2c83ce11c448a10ac9bfa8f96b38537c5a54c2d4cd15ba3ee402793eb92a4

diff --git a/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild
new file mode 100644
index ..1c2b1ab746e9
--- /dev/null
+++ b/net-dns/knot-resolver/knot-resolver-5.7.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit lua-single meson tmpfiles verify-sig
+
+DESCRIPTION="A scaleable caching DNS resolver"
+HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
+SRC_URI="
+   https://secure.nic.cz/files/${PN}/${P}.tar.xz
+   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
+"
+
+LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="caps dnstap kresc nghttp2 systemd test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+   ${LUA_DEPS}
+   acct-group/knot-resolver
+   acct-user/knot-resolver
+   dev-db/lmdb:=
+   dev-libs/libuv:=
+   net-dns/knot:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   kresc? ( dev-libs/libedit )
+   nghttp2? ( net-libs/nghttp2:= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+ dev-util/cmocka
+   )
+"
+BDEPEND="
+   virtual/pkgconfig
+   verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.5.3-docdir.patch
+   "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
+)
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/${PN}.gpg
+
+src_unpack() {
+   if use verify-sig; then
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+   fi
+
+   unpack ${P}.tar.xz
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}"/var # double lib
+   # https://bugs.gentoo.org/870019
+   -Dauto_features=disabled
+   -Ddoc=disabled
+   -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
+   -Dopenssl=disabled
+   $(meson_feature caps capng)
+   $(meson_feature dnstap)
+   $(meson_feature kresc client)
+   $(meson_feature nghttp2)
+   $(meson_feature test unit_tests)
+   $(meson_feature systemd systemd_files)
+   )
+
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+   fowners -R ${PN}: /etc/${PN}
+
+   newinitd "${FILESDIR}"/kresd.initd-r1 kresd
+   newconfd "${FILESDIR}"/kresd.confd-r1 kresd
+}
+
+pkg_postinst() {
+   use systemd && tmpfiles_process knot-resolver.conf
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/files/, net-dns/knot-resolver/

2023-09-17 Thread Matthew Smith
commit: a1c699c2a6c5e30dfd7fa8e645756bb90cf87409
Author: Nicolas PARLANT  parhuet  fr>
AuthorDate: Sun Sep 17 07:35:57 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Sep 17 07:35:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c699c2

net-dns/knot-resolver: drop privileges in kresd.initd

Closes: https://github.com/gentoo/gentoo/pull/32871
Signed-off-by: Nicolas PARLANT  parhuet.fr>
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/files/kresd.confd-r1 |  9 ++
 net-dns/knot-resolver/files/kresd.initd-r1 | 31 +++
 .../knot-resolver/knot-resolver-5.6.0-r2.ebuild| 96 ++
 3 files changed, 136 insertions(+)

diff --git a/net-dns/knot-resolver/files/kresd.confd-r1 
b/net-dns/knot-resolver/files/kresd.confd-r1
new file mode 100644
index ..2b67587c646a
--- /dev/null
+++ b/net-dns/knot-resolver/files/kresd.confd-r1
@@ -0,0 +1,9 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+#KRESD_USER=knot-resolver
+#KRESD_GROUP=knot-resolver
+#KRESD_CONFIG="/etc/knot-resolver/kresd.conf"
+#KRESD_RUNDIR="/var/run/kresd"
+#KRESD_PIDFILE="/var/run/kresd.pid"
+KRESD_OPTS=""
\ No newline at end of file

diff --git a/net-dns/knot-resolver/files/kresd.initd-r1 
b/net-dns/knot-resolver/files/kresd.initd-r1
new file mode 100644
index ..9732b48cc2cb
--- /dev/null
+++ b/net-dns/knot-resolver/files/kresd.initd-r1
@@ -0,0 +1,31 @@
+#!/sbin/openrc-run
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+: ${KRESD_GROUP:=knot-resolver}
+: ${KRESD_USER:=knot-resolver}
+: ${KRESD_CONFIG:=/etc/knot-resolver/kresd.conf}
+: ${KRESD_RUNDIR:=/var/run/kresd}
+: ${KRESD_PIDFILE:=/var/run/kresd.pid}
+
+command="/usr/sbin/kresd"
+command_args="${KRESD_OPTS} -n -c ${KRESD_CONFIG} ${KRESD_RUNDIR}"
+command_user="${KRESD_USER}:${KRESD_GROUP}"
+pidfile="${KRESD_PIDFILE}"
+command_background=true
+retry="TERM/60/KILL/5"
+
+capabilities="^cap_net_bind_service,^cap_setpcap"
+
+name="knot-resolver"
+description="scaleable caching DNS resolver"
+
+depend() {
+need net
+use logger
+provide dns
+}
+
+start_pre() {
+checkpath -d -m 0750 -o "${KRESD_USER}:${KRESD_GROUP}" ${KRESD_RUNDIR}
+}

diff --git a/net-dns/knot-resolver/knot-resolver-5.6.0-r2.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.6.0-r2.ebuild
new file mode 100644
index ..1c2b1ab746e9
--- /dev/null
+++ b/net-dns/knot-resolver/knot-resolver-5.6.0-r2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit lua-single meson tmpfiles verify-sig
+
+DESCRIPTION="A scaleable caching DNS resolver"
+HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
+SRC_URI="
+   https://secure.nic.cz/files/${PN}/${P}.tar.xz
+   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
+"
+
+LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="caps dnstap kresc nghttp2 systemd test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+   ${LUA_DEPS}
+   acct-group/knot-resolver
+   acct-user/knot-resolver
+   dev-db/lmdb:=
+   dev-libs/libuv:=
+   net-dns/knot:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   kresc? ( dev-libs/libedit )
+   nghttp2? ( net-libs/nghttp2:= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+ dev-util/cmocka
+   )
+"
+BDEPEND="
+   virtual/pkgconfig
+   verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.5.3-docdir.patch
+   "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
+)
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/${PN}.gpg
+
+src_unpack() {
+   if use verify-sig; then
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+   fi
+
+   unpack ${P}.tar.xz
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}"/var # double lib
+   # https://bugs.gentoo.org/870019
+   -Dauto_features=disabled
+   -Ddoc=disabled
+   -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
+   -Dopenssl=disabled
+   $(meson_feature caps capng)
+   $(meson_feature dnstap)
+   $(meson_feature kresc client)
+   $(meson_feature nghttp2)
+   $(meson_feature test unit_tests)
+   $(meson_feature systemd systemd_files)
+   )
+
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+   fowners -R ${PN}: /etc/${PN}

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2023-08-03 Thread Florian Schmaus
commit: 0bebe3a941aedb5fdeb148c24b4f4b3771c09954
Author: Violet Purcell  inventati  org>
AuthorDate: Wed Aug  2 23:44:28 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Aug  3 07:45:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bebe3a9

net-dns/knot: add 3.2.9

Includes fix for bug in knsupdate:
https://gitlab.nic.cz/knot/knot-dns/-/issues/822.

Signed-off-by: Violet Purcell  inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/32150
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.2.9.ebuild | 121 +
 2 files changed, 122 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index e1aa6387d36b..c52dee9cd1eb 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
 DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 
383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0
 SHA512 
e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
 DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 
185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae
 SHA512 
29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f
+DIST knot-3.2.9.tar.xz 1642600 BLAKE2B 
2c81b2afa96c608c3458b2ddeeb8b47ea99607ba755a904278f9755a32171738418ea442b1e6b4afcebe0db2c86e68845d38f8e78342b8354411d1e34af8
 SHA512 
baf8da222e38198c85fa62e45e71b29ddac7c90433b811710ace1e0395e6e7b5d63547ce8f3a62792ee11259ec2e36d6ddd8fff999416f9171671444a95086cf

diff --git a/net-dns/knot/knot-3.2.9.ebuild b/net-dns/knot/knot-3.2.9.ebuild
new file mode 100644
index ..c7ee613bcd99
--- /dev/null
+++ b/net-dns/knot/knot-3.2.9.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+# subslot: libknot major.libdnssec major.libzscanner major
+KNOT_SUBSLOT="13.9.4"
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3+"
+SLOT="0/${KNOT_SUBSLOT}"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps doh +fastparser idn +libidn2 quic systemd +utils xdp 
${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb:=
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   doh? ( net-libs/nghttp2:= )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   quic? ( net-libs/ngtcp2:=[gnutls] )
+   systemd? ( sys-apps/systemd:= )
+   xdp? (
+dev-libs/libbpf:=
+net-libs/libmnl:=
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable caps cap_ng)
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable quic)
+   $(use_enable utils utilities)
+   $(use_enable xdp)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   $(use_with doh libnghttp2)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2023-08-03 Thread Florian Schmaus
commit: c2cedc41d257ff4cb6a71c69104c6f2000c42d02
Author: Florian Schmaus  gentoo  org>
AuthorDate: Thu Aug  3 07:45:08 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Aug  3 07:45:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2cedc41

net-dns/knot: declare min ngtcp2 version

Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/knot-3.2.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot/knot-3.2.9.ebuild b/net-dns/knot/knot-3.2.9.ebuild
index c7ee613bcd99..b668939ce738 100644
--- a/net-dns/knot/knot-3.2.9.ebuild
+++ b/net-dns/knot/knot-3.2.9.ebuild
@@ -50,7 +50,7 @@ RDEPEND="
!libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
libidn2? ( net-dns/libidn2:= )
)
-   quic? ( net-libs/ngtcp2:=[gnutls] )
+   quic? ( >=net-libs/ngtcp2-0.13.1:=[gnutls] )
systemd? ( sys-apps/systemd:= )
xdp? (
 dev-libs/libbpf:=



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/files/, net-dns/knot-resolver/

2023-07-26 Thread Matthew Smith
commit: f78480292d1ae4d2a89762eb33fb72101af5d446
Author: Spencer Pavkovic  nandre  com>
AuthorDate: Mon Jul 24 23:51:06 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Wed Jul 26 20:33:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7848029

net-dns/knot-resolver: added OpenRC init script

Signed-off-by: Spencer Pavkovic  nandre.com>
Closes: https://github.com/gentoo/gentoo/pull/32028
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/files/kresd.confd|  5 ++
 net-dns/knot-resolver/files/kresd.initd| 23 ++
 .../knot-resolver/knot-resolver-5.6.0-r1.ebuild| 96 ++
 3 files changed, 124 insertions(+)

diff --git a/net-dns/knot-resolver/files/kresd.confd 
b/net-dns/knot-resolver/files/kresd.confd
new file mode 100644
index ..6749da309845
--- /dev/null
+++ b/net-dns/knot-resolver/files/kresd.confd
@@ -0,0 +1,5 @@
+# Copyright 1999-2023 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+KRESD_OPTS="-n /var/run/kresd"
+
+#KRESD_PIDFILE="/var/run/kresd.pid"
\ No newline at end of file

diff --git a/net-dns/knot-resolver/files/kresd.initd 
b/net-dns/knot-resolver/files/kresd.initd
new file mode 100644
index ..b443d98d749d
--- /dev/null
+++ b/net-dns/knot-resolver/files/kresd.initd
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/kresd"
+command_args="${KRESD_OPTS}"
+pidfile="${KRESD_PIDFILE:-/var/run/${RC_SVCNAME}.pid}"
+command_background=true
+start_stop_daemon_args="--start -bm --pidfile ${pidfile} --exec ${command} -- 
${command_args}"
+
+name="knot-resolver"
+description="scaleable caching DNS resolver"
+
+depend() {
+need net
+use logger
+provide dns
+}
+
+start() {
+   checkpath --directory /var/run/kresd
+   default_start
+}

diff --git a/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild
new file mode 100644
index ..eb66bdf93586
--- /dev/null
+++ b/net-dns/knot-resolver/knot-resolver-5.6.0-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit lua-single meson tmpfiles verify-sig
+
+DESCRIPTION="A scaleable caching DNS resolver"
+HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
+SRC_URI="
+   https://secure.nic.cz/files/${PN}/${P}.tar.xz
+   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
+"
+
+LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="caps dnstap kresc nghttp2 systemd test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+   ${LUA_DEPS}
+   acct-group/knot-resolver
+   acct-user/knot-resolver
+   dev-db/lmdb:=
+   dev-libs/libuv:=
+   net-dns/knot:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   kresc? ( dev-libs/libedit )
+   nghttp2? ( net-libs/nghttp2:= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+ dev-util/cmocka
+   )
+"
+BDEPEND="
+   virtual/pkgconfig
+   verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.5.3-docdir.patch
+   "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
+)
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/${PN}.gpg
+
+src_unpack() {
+   if use verify-sig; then
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+   fi
+
+   unpack ${P}.tar.xz
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}"/var # double lib
+   # https://bugs.gentoo.org/870019
+   -Dauto_features=disabled
+   -Ddoc=disabled
+   -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
+   -Dopenssl=disabled
+   $(meson_feature caps capng)
+   $(meson_feature dnstap)
+   $(meson_feature kresc client)
+   $(meson_feature nghttp2)
+   $(meson_feature test unit_tests)
+   $(meson_feature systemd systemd_files)
+   )
+
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+   fowners -R ${PN}: /etc/${PN}
+
+   newinitd "${FILESDIR}"/kresd.initd kresd
+   newconfd "${FILESDIR}"/kresd.confd kresd
+}
+
+pkg_postinst() {
+   use systemd && tmpfiles_process knot-resolver.conf
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2023-05-01 Thread Sam James
commit: 20915cee618d0e65f67efe1701096046980852e6
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 13:31:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 13:31:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20915cee

net-dns/knot: drop 3.2.1-r1

Signed-off-by: Sam James  gentoo.org>

 net-dns/knot/Manifest |   1 -
 net-dns/knot/knot-3.2.1-r1.ebuild | 118 --
 2 files changed, 119 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 723bc3d43a83..e1aa6387d36b 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,3 @@
 DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
 DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 
383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0
 SHA512 
e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
-DIST knot-3.2.1.tar.xz 1626796 BLAKE2B 
f530438bc0e970abe5a6ed148dfb88e1a384ff54c91694af98d261aa3efc73201e60dc9e5f29c1a96b6d406a34fb4ea6cbde0c28dfdc772aa53836fb47e3f2f7
 SHA512 
2f12750dc0db06fd915c1b322626780c1d66e10c0b8170dea57559e514f66ee105ed8dbbc0a5f8084fcf772e82c242a8b09ae449631960abf4d60af4a13a1ea0
 DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 
185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae
 SHA512 
29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f

diff --git a/net-dns/knot/knot-3.2.1-r1.ebuild 
b/net-dns/knot/knot-3.2.1-r1.ebuild
deleted file mode 100644
index f742c748bead..
--- a/net-dns/knot/knot-3.2.1-r1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic systemd
-
-# subslot: libknot major.libdnssec major.libzscanner major
-KNOT_SUBSLOT="13.9.4"
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3+"
-SLOT="0/${KNOT_SUBSLOT}"
-KEYWORDS="~amd64 ~riscv ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp 
${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb:=
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb:=
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   doh? ( net-libs/nghttp2:= )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-   xdp? (
-dev-libs/libbpf:=
-net-libs/libmnl:=
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   $(use_enable xdp)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   $(use_with doh libnghttp2)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   if use riscv; then
-   append-libs -latomic
-   fi
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2023-04-29 Thread Arthur Zamarin
commit: 2bdf9ea41e4c91d179f43d3ae7567246c4aa9059
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 29 15:47:59 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 29 15:47:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bdf9ea4

net-dns/knot: Stabilize 3.2.2 x86, #904320

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dns/knot/knot-3.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild
index 0d02883ae989..76430f146b00 100644
--- a/net-dns/knot/knot-3.2.2.ebuild
+++ b/net-dns/knot/knot-3.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3+"
 SLOT="0/${KNOT_SUBSLOT}"
-KEYWORDS="amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv x86"
 
 KNOT_MODULES=(
"+cookies"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2023-04-16 Thread Arthur Zamarin
commit: 2ef1468ef0473088d68d5db833d5f564f39f188c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 16 16:35:37 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 16 16:35:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef1468e

net-dns/knot: Stabilize 3.2.2 amd64, #904320

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dns/knot/knot-3.2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild
index 65a69fa9d37e..0d02883ae989 100644
--- a/net-dns/knot/knot-3.2.2.ebuild
+++ b/net-dns/knot/knot-3.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3+"
 SLOT="0/${KNOT_SUBSLOT}"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv ~x86"
 
 KNOT_MODULES=(
"+cookies"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2023-02-27 Thread Matthew Smith
commit: 1175a164201bad5751040ae5d4a008a31a783332
Author: Matthew Smith  gentoo  org>
AuthorDate: Mon Feb 27 18:22:19 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Mon Feb 27 18:22:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1175a164

net-dns/knot-resolver: drop 5.5.3

Bug: https://bugs.gentoo.org/897928
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/Manifest   |  2 -
 net-dns/knot-resolver/knot-resolver-5.5.3.ebuild | 93 
 2 files changed, 95 deletions(-)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index b7fadf0b1f97..2cf178c5624e 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -1,4 +1,2 @@
-DIST knot-resolver-5.5.3.tar.xz 1921668 BLAKE2B 
7efdf1a69081d8f9f43b5bbe1b483826b94b87a0b001a449a5f89988afce070e4e3310e513e6281691bd81274a523ab8c7e52fe56a3d62019efe07809033a5a8
 SHA512 
7bf29bbf82e71727c1f47095a04a12712ca89a6f34d3a325337625ad116f49a47a90cb402525fdbf59cb0889b64d7083b908c335d65429b24d776603a3a8f28a
-DIST knot-resolver-5.5.3.tar.xz.asc 833 BLAKE2B 
7ab348587c2604f14171d09436b2a296e9fb7124e6f899aba91215d32d8642dc5b9ae8300edf55c0790289bc954d5cf95c71b66a20b960c848d15e34469fc2f3
 SHA512 
1e95fffdb1c78a225b5bf861f978c1c18a9935ecd495e8f708ed4a241308b9302d2cf5a5ec51334dbecf50950af5f775bfff78995663cf1681a3dbc354d3a686
 DIST knot-resolver-5.6.0.tar.xz 1923196 BLAKE2B 
8d1595e29ca5a3d597f15eda799a1e4e91bcd992c25f442f7b9247b4facec21fb41a89c4db3b2efcd8b8384d9463965ea16c617950fb408685ee6d565686d4e2
 SHA512 
efa978a8885e9aa6459bad8016e872ded5923d6c4367bb9586764ebfbad903923583ede9cab6339107d32450bf0846a40b8ab72ba7011d57827a86d822b95840
 DIST knot-resolver-5.6.0.tar.xz.asc 833 BLAKE2B 
0a5ea3a5458be6a9b8a6cb34e3862119a53841b98148cc543046d745e14cfb49952bf2dbece6cfb3ed302affbcc6dce1911fc8900c0f4cb0acf22698d8b2257c
 SHA512 
1c3ebe636b8295b31fffe08bd1ffade9d6c83a0584ef5cf84cb9f3951260b2e77272c4524789f244cd209381c7adb8c2e4b140e2fae616927a7d037cb187b165

diff --git a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
deleted file mode 100644
index e8618808dcc5..
--- a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-
-inherit lua-single meson tmpfiles verify-sig
-
-DESCRIPTION="A scaleable caching DNS resolver"
-HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
-SRC_URI="
-   https://secure.nic.cz/files/${PN}/${P}.tar.xz
-   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
-"
-
-LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="caps dnstap kresc nghttp2 systemd test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
-   ${LUA_DEPS}
-   acct-group/knot-resolver
-   acct-user/knot-resolver
-   dev-db/lmdb:=
-   dev-libs/libuv:=
-   net-dns/knot:=
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   kresc? ( dev-libs/libedit )
-   nghttp2? ( net-libs/nghttp2:= )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="
-   ${RDEPEND}
-   test? (
- dev-util/cmocka
-   )
-"
-BDEPEND="
-   virtual/pkgconfig
-   verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.5.3-docdir.patch
-   "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
-)
-
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/${PN}.gpg
-
-src_unpack() {
-   if use verify-sig; then
-   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
-   fi
-
-   unpack ${P}.tar.xz
-}
-
-src_configure() {
-   local emesonargs=(
-   --localstatedir "${EPREFIX}"/var # double lib
-   # https://bugs.gentoo.org/870019
-   -Dauto_features=disabled
-   -Ddoc=disabled
-   -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
-   -Dopenssl=disabled
-   $(meson_feature caps capng)
-   $(meson_feature dnstap)
-   $(meson_feature kresc client)
-   $(meson_feature nghttp2)
-   $(meson_feature test unit_tests)
-   $(meson_feature systemd systemd_files)
-   )
-
-   meson_src_configure
-}
-
-src_install() {
-   meson_src_install
-   fowners -R ${PN}: /etc/${PN}
-}
-
-pkg_postinst() {
-   use systemd && tmpfiles_process knot-resolver.conf
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2023-02-27 Thread Sam James
commit: f5e7ff46796c40d310badb87141e0daf5d8a99e6
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 27 15:35:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 27 15:40:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e7ff46

net-dns/knot-resolver: Stabilize 5.6.0 amd64, #898036

Signed-off-by: Sam James  gentoo.org>

 net-dns/knot-resolver/knot-resolver-5.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild
index b191f7d5aaa2..eea083aed1b1 100644
--- a/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="caps dnstap kresc nghttp2 systemd test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${LUA_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2023-02-05 Thread Matthew Smith
commit: 0eafb25facf55c318555a236a127193f6d2d883b
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Feb  5 09:31:18 2023 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Feb  5 09:31:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eafb25f

net-dns/knot-resolver: add 5.6.0

Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/Manifest   |  2 +
 net-dns/knot-resolver/knot-resolver-5.6.0.ebuild | 93 
 2 files changed, 95 insertions(+)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
index fc41ecdcc09b..b7fadf0b1f97 100644
--- a/net-dns/knot-resolver/Manifest
+++ b/net-dns/knot-resolver/Manifest
@@ -1,2 +1,4 @@
 DIST knot-resolver-5.5.3.tar.xz 1921668 BLAKE2B 
7efdf1a69081d8f9f43b5bbe1b483826b94b87a0b001a449a5f89988afce070e4e3310e513e6281691bd81274a523ab8c7e52fe56a3d62019efe07809033a5a8
 SHA512 
7bf29bbf82e71727c1f47095a04a12712ca89a6f34d3a325337625ad116f49a47a90cb402525fdbf59cb0889b64d7083b908c335d65429b24d776603a3a8f28a
 DIST knot-resolver-5.5.3.tar.xz.asc 833 BLAKE2B 
7ab348587c2604f14171d09436b2a296e9fb7124e6f899aba91215d32d8642dc5b9ae8300edf55c0790289bc954d5cf95c71b66a20b960c848d15e34469fc2f3
 SHA512 
1e95fffdb1c78a225b5bf861f978c1c18a9935ecd495e8f708ed4a241308b9302d2cf5a5ec51334dbecf50950af5f775bfff78995663cf1681a3dbc354d3a686
+DIST knot-resolver-5.6.0.tar.xz 1923196 BLAKE2B 
8d1595e29ca5a3d597f15eda799a1e4e91bcd992c25f442f7b9247b4facec21fb41a89c4db3b2efcd8b8384d9463965ea16c617950fb408685ee6d565686d4e2
 SHA512 
efa978a8885e9aa6459bad8016e872ded5923d6c4367bb9586764ebfbad903923583ede9cab6339107d32450bf0846a40b8ab72ba7011d57827a86d822b95840
+DIST knot-resolver-5.6.0.tar.xz.asc 833 BLAKE2B 
0a5ea3a5458be6a9b8a6cb34e3862119a53841b98148cc543046d745e14cfb49952bf2dbece6cfb3ed302affbcc6dce1911fc8900c0f4cb0acf22698d8b2257c
 SHA512 
1c3ebe636b8295b31fffe08bd1ffade9d6c83a0584ef5cf84cb9f3951260b2e77272c4524789f244cd209381c7adb8c2e4b140e2fae616927a7d037cb187b165

diff --git a/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild
new file mode 100644
index ..b191f7d5aaa2
--- /dev/null
+++ b/net-dns/knot-resolver/knot-resolver-5.6.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit lua-single meson tmpfiles verify-sig
+
+DESCRIPTION="A scaleable caching DNS resolver"
+HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
+SRC_URI="
+   https://secure.nic.cz/files/${PN}/${P}.tar.xz
+   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
+"
+
+LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="caps dnstap kresc nghttp2 systemd test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+   ${LUA_DEPS}
+   acct-group/knot-resolver
+   acct-user/knot-resolver
+   dev-db/lmdb:=
+   dev-libs/libuv:=
+   net-dns/knot:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   kresc? ( dev-libs/libedit )
+   nghttp2? ( net-libs/nghttp2:= )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+ dev-util/cmocka
+   )
+"
+BDEPEND="
+   virtual/pkgconfig
+   verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.5.3-docdir.patch
+   "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch
+)
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/${PN}.gpg
+
+src_unpack() {
+   if use verify-sig; then
+   verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc}
+   fi
+
+   unpack ${P}.tar.xz
+}
+
+src_configure() {
+   local emesonargs=(
+   --localstatedir "${EPREFIX}"/var # double lib
+   # https://bugs.gentoo.org/870019
+   -Dauto_features=disabled
+   -Ddoc=disabled
+   -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
+   -Dopenssl=disabled
+   $(meson_feature caps capng)
+   $(meson_feature dnstap)
+   $(meson_feature kresc client)
+   $(meson_feature nghttp2)
+   $(meson_feature test unit_tests)
+   $(meson_feature systemd systemd_files)
+   )
+
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+   fowners -R ${PN}: /etc/${PN}
+}
+
+pkg_postinst() {
+   use systemd && tmpfiles_process knot-resolver.conf
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-12-11 Thread Arthur Zamarin
commit: 09daa3311cc5f8d64d66ae5589b94604314f49e1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 11 18:33:07 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 11 18:33:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09daa331

net-dns/knot: Keyword 3.2.2 x86, #879553

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dns/knot/knot-3.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild
index 8803bd4f7a46..65a69fa9d37e 100644
--- a/net-dns/knot/knot-3.2.2.ebuild
+++ b/net-dns/knot/knot-3.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3+"
 SLOT="0/${KNOT_SUBSLOT}"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="~amd64 ~riscv ~x86"
 
 KNOT_MODULES=(
"+cookies"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-12-07 Thread Sam James
commit: 1871d013e4324fe3212ad74d660d00aaf0256c2b
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec  7 14:44:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  7 14:46:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1871d013

net-dns/knot: add github upstream metadata

It's a mirror but it's convenient (and official).

Signed-off-by: Sam James  gentoo.org>

 net-dns/knot/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml
index 6fc839da3260..d7aafeb4ba1e 100644
--- a/net-dns/knot/metadata.xml
+++ b/net-dns/knot/metadata.xml
@@ -72,4 +72,7 @@
Reflect sonames of libknot, libdnssec, and libzscanner.


+   
+   CZ-NIC/knot
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-12-07 Thread Sam James
commit: 79e5e8e8a7f0b90508e92b92b7ceac4ab0e0a980
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec  7 14:46:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  7 14:46:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e5e8e8

net-dns/knot: add upstream gitlab to HOMEPAGE

Signed-off-by: Sam James  gentoo.org>

 net-dns/knot/knot-3.1.5.ebuild| 2 +-
 net-dns/knot/knot-3.1.9.ebuild| 2 +-
 net-dns/knot/knot-3.2.1-r1.ebuild | 2 +-
 net-dns/knot/knot-3.2.2.ebuild| 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-dns/knot/knot-3.1.5.ebuild b/net-dns/knot/knot-3.1.5.ebuild
index 4ae9c5eefd42..29970854cde7 100644
--- a/net-dns/knot/knot-3.1.5.ebuild
+++ b/net-dns/knot/knot-3.1.5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit flag-o-matic systemd
 
 DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
+HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3+"

diff --git a/net-dns/knot/knot-3.1.9.ebuild b/net-dns/knot/knot-3.1.9.ebuild
index 4a454d5cd861..c1c0a2de8e9b 100644
--- a/net-dns/knot/knot-3.1.9.ebuild
+++ b/net-dns/knot/knot-3.1.9.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit flag-o-matic systemd
 
 DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
+HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3+"

diff --git a/net-dns/knot/knot-3.2.1-r1.ebuild 
b/net-dns/knot/knot-3.2.1-r1.ebuild
index ac14e9f8f1ee..f742c748bead 100644
--- a/net-dns/knot/knot-3.2.1-r1.ebuild
+++ b/net-dns/knot/knot-3.2.1-r1.ebuild
@@ -9,7 +9,7 @@ inherit flag-o-matic systemd
 KNOT_SUBSLOT="13.9.4"
 
 DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
+HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3+"

diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild
index 822878ee80f6..8803bd4f7a46 100644
--- a/net-dns/knot/knot-3.2.2.ebuild
+++ b/net-dns/knot/knot-3.2.2.ebuild
@@ -9,7 +9,7 @@ inherit flag-o-matic systemd
 KNOT_SUBSLOT="13.9.4"
 
 DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
+HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3+"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2022-12-03 Thread Arthur Zamarin
commit: a4d93abc3dd7630088d3cfe1f34fae90df186fda
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  3 14:42:44 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  3 14:42:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d93abc

net-dns/knot-resolver: Stabilize 5.5.3 amd64, #884109

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dns/knot-resolver/knot-resolver-5.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
index e059f6d60333..e8618808dcc5 100644
--- a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="caps dnstap kresc nghttp2 systemd test"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="${LUA_REQUIRED_USE}"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-11-05 Thread Yixun Lan
commit: 4f3bb3c1adecf4350f65b6a22ba2cf3b9642c39c
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Nov  4 14:17:01 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Nov  5 06:57:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3bb3c1

net-dns/knot: Keyword 3.2.2 riscv, #879553

Signed-off-by: Yixun Lan  gentoo.org>

 net-dns/knot/knot-3.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild
index 29120ab563c0..822878ee80f6 100644
--- a/net-dns/knot/knot-3.2.2.ebuild
+++ b/net-dns/knot/knot-3.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3+"
 SLOT="0/${KNOT_SUBSLOT}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 
 KNOT_MODULES=(
"+cookies"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-11-01 Thread Matthew Smith
commit: 7ba913aca3ddf5e0f2338bd0ce3df260052fb082
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Nov  1 10:51:03 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Tue Nov  1 17:58:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ba913ac

net-dns/knot: add 3.2.2

Closes: https://bugs.gentoo.org/878297
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.2.2.ebuild | 121 +
 net-dns/knot/metadata.xml  |   3 +
 3 files changed, 125 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 2208988e0d1b..89fe24b1b728 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -4,3 +4,4 @@ DIST knot-3.1.8.tar.xz 1439912 BLAKE2B 
bcc089d547a7cad8150e93d70da036273a60b0e74
 DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 
383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0
 SHA512 
e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
 DIST knot-3.2.0.tar.xz 1665720 BLAKE2B 
851f8278e2936459ca8bf4f06332d6a49e89152e634aaa94235d180c91a073c648797f8e42e371f563bbeb708289fdf3839f66508fbd41b7e045efbbe5d72374
 SHA512 
e007d633f1debb559d47a7646b055dc970502be11a1849063da3e3d28355f77e6cba41e34f06726bc5945e4e2ba3ecb84a4b39813a8079514d3bf584d7d565a2
 DIST knot-3.2.1.tar.xz 1626796 BLAKE2B 
f530438bc0e970abe5a6ed148dfb88e1a384ff54c91694af98d261aa3efc73201e60dc9e5f29c1a96b6d406a34fb4ea6cbde0c28dfdc772aa53836fb47e3f2f7
 SHA512 
2f12750dc0db06fd915c1b322626780c1d66e10c0b8170dea57559e514f66ee105ed8dbbc0a5f8084fcf772e82c242a8b09ae449631960abf4d60af4a13a1ea0
+DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 
185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae
 SHA512 
29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f

diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild
new file mode 100644
index ..29120ab563c0
--- /dev/null
+++ b/net-dns/knot/knot-3.2.2.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+# subslot: libknot major.libdnssec major.libzscanner major
+KNOT_SUBSLOT="13.9.4"
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3+"
+SLOT="0/${KNOT_SUBSLOT}"
+KEYWORDS="~amd64"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps doh +fastparser idn +libidn2 quic systemd +utils xdp 
${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb:=
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   doh? ( net-libs/nghttp2:= )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   quic? ( net-libs/ngtcp2:=[gnutls] )
+   systemd? ( sys-apps/systemd:= )
+   xdp? (
+dev-libs/libbpf:=
+net-libs/libmnl:=
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable caps cap_ng)
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable quic)
+   $(use_enable utils utilities)
+   $(use_enable xdp)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   $(use_with doh libnghttp2)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2022-11-01 Thread Matthew Smith
commit: edd78a9db2d9bf504bfcffd9c996b8e3f14a82b9
Author: Matthew Smith  gentoo  org>
AuthorDate: Tue Nov  1 17:47:33 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Tue Nov  1 17:47:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd78a9d

net-dns/knot-resolver: add missing verify-sig depend

Closes: https://bugs.gentoo.org/878437
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/knot-resolver-5.5.3.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
index 608408bc9bf9..e059f6d60333 100644
--- a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
@@ -44,7 +44,10 @@ DEPEND="
  dev-util/cmocka
)
 "
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+   virtual/pkgconfig
+   verify-sig? ( sec-keys/openpgp-keys-knot-resolver )
+"
 
 PATCHES=(
"${FILESDIR}"/${PN}-5.5.3-docdir.patch



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-11-01 Thread Matthew Smith
commit: be6f7d8e5f0f79d515b7ea3deb0ba70b2a9f7ce0
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Nov  1 10:51:25 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Tue Nov  1 17:58:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be6f7d8e

net-dns/knot: drop 3.1.7, 3.1.8, 3.2.0

Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/28073
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot/Manifest  |   3 --
 net-dns/knot/knot-3.1.7.ebuild | 115 -
 net-dns/knot/knot-3.1.8.ebuild | 115 -
 net-dns/knot/knot-3.2.0.ebuild | 115 -
 4 files changed, 348 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 89fe24b1b728..723bc3d43a83 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,7 +1,4 @@
 DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
-DIST knot-3.1.7.tar.xz 1418944 BLAKE2B 
d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047
 SHA512 
4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44
-DIST knot-3.1.8.tar.xz 1439912 BLAKE2B 
bcc089d547a7cad8150e93d70da036273a60b0e740df9693bc38813c3d7ed1968b8f97ce4d32c2359ba509fdfcd8403e73eed1f0107d470e6cd4ba4e7012f96d
 SHA512 
af72cbcc5b511dad148e7ce990819df00bdf99c110b44b3b521eddd8690a6ebd4c76c24e63d843956971d5f158bbfa851804616630d34f3a0ec06888c78ecf2c
 DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 
383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0
 SHA512 
e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
-DIST knot-3.2.0.tar.xz 1665720 BLAKE2B 
851f8278e2936459ca8bf4f06332d6a49e89152e634aaa94235d180c91a073c648797f8e42e371f563bbeb708289fdf3839f66508fbd41b7e045efbbe5d72374
 SHA512 
e007d633f1debb559d47a7646b055dc970502be11a1849063da3e3d28355f77e6cba41e34f06726bc5945e4e2ba3ecb84a4b39813a8079514d3bf584d7d565a2
 DIST knot-3.2.1.tar.xz 1626796 BLAKE2B 
f530438bc0e970abe5a6ed148dfb88e1a384ff54c91694af98d261aa3efc73201e60dc9e5f29c1a96b6d406a34fb4ea6cbde0c28dfdc772aa53836fb47e3f2f7
 SHA512 
2f12750dc0db06fd915c1b322626780c1d66e10c0b8170dea57559e514f66ee105ed8dbbc0a5f8084fcf772e82c242a8b09ae449631960abf4d60af4a13a1ea0
 DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 
185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae
 SHA512 
29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f

diff --git a/net-dns/knot/knot-3.1.7.ebuild b/net-dns/knot/knot-3.1.7.ebuild
deleted file mode 100644
index 80d222d2fe5e..
--- a/net-dns/knot/knot-3.1.7.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp 
${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb:=
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   doh? ( net-libs/nghttp2:= )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-   xdp? (
-dev-libs/libbpf:=
-net-libs/libmnl:=
-   )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/

2022-10-19 Thread Matthew Smith
commit: 3fcaad40bde3a06a1fa625d5d3aa436dc01825fd
Author: Matthew Smith  gentoo  org>
AuthorDate: Wed Oct 19 14:52:54 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Wed Oct 19 14:52:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcaad40

net-dns/knot-resolver: only call tmpfiles_process if USE=systemd

Closes: https://bugs.gentoo.org/877337
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/knot-resolver-5.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
index 58013de8e63e..608408bc9bf9 100644
--- a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
+++ b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
@@ -86,5 +86,5 @@ src_install() {
 }
 
 pkg_postinst() {
-   tmpfiles_process knot-resolver.conf
+   use systemd && tmpfiles_process knot-resolver.conf
 }



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot-resolver/files/, net-dns/knot-resolver/

2022-10-16 Thread Matthew Smith
commit: c510a209fc1db8d090cdd93a31aaedbc7a436df9
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Oct 16 13:35:15 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Oct 16 13:36:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c510a209

net-dns/knot-resolver: new package, add 5.5.3

Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot-resolver/Manifest |  2 +
 .../files/knot-resolver-5.5.3-docdir.patch | 32 
 .../files/knot-resolver-5.5.3-nghttp-openssl.patch | 38 +
 net-dns/knot-resolver/knot-resolver-5.5.3.ebuild   | 90 ++
 net-dns/knot-resolver/metadata.xml | 19 +
 5 files changed, 181 insertions(+)

diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest
new file mode 100644
index ..fc41ecdcc09b
--- /dev/null
+++ b/net-dns/knot-resolver/Manifest
@@ -0,0 +1,2 @@
+DIST knot-resolver-5.5.3.tar.xz 1921668 BLAKE2B 
7efdf1a69081d8f9f43b5bbe1b483826b94b87a0b001a449a5f89988afce070e4e3310e513e6281691bd81274a523ab8c7e52fe56a3d62019efe07809033a5a8
 SHA512 
7bf29bbf82e71727c1f47095a04a12712ca89a6f34d3a325337625ad116f49a47a90cb402525fdbf59cb0889b64d7083b908c335d65429b24d776603a3a8f28a
+DIST knot-resolver-5.5.3.tar.xz.asc 833 BLAKE2B 
7ab348587c2604f14171d09436b2a296e9fb7124e6f899aba91215d32d8642dc5b9ae8300edf55c0790289bc954d5cf95c71b66a20b960c848d15e34469fc2f3
 SHA512 
1e95fffdb1c78a225b5bf861f978c1c18a9935ecd495e8f708ed4a241308b9302d2cf5a5ec51334dbecf50950af5f775bfff78995663cf1681a3dbc354d3a686

diff --git a/net-dns/knot-resolver/files/knot-resolver-5.5.3-docdir.patch 
b/net-dns/knot-resolver/files/knot-resolver-5.5.3-docdir.patch
new file mode 100644
index ..d75b98c3acca
--- /dev/null
+++ b/net-dns/knot-resolver/files/knot-resolver-5.5.3-docdir.patch
@@ -0,0 +1,32 @@
+From 4086abfd85e0bacc027ac1773d524093387265f9 Mon Sep 17 00:00:00 2001
+From: Matthew Smith 
+Date: Sun, 16 Oct 2022 13:49:25 +0100
+Subject: [PATCH] build: docdir option
+
+--- a/meson.build
 b/meson.build
+@@ -46,7 +46,7 @@ endif
+ ## Paths
+ prefix = get_option('prefix')
+ data_dir = prefix / get_option('datadir') / 'knot-resolver'
+-doc_dir = prefix / get_option('datadir') / 'doc' / 'knot-resolver'
++doc_dir = get_option('docdir')
+ info_dir = prefix / get_option('datadir') / 'info'
+ examples_dir = doc_dir / 'examples'
+ etc_dir = prefix / get_option('sysconfdir') / 'knot-resolver'
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -1,6 +1,13 @@
+ # Configuration options
+ # SPDX-License-Identifier: GPL-3.0-or-later
+ 
++option(
++  'docdir',
++  type: 'string',
++  value: '/usr/share/doc/knot-resolver',
++  description: 'path to store documentation',
++)
++
+ option(
+   'keyfile_default',
+   type: 'string',

diff --git 
a/net-dns/knot-resolver/files/knot-resolver-5.5.3-nghttp-openssl.patch 
b/net-dns/knot-resolver/files/knot-resolver-5.5.3-nghttp-openssl.patch
new file mode 100644
index ..49340be1506c
--- /dev/null
+++ b/net-dns/knot-resolver/files/knot-resolver-5.5.3-nghttp-openssl.patch
@@ -0,0 +1,38 @@
+From 30087f85bb8d19586350c2a64648c0578c5c096c Mon Sep 17 00:00:00 2001
+From: Matthew Smith 
+Date: Sun, 16 Oct 2022 13:44:40 +0100
+Subject: [PATCH] build: Add nghttp2 and openssl options
+
+--- a/meson.build
 b/meson.build
+@@ -87,8 +87,8 @@ group = get_option('group')
+ 
+ ## Optional dependencies
+ message('--- optional dependencies ---')
+-nghttp2 = dependency('libnghttp2', required: false)
+-openssl = dependency('openssl', required: false)
++nghttp2 = dependency('libnghttp2', required: get_option('nghttp2'))
++openssl = dependency('openssl', required: get_option('openssl'))
+ 
+ have_asprintf = meson.get_compiler('c').has_function('asprintf',
+   prefix: '#define _GNU_SOURCE\n#include ')
+--- a/meson_options.txt
 b/meson_options.txt
+@@ -205,3 +205,17 @@ option(
+   value: 'auto',
+   description: 'cmocka unit tests',
+ )
++
++option(
++  'nghttp2',
++  type: 'feature',
++  value: 'auto',
++  description: 'dns over https support',
++)
++
++option(
++  'openssl',
++  type: 'feature',
++  value: 'auto',
++  description: 'auxiliary debug library for http module',
++)

diff --git a/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild 
b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
new file mode 100644
index ..58013de8e63e
--- /dev/null
+++ b/net-dns/knot-resolver/knot-resolver-5.5.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit lua-single meson tmpfiles verify-sig
+
+DESCRIPTION="A scaleable caching DNS resolver"
+HOMEPAGE="https://www.knot-resolver.cz 
https://gitlab.nic.cz/knot/knot-resolver;
+SRC_URI="
+   https://secure.nic.cz/files/${PN}/${P}.tar.xz
+   verify-sig? ( https://secure.nic.cz/files/${PN}/${P}.tar.xz.asc )
+"
+
+LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT"

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-10-16 Thread Matthew Smith
commit: 347815a0b8995f52b25544a1d352ab362269e444
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Oct 16 11:08:49 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Oct 16 11:08:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347815a0

net-dns/knot: correct LICENSE

Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot/knot-3.1.5.ebuild| 2 +-
 net-dns/knot/knot-3.1.7.ebuild| 2 +-
 net-dns/knot/knot-3.1.8.ebuild| 2 +-
 net-dns/knot/knot-3.1.9.ebuild| 2 +-
 net-dns/knot/knot-3.2.0.ebuild| 2 +-
 net-dns/knot/knot-3.2.1-r1.ebuild | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-dns/knot/knot-3.1.5.ebuild b/net-dns/knot/knot-3.1.5.ebuild
index 2e9df0831f3f..4ae9c5eefd42 100644
--- a/net-dns/knot/knot-3.1.5.ebuild
+++ b/net-dns/knot/knot-3.1.5.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="amd64 ~riscv x86"
 

diff --git a/net-dns/knot/knot-3.1.7.ebuild b/net-dns/knot/knot-3.1.7.ebuild
index 307ad4216af5..80d222d2fe5e 100644
--- a/net-dns/knot/knot-3.1.7.ebuild
+++ b/net-dns/knot/knot-3.1.7.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
 

diff --git a/net-dns/knot/knot-3.1.8.ebuild b/net-dns/knot/knot-3.1.8.ebuild
index 77cbe56a39d2..4a454d5cd861 100644
--- a/net-dns/knot/knot-3.1.8.ebuild
+++ b/net-dns/knot/knot-3.1.8.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
 

diff --git a/net-dns/knot/knot-3.1.9.ebuild b/net-dns/knot/knot-3.1.9.ebuild
index 77cbe56a39d2..4a454d5cd861 100644
--- a/net-dns/knot/knot-3.1.9.ebuild
+++ b/net-dns/knot/knot-3.1.9.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
 

diff --git a/net-dns/knot/knot-3.2.0.ebuild b/net-dns/knot/knot-3.2.0.ebuild
index 77cbe56a39d2..4a454d5cd861 100644
--- a/net-dns/knot/knot-3.2.0.ebuild
+++ b/net-dns/knot/knot-3.2.0.ebuild
@@ -9,7 +9,7 @@ DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
 

diff --git a/net-dns/knot/knot-3.2.1-r1.ebuild 
b/net-dns/knot/knot-3.2.1-r1.ebuild
index 972051e9f0eb..ac14e9f8f1ee 100644
--- a/net-dns/knot/knot-3.2.1-r1.ebuild
+++ b/net-dns/knot/knot-3.2.1-r1.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0/${KNOT_SUBSLOT}"
 KEYWORDS="~amd64 ~riscv ~x86"
 



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-10-16 Thread Matthew Smith
commit: a8373534988ff6cf163515c962e291619e892da7
Author: Matthew Smith  gentoo  org>
AuthorDate: Sun Oct 16 11:06:27 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sun Oct 16 11:06:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8373534

net-dns/knot: add subslot

Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot/{knot-3.2.1.ebuild => knot-3.2.1-r1.ebuild} | 5 -
 net-dns/knot/metadata.xml| 5 +
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/net-dns/knot/knot-3.2.1.ebuild b/net-dns/knot/knot-3.2.1-r1.ebuild
similarity index 95%
rename from net-dns/knot/knot-3.2.1.ebuild
rename to net-dns/knot/knot-3.2.1-r1.ebuild
index 77cbe56a39d2..972051e9f0eb 100644
--- a/net-dns/knot/knot-3.2.1.ebuild
+++ b/net-dns/knot/knot-3.2.1-r1.ebuild
@@ -5,12 +5,15 @@ EAPI=8
 
 inherit flag-o-matic systemd
 
+# subslot: libknot major.libdnssec major.libzscanner major
+KNOT_SUBSLOT="13.9.4"
+
 DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/;
 SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3"
-SLOT="0"
+SLOT="0/${KNOT_SUBSLOT}"
 KEYWORDS="~amd64 ~riscv ~x86"
 
 KNOT_MODULES=(

diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml
index d249c7aba581..56b218b58761 100644
--- a/net-dns/knot/metadata.xml
+++ b/net-dns/knot/metadata.xml
@@ -64,4 +64,9 @@
Enable eXpress Data Path


+   
+   
+   Reflect sonames of libknot, libdnssec, and libzscanner.
+   
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-09-11 Thread Florian Schmaus
commit: 7ef3503b8762af6e4e9ef31733c408255891c8fe
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Sat Sep 10 22:22:55 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 11 08:36:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef3503b

net-dns/knot: Bump to 3.2.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/27202
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.2.1.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 2608747b2b6b..2208988e0d1b 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -3,3 +3,4 @@ DIST knot-3.1.7.tar.xz 1418944 BLAKE2B 
d0e5c999c1b4bca89b86ad956dd91643f795fcba9
 DIST knot-3.1.8.tar.xz 1439912 BLAKE2B 
bcc089d547a7cad8150e93d70da036273a60b0e740df9693bc38813c3d7ed1968b8f97ce4d32c2359ba509fdfcd8403e73eed1f0107d470e6cd4ba4e7012f96d
 SHA512 
af72cbcc5b511dad148e7ce990819df00bdf99c110b44b3b521eddd8690a6ebd4c76c24e63d843956971d5f158bbfa851804616630d34f3a0ec06888c78ecf2c
 DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 
383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0
 SHA512 
e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
 DIST knot-3.2.0.tar.xz 1665720 BLAKE2B 
851f8278e2936459ca8bf4f06332d6a49e89152e634aaa94235d180c91a073c648797f8e42e371f563bbeb708289fdf3839f66508fbd41b7e045efbbe5d72374
 SHA512 
e007d633f1debb559d47a7646b055dc970502be11a1849063da3e3d28355f77e6cba41e34f06726bc5945e4e2ba3ecb84a4b39813a8079514d3bf584d7d565a2
+DIST knot-3.2.1.tar.xz 1626796 BLAKE2B 
f530438bc0e970abe5a6ed148dfb88e1a384ff54c91694af98d261aa3efc73201e60dc9e5f29c1a96b6d406a34fb4ea6cbde0c28dfdc772aa53836fb47e3f2f7
 SHA512 
2f12750dc0db06fd915c1b322626780c1d66e10c0b8170dea57559e514f66ee105ed8dbbc0a5f8084fcf772e82c242a8b09ae449631960abf4d60af4a13a1ea0

diff --git a/net-dns/knot/knot-3.2.1.ebuild b/net-dns/knot/knot-3.2.1.ebuild
new file mode 100644
index ..77cbe56a39d2
--- /dev/null
+++ b/net-dns/knot/knot-3.2.1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp 
${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb:=
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   doh? ( net-libs/nghttp2:= )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+   xdp? (
+dev-libs/libbpf:=
+net-libs/libmnl:=
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   $(use_enable xdp)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   $(use_with doh libnghttp2)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-08-24 Thread Florian Schmaus
commit: ad7bd93acc2e502af05886af309ab2fe7e5f0093
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Aug 23 07:30:18 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Wed Aug 24 09:26:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad7bd93a

net-dns/knot: Bump to 3.2.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/26997
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.2.0.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 43317be44a48..2608747b2b6b 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -2,3 +2,4 @@ DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d49
 DIST knot-3.1.7.tar.xz 1418944 BLAKE2B 
d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047
 SHA512 
4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44
 DIST knot-3.1.8.tar.xz 1439912 BLAKE2B 
bcc089d547a7cad8150e93d70da036273a60b0e740df9693bc38813c3d7ed1968b8f97ce4d32c2359ba509fdfcd8403e73eed1f0107d470e6cd4ba4e7012f96d
 SHA512 
af72cbcc5b511dad148e7ce990819df00bdf99c110b44b3b521eddd8690a6ebd4c76c24e63d843956971d5f158bbfa851804616630d34f3a0ec06888c78ecf2c
 DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 
383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0
 SHA512 
e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
+DIST knot-3.2.0.tar.xz 1665720 BLAKE2B 
851f8278e2936459ca8bf4f06332d6a49e89152e634aaa94235d180c91a073c648797f8e42e371f563bbeb708289fdf3839f66508fbd41b7e045efbbe5d72374
 SHA512 
e007d633f1debb559d47a7646b055dc970502be11a1849063da3e3d28355f77e6cba41e34f06726bc5945e4e2ba3ecb84a4b39813a8079514d3bf584d7d565a2

diff --git a/net-dns/knot/knot-3.2.0.ebuild b/net-dns/knot/knot-3.2.0.ebuild
new file mode 100644
index ..77cbe56a39d2
--- /dev/null
+++ b/net-dns/knot/knot-3.2.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp 
${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb:=
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   doh? ( net-libs/nghttp2:= )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+   xdp? (
+dev-libs/libbpf:=
+net-libs/libmnl:=
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   $(use_enable xdp)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   $(use_with doh libnghttp2)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-08-13 Thread Matthew Smith
commit: f4ac3737c258ccdf20db3e71495c6520314ac23c
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Aug 12 20:58:46 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sat Aug 13 07:58:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ac3737

net-dns/knot: Bump to 3.1.9

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/26839
Signed-off-by: Matthew Smith  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.1.9.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index cb425aee192e..43317be44a48 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
 DIST knot-3.1.7.tar.xz 1418944 BLAKE2B 
d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047
 SHA512 
4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44
 DIST knot-3.1.8.tar.xz 1439912 BLAKE2B 
bcc089d547a7cad8150e93d70da036273a60b0e740df9693bc38813c3d7ed1968b8f97ce4d32c2359ba509fdfcd8403e73eed1f0107d470e6cd4ba4e7012f96d
 SHA512 
af72cbcc5b511dad148e7ce990819df00bdf99c110b44b3b521eddd8690a6ebd4c76c24e63d843956971d5f158bbfa851804616630d34f3a0ec06888c78ecf2c
+DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 
383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0
 SHA512 
e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7

diff --git a/net-dns/knot/knot-3.1.9.ebuild b/net-dns/knot/knot-3.1.9.ebuild
new file mode 100644
index ..77cbe56a39d2
--- /dev/null
+++ b/net-dns/knot/knot-3.1.9.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp 
${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb:=
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   doh? ( net-libs/nghttp2:= )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+   xdp? (
+dev-libs/libbpf:=
+net-libs/libmnl:=
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   $(use_enable xdp)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   $(use_with doh libnghttp2)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-05-22 Thread Florian Schmaus
commit: c7a520fb1030f134342ee5cd39f00eb7876b306a
Author: Matt Jolly  footclan  ninja>
AuthorDate: Fri May 20 00:10:48 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun May 22 17:05:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a520fb

net-dns/knot: drop 3.1.4

Signed-off-by: Matt Jolly  footclan.ninja>
Closes: https://github.com/gentoo/gentoo/pull/25566
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-3.1.4.ebuild | 108 -
 2 files changed, 109 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index dc4235d42e6f..cb425aee192e 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,3 @@
-DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 
637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0
 SHA512 
307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060
 DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
 DIST knot-3.1.7.tar.xz 1418944 BLAKE2B 
d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047
 SHA512 
4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44
 DIST knot-3.1.8.tar.xz 1439912 BLAKE2B 
bcc089d547a7cad8150e93d70da036273a60b0e740df9693bc38813c3d7ed1968b8f97ce4d32c2359ba509fdfcd8403e73eed1f0107d470e6cd4ba4e7012f96d
 SHA512 
af72cbcc5b511dad148e7ce990819df00bdf99c110b44b3b521eddd8690a6ebd4c76c24e63d843956971d5f158bbfa851804616630d34f3a0ec06888c78ecf2c

diff --git a/net-dns/knot/knot-3.1.4.ebuild b/net-dns/knot/knot-3.1.4.ebuild
deleted file mode 100644
index f94f823b4198..
--- a/net-dns/knot/knot-3.1.4.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   if use riscv; then
-   append-libs -latomic
-   fi
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-
-   keepdir /var/lib/knot
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-05-22 Thread Florian Schmaus
commit: 0d3dc20d8cf5628e6e7b794d32679237ea588f8e
Author: Matt Jolly  footclan  ninja>
AuthorDate: Fri May 20 00:10:11 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun May 22 17:05:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3dc20d

net-dns/knot: add 3.1.8

Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.1.8.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index d573139f1d21..dc4235d42e6f 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 
637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0
 SHA512 
307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060
 DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
 DIST knot-3.1.7.tar.xz 1418944 BLAKE2B 
d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047
 SHA512 
4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44
+DIST knot-3.1.8.tar.xz 1439912 BLAKE2B 
bcc089d547a7cad8150e93d70da036273a60b0e740df9693bc38813c3d7ed1968b8f97ce4d32c2359ba509fdfcd8403e73eed1f0107d470e6cd4ba4e7012f96d
 SHA512 
af72cbcc5b511dad148e7ce990819df00bdf99c110b44b3b521eddd8690a6ebd4c76c24e63d843956971d5f158bbfa851804616630d34f3a0ec06888c78ecf2c

diff --git a/net-dns/knot/knot-3.1.8.ebuild b/net-dns/knot/knot-3.1.8.ebuild
new file mode 100644
index ..77cbe56a39d2
--- /dev/null
+++ b/net-dns/knot/knot-3.1.8.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp 
${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb:=
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb:=
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   doh? ( net-libs/nghttp2:= )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+   xdp? (
+dev-libs/libbpf:=
+net-libs/libmnl:=
+   )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   $(use_enable xdp)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   $(use_with doh libnghttp2)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+
+   keepdir /var/lib/knot
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-04-22 Thread Agostino Sarubbo
commit: 2248909209166f8211f18e42b84060bd0449998a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Apr 22 15:20:18 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Apr 22 15:20:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22489092

net-dns/knot: amd64 stable wrt bug #826346

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/knot/knot-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot/knot-3.1.5.ebuild b/net-dns/knot/knot-3.1.5.ebuild
index 3eb962bbe43e..2e9df0831f3f 100644
--- a/net-dns/knot/knot-3.1.5.ebuild
+++ b/net-dns/knot/knot-3.1.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv x86"
+KEYWORDS="amd64 ~riscv x86"
 
 KNOT_MODULES=(
"+cookies"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-04-21 Thread Jakov Smolić
commit: 590fbbee73da6d107eec92d7be81ddbaa20b720b
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Apr 21 08:25:35 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Apr 21 08:25:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=590fbbee

net-dns/knot: Stabilize 3.1.5 x86, #826346

Signed-off-by: Jakov Smolić  gentoo.org>

 net-dns/knot/knot-3.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/knot/knot-3.1.5.ebuild b/net-dns/knot/knot-3.1.5.ebuild
index f94f823b4198..3eb962bbe43e 100644
--- a/net-dns/knot/knot-3.1.5.ebuild
+++ b/net-dns/knot/knot-3.1.5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="~amd64 ~riscv x86"
 
 KNOT_MODULES=(
"+cookies"



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-04-19 Thread Florian Schmaus
commit: 65147210c117e1bfd677928ad0ac5f8f0a562dfe
Author: Matt Jolly  footclan  ninja>
AuthorDate: Tue Apr 19 11:40:34 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Apr 19 19:27:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65147210

net-dns/knot: add 3.1.7

Signed-off-by: Matt Jolly  footclan.ninja>
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.1.7.ebuild | 106 +
 2 files changed, 107 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 938d7d28729f..6d1aac12111f 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-3.1.3.tar.xz 1407576 BLAKE2B 
03cde89e32ac2440e721157db1af9b9cbb40ad2d8d813b0d8bc26fe1feb28f59055a3cbe287d50adb13f5190ce3ed532521189997d03b4fe9e4264f309032e23
 SHA512 
537013e914c3f00615a384c92da06c40bb33871e7dbd28e987280d62d91df42026774cfe0596ac72a218dafa650d8d600b1d831dd0a5c28a9fd796c5cd799838
 DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 
637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0
 SHA512 
307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060
 DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
+DIST knot-3.1.7.tar.xz 1418944 BLAKE2B 
d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047
 SHA512 
4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44

diff --git a/net-dns/knot/knot-3.1.7.ebuild b/net-dns/knot/knot-3.1.7.ebuild
new file mode 100644
index ..8c8aa3be19bd
--- /dev/null
+++ b/net-dns/knot/knot-3.1.7.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-04-19 Thread Florian Schmaus
commit: 4f909a141527d151f75554eaa481cf96612aff29
Author: Florian Schmaus  gentoo  org>
AuthorDate: Tue Apr 19 19:27:24 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Apr 19 19:27:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f909a14

net-dns/knot: add doh and xdp use flag

Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/knot-3.1.7.ebuild | 11 +--
 net-dns/knot/metadata.xml  |  6 ++
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/net-dns/knot/knot-3.1.7.ebuild b/net-dns/knot/knot-3.1.7.ebuild
index f94f823b4198..307ad4216af5 100644
--- a/net-dns/knot/knot-3.1.7.ebuild
+++ b/net-dns/knot/knot-3.1.7.ebuild
@@ -26,7 +26,7 @@ KNOT_MODULES=(
"+synthrecord"
"+whoami"
 )
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp 
${KNOT_MODULES[@]}"
 
 RDEPEND="
acct-group/knot
@@ -34,19 +34,24 @@ RDEPEND="
dev-db/lmdb
dev-libs/libedit
dev-libs/userspace-rcu:=
-   dev-python/lmdb
+   dev-python/lmdb:=
net-libs/gnutls:=
caps? ( sys-libs/libcap-ng )
dnstap? (
dev-libs/fstrm
dev-libs/protobuf-c:=
)
+   doh? ( net-libs/nghttp2:= )
geoip? ( dev-libs/libmaxminddb:= )
idn? (
!libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
libidn2? ( net-dns/libidn2:= )
)
systemd? ( sys-apps/systemd:= )
+   xdp? (
+dev-libs/libbpf:=
+net-libs/libmnl:=
+   )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
@@ -65,8 +70,10 @@ src_configure() {
$(use_enable dnstap)
$(use_enable doc documentation)
$(use_enable utils utilities)
+   $(use_enable xdp)
--enable-systemd=$(usex systemd)
$(use_with idn libidn)
+   $(use_with doh libnghttp2)
)
 
for u in "${KNOT_MODULES[@]#+}"; do

diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml
index 17a31725bf20..8c39b17e75fa 100644
--- a/net-dns/knot/metadata.xml
+++ b/net-dns/knot/metadata.xml
@@ -13,6 +13,9 @@

Enable the DNS cookie module (RFC 7873)

+   
+   Enable DNS over HTTP (DoH) using libnghttp2
+   

Enable the tiny DNS proxy module

@@ -57,5 +60,8 @@

Enable the whoami response module

+   
+   Enable eXpress Data Path
+   

 



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-04-19 Thread Florian Schmaus
commit: 090806fac66560bf97b3ced7f8e18a37130a57b2
Author: Florian Schmaus  gentoo  org>
AuthorDate: Tue Apr 19 19:14:30 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Apr 19 19:27:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090806fa

net-dns/knot: add missing keepdir

Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/knot-3.1.4.ebuild | 4 +++-
 net-dns/knot/knot-3.1.5.ebuild | 4 +++-
 net-dns/knot/knot-3.1.7.ebuild | 2 ++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-dns/knot/knot-3.1.4.ebuild b/net-dns/knot/knot-3.1.4.ebuild
index 4b7058faa52a..f94f823b4198 100644
--- a/net-dns/knot/knot-3.1.4.ebuild
+++ b/net-dns/knot/knot-3.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -103,4 +103,6 @@ src_install() {
fi
 
find "${D}" -name '*.la' -delete || die
+
+   keepdir /var/lib/knot
 }

diff --git a/net-dns/knot/knot-3.1.5.ebuild b/net-dns/knot/knot-3.1.5.ebuild
index 4b7058faa52a..f94f823b4198 100644
--- a/net-dns/knot/knot-3.1.5.ebuild
+++ b/net-dns/knot/knot-3.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -103,4 +103,6 @@ src_install() {
fi
 
find "${D}" -name '*.la' -delete || die
+
+   keepdir /var/lib/knot
 }

diff --git a/net-dns/knot/knot-3.1.7.ebuild b/net-dns/knot/knot-3.1.7.ebuild
index 8c8aa3be19bd..f94f823b4198 100644
--- a/net-dns/knot/knot-3.1.7.ebuild
+++ b/net-dns/knot/knot-3.1.7.ebuild
@@ -103,4 +103,6 @@ src_install() {
fi
 
find "${D}" -name '*.la' -delete || die
+
+   keepdir /var/lib/knot
 }



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2022-04-19 Thread Florian Schmaus
commit: 14323e24d15f66bb7787b72337eb815a2a2558e8
Author: Matt Jolly  footclan  ninja>
AuthorDate: Tue Apr 19 11:40:55 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Apr 19 19:27:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14323e24

net-dns/knot: drop 3.1.3

Signed-off-by: Matt Jolly  footclan.ninja>
Closes: https://github.com/gentoo/gentoo/pull/25103
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-3.1.3.ebuild | 106 -
 2 files changed, 107 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 6d1aac12111f..d573139f1d21 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,3 @@
-DIST knot-3.1.3.tar.xz 1407576 BLAKE2B 
03cde89e32ac2440e721157db1af9b9cbb40ad2d8d813b0d8bc26fe1feb28f59055a3cbe287d50adb13f5190ce3ed532521189997d03b4fe9e4264f309032e23
 SHA512 
537013e914c3f00615a384c92da06c40bb33871e7dbd28e987280d62d91df42026774cfe0596ac72a218dafa650d8d600b1d831dd0a5c28a9fd796c5cd799838
 DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 
637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0
 SHA512 
307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060
 DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
 DIST knot-3.1.7.tar.xz 1418944 BLAKE2B 
d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047
 SHA512 
4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44

diff --git a/net-dns/knot/knot-3.1.3.ebuild b/net-dns/knot/knot-3.1.3.ebuild
deleted file mode 100644
index 4b7058faa52a..
--- a/net-dns/knot/knot-3.1.3.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   if use riscv; then
-   append-libs -latomic
-   fi
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-12-27 Thread Florian Schmaus
commit: 66f96674da249a8a738cb082f9c8c2dc8aea740a
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Mon Dec 27 14:57:27 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Dec 27 17:23:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66f96674

net-dns/knot: bump to 3.1.5

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/23541
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.1.5.ebuild | 106 +
 2 files changed, 107 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 14f3e9d7e6a6..938d7d28729f 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-3.1.3.tar.xz 1407576 BLAKE2B 
03cde89e32ac2440e721157db1af9b9cbb40ad2d8d813b0d8bc26fe1feb28f59055a3cbe287d50adb13f5190ce3ed532521189997d03b4fe9e4264f309032e23
 SHA512 
537013e914c3f00615a384c92da06c40bb33871e7dbd28e987280d62d91df42026774cfe0596ac72a218dafa650d8d600b1d831dd0a5c28a9fd796c5cd799838
 DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 
637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0
 SHA512 
307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060
+DIST knot-3.1.5.tar.xz 1414500 BLAKE2B 
c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab
 SHA512 
3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa

diff --git a/net-dns/knot/knot-3.1.5.ebuild b/net-dns/knot/knot-3.1.5.ebuild
new file mode 100644
index ..4b7058faa52a
--- /dev/null
+++ b/net-dns/knot/knot-3.1.5.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-11-23 Thread Florian Schmaus
commit: 2c0fe66ea1d1e9ad67ec94381c701e9a9a79caf0
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Nov 23 08:58:27 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Nov 23 09:40:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0fe66e

net-dns/knot: Drop olds

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/23046
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   2 -
 net-dns/knot/knot-3.1.1.ebuild | 106 -
 net-dns/knot/knot-3.1.2.ebuild | 106 -
 3 files changed, 214 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 458390affa2e..14f3e9d7e6a6 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,2 @@
-DIST knot-3.1.1.tar.xz 1402352 BLAKE2B 
d6f9d29de153b5bdea8a294ae3d65131a0bdcc339ecdc507a9e1429a9cc50752e91f14ea84a7446de76869c6f129d571e9b6b4f9b048618941c4f4c0d667dbff
 SHA512 
44c2973025e752f73ebd6bc78dad5c48c1c1432b62ec3b6d75b5876af4dd21aeed94f78523ef85cd6a986ff27789143a0a67450819c0b75ffa627d06b98e1b0b
-DIST knot-3.1.2.tar.xz 1406684 BLAKE2B 
a849bf651357e462c5a0afb16e42bcd85bb310980c83b4c642bcf99ddfd17a59e5f5fd5f9fd58b21bcac2e287c57351b3b09cf3f4054ef51243b5226bf0bcc88
 SHA512 
e72f249f6291980cc69f90dca54cd8ba3ffbc617a1e69e441a48bdcbf46afb9fc202bbb1f88a93887fd264ddb59ad42ff6765c9bd0c1fa4789f035a902a3907a
 DIST knot-3.1.3.tar.xz 1407576 BLAKE2B 
03cde89e32ac2440e721157db1af9b9cbb40ad2d8d813b0d8bc26fe1feb28f59055a3cbe287d50adb13f5190ce3ed532521189997d03b4fe9e4264f309032e23
 SHA512 
537013e914c3f00615a384c92da06c40bb33871e7dbd28e987280d62d91df42026774cfe0596ac72a218dafa650d8d600b1d831dd0a5c28a9fd796c5cd799838
 DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 
637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0
 SHA512 
307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060

diff --git a/net-dns/knot/knot-3.1.1.ebuild b/net-dns/knot/knot-3.1.1.ebuild
deleted file mode 100644
index b4082a371f4a..
--- a/net-dns/knot/knot-3.1.1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   if use riscv; then
-   append-libs -latomic
-   fi
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}

diff --git a/net-dns/knot/knot-3.1.2.ebuild b/net-dns/knot/knot-3.1.2.ebuild
deleted file mode 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-11-23 Thread Florian Schmaus
commit: a1ce290f619f32d7cf13552eaca6063cf6f16c54
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Nov 23 07:35:38 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Nov 23 09:40:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ce290f

net-dns/knot: bump to 3.1.4

Closes: https://bugs.gentoo.org/826366
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.1.4.ebuild | 106 +
 2 files changed, 107 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 6c122ea04df1..458390affa2e 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-3.1.1.tar.xz 1402352 BLAKE2B 
d6f9d29de153b5bdea8a294ae3d65131a0bdcc339ecdc507a9e1429a9cc50752e91f14ea84a7446de76869c6f129d571e9b6b4f9b048618941c4f4c0d667dbff
 SHA512 
44c2973025e752f73ebd6bc78dad5c48c1c1432b62ec3b6d75b5876af4dd21aeed94f78523ef85cd6a986ff27789143a0a67450819c0b75ffa627d06b98e1b0b
 DIST knot-3.1.2.tar.xz 1406684 BLAKE2B 
a849bf651357e462c5a0afb16e42bcd85bb310980c83b4c642bcf99ddfd17a59e5f5fd5f9fd58b21bcac2e287c57351b3b09cf3f4054ef51243b5226bf0bcc88
 SHA512 
e72f249f6291980cc69f90dca54cd8ba3ffbc617a1e69e441a48bdcbf46afb9fc202bbb1f88a93887fd264ddb59ad42ff6765c9bd0c1fa4789f035a902a3907a
 DIST knot-3.1.3.tar.xz 1407576 BLAKE2B 
03cde89e32ac2440e721157db1af9b9cbb40ad2d8d813b0d8bc26fe1feb28f59055a3cbe287d50adb13f5190ce3ed532521189997d03b4fe9e4264f309032e23
 SHA512 
537013e914c3f00615a384c92da06c40bb33871e7dbd28e987280d62d91df42026774cfe0596ac72a218dafa650d8d600b1d831dd0a5c28a9fd796c5cd799838
+DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 
637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0
 SHA512 
307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060

diff --git a/net-dns/knot/knot-3.1.4.ebuild b/net-dns/knot/knot-3.1.4.ebuild
new file mode 100644
index ..4b7058faa52a
--- /dev/null
+++ b/net-dns/knot/knot-3.1.4.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-10-30 Thread Sam James
commit: a2c695c24749c62dfe75474880a32ef32e2f0578
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Mon Oct 18 23:45:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 31 03:42:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2c695c2

net-dns/knot: bump to 3.1.3

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/22632
Signed-off-by: Sam James  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.1.3.ebuild | 106 +
 2 files changed, 107 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index bfedc551fa4..6c122ea04df 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-3.1.1.tar.xz 1402352 BLAKE2B 
d6f9d29de153b5bdea8a294ae3d65131a0bdcc339ecdc507a9e1429a9cc50752e91f14ea84a7446de76869c6f129d571e9b6b4f9b048618941c4f4c0d667dbff
 SHA512 
44c2973025e752f73ebd6bc78dad5c48c1c1432b62ec3b6d75b5876af4dd21aeed94f78523ef85cd6a986ff27789143a0a67450819c0b75ffa627d06b98e1b0b
 DIST knot-3.1.2.tar.xz 1406684 BLAKE2B 
a849bf651357e462c5a0afb16e42bcd85bb310980c83b4c642bcf99ddfd17a59e5f5fd5f9fd58b21bcac2e287c57351b3b09cf3f4054ef51243b5226bf0bcc88
 SHA512 
e72f249f6291980cc69f90dca54cd8ba3ffbc617a1e69e441a48bdcbf46afb9fc202bbb1f88a93887fd264ddb59ad42ff6765c9bd0c1fa4789f035a902a3907a
+DIST knot-3.1.3.tar.xz 1407576 BLAKE2B 
03cde89e32ac2440e721157db1af9b9cbb40ad2d8d813b0d8bc26fe1feb28f59055a3cbe287d50adb13f5190ce3ed532521189997d03b4fe9e4264f309032e23
 SHA512 
537013e914c3f00615a384c92da06c40bb33871e7dbd28e987280d62d91df42026774cfe0596ac72a218dafa650d8d600b1d831dd0a5c28a9fd796c5cd799838

diff --git a/net-dns/knot/knot-3.1.3.ebuild b/net-dns/knot/knot-3.1.3.ebuild
new file mode 100644
index 000..4b7058faa52
--- /dev/null
+++ b/net-dns/knot/knot-3.1.3.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-09-21 Thread Joonas Niilola
commit: 06e02051bbf61cf8f748799e400e6481ed1fe55d
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Sat Sep 18 19:04:19 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 21 07:03:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e02051

net-dns/knot: bump to 3.1.2

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/22329
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.1.2.ebuild | 106 +
 2 files changed, 107 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 2cc27cacb51..bfedc551fa4 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1 +1,2 @@
 DIST knot-3.1.1.tar.xz 1402352 BLAKE2B 
d6f9d29de153b5bdea8a294ae3d65131a0bdcc339ecdc507a9e1429a9cc50752e91f14ea84a7446de76869c6f129d571e9b6b4f9b048618941c4f4c0d667dbff
 SHA512 
44c2973025e752f73ebd6bc78dad5c48c1c1432b62ec3b6d75b5876af4dd21aeed94f78523ef85cd6a986ff27789143a0a67450819c0b75ffa627d06b98e1b0b
+DIST knot-3.1.2.tar.xz 1406684 BLAKE2B 
a849bf651357e462c5a0afb16e42bcd85bb310980c83b4c642bcf99ddfd17a59e5f5fd5f9fd58b21bcac2e287c57351b3b09cf3f4054ef51243b5226bf0bcc88
 SHA512 
e72f249f6291980cc69f90dca54cd8ba3ffbc617a1e69e441a48bdcbf46afb9fc202bbb1f88a93887fd264ddb59ad42ff6765c9bd0c1fa4789f035a902a3907a

diff --git a/net-dns/knot/knot-3.1.2.ebuild b/net-dns/knot/knot-3.1.2.ebuild
new file mode 100644
index 000..b4082a371f4
--- /dev/null
+++ b/net-dns/knot/knot-3.1.2.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-08-10 Thread Florian Schmaus
commit: 5273cb435c01446e57f583061314d998ed5a47dc
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Aug 10 11:22:21 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Aug 10 13:01:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5273cb43

net-dns/knot: drop olds

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/21943
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   4 --
 net-dns/knot/knot-2.9.8.ebuild | 102 ---
 net-dns/knot/knot-3.0.4.ebuild | 102 ---
 net-dns/knot/knot-3.0.6.ebuild | 102 ---
 net-dns/knot/knot-3.0.7.ebuild | 106 -
 5 files changed, 416 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 70ac340a2d6..2cc27cacb51 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1 @@
-DIST knot-2.9.8.tar.xz 1194284 BLAKE2B 
c4329e5b2fc499851112d008af10c1a73bbe50cd07a4b5af984e99f389606b6f11c0b321dc26c14f872eb7cc70a99290a033f9aa9ff23a2b3694427605ffc704
 SHA512 
8104c3bdef2db4a79d6cd0fa4a30be1aa6edfa01363b97738d873445198cd031b4f5ab581d1a5277de49a8a042bb5340334be0579ceefa4b614e34c2cd454904
-DIST knot-3.0.4.tar.xz 1347928 BLAKE2B 
c97df0c04dbd6b96d2f2805a2bbb07bc3fd0ac64160619a55fdf93ac02e6d3f797dfae43ac8bc79450c59c88e0a521911517577ea19d67bb41186cfcd07dd743
 SHA512 
d674faaafcbe882539d28e53f1cd6cdda61ca8065f66dc0b9127f249f34b59a9d3d1ac206799c2974a2d38264842a2387db35f814bd05f3eaeac0b35b90b21ac
-DIST knot-3.0.6.tar.xz 1333296 BLAKE2B 
74ee1133dbf954234c4b07a29986cb91363256f3450b3d270f6d458d723e89bd1f7434881aa51632f02c369a16ca461e8ab892c34a2cf2ed612aa9040c91d535
 SHA512 
f1bfb0bc3a4cf622a68562409e71c8b84ee628a5452b48e172148bcac9cd0827b60a0c060075b80a086ca65da958d2d63e33ef7e373ab300b50089d06af3e5d0
-DIST knot-3.0.7.tar.xz 1334788 BLAKE2B 
0ac740b25912ae84714e078963880c27082f8d0e668f0df3b04a6a8a3588d0ffaf0ded9f6e3dd64cf9bc0b08673219e32ac3ffb86f64b9ea97cb61ab9cb545d4
 SHA512 
89e17cd2bc5a07b05ccd11cfd58481078eff4076a537d1623ed575c1ab87eac87ce949c12dc35eb15dc7e4358a405c19a6660b4da9abc230077a251792f196bd
 DIST knot-3.1.1.tar.xz 1402352 BLAKE2B 
d6f9d29de153b5bdea8a294ae3d65131a0bdcc339ecdc507a9e1429a9cc50752e91f14ea84a7446de76869c6f129d571e9b6b4f9b048618941c4f4c0d667dbff
 SHA512 
44c2973025e752f73ebd6bc78dad5c48c1c1432b62ec3b6d75b5876af4dd21aeed94f78523ef85cd6a986ff27789143a0a67450819c0b75ffa627d06b98e1b0b

diff --git a/net-dns/knot/knot-2.9.8.ebuild b/net-dns/knot/knot-2.9.8.ebuild
deleted file mode 100644
index 2cc9e9753df..000
--- a/net-dns/knot/knot-2.9.8.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-08-10 Thread Florian Schmaus
commit: 66b1d9879c8ef027bef014d3992c8b8f49078f79
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Aug 10 11:13:27 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue Aug 10 13:01:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b1d987

net-dns/knot: bump to 3.1.1

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Florian Schmaus  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.1.1.ebuild | 106 +
 2 files changed, 107 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index e3d9f53353c..70ac340a2d6 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -2,3 +2,4 @@ DIST knot-2.9.8.tar.xz 1194284 BLAKE2B 
c4329e5b2fc499851112d008af10c1a73bbe50cd0
 DIST knot-3.0.4.tar.xz 1347928 BLAKE2B 
c97df0c04dbd6b96d2f2805a2bbb07bc3fd0ac64160619a55fdf93ac02e6d3f797dfae43ac8bc79450c59c88e0a521911517577ea19d67bb41186cfcd07dd743
 SHA512 
d674faaafcbe882539d28e53f1cd6cdda61ca8065f66dc0b9127f249f34b59a9d3d1ac206799c2974a2d38264842a2387db35f814bd05f3eaeac0b35b90b21ac
 DIST knot-3.0.6.tar.xz 1333296 BLAKE2B 
74ee1133dbf954234c4b07a29986cb91363256f3450b3d270f6d458d723e89bd1f7434881aa51632f02c369a16ca461e8ab892c34a2cf2ed612aa9040c91d535
 SHA512 
f1bfb0bc3a4cf622a68562409e71c8b84ee628a5452b48e172148bcac9cd0827b60a0c060075b80a086ca65da958d2d63e33ef7e373ab300b50089d06af3e5d0
 DIST knot-3.0.7.tar.xz 1334788 BLAKE2B 
0ac740b25912ae84714e078963880c27082f8d0e668f0df3b04a6a8a3588d0ffaf0ded9f6e3dd64cf9bc0b08673219e32ac3ffb86f64b9ea97cb61ab9cb545d4
 SHA512 
89e17cd2bc5a07b05ccd11cfd58481078eff4076a537d1623ed575c1ab87eac87ce949c12dc35eb15dc7e4358a405c19a6660b4da9abc230077a251792f196bd
+DIST knot-3.1.1.tar.xz 1402352 BLAKE2B 
d6f9d29de153b5bdea8a294ae3d65131a0bdcc339ecdc507a9e1429a9cc50752e91f14ea84a7446de76869c6f129d571e9b6b4f9b048618941c4f4c0d667dbff
 SHA512 
44c2973025e752f73ebd6bc78dad5c48c1c1432b62ec3b6d75b5876af4dd21aeed94f78523ef85cd6a986ff27789143a0a67450819c0b75ffa627d06b98e1b0b

diff --git a/net-dns/knot/knot-3.1.1.ebuild b/net-dns/knot/knot-3.1.1.ebuild
new file mode 100644
index 000..b4082a371f4
--- /dev/null
+++ b/net-dns/knot/knot-3.1.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   if use riscv; then
+   append-libs -latomic
+   fi
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-08-08 Thread Marek Szuba
commit: 06d82d1cae94cf3a4dd18fc134d31b41f827d2ab
Author: Marek Szuba  gentoo  org>
AuthorDate: Sun Aug  8 21:11:14 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sun Aug  8 21:39:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d82d1c

net-dns/knot: keyword 3.0.7 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 net-dns/knot/knot-3.0.7.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-dns/knot/knot-3.0.7.ebuild b/net-dns/knot/knot-3.0.7.ebuild
index ff2ab85cf4e..b4082a371f4 100644
--- a/net-dns/knot/knot-3.0.7.ebuild
+++ b/net-dns/knot/knot-3.0.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+inherit flag-o-matic systemd
 
 DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/;
@@ -11,7 +11,7 @@ SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 
 KNOT_MODULES=(
"+cookies"
@@ -73,6 +73,10 @@ src_configure() {
my_conf+=("$(use_with ${u} module-${u})")
done
 
+   if use riscv; then
+   append-libs -latomic
+   fi
+
econf "${my_conf[@]}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-07-14 Thread Joonas Niilola
commit: 0b0fc5a1804e1d209c7e054c39eacb11de7bb896
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Wed Jun 30 10:30:05 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Jul 14 06:25:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b0fc5a1

net-dns/knot: bump to 3.0.7

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/21485
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.0.7.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index e0f31406e8d..e3d9f53353c 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-2.9.8.tar.xz 1194284 BLAKE2B 
c4329e5b2fc499851112d008af10c1a73bbe50cd07a4b5af984e99f389606b6f11c0b321dc26c14f872eb7cc70a99290a033f9aa9ff23a2b3694427605ffc704
 SHA512 
8104c3bdef2db4a79d6cd0fa4a30be1aa6edfa01363b97738d873445198cd031b4f5ab581d1a5277de49a8a042bb5340334be0579ceefa4b614e34c2cd454904
 DIST knot-3.0.4.tar.xz 1347928 BLAKE2B 
c97df0c04dbd6b96d2f2805a2bbb07bc3fd0ac64160619a55fdf93ac02e6d3f797dfae43ac8bc79450c59c88e0a521911517577ea19d67bb41186cfcd07dd743
 SHA512 
d674faaafcbe882539d28e53f1cd6cdda61ca8065f66dc0b9127f249f34b59a9d3d1ac206799c2974a2d38264842a2387db35f814bd05f3eaeac0b35b90b21ac
 DIST knot-3.0.6.tar.xz 1333296 BLAKE2B 
74ee1133dbf954234c4b07a29986cb91363256f3450b3d270f6d458d723e89bd1f7434881aa51632f02c369a16ca461e8ab892c34a2cf2ed612aa9040c91d535
 SHA512 
f1bfb0bc3a4cf622a68562409e71c8b84ee628a5452b48e172148bcac9cd0827b60a0c060075b80a086ca65da958d2d63e33ef7e373ab300b50089d06af3e5d0
+DIST knot-3.0.7.tar.xz 1334788 BLAKE2B 
0ac740b25912ae84714e078963880c27082f8d0e668f0df3b04a6a8a3588d0ffaf0ded9f6e3dd64cf9bc0b08673219e32ac3ffb86f64b9ea97cb61ab9cb545d4
 SHA512 
89e17cd2bc5a07b05ccd11cfd58481078eff4076a537d1623ed575c1ab87eac87ce949c12dc35eb15dc7e4358a405c19a6660b4da9abc230077a251792f196bd

diff --git a/net-dns/knot/knot-3.0.7.ebuild b/net-dns/knot/knot-3.0.7.ebuild
new file mode 100644
index 000..ff2ab85cf4e
--- /dev/null
+++ b/net-dns/knot/knot-3.0.7.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-06-08 Thread Sam James
commit: 292990315147cf4c2e0491b4b5db6af9ae1ec832
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Wed May 26 17:14:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  8 07:38:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29299031

net-dns/knot: bump to 3.0.6

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/21000
Signed-off-by: Sam James  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.0.6.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 0d9f877f159..e0f31406e8d 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.9.8.tar.xz 1194284 BLAKE2B 
c4329e5b2fc499851112d008af10c1a73bbe50cd07a4b5af984e99f389606b6f11c0b321dc26c14f872eb7cc70a99290a033f9aa9ff23a2b3694427605ffc704
 SHA512 
8104c3bdef2db4a79d6cd0fa4a30be1aa6edfa01363b97738d873445198cd031b4f5ab581d1a5277de49a8a042bb5340334be0579ceefa4b614e34c2cd454904
 DIST knot-3.0.4.tar.xz 1347928 BLAKE2B 
c97df0c04dbd6b96d2f2805a2bbb07bc3fd0ac64160619a55fdf93ac02e6d3f797dfae43ac8bc79450c59c88e0a521911517577ea19d67bb41186cfcd07dd743
 SHA512 
d674faaafcbe882539d28e53f1cd6cdda61ca8065f66dc0b9127f249f34b59a9d3d1ac206799c2974a2d38264842a2387db35f814bd05f3eaeac0b35b90b21ac
+DIST knot-3.0.6.tar.xz 1333296 BLAKE2B 
74ee1133dbf954234c4b07a29986cb91363256f3450b3d270f6d458d723e89bd1f7434881aa51632f02c369a16ca461e8ab892c34a2cf2ed612aa9040c91d535
 SHA512 
f1bfb0bc3a4cf622a68562409e71c8b84ee628a5452b48e172148bcac9cd0827b60a0c060075b80a086ca65da958d2d63e33ef7e373ab300b50089d06af3e5d0

diff --git a/net-dns/knot/knot-3.0.6.ebuild b/net-dns/knot/knot-3.0.6.ebuild
new file mode 100644
index 000..ff2ab85cf4e
--- /dev/null
+++ b/net-dns/knot/knot-3.0.6.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-02-04 Thread Sam James
commit: 1f90541c4109732bb25b411b85d1a14b0bdbe8b5
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Jan 28 23:53:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  5 04:22:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f90541c

net-dns/knot: remove olds

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/19248
Signed-off-by: Sam James  gentoo.org>

 net-dns/knot/Manifest  |   3 --
 net-dns/knot/knot-2.9.7.ebuild | 102 -
 net-dns/knot/knot-3.0.2.ebuild | 102 -
 net-dns/knot/knot-3.0.3.ebuild | 102 -
 4 files changed, 309 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index c5dbdb36b2b..0d9f877f159 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1,2 @@
-DIST knot-2.9.7.tar.xz 1188904 BLAKE2B 
f20355f211db316a1e39321a1200130e2af4e895eff92eca36c93d5b8f78fcd9dd8fa1ec25edf7a0fa9bae4aa2a92b2fca890be1da4134b894792235de0b546e
 SHA512 
399b48491c000aa3f16b87b1e313f2ea5fe369d19da0c81222ed43ca155bf4d4d1a561ef84bc08844eaf24d3dd07ded9a6ec3d831dd5f6ffb174ae773ae12931
 DIST knot-2.9.8.tar.xz 1194284 BLAKE2B 
c4329e5b2fc499851112d008af10c1a73bbe50cd07a4b5af984e99f389606b6f11c0b321dc26c14f872eb7cc70a99290a033f9aa9ff23a2b3694427605ffc704
 SHA512 
8104c3bdef2db4a79d6cd0fa4a30be1aa6edfa01363b97738d873445198cd031b4f5ab581d1a5277de49a8a042bb5340334be0579ceefa4b614e34c2cd454904
-DIST knot-3.0.2.tar.xz 1313864 BLAKE2B 
f2ff8c75a9b239b924af2eecc5e5afed27030fc9be6e112a4f61479f40247396c1d2905f58329fa84907c6ce796bc9a56d6f8e1cc83b737e15713844e0add32f
 SHA512 
677de7a80688d4820d56c020af1bb1da97546f44a616e2d72d7e0301fca4a7ab682994cf66e8c37403e65ddb45ea3e0eb37b3304739c1239364115588c589699
-DIST knot-3.0.3.tar.xz 1322748 BLAKE2B 
a0b9a99b66d1f02d0e631226c328376d2ca780b19522040525a7a4e9ec24bd22e0f0094ee98a01a75695727619b60b28d72484b3da4f5c92b63c368665aa637a
 SHA512 
4a4de22f8324d8459a7012faa49fb1503ad3b2f23af434a82381a73bf3f43a66f096bba7b0dfc8a61f416d9e02ce97c449ed1590a8a899279ac793798423c339
 DIST knot-3.0.4.tar.xz 1347928 BLAKE2B 
c97df0c04dbd6b96d2f2805a2bbb07bc3fd0ac64160619a55fdf93ac02e6d3f797dfae43ac8bc79450c59c88e0a521911517577ea19d67bb41186cfcd07dd743
 SHA512 
d674faaafcbe882539d28e53f1cd6cdda61ca8065f66dc0b9127f249f34b59a9d3d1ac206799c2974a2d38264842a2387db35f814bd05f3eaeac0b35b90b21ac

diff --git a/net-dns/knot/knot-2.9.7.ebuild b/net-dns/knot/knot-2.9.7.ebuild
deleted file mode 100644
index 2cc9e9753df..000
--- a/net-dns/knot/knot-2.9.7.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2021-02-04 Thread Sam James
commit: ea7f5be738668fbe6aa8ddabcddb15a4ee74ff5b
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Jan 28 23:50:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  5 04:22:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea7f5be7

net-dns/knot: bump to 3.0.4

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Sam James  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.0.4.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index aed7ed61e7b..c5dbdb36b2b 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -2,3 +2,4 @@ DIST knot-2.9.7.tar.xz 1188904 BLAKE2B 
f20355f211db316a1e39321a1200130e2af4e895e
 DIST knot-2.9.8.tar.xz 1194284 BLAKE2B 
c4329e5b2fc499851112d008af10c1a73bbe50cd07a4b5af984e99f389606b6f11c0b321dc26c14f872eb7cc70a99290a033f9aa9ff23a2b3694427605ffc704
 SHA512 
8104c3bdef2db4a79d6cd0fa4a30be1aa6edfa01363b97738d873445198cd031b4f5ab581d1a5277de49a8a042bb5340334be0579ceefa4b614e34c2cd454904
 DIST knot-3.0.2.tar.xz 1313864 BLAKE2B 
f2ff8c75a9b239b924af2eecc5e5afed27030fc9be6e112a4f61479f40247396c1d2905f58329fa84907c6ce796bc9a56d6f8e1cc83b737e15713844e0add32f
 SHA512 
677de7a80688d4820d56c020af1bb1da97546f44a616e2d72d7e0301fca4a7ab682994cf66e8c37403e65ddb45ea3e0eb37b3304739c1239364115588c589699
 DIST knot-3.0.3.tar.xz 1322748 BLAKE2B 
a0b9a99b66d1f02d0e631226c328376d2ca780b19522040525a7a4e9ec24bd22e0f0094ee98a01a75695727619b60b28d72484b3da4f5c92b63c368665aa637a
 SHA512 
4a4de22f8324d8459a7012faa49fb1503ad3b2f23af434a82381a73bf3f43a66f096bba7b0dfc8a61f416d9e02ce97c449ed1590a8a899279ac793798423c339
+DIST knot-3.0.4.tar.xz 1347928 BLAKE2B 
c97df0c04dbd6b96d2f2805a2bbb07bc3fd0ac64160619a55fdf93ac02e6d3f797dfae43ac8bc79450c59c88e0a521911517577ea19d67bb41186cfcd07dd743
 SHA512 
d674faaafcbe882539d28e53f1cd6cdda61ca8065f66dc0b9127f249f34b59a9d3d1ac206799c2974a2d38264842a2387db35f814bd05f3eaeac0b35b90b21ac

diff --git a/net-dns/knot/knot-3.0.4.ebuild b/net-dns/knot/knot-3.0.4.ebuild
new file mode 100644
index 000..ff2ab85cf4e
--- /dev/null
+++ b/net-dns/knot/knot-3.0.4.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-12-29 Thread Sam James
commit: 2d7d43dc3221dbca1f58cb84570043522a4b5702
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Dec 18 10:11:22 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 29 20:49:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d7d43dc

net-dns/knot: bump to 2.9.8 and 3.0.3

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/18703
Signed-off-by: Sam James  gentoo.org>

 net-dns/knot/Manifest  |   2 +
 net-dns/knot/knot-2.9.8.ebuild | 102 +
 net-dns/knot/knot-3.0.3.ebuild | 102 +
 3 files changed, 206 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index b0d293950bd..aed7ed61e7b 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,4 @@
 DIST knot-2.9.7.tar.xz 1188904 BLAKE2B 
f20355f211db316a1e39321a1200130e2af4e895eff92eca36c93d5b8f78fcd9dd8fa1ec25edf7a0fa9bae4aa2a92b2fca890be1da4134b894792235de0b546e
 SHA512 
399b48491c000aa3f16b87b1e313f2ea5fe369d19da0c81222ed43ca155bf4d4d1a561ef84bc08844eaf24d3dd07ded9a6ec3d831dd5f6ffb174ae773ae12931
+DIST knot-2.9.8.tar.xz 1194284 BLAKE2B 
c4329e5b2fc499851112d008af10c1a73bbe50cd07a4b5af984e99f389606b6f11c0b321dc26c14f872eb7cc70a99290a033f9aa9ff23a2b3694427605ffc704
 SHA512 
8104c3bdef2db4a79d6cd0fa4a30be1aa6edfa01363b97738d873445198cd031b4f5ab581d1a5277de49a8a042bb5340334be0579ceefa4b614e34c2cd454904
 DIST knot-3.0.2.tar.xz 1313864 BLAKE2B 
f2ff8c75a9b239b924af2eecc5e5afed27030fc9be6e112a4f61479f40247396c1d2905f58329fa84907c6ce796bc9a56d6f8e1cc83b737e15713844e0add32f
 SHA512 
677de7a80688d4820d56c020af1bb1da97546f44a616e2d72d7e0301fca4a7ab682994cf66e8c37403e65ddb45ea3e0eb37b3304739c1239364115588c589699
+DIST knot-3.0.3.tar.xz 1322748 BLAKE2B 
a0b9a99b66d1f02d0e631226c328376d2ca780b19522040525a7a4e9ec24bd22e0f0094ee98a01a75695727619b60b28d72484b3da4f5c92b63c368665aa637a
 SHA512 
4a4de22f8324d8459a7012faa49fb1503ad3b2f23af434a82381a73bf3f43a66f096bba7b0dfc8a61f416d9e02ce97c449ed1590a8a899279ac793798423c339

diff --git a/net-dns/knot/knot-2.9.8.ebuild b/net-dns/knot/knot-2.9.8.ebuild
new file mode 100644
index 000..2cc9e9753df
--- /dev/null
+++ b/net-dns/knot/knot-2.9.8.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}

diff --git a/net-dns/knot/knot-3.0.3.ebuild b/net-dns/knot/knot-3.0.3.ebuild
new file mode 100644
index 000..2cc9e9753df
--- /dev/null
+++ b/net-dns/knot/knot-3.0.3.ebuild
@@ -0,0 +1,102 @@

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-11-13 Thread Aaron Bauman
commit: 96506a61e76a8e1a08a40f180d32beca082c4537
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Nov 13 22:11:25 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 13 23:50:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96506a61

net-dns/knot: drop old

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/18253
Signed-off-by: Aaron Bauman  gentoo.org>

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-3.0.1.ebuild | 102 -
 2 files changed, 103 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 86c6cf5ef85..b0d293950bd 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,2 @@
 DIST knot-2.9.7.tar.xz 1188904 BLAKE2B 
f20355f211db316a1e39321a1200130e2af4e895eff92eca36c93d5b8f78fcd9dd8fa1ec25edf7a0fa9bae4aa2a92b2fca890be1da4134b894792235de0b546e
 SHA512 
399b48491c000aa3f16b87b1e313f2ea5fe369d19da0c81222ed43ca155bf4d4d1a561ef84bc08844eaf24d3dd07ded9a6ec3d831dd5f6ffb174ae773ae12931
-DIST knot-3.0.1.tar.xz 1332112 BLAKE2B 
9479254de81c85a71dd3cbb20fa0f7e870f217c4f8ec618cb60bebf3791661fd93aba89c941cd8f5850cb2a51d48f5e3099e66b39d0e9a941aadb99e83000a70
 SHA512 
e220d1db7d01c4899d687b0c1eaf792a48ef3a2d356265fd89addfc89c23f41462967fc974b96d22714e0c812c70f83f919bc2b91803776025e0b907e0cd914d
 DIST knot-3.0.2.tar.xz 1313864 BLAKE2B 
f2ff8c75a9b239b924af2eecc5e5afed27030fc9be6e112a4f61479f40247396c1d2905f58329fa84907c6ce796bc9a56d6f8e1cc83b737e15713844e0add32f
 SHA512 
677de7a80688d4820d56c020af1bb1da97546f44a616e2d72d7e0301fca4a7ab682994cf66e8c37403e65ddb45ea3e0eb37b3304739c1239364115588c589699

diff --git a/net-dns/knot/knot-3.0.1.ebuild b/net-dns/knot/knot-3.0.1.ebuild
deleted file mode 100644
index 2cc9e9753df..000
--- a/net-dns/knot/knot-3.0.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-11-13 Thread Aaron Bauman
commit: 9797457b586050972ef5414ef73cabd25ca696d2
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Nov 13 15:35:25 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 13 23:50:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9797457b

net-dns/knot: bump to 3.0.2

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Aaron Bauman  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.0.2.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 0eceb0740d4..86c6cf5ef85 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.9.7.tar.xz 1188904 BLAKE2B 
f20355f211db316a1e39321a1200130e2af4e895eff92eca36c93d5b8f78fcd9dd8fa1ec25edf7a0fa9bae4aa2a92b2fca890be1da4134b894792235de0b546e
 SHA512 
399b48491c000aa3f16b87b1e313f2ea5fe369d19da0c81222ed43ca155bf4d4d1a561ef84bc08844eaf24d3dd07ded9a6ec3d831dd5f6ffb174ae773ae12931
 DIST knot-3.0.1.tar.xz 1332112 BLAKE2B 
9479254de81c85a71dd3cbb20fa0f7e870f217c4f8ec618cb60bebf3791661fd93aba89c941cd8f5850cb2a51d48f5e3099e66b39d0e9a941aadb99e83000a70
 SHA512 
e220d1db7d01c4899d687b0c1eaf792a48ef3a2d356265fd89addfc89c23f41462967fc974b96d22714e0c812c70f83f919bc2b91803776025e0b907e0cd914d
+DIST knot-3.0.2.tar.xz 1313864 BLAKE2B 
f2ff8c75a9b239b924af2eecc5e5afed27030fc9be6e112a4f61479f40247396c1d2905f58329fa84907c6ce796bc9a56d6f8e1cc83b737e15713844e0add32f
 SHA512 
677de7a80688d4820d56c020af1bb1da97546f44a616e2d72d7e0301fca4a7ab682994cf66e8c37403e65ddb45ea3e0eb37b3304739c1239364115588c589699

diff --git a/net-dns/knot/knot-3.0.2.ebuild b/net-dns/knot/knot-3.0.2.ebuild
new file mode 100644
index 000..2cc9e9753df
--- /dev/null
+++ b/net-dns/knot/knot-3.0.2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-10-17 Thread Joonas Niilola
commit: 9e932a2a826283dee1b09729097cac2e4de43c51
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Oct 16 22:24:02 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct 17 14:04:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e932a2a

net-dns/knot: bump to 2.9.7 and 3.0.1

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   2 +
 net-dns/knot/knot-2.9.7.ebuild | 102 +
 net-dns/knot/knot-3.0.1.ebuild | 102 +
 3 files changed, 206 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 4b392b98b32..977157af267 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,5 @@
 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
 DIST knot-2.9.6.tar.xz 1188412 BLAKE2B 
95b165bf37079fbda91cc8e81b8a4a5e662d53bf5efdf9a96cfd59646fe246f0c59e2438d42f9566dcf6dbe675400d450e131f66bfa88769b1c3fcf55b09d849
 SHA512 
95164a8ec913b3e3f01355d7f41f08caf6048c39317e63b2968e2bf8cf2ed08791ea0136b1e721add07f183b81a241ab2c2b8779c44368079d8eac082f49e368
+DIST knot-2.9.7.tar.xz 1188904 BLAKE2B 
f20355f211db316a1e39321a1200130e2af4e895eff92eca36c93d5b8f78fcd9dd8fa1ec25edf7a0fa9bae4aa2a92b2fca890be1da4134b894792235de0b546e
 SHA512 
399b48491c000aa3f16b87b1e313f2ea5fe369d19da0c81222ed43ca155bf4d4d1a561ef84bc08844eaf24d3dd07ded9a6ec3d831dd5f6ffb174ae773ae12931
 DIST knot-3.0.0.tar.xz 1329064 BLAKE2B 
6a70ed9a4026b7c094688c12489e00527024204d3c8fa83e5de0f97fad042a8d1048881713c77e05b4876fe47150ac26383cf3f42a27bd97ad758fd274837dcf
 SHA512 
286861e4127f8c70eeba1e76f2de82e8f89d4c15d2dc3733902f8d19103f6a44b9da97a91bc99168fd4f6024d60b8bc53a78580ed04a6e9cbf8c6ad921780c81
+DIST knot-3.0.1.tar.xz 1332112 BLAKE2B 
9479254de81c85a71dd3cbb20fa0f7e870f217c4f8ec618cb60bebf3791661fd93aba89c941cd8f5850cb2a51d48f5e3099e66b39d0e9a941aadb99e83000a70
 SHA512 
e220d1db7d01c4899d687b0c1eaf792a48ef3a2d356265fd89addfc89c23f41462967fc974b96d22714e0c812c70f83f919bc2b91803776025e0b907e0cd914d

diff --git a/net-dns/knot/knot-2.9.7.ebuild b/net-dns/knot/knot-2.9.7.ebuild
new file mode 100644
index 000..2cc9e9753df
--- /dev/null
+++ b/net-dns/knot/knot-2.9.7.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-10-17 Thread Joonas Niilola
commit: 568dc943ac7d51ff57a0bbc9c695ee47b8656d04
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Oct 16 22:29:56 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Oct 17 14:04:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568dc943

net-dns/knot: remove olds

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/17952
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   3 --
 net-dns/knot/knot-2.8.5.ebuild | 103 -
 net-dns/knot/knot-2.9.6.ebuild | 102 
 net-dns/knot/knot-3.0.0.ebuild | 102 
 4 files changed, 310 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 977157af267..0eceb0740d4 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1,2 @@
-DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
-DIST knot-2.9.6.tar.xz 1188412 BLAKE2B 
95b165bf37079fbda91cc8e81b8a4a5e662d53bf5efdf9a96cfd59646fe246f0c59e2438d42f9566dcf6dbe675400d450e131f66bfa88769b1c3fcf55b09d849
 SHA512 
95164a8ec913b3e3f01355d7f41f08caf6048c39317e63b2968e2bf8cf2ed08791ea0136b1e721add07f183b81a241ab2c2b8779c44368079d8eac082f49e368
 DIST knot-2.9.7.tar.xz 1188904 BLAKE2B 
f20355f211db316a1e39321a1200130e2af4e895eff92eca36c93d5b8f78fcd9dd8fa1ec25edf7a0fa9bae4aa2a92b2fca890be1da4134b894792235de0b546e
 SHA512 
399b48491c000aa3f16b87b1e313f2ea5fe369d19da0c81222ed43ca155bf4d4d1a561ef84bc08844eaf24d3dd07ded9a6ec3d831dd5f6ffb174ae773ae12931
-DIST knot-3.0.0.tar.xz 1329064 BLAKE2B 
6a70ed9a4026b7c094688c12489e00527024204d3c8fa83e5de0f97fad042a8d1048881713c77e05b4876fe47150ac26383cf3f42a27bd97ad758fd274837dcf
 SHA512 
286861e4127f8c70eeba1e76f2de82e8f89d4c15d2dc3733902f8d19103f6a44b9da97a91bc99168fd4f6024d60b8bc53a78580ed04a6e9cbf8c6ad921780c81
 DIST knot-3.0.1.tar.xz 1332112 BLAKE2B 
9479254de81c85a71dd3cbb20fa0f7e870f217c4f8ec618cb60bebf3791661fd93aba89c941cd8f5850cb2a51d48f5e3099e66b39d0e9a941aadb99e83000a70
 SHA512 
e220d1db7d01c4899d687b0c1eaf792a48ef3a2d356265fd89addfc89c23f41462967fc974b96d22714e0c812c70f83f919bc2b91803776025e0b907e0cd914d

diff --git a/net-dns/knot/knot-2.8.5.ebuild b/net-dns/knot/knot-2.8.5.ebuild
deleted file mode 100644
index d9559bbada8..000
--- a/net-dns/knot/knot-2.8.5.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-10-08 Thread Joonas Niilola
commit: 1531bc50a619c8db58ff1401315f7bba498aec36
Author: Jonathan Davies  protonmail  com>
AuthorDate: Thu Oct  8 09:46:25 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Oct  8 10:02:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1531bc50

net-dns/knot: Updated version to 3.0.0.

Signed-off-by: Jonathan Davies  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17713
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-3.0.0.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 66e3a6e728f..4b392b98b32 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
 DIST knot-2.9.6.tar.xz 1188412 BLAKE2B 
95b165bf37079fbda91cc8e81b8a4a5e662d53bf5efdf9a96cfd59646fe246f0c59e2438d42f9566dcf6dbe675400d450e131f66bfa88769b1c3fcf55b09d849
 SHA512 
95164a8ec913b3e3f01355d7f41f08caf6048c39317e63b2968e2bf8cf2ed08791ea0136b1e721add07f183b81a241ab2c2b8779c44368079d8eac082f49e368
+DIST knot-3.0.0.tar.xz 1329064 BLAKE2B 
6a70ed9a4026b7c094688c12489e00527024204d3c8fa83e5de0f97fad042a8d1048881713c77e05b4876fe47150ac26383cf3f42a27bd97ad758fd274837dcf
 SHA512 
286861e4127f8c70eeba1e76f2de82e8f89d4c15d2dc3733902f8d19103f6a44b9da97a91bc99168fd4f6024d60b8bc53a78580ed04a6e9cbf8c6ad921780c81

diff --git a/net-dns/knot/knot-3.0.0.ebuild b/net-dns/knot/knot-3.0.0.ebuild
new file mode 100644
index 000..2cc9e9753df
--- /dev/null
+++ b/net-dns/knot/knot-3.0.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-09-30 Thread Joonas Niilola
commit: 24e1e45513353ec9bf054052b5e1b6b44c502253
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Sep  4 12:07:56 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 30 07:06:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e1e455

net-dns/knot: bump to 2.9.6

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.9.6.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 04b8806234e..048bb98b0d4 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
 DIST knot-2.9.5.tar.xz 1190872 BLAKE2B 
4c60972676efb2e6cef5431ab6889eeda4fe5f9a02bba10fbfced50c1edc9e15b9cea9e018428f3d075ab241128748fa1f777e6fc9de0dbdca1033c8d92a
 SHA512 
6bfd6a720eb512983f934c3bf853ac310391805a102546ed18b3e805d10339837569e970e0e51f64e9d938bc362c8f9d01acb15ca4dca0a66dea9deb6b59cc73
+DIST knot-2.9.6.tar.xz 1188412 BLAKE2B 
95b165bf37079fbda91cc8e81b8a4a5e662d53bf5efdf9a96cfd59646fe246f0c59e2438d42f9566dcf6dbe675400d450e131f66bfa88769b1c3fcf55b09d849
 SHA512 
95164a8ec913b3e3f01355d7f41f08caf6048c39317e63b2968e2bf8cf2ed08791ea0136b1e721add07f183b81a241ab2c2b8779c44368079d8eac082f49e368

diff --git a/net-dns/knot/knot-2.9.6.ebuild b/net-dns/knot/knot-2.9.6.ebuild
new file mode 100644
index 000..2cc9e9753df
--- /dev/null
+++ b/net-dns/knot/knot-2.9.6.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-09-30 Thread Joonas Niilola
commit: f8b39f282f0b922e8cc7204e50f5493399820691
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Sep  4 12:11:48 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep 30 07:06:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8b39f28

net-dns/knot: remove old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/17412
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-2.9.5.ebuild | 102 -
 2 files changed, 103 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 048bb98b0d4..66e3a6e728f 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,2 @@
 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
-DIST knot-2.9.5.tar.xz 1190872 BLAKE2B 
4c60972676efb2e6cef5431ab6889eeda4fe5f9a02bba10fbfced50c1edc9e15b9cea9e018428f3d075ab241128748fa1f777e6fc9de0dbdca1033c8d92a
 SHA512 
6bfd6a720eb512983f934c3bf853ac310391805a102546ed18b3e805d10339837569e970e0e51f64e9d938bc362c8f9d01acb15ca4dca0a66dea9deb6b59cc73
 DIST knot-2.9.6.tar.xz 1188412 BLAKE2B 
95b165bf37079fbda91cc8e81b8a4a5e662d53bf5efdf9a96cfd59646fe246f0c59e2438d42f9566dcf6dbe675400d450e131f66bfa88769b1c3fcf55b09d849
 SHA512 
95164a8ec913b3e3f01355d7f41f08caf6048c39317e63b2968e2bf8cf2ed08791ea0136b1e721add07f183b81a241ab2c2b8779c44368079d8eac082f49e368

diff --git a/net-dns/knot/knot-2.9.5.ebuild b/net-dns/knot/knot-2.9.5.ebuild
deleted file mode 100644
index 2cc9e9753df..000
--- a/net-dns/knot/knot-2.9.5.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-06-10 Thread Craig Andrews
commit: 9745975b3b5764443df8fe947bcaeebdb5f86b55
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue May 12 13:42:48 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Jun 10 15:54:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9745975b

net-dns/knot: drop olds

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Craig Andrews  gentoo.org>

 net-dns/knot/Manifest  |   2 -
 net-dns/knot/knot-2.9.2.ebuild | 102 -
 net-dns/knot/knot-2.9.3.ebuild | 102 -
 3 files changed, 206 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index ed23664c5e4..04b8806234e 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,2 @@
 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
-DIST knot-2.9.2.tar.xz 1181860 BLAKE2B 
4c4a54624cc0c107517596efb3d4a4dc205dac488e293b594e93f8e73b1face3c0ac4ca94d5def68576f7b801540468a355e5b4bd06d7992edc3bce122952fd3
 SHA512 
7e09cd6e587342b0a213f7a108704fff7535d02dd47d662e60b96ae5d75d9745d659131622253f964deb1607f28d172d1d46dc3b5f61e2f6c70e5002e746da68
-DIST knot-2.9.3.tar.xz 1214512 BLAKE2B 
a4545ba32827a1866046fd42a5819963607d5d7d1fd1e73b17b08dca9c3aeb3b8ecbad67ef3293f4a417ac2b25c7540e299cf914d90d6a659bcc58f809f178c7
 SHA512 
69186b0d83ab548e46a7eed2703b1c3e29de36123c39a7ca461a8728488433bcc27dd5564ff3cb55d8490d4515098cebdd72aa732742fb0b9fceaca27f456e08
 DIST knot-2.9.5.tar.xz 1190872 BLAKE2B 
4c60972676efb2e6cef5431ab6889eeda4fe5f9a02bba10fbfced50c1edc9e15b9cea9e018428f3d075ab241128748fa1f777e6fc9de0dbdca1033c8d92a
 SHA512 
6bfd6a720eb512983f934c3bf853ac310391805a102546ed18b3e805d10339837569e970e0e51f64e9d938bc362c8f9d01acb15ca4dca0a66dea9deb6b59cc73

diff --git a/net-dns/knot/knot-2.9.2.ebuild b/net-dns/knot/knot-2.9.2.ebuild
deleted file mode 100644
index 832d155aba2..000
--- a/net-dns/knot/knot-2.9.2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   use doc && emake -C doc html
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
-
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}

diff --git a/net-dns/knot/knot-2.9.3.ebuild b/net-dns/knot/knot-2.9.3.ebuild
deleted file mode 100644
index 2cc9e9753df..000
--- a/net-dns/knot/knot-2.9.3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-06-10 Thread Craig Andrews
commit: 418b8577beb1d1d99887de89be0691b4e2bba876
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue May 12 13:13:12 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Jun 10 15:54:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418b8577

net-dns/knot: bump to 2.9.5

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/15764
Signed-off-by: Craig Andrews  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.9.5.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index d24b5dca32f..ed23664c5e4 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
 DIST knot-2.9.2.tar.xz 1181860 BLAKE2B 
4c4a54624cc0c107517596efb3d4a4dc205dac488e293b594e93f8e73b1face3c0ac4ca94d5def68576f7b801540468a355e5b4bd06d7992edc3bce122952fd3
 SHA512 
7e09cd6e587342b0a213f7a108704fff7535d02dd47d662e60b96ae5d75d9745d659131622253f964deb1607f28d172d1d46dc3b5f61e2f6c70e5002e746da68
 DIST knot-2.9.3.tar.xz 1214512 BLAKE2B 
a4545ba32827a1866046fd42a5819963607d5d7d1fd1e73b17b08dca9c3aeb3b8ecbad67ef3293f4a417ac2b25c7540e299cf914d90d6a659bcc58f809f178c7
 SHA512 
69186b0d83ab548e46a7eed2703b1c3e29de36123c39a7ca461a8728488433bcc27dd5564ff3cb55d8490d4515098cebdd72aa732742fb0b9fceaca27f456e08
+DIST knot-2.9.5.tar.xz 1190872 BLAKE2B 
4c60972676efb2e6cef5431ab6889eeda4fe5f9a02bba10fbfced50c1edc9e15b9cea9e018428f3d075ab241128748fa1f777e6fc9de0dbdca1033c8d92a
 SHA512 
6bfd6a720eb512983f934c3bf853ac310391805a102546ed18b3e805d10339837569e970e0e51f64e9d938bc362c8f9d01acb15ca4dca0a66dea9deb6b59cc73

diff --git a/net-dns/knot/knot-2.9.5.ebuild b/net-dns/knot/knot-2.9.5.ebuild
new file mode 100644
index 000..2cc9e9753df
--- /dev/null
+++ b/net-dns/knot/knot-2.9.5.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-03-08 Thread Joonas Niilola
commit: 3bd117cbc2edb7426b8f6212fd755b8313f9fc56
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Mar  3 17:12:00 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Mar  8 12:57:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bd117cb

net-dns/knot: bump to 2.9.3

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/14828
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.9.3.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index c6eec7b1075..d24b5dca32f 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
 DIST knot-2.9.2.tar.xz 1181860 BLAKE2B 
4c4a54624cc0c107517596efb3d4a4dc205dac488e293b594e93f8e73b1face3c0ac4ca94d5def68576f7b801540468a355e5b4bd06d7992edc3bce122952fd3
 SHA512 
7e09cd6e587342b0a213f7a108704fff7535d02dd47d662e60b96ae5d75d9745d659131622253f964deb1607f28d172d1d46dc3b5f61e2f6c70e5002e746da68
+DIST knot-2.9.3.tar.xz 1214512 BLAKE2B 
a4545ba32827a1866046fd42a5819963607d5d7d1fd1e73b17b08dca9c3aeb3b8ecbad67ef3293f4a417ac2b25c7540e299cf914d90d6a659bcc58f809f178c7
 SHA512 
69186b0d83ab548e46a7eed2703b1c3e29de36123c39a7ca461a8728488433bcc27dd5564ff3cb55d8490d4515098cebdd72aa732742fb0b9fceaca27f456e08

diff --git a/net-dns/knot/knot-2.9.3.ebuild b/net-dns/knot/knot-2.9.3.ebuild
new file mode 100644
index 000..2cc9e9753df
--- /dev/null
+++ b/net-dns/knot/knot-2.9.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-01-06 Thread Joonas Niilola
commit: 3c0a8832e7b65a80145c5a8c94637b0d4948341e
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Mon Jan  6 12:12:03 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jan  7 06:20:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c0a8832

net-dns/knot: remove olds

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/14264
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   3 --
 net-dns/knot/knot-2.8.4.ebuild | 103 -
 net-dns/knot/knot-2.9.0.ebuild | 103 -
 net-dns/knot/knot-2.9.1.ebuild | 102 
 4 files changed, 311 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 5c6752b977a..c6eec7b1075 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1,2 @@
-DIST knot-2.8.4.tar.xz 1181812 BLAKE2B 
ff334ec3914ff682247b10719c9da28cdc1b353a24915204944ab2c010395a19d154ff1e1db399fa38df616c606574856f8ad69a144d56e4414a4c06dea9fe87
 SHA512 
8f826f0e2259b346c84212f9b58fe756044b2549ae84e42d929a0e01269d9f72bce1791c98327b02de375c739e77090d0ea9bacba9fa91ded5b2ea16154ac588
 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
-DIST knot-2.9.0.tar.xz 1210236 BLAKE2B 
1cc461feff60ed15bb04438767b2d0fa069bec5f649fc703127950672af2235ec3cb5a84c900c4fc42acdc40ef55f8f17605077eafbb0c4a9aabfe3bd3ea2c83
 SHA512 
7584152d4fd01cea40a254b05d59971c7341cf612976104ddd857c4a1c637fc83ad93669fc943de3c1514122be793b78f8cc26fef4cc98f5a693640bb766f2b9
-DIST knot-2.9.1.tar.xz 1212460 BLAKE2B 
7b025ab7fffddd6860cf4fa04386746c1e900d28bfc4322a021807c27f6c4621c0a19becbba07f9519c8fbb663b70c59b815ca566f6952edc3deb56b5658ae86
 SHA512 
467de157894c6d09f5ba0864f6c637f31f2cf4bcc612e1aa94a9f72395ce2f42dfe024818f84be5f3519af3d6421c771ad08f2dbf7ede6ff9ec7ec2a885178ff
 DIST knot-2.9.2.tar.xz 1181860 BLAKE2B 
4c4a54624cc0c107517596efb3d4a4dc205dac488e293b594e93f8e73b1face3c0ac4ca94d5def68576f7b801540468a355e5b4bd06d7992edc3bce122952fd3
 SHA512 
7e09cd6e587342b0a213f7a108704fff7535d02dd47d662e60b96ae5d75d9745d659131622253f964deb1607f28d172d1d46dc3b5f61e2f6c70e5002e746da68

diff --git a/net-dns/knot/knot-2.8.4.ebuild b/net-dns/knot/knot-2.8.4.ebuild
deleted file mode 100644
index aa3b0735e37..000
--- a/net-dns/knot/knot-2.8.4.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
- 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2020-01-06 Thread Joonas Niilola
commit: 5fc31439d81445ad3a6545bfd26099175a99fc68
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Mon Jan  6 12:07:01 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jan  7 06:20:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc31439

net-dns/knot: bump to 2.8.5

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.8.5.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 96ca8d84e75..5c6752b977a 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,5 @@
 DIST knot-2.8.4.tar.xz 1181812 BLAKE2B 
ff334ec3914ff682247b10719c9da28cdc1b353a24915204944ab2c010395a19d154ff1e1db399fa38df616c606574856f8ad69a144d56e4414a4c06dea9fe87
 SHA512 
8f826f0e2259b346c84212f9b58fe756044b2549ae84e42d929a0e01269d9f72bce1791c98327b02de375c739e77090d0ea9bacba9fa91ded5b2ea16154ac588
+DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 
7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd
 SHA512 
f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
 DIST knot-2.9.0.tar.xz 1210236 BLAKE2B 
1cc461feff60ed15bb04438767b2d0fa069bec5f649fc703127950672af2235ec3cb5a84c900c4fc42acdc40ef55f8f17605077eafbb0c4a9aabfe3bd3ea2c83
 SHA512 
7584152d4fd01cea40a254b05d59971c7341cf612976104ddd857c4a1c637fc83ad93669fc943de3c1514122be793b78f8cc26fef4cc98f5a693640bb766f2b9
 DIST knot-2.9.1.tar.xz 1212460 BLAKE2B 
7b025ab7fffddd6860cf4fa04386746c1e900d28bfc4322a021807c27f6c4621c0a19becbba07f9519c8fbb663b70c59b815ca566f6952edc3deb56b5658ae86
 SHA512 
467de157894c6d09f5ba0864f6c637f31f2cf4bcc612e1aa94a9f72395ce2f42dfe024818f84be5f3519af3d6421c771ad08f2dbf7ede6ff9ec7ec2a885178ff
 DIST knot-2.9.2.tar.xz 1181860 BLAKE2B 
4c4a54624cc0c107517596efb3d4a4dc205dac488e293b594e93f8e73b1face3c0ac4ca94d5def68576f7b801540468a355e5b4bd06d7992edc3bce122952fd3
 SHA512 
7e09cd6e587342b0a213f7a108704fff7535d02dd47d662e60b96ae5d75d9745d659131622253f964deb1607f28d172d1d46dc3b5f61e2f6c70e5002e746da68

diff --git a/net-dns/knot/knot-2.8.5.ebuild b/net-dns/knot/knot-2.8.5.ebuild
new file mode 100644
index 000..d9559bbada8
--- /dev/null
+++ b/net-dns/knot/knot-2.8.5.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-12-18 Thread Joonas Niilola
commit: ad6c495b90d722e3d7254f7b5a5f67d5d9263e5a
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Mon Dec 16 10:40:37 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Dec 18 16:32:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad6c495b

net-dns/knot: bump to 2.9.2

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/14010
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.9.2.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 96da8be7566..96ca8d84e75 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-2.8.4.tar.xz 1181812 BLAKE2B 
ff334ec3914ff682247b10719c9da28cdc1b353a24915204944ab2c010395a19d154ff1e1db399fa38df616c606574856f8ad69a144d56e4414a4c06dea9fe87
 SHA512 
8f826f0e2259b346c84212f9b58fe756044b2549ae84e42d929a0e01269d9f72bce1791c98327b02de375c739e77090d0ea9bacba9fa91ded5b2ea16154ac588
 DIST knot-2.9.0.tar.xz 1210236 BLAKE2B 
1cc461feff60ed15bb04438767b2d0fa069bec5f649fc703127950672af2235ec3cb5a84c900c4fc42acdc40ef55f8f17605077eafbb0c4a9aabfe3bd3ea2c83
 SHA512 
7584152d4fd01cea40a254b05d59971c7341cf612976104ddd857c4a1c637fc83ad93669fc943de3c1514122be793b78f8cc26fef4cc98f5a693640bb766f2b9
 DIST knot-2.9.1.tar.xz 1212460 BLAKE2B 
7b025ab7fffddd6860cf4fa04386746c1e900d28bfc4322a021807c27f6c4621c0a19becbba07f9519c8fbb663b70c59b815ca566f6952edc3deb56b5658ae86
 SHA512 
467de157894c6d09f5ba0864f6c637f31f2cf4bcc612e1aa94a9f72395ce2f42dfe024818f84be5f3519af3d6421c771ad08f2dbf7ede6ff9ec7ec2a885178ff
+DIST knot-2.9.2.tar.xz 1181860 BLAKE2B 
4c4a54624cc0c107517596efb3d4a4dc205dac488e293b594e93f8e73b1face3c0ac4ca94d5def68576f7b801540468a355e5b4bd06d7992edc3bce122952fd3
 SHA512 
7e09cd6e587342b0a213f7a108704fff7535d02dd47d662e60b96ae5d75d9745d659131622253f964deb1607f28d172d1d46dc3b5f61e2f6c70e5002e746da68

diff --git a/net-dns/knot/knot-2.9.2.ebuild b/net-dns/knot/knot-2.9.2.ebuild
new file mode 100644
index 000..832d155aba2
--- /dev/null
+++ b/net-dns/knot/knot-2.9.2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-11-26 Thread Joonas Niilola
commit: e7e0ca9a59fbcda69262542c577a2c872c96e09f
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Nov 14 11:09:00 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Nov 26 14:59:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e0ca9a

net-dns/knot: bump to 2.9.1

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/13646
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.9.1.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 364a30bd372..96da8be7566 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.8.4.tar.xz 1181812 BLAKE2B 
ff334ec3914ff682247b10719c9da28cdc1b353a24915204944ab2c010395a19d154ff1e1db399fa38df616c606574856f8ad69a144d56e4414a4c06dea9fe87
 SHA512 
8f826f0e2259b346c84212f9b58fe756044b2549ae84e42d929a0e01269d9f72bce1791c98327b02de375c739e77090d0ea9bacba9fa91ded5b2ea16154ac588
 DIST knot-2.9.0.tar.xz 1210236 BLAKE2B 
1cc461feff60ed15bb04438767b2d0fa069bec5f649fc703127950672af2235ec3cb5a84c900c4fc42acdc40ef55f8f17605077eafbb0c4a9aabfe3bd3ea2c83
 SHA512 
7584152d4fd01cea40a254b05d59971c7341cf612976104ddd857c4a1c637fc83ad93669fc943de3c1514122be793b78f8cc26fef4cc98f5a693640bb766f2b9
+DIST knot-2.9.1.tar.xz 1212460 BLAKE2B 
7b025ab7fffddd6860cf4fa04386746c1e900d28bfc4322a021807c27f6c4621c0a19becbba07f9519c8fbb663b70c59b815ca566f6952edc3deb56b5658ae86
 SHA512 
467de157894c6d09f5ba0864f6c637f31f2cf4bcc612e1aa94a9f72395ce2f42dfe024818f84be5f3519af3d6421c771ad08f2dbf7ede6ff9ec7ec2a885178ff

diff --git a/net-dns/knot/knot-2.9.1.ebuild b/net-dns/knot/knot-2.9.1.ebuild
new file mode 100644
index 000..832d155aba2
--- /dev/null
+++ b/net-dns/knot/knot-2.9.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   use doc && emake -C doc html
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( 
doc/_build/html/{*.html,*.js,_sources,_static} )
+
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-10-13 Thread Joonas Niilola
commit: ef7ee5e8f217f96b75d0b65be615681a26a2f29d
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Oct 10 23:31:09 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Oct 13 16:55:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7ee5e8

net-dns/knot: bump to version 2.9.0

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.9.0.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index c3915097f92..1dee1c5a0e8 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.7.8.tar.xz 1158284 BLAKE2B 
513670a05d9014e990f09e525dd638cfaac00027172a09734e23302bfdc1bd8d61d145e566485410ee1277dfdc48317afeffc9064dad6e88b1938965ba862924
 SHA512 
e220e9d885f488119bcb8324576b981e4c45e15d710595d6acaf121fbff9442e5c1d8c723c11dcd9cbc4d26e7a5200f002d52a94c67ba8af04f5c0c82615def7
 DIST knot-2.8.4.tar.xz 1181812 BLAKE2B 
ff334ec3914ff682247b10719c9da28cdc1b353a24915204944ab2c010395a19d154ff1e1db399fa38df616c606574856f8ad69a144d56e4414a4c06dea9fe87
 SHA512 
8f826f0e2259b346c84212f9b58fe756044b2549ae84e42d929a0e01269d9f72bce1791c98327b02de375c739e77090d0ea9bacba9fa91ded5b2ea16154ac588
+DIST knot-2.9.0.tar.xz 1210236 BLAKE2B 
1cc461feff60ed15bb04438767b2d0fa069bec5f649fc703127950672af2235ec3cb5a84c900c4fc42acdc40ef55f8f17605077eafbb0c4a9aabfe3bd3ea2c83
 SHA512 
7584152d4fd01cea40a254b05d59971c7341cf612976104ddd857c4a1c637fc83ad93669fc943de3c1514122be793b78f8cc26fef4cc98f5a693640bb766f2b9

diff --git a/net-dns/knot/knot-2.9.0.ebuild b/net-dns/knot/knot-2.9.0.ebuild
new file mode 100644
index 000..aa3b0735e37
--- /dev/null
+++ b/net-dns/knot/knot-2.9.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-10-13 Thread Joonas Niilola
commit: 66052dc311eb4845c491b29d107773307fb68ded
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Oct 10 23:34:09 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Oct 13 16:55:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66052dc3

net-dns/knot: drop old

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/13255
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-2.7.8.ebuild | 103 -
 2 files changed, 104 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 1dee1c5a0e8..364a30bd372 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,2 @@
-DIST knot-2.7.8.tar.xz 1158284 BLAKE2B 
513670a05d9014e990f09e525dd638cfaac00027172a09734e23302bfdc1bd8d61d145e566485410ee1277dfdc48317afeffc9064dad6e88b1938965ba862924
 SHA512 
e220e9d885f488119bcb8324576b981e4c45e15d710595d6acaf121fbff9442e5c1d8c723c11dcd9cbc4d26e7a5200f002d52a94c67ba8af04f5c0c82615def7
 DIST knot-2.8.4.tar.xz 1181812 BLAKE2B 
ff334ec3914ff682247b10719c9da28cdc1b353a24915204944ab2c010395a19d154ff1e1db399fa38df616c606574856f8ad69a144d56e4414a4c06dea9fe87
 SHA512 
8f826f0e2259b346c84212f9b58fe756044b2549ae84e42d929a0e01269d9f72bce1791c98327b02de375c739e77090d0ea9bacba9fa91ded5b2ea16154ac588
 DIST knot-2.9.0.tar.xz 1210236 BLAKE2B 
1cc461feff60ed15bb04438767b2d0fa069bec5f649fc703127950672af2235ec3cb5a84c900c4fc42acdc40ef55f8f17605077eafbb0c4a9aabfe3bd3ea2c83
 SHA512 
7584152d4fd01cea40a254b05d59971c7341cf612976104ddd857c4a1c637fc83ad93669fc943de3c1514122be793b78f8cc26fef4cc98f5a693640bb766f2b9

diff --git a/net-dns/knot/knot-2.7.8.ebuild b/net-dns/knot/knot-2.7.8.ebuild
deleted file mode 100644
index aa3b0735e37..000
--- a/net-dns/knot/knot-2.7.8.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   acct-group/knot
-   acct-user/knot
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-10-06 Thread Joonas Niilola
commit: 070856c9a735f8749fd545362a0e7c053313b67a
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Mon Sep 30 17:02:50 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct  7 05:19:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=070856c9

net-dns/knot: remove old

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/13110
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   3 --
 net-dns/knot/knot-2.7.7.ebuild | 107 -
 net-dns/knot/knot-2.8.2.ebuild | 107 -
 net-dns/knot/knot-2.8.3.ebuild | 103 ---
 4 files changed, 320 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index ddc10a590a4..c3915097f92 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1,2 @@
-DIST knot-2.7.7.tar.xz 1156996 BLAKE2B 
aa31233cf9af9f8060a40788529593d35912992472d5b9d892e632ba4cbf08a0f0adec6ed00d1152bf6cd443e3a659fa88050355e65a71cc2a3aac3c453bdc44
 SHA512 
95c341ce7c8cc2e65429d6e3bf009844fbd82ca5a0e36019f0e019ce35fc3ba8b68c159d34637380f6a3ad3dc2291ed5adc37e91515b2b6ecf61f7078ddad841
 DIST knot-2.7.8.tar.xz 1158284 BLAKE2B 
513670a05d9014e990f09e525dd638cfaac00027172a09734e23302bfdc1bd8d61d145e566485410ee1277dfdc48317afeffc9064dad6e88b1938965ba862924
 SHA512 
e220e9d885f488119bcb8324576b981e4c45e15d710595d6acaf121fbff9442e5c1d8c723c11dcd9cbc4d26e7a5200f002d52a94c67ba8af04f5c0c82615def7
-DIST knot-2.8.2.tar.xz 1193760 BLAKE2B 
0afd70740be103d596856dfcfea629b5216aa41e8e0044f050a993967c7bf53a129fd824d1d1ec6fef4d41072f25225f06a6113bf86266d755d6f944c8b5799f
 SHA512 
d7a045cc7b1a1f43b9536283d4202d7f8f36ac2160e0b985b40f318cc0041f3c3e977ff2db6f518dd37ea62d93d0d3f617bca1ac0dff81185bf5dcb9c1eac97b
-DIST knot-2.8.3.tar.xz 1206172 BLAKE2B 
f306b5c788bb27c8062284167378046a4f77926b805f9c2fb84b5192f51d2079547cf740b9b156673e6bfc2a5f28d6ff6762dc7d854a56a0a98d1dcac9f39fca
 SHA512 
a5743181807b944c9b6dfce845f009c576125c114fbac7b87592129b724628466740fb77e41cabd8aaf9f046374a9337a1c97ea74b33afae1af6e39e21f8e662
 DIST knot-2.8.4.tar.xz 1181812 BLAKE2B 
ff334ec3914ff682247b10719c9da28cdc1b353a24915204944ab2c010395a19d154ff1e1db399fa38df616c606574856f8ad69a144d56e4414a4c06dea9fe87
 SHA512 
8f826f0e2259b346c84212f9b58fe756044b2549ae84e42d929a0e01269d9f72bce1791c98327b02de375c739e77090d0ea9bacba9fa91ded5b2ea16154ac588

diff --git a/net-dns/knot/knot-2.7.7.ebuild b/net-dns/knot/knot-2.7.7.ebuild
deleted file mode 100644
index 5ccc7dcad7c..000
--- a/net-dns/knot/knot-2.7.7.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-   keepdir /var/lib/${PN}
-
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-10-06 Thread Joonas Niilola
commit: 385dec38ac49cf2fd0114da3d4f4fb2e8987c409
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Mon Sep 30 16:53:32 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct  7 05:19:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=385dec38

net-dns/knot: bump to 2.8.4

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.8.4.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index d7553e14fe0..ddc10a590a4 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -2,3 +2,4 @@ DIST knot-2.7.7.tar.xz 1156996 BLAKE2B 
aa31233cf9af9f8060a40788529593d3591299247
 DIST knot-2.7.8.tar.xz 1158284 BLAKE2B 
513670a05d9014e990f09e525dd638cfaac00027172a09734e23302bfdc1bd8d61d145e566485410ee1277dfdc48317afeffc9064dad6e88b1938965ba862924
 SHA512 
e220e9d885f488119bcb8324576b981e4c45e15d710595d6acaf121fbff9442e5c1d8c723c11dcd9cbc4d26e7a5200f002d52a94c67ba8af04f5c0c82615def7
 DIST knot-2.8.2.tar.xz 1193760 BLAKE2B 
0afd70740be103d596856dfcfea629b5216aa41e8e0044f050a993967c7bf53a129fd824d1d1ec6fef4d41072f25225f06a6113bf86266d755d6f944c8b5799f
 SHA512 
d7a045cc7b1a1f43b9536283d4202d7f8f36ac2160e0b985b40f318cc0041f3c3e977ff2db6f518dd37ea62d93d0d3f617bca1ac0dff81185bf5dcb9c1eac97b
 DIST knot-2.8.3.tar.xz 1206172 BLAKE2B 
f306b5c788bb27c8062284167378046a4f77926b805f9c2fb84b5192f51d2079547cf740b9b156673e6bfc2a5f28d6ff6762dc7d854a56a0a98d1dcac9f39fca
 SHA512 
a5743181807b944c9b6dfce845f009c576125c114fbac7b87592129b724628466740fb77e41cabd8aaf9f046374a9337a1c97ea74b33afae1af6e39e21f8e662
+DIST knot-2.8.4.tar.xz 1181812 BLAKE2B 
ff334ec3914ff682247b10719c9da28cdc1b353a24915204944ab2c010395a19d154ff1e1db399fa38df616c606574856f8ad69a144d56e4414a4c06dea9fe87
 SHA512 
8f826f0e2259b346c84212f9b58fe756044b2549ae84e42d929a0e01269d9f72bce1791c98327b02de375c739e77090d0ea9bacba9fa91ded5b2ea16154ac588

diff --git a/net-dns/knot/knot-2.8.4.ebuild b/net-dns/knot/knot-2.8.4.ebuild
new file mode 100644
index 000..aa3b0735e37
--- /dev/null
+++ b/net-dns/knot/knot-2.8.4.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-09-01 Thread Joonas Niilola
commit: 2dbcf61ad6d5facfd511051120a4cfaf61032b59
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Jul 19 15:36:54 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Sep  1 11:18:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dbcf61a

net-dns/knot: bump to 2.8.3 & 2.7.8

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/12481
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/knot/Manifest  |   2 +
 net-dns/knot/knot-2.7.8.ebuild | 103 +
 net-dns/knot/knot-2.8.3.ebuild | 103 +
 3 files changed, 208 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 6efe31493db..d7553e14fe0 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,4 @@
 DIST knot-2.7.7.tar.xz 1156996 BLAKE2B 
aa31233cf9af9f8060a40788529593d35912992472d5b9d892e632ba4cbf08a0f0adec6ed00d1152bf6cd443e3a659fa88050355e65a71cc2a3aac3c453bdc44
 SHA512 
95c341ce7c8cc2e65429d6e3bf009844fbd82ca5a0e36019f0e019ce35fc3ba8b68c159d34637380f6a3ad3dc2291ed5adc37e91515b2b6ecf61f7078ddad841
+DIST knot-2.7.8.tar.xz 1158284 BLAKE2B 
513670a05d9014e990f09e525dd638cfaac00027172a09734e23302bfdc1bd8d61d145e566485410ee1277dfdc48317afeffc9064dad6e88b1938965ba862924
 SHA512 
e220e9d885f488119bcb8324576b981e4c45e15d710595d6acaf121fbff9442e5c1d8c723c11dcd9cbc4d26e7a5200f002d52a94c67ba8af04f5c0c82615def7
 DIST knot-2.8.2.tar.xz 1193760 BLAKE2B 
0afd70740be103d596856dfcfea629b5216aa41e8e0044f050a993967c7bf53a129fd824d1d1ec6fef4d41072f25225f06a6113bf86266d755d6f944c8b5799f
 SHA512 
d7a045cc7b1a1f43b9536283d4202d7f8f36ac2160e0b985b40f318cc0041f3c3e977ff2db6f518dd37ea62d93d0d3f617bca1ac0dff81185bf5dcb9c1eac97b
+DIST knot-2.8.3.tar.xz 1206172 BLAKE2B 
f306b5c788bb27c8062284167378046a4f77926b805f9c2fb84b5192f51d2079547cf740b9b156673e6bfc2a5f28d6ff6762dc7d854a56a0a98d1dcac9f39fca
 SHA512 
a5743181807b944c9b6dfce845f009c576125c114fbac7b87592129b724628466740fb77e41cabd8aaf9f046374a9337a1c97ea74b33afae1af6e39e21f8e662

diff --git a/net-dns/knot/knot-2.7.8.ebuild b/net-dns/knot/knot-2.7.8.ebuild
new file mode 100644
index 000..aa3b0735e37
--- /dev/null
+++ b/net-dns/knot/knot-2.7.8.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   acct-group/knot
+   acct-user/knot
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}

diff --git a/net-dns/knot/knot-2.8.3.ebuild b/net-dns/knot/knot-2.8.3.ebuild
new file mode 100644
index 000..aa3b0735e37
--- /dev/null
+++ 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-06-06 Thread Michał Górny
commit: a045a44955d8295d39d2056377c438db27849254
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Jun  6 13:59:38 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  6 17:11:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a045a449

net-dns/knot: drop olds

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/12207
Signed-off-by: Michał Górny  gentoo.org>

 net-dns/knot/Manifest  |   3 --
 net-dns/knot/knot-2.7.6.ebuild | 107 -
 net-dns/knot/knot-2.8.0.ebuild | 107 -
 net-dns/knot/knot-2.8.1.ebuild | 107 -
 4 files changed, 324 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index e396059417a..6efe31493db 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1,2 @@
-DIST knot-2.7.6.tar.xz 1151068 BLAKE2B 
aba7b9f89d98ddabe5596198b0767b6d88cab2278eda33bea2738bcc2f62bc3b7463ee517488f8d2efa40b11859b3aefaa21268654e5e5580969a173ec8e
 SHA512 
6b6a727d57337da01e2d44abec7fde4504d112604769b118fe6254b0317f149ed4e9fab321a04517eccedb08e409818d1817fc1136c27d1fd351538e6816022a
 DIST knot-2.7.7.tar.xz 1156996 BLAKE2B 
aa31233cf9af9f8060a40788529593d35912992472d5b9d892e632ba4cbf08a0f0adec6ed00d1152bf6cd443e3a659fa88050355e65a71cc2a3aac3c453bdc44
 SHA512 
95c341ce7c8cc2e65429d6e3bf009844fbd82ca5a0e36019f0e019ce35fc3ba8b68c159d34637380f6a3ad3dc2291ed5adc37e91515b2b6ecf61f7078ddad841
-DIST knot-2.8.0.tar.xz 1168900 BLAKE2B 
e6d54709ce0bbc5411918de337fd2eb1cb939bbaf1b0dec149b169c2a93c6c0f4719028e35ff9a07d940d5e30470a4661e847a83c73ba0baaf89a520d8ee4fc3
 SHA512 
0cf2840d908bbab3197bff82d37e4a754204a3b79efa7e982719bc19028519d3ff0b2177780dada54e1b070f5f7aa28dab7bbfcc2d2ea086817f3a29b746228e
-DIST knot-2.8.1.tar.xz 1169260 BLAKE2B 
0a02394d5dfdce98d5f909f04a8902778f152d366d76f449ee57dfe99ad6168d7848454fbf21e01ce47dde1721af5293445f450f45949c21c3715f3f32fd5af9
 SHA512 
b1f97171efae85b5d6f845e57d933170e8f81b30e8b5a1a6157bb0f6bf5e1e545e7b3d2d51eedf0061166e9842ab01eb6c5e84b1ef9e98e20eda9a806e3e5d4b
 DIST knot-2.8.2.tar.xz 1193760 BLAKE2B 
0afd70740be103d596856dfcfea629b5216aa41e8e0044f050a993967c7bf53a129fd824d1d1ec6fef4d41072f25225f06a6113bf86266d755d6f944c8b5799f
 SHA512 
d7a045cc7b1a1f43b9536283d4202d7f8f36ac2160e0b985b40f318cc0041f3c3e977ff2db6f518dd37ea62d93d0d3f617bca1ac0dff81185bf5dcb9c1eac97b

diff --git a/net-dns/knot/knot-2.7.6.ebuild b/net-dns/knot/knot-2.7.6.ebuild
deleted file mode 100644
index 5ccc7dcad7c..000
--- a/net-dns/knot/knot-2.7.6.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+cookies"
-   "+dnsproxy"
-   "dnstap"
-   "geoip"
-   "+noudp"
-   "+onlinesign"
-   "+queryacl"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls:=
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c:=
-   )
-   geoip? ( dev-libs/libmaxminddb:= )
-   idn? (
-   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
-   libidn2? ( net-dns/libidn2:= )
-   )
-   systemd? ( sys-apps/systemd:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
-   keepdir /var/lib/${PN}
-
-   newinitd 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-06-06 Thread Michał Górny
commit: e24da2f38cdfa218c628c8a34c6c4d33a1549c5c
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Jun  6 13:56:31 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  6 17:11:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e24da2f3

net-dns/knot: bump to 2.8.2

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Michał Górny  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.8.2.ebuild | 107 +
 2 files changed, 108 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 74e5344ff0c..e396059417a 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -2,3 +2,4 @@ DIST knot-2.7.6.tar.xz 1151068 BLAKE2B 
aba7b9f89d98ddabe5596198b0767b6d88cab2278
 DIST knot-2.7.7.tar.xz 1156996 BLAKE2B 
aa31233cf9af9f8060a40788529593d35912992472d5b9d892e632ba4cbf08a0f0adec6ed00d1152bf6cd443e3a659fa88050355e65a71cc2a3aac3c453bdc44
 SHA512 
95c341ce7c8cc2e65429d6e3bf009844fbd82ca5a0e36019f0e019ce35fc3ba8b68c159d34637380f6a3ad3dc2291ed5adc37e91515b2b6ecf61f7078ddad841
 DIST knot-2.8.0.tar.xz 1168900 BLAKE2B 
e6d54709ce0bbc5411918de337fd2eb1cb939bbaf1b0dec149b169c2a93c6c0f4719028e35ff9a07d940d5e30470a4661e847a83c73ba0baaf89a520d8ee4fc3
 SHA512 
0cf2840d908bbab3197bff82d37e4a754204a3b79efa7e982719bc19028519d3ff0b2177780dada54e1b070f5f7aa28dab7bbfcc2d2ea086817f3a29b746228e
 DIST knot-2.8.1.tar.xz 1169260 BLAKE2B 
0a02394d5dfdce98d5f909f04a8902778f152d366d76f449ee57dfe99ad6168d7848454fbf21e01ce47dde1721af5293445f450f45949c21c3715f3f32fd5af9
 SHA512 
b1f97171efae85b5d6f845e57d933170e8f81b30e8b5a1a6157bb0f6bf5e1e545e7b3d2d51eedf0061166e9842ab01eb6c5e84b1ef9e98e20eda9a806e3e5d4b
+DIST knot-2.8.2.tar.xz 1193760 BLAKE2B 
0afd70740be103d596856dfcfea629b5216aa41e8e0044f050a993967c7bf53a129fd824d1d1ec6fef4d41072f25225f06a6113bf86266d755d6f944c8b5799f
 SHA512 
d7a045cc7b1a1f43b9536283d4202d7f8f36ac2160e0b985b40f318cc0041f3c3e977ff2db6f518dd37ea62d93d0d3f617bca1ac0dff81185bf5dcb9c1eac97b

diff --git a/net-dns/knot/knot-2.8.2.ebuild b/net-dns/knot/knot-2.8.2.ebuild
new file mode 100644
index 000..5ccc7dcad7c
--- /dev/null
+++ b/net-dns/knot/knot-2.8.2.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-04-27 Thread Michał Górny
commit: e9e4d030449d2e82d8bef978b230ab4933644501
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Sat Apr 20 08:35:07 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 27 14:12:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e4d030

net-dns/knot: bump to 2.8.1 and 2.7.7

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/11756
Signed-off-by: Michał Górny  gentoo.org>

 net-dns/knot/Manifest  |   2 +
 net-dns/knot/knot-2.7.7.ebuild | 107 +
 net-dns/knot/knot-2.8.1.ebuild | 107 +
 3 files changed, 216 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index c4c7313c1d5..74e5344ff0c 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,4 @@
 DIST knot-2.7.6.tar.xz 1151068 BLAKE2B 
aba7b9f89d98ddabe5596198b0767b6d88cab2278eda33bea2738bcc2f62bc3b7463ee517488f8d2efa40b11859b3aefaa21268654e5e5580969a173ec8e
 SHA512 
6b6a727d57337da01e2d44abec7fde4504d112604769b118fe6254b0317f149ed4e9fab321a04517eccedb08e409818d1817fc1136c27d1fd351538e6816022a
+DIST knot-2.7.7.tar.xz 1156996 BLAKE2B 
aa31233cf9af9f8060a40788529593d35912992472d5b9d892e632ba4cbf08a0f0adec6ed00d1152bf6cd443e3a659fa88050355e65a71cc2a3aac3c453bdc44
 SHA512 
95c341ce7c8cc2e65429d6e3bf009844fbd82ca5a0e36019f0e019ce35fc3ba8b68c159d34637380f6a3ad3dc2291ed5adc37e91515b2b6ecf61f7078ddad841
 DIST knot-2.8.0.tar.xz 1168900 BLAKE2B 
e6d54709ce0bbc5411918de337fd2eb1cb939bbaf1b0dec149b169c2a93c6c0f4719028e35ff9a07d940d5e30470a4661e847a83c73ba0baaf89a520d8ee4fc3
 SHA512 
0cf2840d908bbab3197bff82d37e4a754204a3b79efa7e982719bc19028519d3ff0b2177780dada54e1b070f5f7aa28dab7bbfcc2d2ea086817f3a29b746228e
+DIST knot-2.8.1.tar.xz 1169260 BLAKE2B 
0a02394d5dfdce98d5f909f04a8902778f152d366d76f449ee57dfe99ad6168d7848454fbf21e01ce47dde1721af5293445f450f45949c21c3715f3f32fd5af9
 SHA512 
b1f97171efae85b5d6f845e57d933170e8f81b30e8b5a1a6157bb0f6bf5e1e545e7b3d2d51eedf0061166e9842ab01eb6c5e84b1ef9e98e20eda9a806e3e5d4b

diff --git a/net-dns/knot/knot-2.7.7.ebuild b/net-dns/knot/knot-2.7.7.ebuild
new file mode 100644
index 000..5ccc7dcad7c
--- /dev/null
+++ b/net-dns/knot/knot-2.7.7.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}

diff --git a/net-dns/knot/knot-2.8.1.ebuild b/net-dns/knot/knot-2.8.1.ebuild
new file 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-04-20 Thread Michał Górny
commit: f90514d4fff02460cd198ada7314903d630ad591
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Wed Jan 30 18:29:27 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr 19 14:09:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90514d4

net-dns/knot: bump to 2.7.6 and 2.8.0

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Signed-off-by: Michał Górny  gentoo.org>

 net-dns/knot/Manifest  |   2 +
 net-dns/knot/knot-2.7.6.ebuild | 107 +
 net-dns/knot/knot-2.8.0.ebuild | 107 +
 3 files changed, 216 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index dccc263e41f..526c3c4c490 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -2,3 +2,5 @@ DIST knot-2.6.9.tar.xz 1126872 BLAKE2B 
c15b7e61ccad5417ce53f3d3895014931a2825835
 DIST knot-2.7.2.tar.xz 1148880 BLAKE2B 
bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31
 SHA512 
e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d
 DIST knot-2.7.3.tar.xz 1146456 BLAKE2B 
d584db01b2354c259cf5e5cdfeb2dff677b04e76b68156a2c672fffe95ee8c6516f82b8e199d8ec8cacfcd93f15b370a25172826460b82c5964f38207c9818f2
 SHA512 
ba735eb06d99f8cb41619f44413f6450178ab249ef9ff282bae36e8e965cb421f082852bbf0ae5814e3e3148f27431fc1f2b4ed30e21bfd0cbea1be189bdadfd
 DIST knot-2.7.4.tar.xz 1148652 BLAKE2B 
081a23a0429b4fec1feebbe417bc95fe24d11404a2a6b9e4e71d89f99bc9cf2a5ed2bdc3a0fd2727cc4d45629b71faefda179e68c4781f8b21c475a7b1fe8bdd
 SHA512 
e5f60a23817503468b18eaea517c5936945b901f568c56cb1ca67a208cc6206ff103e9ca03f1bf05018d13a688f54580ae816a5d70510f28a98ae31116a3f674
+DIST knot-2.7.6.tar.xz 1151068 BLAKE2B 
aba7b9f89d98ddabe5596198b0767b6d88cab2278eda33bea2738bcc2f62bc3b7463ee517488f8d2efa40b11859b3aefaa21268654e5e5580969a173ec8e
 SHA512 
6b6a727d57337da01e2d44abec7fde4504d112604769b118fe6254b0317f149ed4e9fab321a04517eccedb08e409818d1817fc1136c27d1fd351538e6816022a
+DIST knot-2.8.0.tar.xz 1168900 BLAKE2B 
e6d54709ce0bbc5411918de337fd2eb1cb939bbaf1b0dec149b169c2a93c6c0f4719028e35ff9a07d940d5e30470a4661e847a83c73ba0baaf89a520d8ee4fc3
 SHA512 
0cf2840d908bbab3197bff82d37e4a754204a3b79efa7e982719bc19028519d3ff0b2177780dada54e1b070f5f7aa28dab7bbfcc2d2ea086817f3a29b746228e

diff --git a/net-dns/knot/knot-2.7.6.ebuild b/net-dns/knot/knot-2.7.6.ebuild
new file mode 100644
index 000..5ccc7dcad7c
--- /dev/null
+++ b/net-dns/knot/knot-2.7.6.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls:=
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c:=
+   )
+   geoip? ( dev-libs/libmaxminddb:= )
+   idn? (
+   !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+   libidn2? ( net-dns/libidn2:= )
+   )
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2019-04-20 Thread Michał Górny
commit: 3c493e70a5890901b996dcec842e046d044ea0f2
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Mar 19 16:04:14 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Apr 19 14:09:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c493e70

net-dns/knot: remove olds

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10944
Signed-off-by: Michał Górny  gentoo.org>

 net-dns/knot/Manifest  |   4 --
 net-dns/knot/knot-2.6.9.ebuild | 103 ---
 net-dns/knot/knot-2.7.2.ebuild | 105 
 net-dns/knot/knot-2.7.3.ebuild | 106 -
 net-dns/knot/knot-2.7.4.ebuild | 106 -
 net-dns/knot/metadata.xml  |   4 --
 6 files changed, 428 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 526c3c4c490..c4c7313c1d5 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,6 +1,2 @@
-DIST knot-2.6.9.tar.xz 1126872 BLAKE2B 
c15b7e61ccad5417ce53f3d3895014931a2825835958735bdd9459634d9d9f39d6bb3681036772e6a510570a7f6a8afc8b0de5e77e67778831dc6415378889fe
 SHA512 
80fcbef17c3e6685c09eb57e59001a5f298a083c18ce077dc2f2d1fadbe7c36e543c205c0820bc7971a8ed7547897aec408f51e1a9555a50dae82d047fac471b
-DIST knot-2.7.2.tar.xz 1148880 BLAKE2B 
bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31
 SHA512 
e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d
-DIST knot-2.7.3.tar.xz 1146456 BLAKE2B 
d584db01b2354c259cf5e5cdfeb2dff677b04e76b68156a2c672fffe95ee8c6516f82b8e199d8ec8cacfcd93f15b370a25172826460b82c5964f38207c9818f2
 SHA512 
ba735eb06d99f8cb41619f44413f6450178ab249ef9ff282bae36e8e965cb421f082852bbf0ae5814e3e3148f27431fc1f2b4ed30e21bfd0cbea1be189bdadfd
-DIST knot-2.7.4.tar.xz 1148652 BLAKE2B 
081a23a0429b4fec1feebbe417bc95fe24d11404a2a6b9e4e71d89f99bc9cf2a5ed2bdc3a0fd2727cc4d45629b71faefda179e68c4781f8b21c475a7b1fe8bdd
 SHA512 
e5f60a23817503468b18eaea517c5936945b901f568c56cb1ca67a208cc6206ff103e9ca03f1bf05018d13a688f54580ae816a5d70510f28a98ae31116a3f674
 DIST knot-2.7.6.tar.xz 1151068 BLAKE2B 
aba7b9f89d98ddabe5596198b0767b6d88cab2278eda33bea2738bcc2f62bc3b7463ee517488f8d2efa40b11859b3aefaa21268654e5e5580969a173ec8e
 SHA512 
6b6a727d57337da01e2d44abec7fde4504d112604769b118fe6254b0317f149ed4e9fab321a04517eccedb08e409818d1817fc1136c27d1fd351538e6816022a
 DIST knot-2.8.0.tar.xz 1168900 BLAKE2B 
e6d54709ce0bbc5411918de337fd2eb1cb939bbaf1b0dec149b169c2a93c6c0f4719028e35ff9a07d940d5e30470a4661e847a83c73ba0baaf89a520d8ee4fc3
 SHA512 
0cf2840d908bbab3197bff82d37e4a754204a3b79efa7e982719bc19028519d3ff0b2177780dada54e1b070f5f7aa28dab7bbfcc2d2ea086817f3a29b746228e

diff --git a/net-dns/knot/knot-2.6.9.ebuild b/net-dns/knot/knot-2.6.9.ebuild
deleted file mode 100644
index a99e9462b6a..000
--- a/net-dns/knot/knot-2.6.9.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+dnsproxy"
-   "dnstap"
-   "+noudp"
-   "+onlinesign"
-   "rosedb"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu:=
-   dev-python/lmdb
-   net-libs/gnutls
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   idn? (
-   !libidn2? ( net-dns/libidn:* )
-   libidn2? ( net-dns/libidn2 )
-   )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-12-04 Thread Michał Górny
commit: 615381d703f9bd94193224d4da27bb2449a201cb
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Nov 15 22:19:05 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec  4 20:40:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615381d7

net-dns/knot: bump to 2.7.4

Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/10427
Signed-off-by: Michał Górny  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.7.4.ebuild | 106 +
 2 files changed, 107 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 59229819312..dccc263e41f 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-2.6.9.tar.xz 1126872 BLAKE2B 
c15b7e61ccad5417ce53f3d3895014931a2825835958735bdd9459634d9d9f39d6bb3681036772e6a510570a7f6a8afc8b0de5e77e67778831dc6415378889fe
 SHA512 
80fcbef17c3e6685c09eb57e59001a5f298a083c18ce077dc2f2d1fadbe7c36e543c205c0820bc7971a8ed7547897aec408f51e1a9555a50dae82d047fac471b
 DIST knot-2.7.2.tar.xz 1148880 BLAKE2B 
bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31
 SHA512 
e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d
 DIST knot-2.7.3.tar.xz 1146456 BLAKE2B 
d584db01b2354c259cf5e5cdfeb2dff677b04e76b68156a2c672fffe95ee8c6516f82b8e199d8ec8cacfcd93f15b370a25172826460b82c5964f38207c9818f2
 SHA512 
ba735eb06d99f8cb41619f44413f6450178ab249ef9ff282bae36e8e965cb421f082852bbf0ae5814e3e3148f27431fc1f2b4ed30e21bfd0cbea1be189bdadfd
+DIST knot-2.7.4.tar.xz 1148652 BLAKE2B 
081a23a0429b4fec1feebbe417bc95fe24d11404a2a6b9e4e71d89f99bc9cf2a5ed2bdc3a0fd2727cc4d45629b71faefda179e68c4781f8b21c475a7b1fe8bdd
 SHA512 
e5f60a23817503468b18eaea517c5936945b901f568c56cb1ca67a208cc6206ff103e9ca03f1bf05018d13a688f54580ae816a5d70510f28a98ae31116a3f674

diff --git a/net-dns/knot/knot-2.7.4.ebuild b/net-dns/knot/knot-2.7.4.ebuild
new file mode 100644
index 000..ce8659e1fd1
--- /dev/null
+++ b/net-dns/knot/knot-2.7.4.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu:=
+   dev-python/lmdb
+   net-libs/gnutls
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   geoip? ( dev-libs/libmaxminddb )
+   idn? (
+   !libidn2? ( net-dns/libidn:* )
+   libidn2? ( net-dns/libidn2 )
+   )
+   systemd? ( sys-apps/systemd )
+"
+BDEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-10-26 Thread Sven Wegener
commit: 92ef91863542c14c71b63dcd7c373ccf6739c331
Author: Sven Wegener  gentoo  org>
AuthorDate: Fri Oct 26 18:52:55 2018 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Fri Oct 26 18:52:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92ef9186

net-dns/knot: Add sub-slot dependency for userspace-rcu

Signed-off-by: Sven Wegener  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 net-dns/knot/knot-2.6.9.ebuild | 4 ++--
 net-dns/knot/knot-2.7.2.ebuild | 4 ++--
 net-dns/knot/knot-2.7.3.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-dns/knot/knot-2.6.9.ebuild b/net-dns/knot/knot-2.6.9.ebuild
index e4afd6cf3d8..a99e9462b6a 100644
--- a/net-dns/knot/knot-2.6.9.ebuild
+++ b/net-dns/knot/knot-2.6.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,7 +29,7 @@ IUSE="doc caps +fastparser idn libidn2 systemd +utils 
${KNOT_MODULES[@]}"
 RDEPEND="
dev-db/lmdb
dev-libs/libedit
-   dev-libs/userspace-rcu
+   dev-libs/userspace-rcu:=
dev-python/lmdb
net-libs/gnutls
caps? ( sys-libs/libcap-ng )

diff --git a/net-dns/knot/knot-2.7.2.ebuild b/net-dns/knot/knot-2.7.2.ebuild
index 2da8f50f93a..1312f7835d7 100644
--- a/net-dns/knot/knot-2.7.2.ebuild
+++ b/net-dns/knot/knot-2.7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,7 +30,7 @@ IUSE="doc caps +fastparser idn libidn2 systemd +utils 
${KNOT_MODULES[@]}"
 RDEPEND="
dev-db/lmdb
dev-libs/libedit
-   dev-libs/userspace-rcu
+   dev-libs/userspace-rcu:=
dev-python/lmdb
net-libs/gnutls
caps? ( sys-libs/libcap-ng )

diff --git a/net-dns/knot/knot-2.7.3.ebuild b/net-dns/knot/knot-2.7.3.ebuild
index 28488683ca8..1c1b445d8cc 100644
--- a/net-dns/knot/knot-2.7.3.ebuild
+++ b/net-dns/knot/knot-2.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -31,7 +31,7 @@ IUSE="doc caps +fastparser idn libidn2 systemd +utils 
${KNOT_MODULES[@]}"
 RDEPEND="
dev-db/lmdb
dev-libs/libedit
-   dev-libs/userspace-rcu
+   dev-libs/userspace-rcu:=
dev-python/lmdb
net-libs/gnutls
caps? ( sys-libs/libcap-ng )



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-10-18 Thread Patrice Clement
commit: d55ae9761124fbf70898391ea6830659eb116b98
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Sat Oct 13 12:58:47 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Thu Oct 18 21:40:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55ae976

net-dns/knot: bump to 2.7.3.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Signed-off-by: Pierre-Olivier Mercier  nemunai.re>
Closes: https://github.com/gentoo/gentoo/pull/10145
Signed-off-by: Patrice Clement  gentoo.org>

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.7.3.ebuild | 106 +
 net-dns/knot/metadata.xml  |   3 ++
 3 files changed, 110 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 13cc7888076..59229819312 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.6.9.tar.xz 1126872 BLAKE2B 
c15b7e61ccad5417ce53f3d3895014931a2825835958735bdd9459634d9d9f39d6bb3681036772e6a510570a7f6a8afc8b0de5e77e67778831dc6415378889fe
 SHA512 
80fcbef17c3e6685c09eb57e59001a5f298a083c18ce077dc2f2d1fadbe7c36e543c205c0820bc7971a8ed7547897aec408f51e1a9555a50dae82d047fac471b
 DIST knot-2.7.2.tar.xz 1148880 BLAKE2B 
bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31
 SHA512 
e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d
+DIST knot-2.7.3.tar.xz 1146456 BLAKE2B 
d584db01b2354c259cf5e5cdfeb2dff677b04e76b68156a2c672fffe95ee8c6516f82b8e199d8ec8cacfcd93f15b370a25172826460b82c5964f38207c9818f2
 SHA512 
ba735eb06d99f8cb41619f44413f6450178ab249ef9ff282bae36e8e965cb421f082852bbf0ae5814e3e3148f27431fc1f2b4ed30e21bfd0cbea1be189bdadfd

diff --git a/net-dns/knot/knot-2.7.3.ebuild b/net-dns/knot/knot-2.7.3.ebuild
new file mode 100644
index 000..28488683ca8
--- /dev/null
+++ b/net-dns/knot/knot-2.7.3.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+cookies"
+   "+dnsproxy"
+   "dnstap"
+   "geoip"
+   "+noudp"
+   "+onlinesign"
+   "+queryacl"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu
+   dev-python/lmdb
+   net-libs/gnutls
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   geoip? ( dev-libs/libmaxminddb )
+   idn? (
+   !libidn2? ( net-dns/libidn:* )
+   libidn2? ( net-dns/libidn2 )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}

diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml
index b4c4ececc73..d03b90100dd 100644
--- a/net-dns/knot/metadata.xml
+++ b/net-dns/knot/metadata.xml
@@ -39,6 +39,9 @@
Enable the module that sign zones on the fly instead of
pre-signing zone

+   
+   Enable the module for query access control
+   

Enable the 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-09-08 Thread Michał Górny
commit: 4113523b8904167f383c6fb0ecc854ea556e4cfe
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Aug 21 11:24:02 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep  8 08:26:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4113523b

net-dns/knot: remove olds

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9572

 net-dns/knot/Manifest  |   3 --
 net-dns/knot/knot-2.5.7.ebuild | 102 
 net-dns/knot/knot-2.6.6.ebuild | 103 -
 net-dns/knot/knot-2.6.8.ebuild | 103 -
 4 files changed, 311 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index f7f927046c9..13cc7888076 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1,2 @@
-DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
-DIST knot-2.6.6.tar.xz 1120340 BLAKE2B 
374d9b78f2ef2143d1221fced29184a52ee3773abd7cb08b6b48910f6ffc0f7c4f07c00d17d28344c93d71a709363bdf855d20587f87da622153c44d08d85fd8
 SHA512 
bd7a36decc74041f12971045cd69b8cc9e7ecce68f8d2b4cddc9b5f23ee96e8ed290d98fe9e6c441d6727ad4395bea615cbd9ec19cc641abce19ef8da6371972
-DIST knot-2.6.8.tar.xz 1121740 BLAKE2B 
2da7e20630fec53952c6892ee4002afeee0c36ef5cb271346caf1760389abaacac7f11dd0b24950ff5eedca40564ccf70c25b5c8548564bdd61c78a1bd9cf93e
 SHA512 
3300985bd4fbf88b58fbb5ba06bdd3dcbe7a50885baa89f9db47811c071a93994a2b17a0dbd27d185feade056ed5d65eef712eedb26de5a4101da363a7c24967
 DIST knot-2.6.9.tar.xz 1126872 BLAKE2B 
c15b7e61ccad5417ce53f3d3895014931a2825835958735bdd9459634d9d9f39d6bb3681036772e6a510570a7f6a8afc8b0de5e77e67778831dc6415378889fe
 SHA512 
80fcbef17c3e6685c09eb57e59001a5f298a083c18ce077dc2f2d1fadbe7c36e543c205c0820bc7971a8ed7547897aec408f51e1a9555a50dae82d047fac471b
 DIST knot-2.7.2.tar.xz 1148880 BLAKE2B 
bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31
 SHA512 
e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d

diff --git a/net-dns/knot/knot-2.5.7.ebuild b/net-dns/knot/knot-2.5.7.ebuild
deleted file mode 100644
index 2c5988f9114..000
--- a/net-dns/knot/knot-2.5.7.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+dnsproxy"
-   "dnstap"
-   "+noudp"
-   "+onlinesign"
-   "rosedb"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   >=dev-db/lmdb-0.9.15
-   dev-libs/libedit
-   >=dev-libs/userspace-rcu-0.5.4
-   dev-python/lmdb
-   >=net-libs/gnutls-3.3:=
-   caps? ( >=sys-libs/libcap-ng-0.6.4 )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   idn? (
-   !libidn2? ( net-dns/libidn )
-   libidn2? ( >=net-dns/libidn2-2.0.0 )
-   )
-   systemd? ( >=sys-apps/systemd-229 )
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=()
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with $u module-$u)")
-   done
-
-   econf \
-   --with-storage="${EPREFIX}/var/lib/${PN}" \
-   --with-rundir="${EPREFIX}/var/run/${PN}" \
-   $(use_enable fastparser) \
-   $(use_enable dnstap) \
-   $(use_enable doc documentation) \
-   $(use_enable utils utilities) \
-   --enable-systemd=$(usex systemd) \
-   $(use_with idn libidn) \
-   "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
-   keepdir /var/lib/${PN}
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot
-   fi
-
-   find 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-09-08 Thread Michał Górny
commit: b2b0b872257c6602af3eef5724403660316b8bc9
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Aug 21 11:20:25 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep  8 08:26:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b0b872

net-dns/knot: bump to 2.7.2 & 2.6.9

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-dns/knot/Manifest  |   2 +
 net-dns/knot/knot-2.6.9.ebuild | 103 
 net-dns/knot/knot-2.7.2.ebuild | 105 +
 net-dns/knot/metadata.xml  |   6 +++
 4 files changed, 216 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 544eb05882e..f7f927046c9 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,5 @@
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
 DIST knot-2.6.6.tar.xz 1120340 BLAKE2B 
374d9b78f2ef2143d1221fced29184a52ee3773abd7cb08b6b48910f6ffc0f7c4f07c00d17d28344c93d71a709363bdf855d20587f87da622153c44d08d85fd8
 SHA512 
bd7a36decc74041f12971045cd69b8cc9e7ecce68f8d2b4cddc9b5f23ee96e8ed290d98fe9e6c441d6727ad4395bea615cbd9ec19cc641abce19ef8da6371972
 DIST knot-2.6.8.tar.xz 1121740 BLAKE2B 
2da7e20630fec53952c6892ee4002afeee0c36ef5cb271346caf1760389abaacac7f11dd0b24950ff5eedca40564ccf70c25b5c8548564bdd61c78a1bd9cf93e
 SHA512 
3300985bd4fbf88b58fbb5ba06bdd3dcbe7a50885baa89f9db47811c071a93994a2b17a0dbd27d185feade056ed5d65eef712eedb26de5a4101da363a7c24967
+DIST knot-2.6.9.tar.xz 1126872 BLAKE2B 
c15b7e61ccad5417ce53f3d3895014931a2825835958735bdd9459634d9d9f39d6bb3681036772e6a510570a7f6a8afc8b0de5e77e67778831dc6415378889fe
 SHA512 
80fcbef17c3e6685c09eb57e59001a5f298a083c18ce077dc2f2d1fadbe7c36e543c205c0820bc7971a8ed7547897aec408f51e1a9555a50dae82d047fac471b
+DIST knot-2.7.2.tar.xz 1148880 BLAKE2B 
bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31
 SHA512 
e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d

diff --git a/net-dns/knot/knot-2.6.9.ebuild b/net-dns/knot/knot-2.6.9.ebuild
new file mode 100644
index 000..e4afd6cf3d8
--- /dev/null
+++ b/net-dns/knot/knot-2.6.9.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu
+   dev-python/lmdb
+   net-libs/gnutls
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn:* )
+   libidn2? ( net-dns/libidn2 )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}

diff 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-07-13 Thread Tony Vroon
commit: becf09a92f487bce6bc6087959c08fe6d04ee5dd
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Jul 12 17:25:55 2018 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Fri Jul 13 07:42:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=becf09a9

net-dns/knot: bump to 2.6.8

Closes: https://github.com/gentoo/gentoo/pull/9204

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.6.8.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index d3d63dc1c22..4a84be762d9 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
 DIST knot-2.6.6.tar.xz 1120340 BLAKE2B 
374d9b78f2ef2143d1221fced29184a52ee3773abd7cb08b6b48910f6ffc0f7c4f07c00d17d28344c93d71a709363bdf855d20587f87da622153c44d08d85fd8
 SHA512 
bd7a36decc74041f12971045cd69b8cc9e7ecce68f8d2b4cddc9b5f23ee96e8ed290d98fe9e6c441d6727ad4395bea615cbd9ec19cc641abce19ef8da6371972
 DIST knot-2.6.7.tar.xz 1121120 BLAKE2B 
c3000a08a8d873efc5a120d0f0154bcd16be0162ce3c21d74041181183c5f6f1600eeab3546737591ccd1522c8119202dc1f7dd576b70d4c006c0619b904f54a
 SHA512 
021810b396e9aaca140c6df858c8dcb9a4be6ac8d64a413195b88d8073d39e1de0604058343bff7534d39f32de27b0e0bc2271a0e545bb9f809adfe1bfaec9a9
+DIST knot-2.6.8.tar.xz 1121740 BLAKE2B 
2da7e20630fec53952c6892ee4002afeee0c36ef5cb271346caf1760389abaacac7f11dd0b24950ff5eedca40564ccf70c25b5c8548564bdd61c78a1bd9cf93e
 SHA512 
3300985bd4fbf88b58fbb5ba06bdd3dcbe7a50885baa89f9db47811c071a93994a2b17a0dbd27d185feade056ed5d65eef712eedb26de5a4101da363a7c24967

diff --git a/net-dns/knot/knot-2.6.8.ebuild b/net-dns/knot/knot-2.6.8.ebuild
new file mode 100644
index 000..2c624d4be58
--- /dev/null
+++ b/net-dns/knot/knot-2.6.8.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu
+   dev-python/lmdb
+   net-libs/gnutls
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn )
+   libidn2? ( net-dns/libidn2 )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-07-13 Thread Tony Vroon
commit: 7095d95ddaee33c7a4cf37fc2399f79e9db72d57
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu Jul 12 17:36:16 2018 +
Commit: Tony Vroon  gentoo  org>
CommitDate: Fri Jul 13 07:42:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7095d95d

net-dns/knot: remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-2.6.7.ebuild | 103 -
 2 files changed, 104 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 4a84be762d9..544eb05882e 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,3 @@
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
 DIST knot-2.6.6.tar.xz 1120340 BLAKE2B 
374d9b78f2ef2143d1221fced29184a52ee3773abd7cb08b6b48910f6ffc0f7c4f07c00d17d28344c93d71a709363bdf855d20587f87da622153c44d08d85fd8
 SHA512 
bd7a36decc74041f12971045cd69b8cc9e7ecce68f8d2b4cddc9b5f23ee96e8ed290d98fe9e6c441d6727ad4395bea615cbd9ec19cc641abce19ef8da6371972
-DIST knot-2.6.7.tar.xz 1121120 BLAKE2B 
c3000a08a8d873efc5a120d0f0154bcd16be0162ce3c21d74041181183c5f6f1600eeab3546737591ccd1522c8119202dc1f7dd576b70d4c006c0619b904f54a
 SHA512 
021810b396e9aaca140c6df858c8dcb9a4be6ac8d64a413195b88d8073d39e1de0604058343bff7534d39f32de27b0e0bc2271a0e545bb9f809adfe1bfaec9a9
 DIST knot-2.6.8.tar.xz 1121740 BLAKE2B 
2da7e20630fec53952c6892ee4002afeee0c36ef5cb271346caf1760389abaacac7f11dd0b24950ff5eedca40564ccf70c25b5c8548564bdd61c78a1bd9cf93e
 SHA512 
3300985bd4fbf88b58fbb5ba06bdd3dcbe7a50885baa89f9db47811c071a93994a2b17a0dbd27d185feade056ed5d65eef712eedb26de5a4101da363a7c24967

diff --git a/net-dns/knot/knot-2.6.7.ebuild b/net-dns/knot/knot-2.6.7.ebuild
deleted file mode 100644
index 2c624d4be58..000
--- a/net-dns/knot/knot-2.6.7.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+dnsproxy"
-   "dnstap"
-   "+noudp"
-   "+onlinesign"
-   "rosedb"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   dev-db/lmdb
-   dev-libs/libedit
-   dev-libs/userspace-rcu
-   dev-python/lmdb
-   net-libs/gnutls
-   caps? ( sys-libs/libcap-ng )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   idn? (
-   !libidn2? ( net-dns/libidn )
-   libidn2? ( net-dns/libidn2 )
-   )
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=(
-   --with-storage="${EPREFIX}/var/lib/${PN}"
-   --with-rundir="${EPREFIX}/var/run/${PN}"
-   $(use_enable fastparser)
-   $(use_enable dnstap)
-   $(use_enable doc documentation)
-   $(use_enable utils utilities)
-   --enable-systemd=$(usex systemd)
-   $(use_with idn libidn)
-   )
-
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with ${u} module-${u})")
-   done
-
-   econf "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
-   keepdir /var/lib/${PN}
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-   enewgroup knot 53
-   enewuser knot 53 -1 /var/lib/knot knot
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-06-07 Thread Michał Górny
commit: a061d90500af559925ef736e3dcbbab16fd3acee
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Thu May 17 15:01:42 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  7 11:13:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a061d905

net-dns/knot: bump to 2.6.7

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/8718

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.6.7.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 3d5aa39070a..d3d63dc1c22 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
 DIST knot-2.6.6.tar.xz 1120340 BLAKE2B 
374d9b78f2ef2143d1221fced29184a52ee3773abd7cb08b6b48910f6ffc0f7c4f07c00d17d28344c93d71a709363bdf855d20587f87da622153c44d08d85fd8
 SHA512 
bd7a36decc74041f12971045cd69b8cc9e7ecce68f8d2b4cddc9b5f23ee96e8ed290d98fe9e6c441d6727ad4395bea615cbd9ec19cc641abce19ef8da6371972
+DIST knot-2.6.7.tar.xz 1121120 BLAKE2B 
c3000a08a8d873efc5a120d0f0154bcd16be0162ce3c21d74041181183c5f6f1600eeab3546737591ccd1522c8119202dc1f7dd576b70d4c006c0619b904f54a
 SHA512 
021810b396e9aaca140c6df858c8dcb9a4be6ac8d64a413195b88d8073d39e1de0604058343bff7534d39f32de27b0e0bc2271a0e545bb9f809adfe1bfaec9a9

diff --git a/net-dns/knot/knot-2.6.7.ebuild b/net-dns/knot/knot-2.6.7.ebuild
new file mode 100644
index 000..2c624d4be58
--- /dev/null
+++ b/net-dns/knot/knot-2.6.7.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu
+   dev-python/lmdb
+   net-libs/gnutls
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn )
+   libidn2? ( net-dns/libidn2 )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-04-22 Thread Michał Górny
commit: 37eac0d217676a67d04e534331b9d7fba020df86
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Sat Apr 14 21:24:18 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 22 19:21:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37eac0d2

net-dns/knot: bump to 2.6.6

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.6.6.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 2eb1fc35e4c..89c6c2cdc76 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
 DIST knot-2.6.5.tar.xz 1118084 BLAKE2B 
941d90803e51c5af003fcd22ffede326492cf60836efc09a06e18740743cc9f806e4750934f6959ced88616f46fc5dbc6667099d53eb4a21fae524497c9c
 SHA512 
ed0d1d30e6d8d802e669aac12c4fd0cec8e315eb0e2c05b722f49ada434c82b8caebf12568881e5fbba2f61a5027c44fbde42b543c9086ff2e9614caf42a6d12
+DIST knot-2.6.6.tar.xz 1120340 BLAKE2B 
374d9b78f2ef2143d1221fced29184a52ee3773abd7cb08b6b48910f6ffc0f7c4f07c00d17d28344c93d71a709363bdf855d20587f87da622153c44d08d85fd8
 SHA512 
bd7a36decc74041f12971045cd69b8cc9e7ecce68f8d2b4cddc9b5f23ee96e8ed290d98fe9e6c441d6727ad4395bea615cbd9ec19cc641abce19ef8da6371972

diff --git a/net-dns/knot/knot-2.6.6.ebuild b/net-dns/knot/knot-2.6.6.ebuild
new file mode 100644
index 000..2c624d4be58
--- /dev/null
+++ b/net-dns/knot/knot-2.6.6.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   dev-db/lmdb
+   dev-libs/libedit
+   dev-libs/userspace-rcu
+   dev-python/lmdb
+   net-libs/gnutls
+   caps? ( sys-libs/libcap-ng )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn )
+   libidn2? ( net-dns/libidn2 )
+   )
+   systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=(
+   --with-storage="${EPREFIX}/var/lib/${PN}"
+   --with-rundir="${EPREFIX}/var/run/${PN}"
+   $(use_enable fastparser)
+   $(use_enable dnstap)
+   $(use_enable doc documentation)
+   $(use_enable utils utilities)
+   --enable-systemd=$(usex systemd)
+   $(use_with idn libidn)
+   )
+
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with ${u} module-${u})")
+   done
+
+   econf "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-04-22 Thread Michał Górny
commit: 823dab1734be3c69e1867bd2d9b731a91a2edf9b
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Sat Apr 14 21:27:44 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 22 19:21:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823dab17

net-dns/knot: drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7942

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-2.6.5.ebuild | 102 -
 2 files changed, 103 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 89c6c2cdc76..3d5aa39070a 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,2 @@
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
-DIST knot-2.6.5.tar.xz 1118084 BLAKE2B 
941d90803e51c5af003fcd22ffede326492cf60836efc09a06e18740743cc9f806e4750934f6959ced88616f46fc5dbc6667099d53eb4a21fae524497c9c
 SHA512 
ed0d1d30e6d8d802e669aac12c4fd0cec8e315eb0e2c05b722f49ada434c82b8caebf12568881e5fbba2f61a5027c44fbde42b543c9086ff2e9614caf42a6d12
 DIST knot-2.6.6.tar.xz 1120340 BLAKE2B 
374d9b78f2ef2143d1221fced29184a52ee3773abd7cb08b6b48910f6ffc0f7c4f07c00d17d28344c93d71a709363bdf855d20587f87da622153c44d08d85fd8
 SHA512 
bd7a36decc74041f12971045cd69b8cc9e7ecce68f8d2b4cddc9b5f23ee96e8ed290d98fe9e6c441d6727ad4395bea615cbd9ec19cc641abce19ef8da6371972

diff --git a/net-dns/knot/knot-2.6.5.ebuild b/net-dns/knot/knot-2.6.5.ebuild
deleted file mode 100644
index 63edc2b56df..000
--- a/net-dns/knot/knot-2.6.5.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+dnsproxy"
-   "dnstap"
-   "+noudp"
-   "+onlinesign"
-   "rosedb"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   >=dev-db/lmdb-0.9.15
-   dev-libs/libedit
-   >=dev-libs/userspace-rcu-0.5.4
-   dev-python/lmdb
-   >=net-libs/gnutls-3.3:=
-   caps? ( >=sys-libs/libcap-ng-0.6.4 )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   idn? (
-   !libidn2? ( net-dns/libidn )
-   libidn2? ( >=net-dns/libidn2-2.0.0 )
-   )
-   systemd? ( >=sys-apps/systemd-229 )
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=()
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with $u module-$u)")
-   done
-
-   econf \
-   --with-storage="${EPREFIX}/var/lib/${PN}" \
-   --with-rundir="${EPREFIX}/var/run/${PN}" \
-   $(use_enable fastparser) \
-   $(use_enable dnstap) \
-   $(use_enable doc documentation) \
-   $(use_enable utils utilities) \
-   --enable-systemd=$(usex systemd) \
-   $(use_with idn libidn) \
-   "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
-   keepdir /var/lib/${PN}
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-   enewgroup knot 53
-   enewuser knot 53 -1 /var/lib/knot knot
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-02-18 Thread Patrice Clement
commit: cb9366b726627ff6cf465c722010661644456beb
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Wed Feb 14 07:37:13 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Feb 18 17:15:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9366b7

net-dns/knot: remove version 2.6.4.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-2.6.4.ebuild | 102 -
 2 files changed, 103 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 18ea9bcebbf..2eb1fc35e4c 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,2 @@
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
-DIST knot-2.6.4.tar.xz 1116928 BLAKE2B 
7914addec8ff1826c81c2de098ed4e3b7686c877d40c727286d2d9c8c477fb02c1d0ad38befa77ccc92c5e068d6bc4c86e5df8ad9f5541cc0e3dc6f63192af58
 SHA512 
7242ef76bd3a379f574ca9af8fec96b0419c2209b6d8114c3b8e675cb5459ec70dab928a5a9ba9850fe1d7201729c9ff7e4c8800674e840e1cf04544c32a6f78
 DIST knot-2.6.5.tar.xz 1118084 BLAKE2B 
941d90803e51c5af003fcd22ffede326492cf60836efc09a06e18740743cc9f806e4750934f6959ced88616f46fc5dbc6667099d53eb4a21fae524497c9c
 SHA512 
ed0d1d30e6d8d802e669aac12c4fd0cec8e315eb0e2c05b722f49ada434c82b8caebf12568881e5fbba2f61a5027c44fbde42b543c9086ff2e9614caf42a6d12

diff --git a/net-dns/knot/knot-2.6.4.ebuild b/net-dns/knot/knot-2.6.4.ebuild
deleted file mode 100644
index 63edc2b56df..000
--- a/net-dns/knot/knot-2.6.4.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+dnsproxy"
-   "dnstap"
-   "+noudp"
-   "+onlinesign"
-   "rosedb"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   >=dev-db/lmdb-0.9.15
-   dev-libs/libedit
-   >=dev-libs/userspace-rcu-0.5.4
-   dev-python/lmdb
-   >=net-libs/gnutls-3.3:=
-   caps? ( >=sys-libs/libcap-ng-0.6.4 )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   idn? (
-   !libidn2? ( net-dns/libidn )
-   libidn2? ( >=net-dns/libidn2-2.0.0 )
-   )
-   systemd? ( >=sys-apps/systemd-229 )
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=()
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with $u module-$u)")
-   done
-
-   econf \
-   --with-storage="${EPREFIX}/var/lib/${PN}" \
-   --with-rundir="${EPREFIX}/var/run/${PN}" \
-   $(use_enable fastparser) \
-   $(use_enable dnstap) \
-   $(use_enable doc documentation) \
-   $(use_enable utils utilities) \
-   --enable-systemd=$(usex systemd) \
-   $(use_with idn libidn) \
-   "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
-   keepdir /var/lib/${PN}
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
-   enewgroup knot 53
-   enewuser knot 53 -1 /var/lib/knot knot
-}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-02-18 Thread Patrice Clement
commit: 6b995e8923977c31e654d463397fe4666d6d789d
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Feb 13 11:11:09 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Feb 18 17:15:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b995e89

net-dns/knot: version bump to 2.6.5.

Package-Manager: Portage-2.3.13, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/7180

 net-dns/knot/Manifest  |   1 +
 net-dns/knot/knot-2.6.5.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index c485149c96c..18ea9bcebbf 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
 DIST knot-2.6.4.tar.xz 1116928 BLAKE2B 
7914addec8ff1826c81c2de098ed4e3b7686c877d40c727286d2d9c8c477fb02c1d0ad38befa77ccc92c5e068d6bc4c86e5df8ad9f5541cc0e3dc6f63192af58
 SHA512 
7242ef76bd3a379f574ca9af8fec96b0419c2209b6d8114c3b8e675cb5459ec70dab928a5a9ba9850fe1d7201729c9ff7e4c8800674e840e1cf04544c32a6f78
+DIST knot-2.6.5.tar.xz 1118084 BLAKE2B 
941d90803e51c5af003fcd22ffede326492cf60836efc09a06e18740743cc9f806e4750934f6959ced88616f46fc5dbc6667099d53eb4a21fae524497c9c
 SHA512 
ed0d1d30e6d8d802e669aac12c4fd0cec8e315eb0e2c05b722f49ada434c82b8caebf12568881e5fbba2f61a5027c44fbde42b543c9086ff2e9614caf42a6d12

diff --git a/net-dns/knot/knot-2.6.5.ebuild b/net-dns/knot/knot-2.6.5.ebuild
new file mode 100644
index 000..63edc2b56df
--- /dev/null
+++ b/net-dns/knot/knot-2.6.5.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   >=dev-db/lmdb-0.9.15
+   dev-libs/libedit
+   >=dev-libs/userspace-rcu-0.5.4
+   dev-python/lmdb
+   >=net-libs/gnutls-3.3:=
+   caps? ( >=sys-libs/libcap-ng-0.6.4 )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn )
+   libidn2? ( >=net-dns/libidn2-2.0.0 )
+   )
+   systemd? ( >=sys-apps/systemd-229 )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=()
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with $u module-$u)")
+   done
+
+   econf \
+   --with-storage="${EPREFIX}/var/lib/${PN}" \
+   --with-rundir="${EPREFIX}/var/run/${PN}" \
+   $(use_enable fastparser) \
+   $(use_enable dnstap) \
+   $(use_enable doc documentation) \
+   $(use_enable utils utilities) \
+   --enable-systemd=$(usex systemd) \
+   $(use_with idn libidn) \
+   "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-01-05 Thread Craig Andrews
commit: 1f15faca1170f9a4f0ca5c02afb56037858a8b14
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Jan  2 17:51:04 2018 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Sat Jan  6 00:01:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f15faca

net-dns/knot: remove old ebuilds

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-dns/knot/Manifest |   3 --
 net-dns/knot/knot-2.5.6.ebuild| 102 --
 net-dns/knot/knot-2.6.1-r1.ebuild | 102 --
 net-dns/knot/knot-2.6.3.ebuild| 102 --
 4 files changed, 309 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 12cb8bb2ef8..c485149c96c 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1,2 @@
-DIST knot-2.5.6.tar.xz 1081756 BLAKE2B 
a016be4b7080175cc83bacc23cbf08b15e5c8dcdd63da0d6ca61dcbd8aa2d75952a2becf7c9f2f65b43e004bd54641198afc6402a0714046a4f631aaa193ae2d
 SHA512 
dcc58791469c8e4724a47b47105bf0c047bcf62611d6803a07a856bb281d72a397b186210087ff8f145232315bbd9baa194a7cdef10d1ebb36ca3b8c0a0c7379
 DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
-DIST knot-2.6.1.tar.xz 1112956 BLAKE2B 
28c2c2318713c63ce389ab768bedbcf3b2799d9d660d978e77ba68e40aff40de8eb0e31cc7b42d00230beff418ba2d20032e2e01c5dc26a6813e02e10711195a
 SHA512 
f4eaf311adcdfd13628c7174333bcc766b300be573f7df32eaaf162c5857e0ba35ce5a5e022f799c95618203abbe8db93e2364f172a87c4dd4eaf90b30ef8428
-DIST knot-2.6.3.tar.xz 1112408 BLAKE2B 
c2a04e951427fe667b1bef63f4ca4fca8fa099f7c7a0a7e61562a5a5f9f44208118f59debbf67eabba72c5f924412c54f650450e71c592f033d99d061060f103
 SHA512 
51e1c2abe6149173ded2c48e70ca9a563f76013aae95e53e9c4b5c2325bce44b21b410f7ce773012bc6e6d0b3db21aeffd697669fbeb34137af70af5dcd3f157
 DIST knot-2.6.4.tar.xz 1116928 BLAKE2B 
7914addec8ff1826c81c2de098ed4e3b7686c877d40c727286d2d9c8c477fb02c1d0ad38befa77ccc92c5e068d6bc4c86e5df8ad9f5541cc0e3dc6f63192af58
 SHA512 
7242ef76bd3a379f574ca9af8fec96b0419c2209b6d8114c3b8e675cb5459ec70dab928a5a9ba9850fe1d7201729c9ff7e4c8800674e840e1cf04544c32a6f78

diff --git a/net-dns/knot/knot-2.5.6.ebuild b/net-dns/knot/knot-2.5.6.ebuild
deleted file mode 100644
index 0baf4877502..000
--- a/net-dns/knot/knot-2.5.6.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+dnsproxy"
-   "dnstap"
-   "+noudp"
-   "+onlinesign"
-   "rosedb"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   >=dev-db/lmdb-0.9.15
-   dev-libs/libedit
-   >=dev-libs/userspace-rcu-0.5.4
-   dev-python/lmdb
-   >=net-libs/gnutls-3.3:=
-   caps? ( >=sys-libs/libcap-ng-0.6.4 )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   idn? (
-   !libidn2? ( net-dns/libidn )
-   libidn2? ( >=net-dns/libidn2-2.0.0 )
-   )
-   systemd? ( >=sys-apps/systemd-229 )
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=()
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with $u module-$u)")
-   done
-
-   econf \
-   --with-storage="${EPREFIX}/var/lib/${PN}" \
-   --with-rundir="${EPREFIX}/var/run/${PN}" \
-   $(use_enable fastparser) \
-   $(use_enable dnstap) \
-   $(use_enable doc documentation) \
-   $(use_enable utils utilities) \
-   --enable-systemd=$(usex systemd) \
-   $(use_with idn libidn) \
-   "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
-   keepdir /var/lib/${PN}
-
-   newinitd "${FILESDIR}/knot.init" knot
-   if use systemd; then
-   systemd_newunit "${FILESDIR}/knot-1.service" knot
-   fi
-
-   find "${D}" -name '*.la' -delete || die
-}
-

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2018-01-05 Thread Craig Andrews
commit: aef308a1598c331da76ed4decf684e047c97ecb3
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Jan  2 17:24:53 2018 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Sat Jan  6 00:01:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aef308a1

net-dns/knot: version bump

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-dns/knot/Manifest  |   2 +
 net-dns/knot/knot-2.5.7.ebuild | 102 +
 net-dns/knot/knot-2.6.4.ebuild | 102 +
 3 files changed, 206 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 9f505291110..12cb8bb2ef8 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,5 @@
 DIST knot-2.5.6.tar.xz 1081756 BLAKE2B 
a016be4b7080175cc83bacc23cbf08b15e5c8dcdd63da0d6ca61dcbd8aa2d75952a2becf7c9f2f65b43e004bd54641198afc6402a0714046a4f631aaa193ae2d
 SHA512 
dcc58791469c8e4724a47b47105bf0c047bcf62611d6803a07a856bb281d72a397b186210087ff8f145232315bbd9baa194a7cdef10d1ebb36ca3b8c0a0c7379
+DIST knot-2.5.7.tar.xz 1084656 BLAKE2B 
c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968
 SHA512 
96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a
 DIST knot-2.6.1.tar.xz 1112956 BLAKE2B 
28c2c2318713c63ce389ab768bedbcf3b2799d9d660d978e77ba68e40aff40de8eb0e31cc7b42d00230beff418ba2d20032e2e01c5dc26a6813e02e10711195a
 SHA512 
f4eaf311adcdfd13628c7174333bcc766b300be573f7df32eaaf162c5857e0ba35ce5a5e022f799c95618203abbe8db93e2364f172a87c4dd4eaf90b30ef8428
 DIST knot-2.6.3.tar.xz 1112408 BLAKE2B 
c2a04e951427fe667b1bef63f4ca4fca8fa099f7c7a0a7e61562a5a5f9f44208118f59debbf67eabba72c5f924412c54f650450e71c592f033d99d061060f103
 SHA512 
51e1c2abe6149173ded2c48e70ca9a563f76013aae95e53e9c4b5c2325bce44b21b410f7ce773012bc6e6d0b3db21aeffd697669fbeb34137af70af5dcd3f157
+DIST knot-2.6.4.tar.xz 1116928 BLAKE2B 
7914addec8ff1826c81c2de098ed4e3b7686c877d40c727286d2d9c8c477fb02c1d0ad38befa77ccc92c5e068d6bc4c86e5df8ad9f5541cc0e3dc6f63192af58
 SHA512 
7242ef76bd3a379f574ca9af8fec96b0419c2209b6d8114c3b8e675cb5459ec70dab928a5a9ba9850fe1d7201729c9ff7e4c8800674e840e1cf04544c32a6f78

diff --git a/net-dns/knot/knot-2.5.7.ebuild b/net-dns/knot/knot-2.5.7.ebuild
new file mode 100644
index 000..2c5988f9114
--- /dev/null
+++ b/net-dns/knot/knot-2.5.7.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   >=dev-db/lmdb-0.9.15
+   dev-libs/libedit
+   >=dev-libs/userspace-rcu-0.5.4
+   dev-python/lmdb
+   >=net-libs/gnutls-3.3:=
+   caps? ( >=sys-libs/libcap-ng-0.6.4 )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn )
+   libidn2? ( >=net-dns/libidn2-2.0.0 )
+   )
+   systemd? ( >=sys-apps/systemd-229 )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=()
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with $u module-$u)")
+   done
+
+   econf \
+   --with-storage="${EPREFIX}/var/lib/${PN}" \
+   --with-rundir="${EPREFIX}/var/run/${PN}" \
+   $(use_enable fastparser) \
+   $(use_enable dnstap) \
+   $(use_enable doc documentation) \
+   $(use_enable utils utilities) \
+   --enable-systemd=$(usex systemd) \
+   $(use_with idn libidn) \
+   "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2017-11-28 Thread Mikle Kolyada
commit: 122f253a05cfdeafe63af4e3b1e6a41daa3c6fe6
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Nov 24 22:51:25 2017 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Nov 28 16:19:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=122f253a

net-dns/knot: remove old ebuilds

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-dns/knot/Manifest  |   1 -
 net-dns/knot/knot-2.4.5.ebuild |  78 ---
 net-dns/knot/knot-2.6.1.ebuild | 102 -
 3 files changed, 181 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 96e5bffe364..9f505291110 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,4 +1,3 @@
-DIST knot-2.4.5.tar.xz 536 BLAKE2B 
88a603c2b6a467046021fc16fc003310f8902f9c2717b90753fcbbff059dcef9cbe954e0278818fc8a7ed6309dbd474236ca6ad09665cc8a71a6e094eab8fd0d
 SHA512 
db4919dbe2dc688f401e6611d784d47e1d40a0f8ec8c8cd6240d89ab9dd2ce7dd1976ac7cb24c712ed8aa074e0026ff0a10e9d6d5e685929d271ae554d9a1cff
 DIST knot-2.5.6.tar.xz 1081756 BLAKE2B 
a016be4b7080175cc83bacc23cbf08b15e5c8dcdd63da0d6ca61dcbd8aa2d75952a2becf7c9f2f65b43e004bd54641198afc6402a0714046a4f631aaa193ae2d
 SHA512 
dcc58791469c8e4724a47b47105bf0c047bcf62611d6803a07a856bb281d72a397b186210087ff8f145232315bbd9baa194a7cdef10d1ebb36ca3b8c0a0c7379
 DIST knot-2.6.1.tar.xz 1112956 BLAKE2B 
28c2c2318713c63ce389ab768bedbcf3b2799d9d660d978e77ba68e40aff40de8eb0e31cc7b42d00230beff418ba2d20032e2e01c5dc26a6813e02e10711195a
 SHA512 
f4eaf311adcdfd13628c7174333bcc766b300be573f7df32eaaf162c5857e0ba35ce5a5e022f799c95618203abbe8db93e2364f172a87c4dd4eaf90b30ef8428
 DIST knot-2.6.3.tar.xz 1112408 BLAKE2B 
c2a04e951427fe667b1bef63f4ca4fca8fa099f7c7a0a7e61562a5a5f9f44208118f59debbf67eabba72c5f924412c54f650450e71c592f033d99d061060f103
 SHA512 
51e1c2abe6149173ded2c48e70ca9a563f76013aae95e53e9c4b5c2325bce44b21b410f7ce773012bc6e6d0b3db21aeffd697669fbeb34137af70af5dcd3f157

diff --git a/net-dns/knot/knot-2.4.5.ebuild b/net-dns/knot/knot-2.4.5.ebuild
deleted file mode 100644
index 50af785a49d..000
--- a/net-dns/knot/knot-2.4.5.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1 eutils systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="http://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="dnstap doc caps +fastparser idn systemd"
-
-RDEPEND="
-   >=net-libs/gnutls-3.3:=
-   >=dev-libs/jansson-2.3
-   >=dev-db/lmdb-0.9.15
-   >=dev-libs/userspace-rcu-0.5.4
-   caps? ( >=sys-libs/libcap-ng-0.6.4 )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   idn? ( net-dns/libidn )
-   dev-libs/libedit
-   systemd? ( sys-apps/systemd )
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   econf \
-   --with-storage="${EPREFIX}/var/lib/${PN}" \
-   --with-rundir="${EPREFIX}/var/run/${PN}" \
-   --with-lmdb \
-   --with-bash-completions="$(get_bashcompdir)" \
-   $(use_enable fastparser) \
-   $(use_enable dnstap) \
-   $(use_enable doc documentation) \
-   $(use_with idn libidn) \
-   --enable-systemd=$(usex systemd)
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   emake check
-}
-
-src_install() {
-   default
-
-   keepdir /var/lib/${PN}
-
-   newinitd "${FILESDIR}/knot.init" knot
-   systemd_dounit "${FILESDIR}/knot.service"
-
-   prune_libtool_files
-}
-
-pkg_postinst() {
-   enewgroup knot 53
-   enewuser knot 53 -1 /var/lib/knot knot
-}

diff --git a/net-dns/knot/knot-2.6.1.ebuild b/net-dns/knot/knot-2.6.1.ebuild
deleted file mode 100644
index 0baf4877502..000
--- a/net-dns/knot/knot-2.6.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+dnsproxy"
-   "dnstap"
-   "+noudp"
-   "+onlinesign"
-   "rosedb"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2017-11-28 Thread Mikle Kolyada
commit: b70f0034d27b4ef1fbe4b4e5c5d23a9eb7678de6
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Fri Nov 24 20:39:10 2017 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Nov 28 16:19:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b70f0034

net-dns/knot: version bump

Package-Manager: Portage-2.3.8, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6270

 net-dns/knot/Manifest  |   7 +--
 net-dns/knot/knot-2.6.3.ebuild | 102 +
 2 files changed, 106 insertions(+), 3 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index cc11cee4e41..96e5bffe364 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,4 @@
-DIST knot-2.4.5.tar.xz 536 SHA256 
87ce8ccc83511c5a1f4eadd3f0122f2f5ae86fb68e9b72f0700c6f5340ba95cb SHA512 
db4919dbe2dc688f401e6611d784d47e1d40a0f8ec8c8cd6240d89ab9dd2ce7dd1976ac7cb24c712ed8aa074e0026ff0a10e9d6d5e685929d271ae554d9a1cff
 WHIRLPOOL 
cdfdf0bc2591df8436f8ab0959581129cb1a4d86138f6bb75b507d83280c7d567eb794e3b76b8374d4087721de53e4afd7566411b8e51fa2655e9e5462357ef4
-DIST knot-2.5.6.tar.xz 1081756 SHA256 
37d1625c2aaefe2394c85f6742a6ae9421e8348318c13119a6c451796c387cfc SHA512 
dcc58791469c8e4724a47b47105bf0c047bcf62611d6803a07a856bb281d72a397b186210087ff8f145232315bbd9baa194a7cdef10d1ebb36ca3b8c0a0c7379
 WHIRLPOOL 
199470662eb55971f5581a97d396342664789eb5803ae570598b4254bc14ad8f8fb9ca21198a42a26506fb7d29ed9417c42730651bd9ec38c48c50dbedf4726a
-DIST knot-2.6.1.tar.xz 1112956 SHA256 
3013d45b4c7484268f3cad078f66f730a5bc9606e6b1061488dd821c1dce41e3 SHA512 
f4eaf311adcdfd13628c7174333bcc766b300be573f7df32eaaf162c5857e0ba35ce5a5e022f799c95618203abbe8db93e2364f172a87c4dd4eaf90b30ef8428
 WHIRLPOOL 
f69c58c9211b18e512e851044ba830c4011618175f6b78a37702e1afe9ed70ab244b1077a2d6ece745d064d2ad0131f61405c5fe811b108e85d86cd428fa4d7b
+DIST knot-2.4.5.tar.xz 536 BLAKE2B 
88a603c2b6a467046021fc16fc003310f8902f9c2717b90753fcbbff059dcef9cbe954e0278818fc8a7ed6309dbd474236ca6ad09665cc8a71a6e094eab8fd0d
 SHA512 
db4919dbe2dc688f401e6611d784d47e1d40a0f8ec8c8cd6240d89ab9dd2ce7dd1976ac7cb24c712ed8aa074e0026ff0a10e9d6d5e685929d271ae554d9a1cff
+DIST knot-2.5.6.tar.xz 1081756 BLAKE2B 
a016be4b7080175cc83bacc23cbf08b15e5c8dcdd63da0d6ca61dcbd8aa2d75952a2becf7c9f2f65b43e004bd54641198afc6402a0714046a4f631aaa193ae2d
 SHA512 
dcc58791469c8e4724a47b47105bf0c047bcf62611d6803a07a856bb281d72a397b186210087ff8f145232315bbd9baa194a7cdef10d1ebb36ca3b8c0a0c7379
+DIST knot-2.6.1.tar.xz 1112956 BLAKE2B 
28c2c2318713c63ce389ab768bedbcf3b2799d9d660d978e77ba68e40aff40de8eb0e31cc7b42d00230beff418ba2d20032e2e01c5dc26a6813e02e10711195a
 SHA512 
f4eaf311adcdfd13628c7174333bcc766b300be573f7df32eaaf162c5857e0ba35ce5a5e022f799c95618203abbe8db93e2364f172a87c4dd4eaf90b30ef8428
+DIST knot-2.6.3.tar.xz 1112408 BLAKE2B 
c2a04e951427fe667b1bef63f4ca4fca8fa099f7c7a0a7e61562a5a5f9f44208118f59debbf67eabba72c5f924412c54f650450e71c592f033d99d061060f103
 SHA512 
51e1c2abe6149173ded2c48e70ca9a563f76013aae95e53e9c4b5c2325bce44b21b410f7ce773012bc6e6d0b3db21aeffd697669fbeb34137af70af5dcd3f157

diff --git a/net-dns/knot/knot-2.6.3.ebuild b/net-dns/knot/knot-2.6.3.ebuild
new file mode 100644
index 000..90e03e2d704
--- /dev/null
+++ b/net-dns/knot/knot-2.6.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   >=dev-db/lmdb-0.9.15
+   dev-libs/libedit
+   >=dev-libs/userspace-rcu-0.5.4
+   dev-python/lmdb
+   >=net-libs/gnutls-3.3:=
+   caps? ( >=sys-libs/libcap-ng-0.6.4 )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn )
+   libidn2? ( >=net-dns/libidn2-2.0.0 )
+   )
+   systemd? ( >=sys-apps/systemd-229 )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=()
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with $u module-$u)")
+   done
+
+   econf \
+   --with-storage="${EPREFIX}/var/lib/${PN}" \
+   --with-rundir="${EPREFIX}/var/run/${PN}" \
+   $(use_enable fastparser) \
+   $(use_enable dnstap) \
+   $(use_enable doc documentation) 

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2017-11-17 Thread David Seifert
commit: 4803ed1237ca22cda7fcb55b7d517d6cf3e5df02
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Tue Nov 14 19:47:24 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Nov 17 18:41:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4803ed12

net-dns/knot: fix systemd service's filename

Closes: https://bugs.gentoo.org/637504
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-dns/knot/knot-2.6.1-r1.ebuild | 102 ++
 1 file changed, 102 insertions(+)

diff --git a/net-dns/knot/knot-2.6.1-r1.ebuild 
b/net-dns/knot/knot-2.6.1-r1.ebuild
new file mode 100644
index 000..90e03e2d704
--- /dev/null
+++ b/net-dns/knot/knot-2.6.1-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   >=dev-db/lmdb-0.9.15
+   dev-libs/libedit
+   >=dev-libs/userspace-rcu-0.5.4
+   dev-python/lmdb
+   >=net-libs/gnutls-3.3:=
+   caps? ( >=sys-libs/libcap-ng-0.6.4 )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn )
+   libidn2? ( >=net-dns/libidn2-2.0.0 )
+   )
+   systemd? ( >=sys-apps/systemd-229 )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=()
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with $u module-$u)")
+   done
+
+   econf \
+   --with-storage="${EPREFIX}/var/lib/${PN}" \
+   --with-rundir="${EPREFIX}/var/run/${PN}" \
+   $(use_enable fastparser) \
+   $(use_enable dnstap) \
+   $(use_enable doc documentation) \
+   $(use_enable utils utilities) \
+   --enable-systemd=$(usex systemd) \
+   $(use_with idn libidn) \
+   "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check
+}
+
+src_install() {
+   default
+
+   rmdir "${D}var/run/${PN}" "${D}var/run/" || die
+   keepdir /var/lib/${PN}
+
+   newinitd "${FILESDIR}/knot.init" knot
+   if use systemd; then
+   systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+   fi
+
+   find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+   enewgroup knot 53
+   enewuser knot 53 -1 /var/lib/knot knot
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2017-11-08 Thread Patrice Clement
commit: 2abc4ed24ca88cbf7d79ed20d1d3717e2e995b93
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Sun Nov  5 21:06:39 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Nov  8 22:48:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abc4ed2

net-dns/knot: version bump.

Package-Manager: Portage-2.3.8, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6139

 net-dns/knot/Manifest  |   2 +
 net-dns/knot/knot-2.5.6.ebuild | 102 +
 net-dns/knot/knot-2.6.1.ebuild | 102 +
 3 files changed, 206 insertions(+)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 2472bddf144..6a4f7b2252b 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,3 +1,5 @@
 DIST knot-2.4.5.tar.xz 536 SHA256 
87ce8ccc83511c5a1f4eadd3f0122f2f5ae86fb68e9b72f0700c6f5340ba95cb SHA512 
db4919dbe2dc688f401e6611d784d47e1d40a0f8ec8c8cd6240d89ab9dd2ce7dd1976ac7cb24c712ed8aa074e0026ff0a10e9d6d5e685929d271ae554d9a1cff
 WHIRLPOOL 
cdfdf0bc2591df8436f8ab0959581129cb1a4d86138f6bb75b507d83280c7d567eb794e3b76b8374d4087721de53e4afd7566411b8e51fa2655e9e5462357ef4
 DIST knot-2.5.5.tar.xz 1080072 SHA256 
ee204dab4dfe571ac3cc8eb7843d562fa7a129543aa9d4cb92d3469084129baf SHA512 
7f2f6e66e795e4771ac40ade8004e359a10d1bb82d851fd0e862e59a184ba9d4f028aa656064db58bfe63a3b4971c3705a83f1f1e6ada3991575a525410f0715
 WHIRLPOOL 
75284b554362b9682250103bc4c7661c1f8a939f945462e0c014cee4e8677b612fd11375fcb9bc3d9a858b52f0c8301a7c6de72f0d3af14be485f9adb1f0d512
+DIST knot-2.5.6.tar.xz 1081756 SHA256 
37d1625c2aaefe2394c85f6742a6ae9421e8348318c13119a6c451796c387cfc SHA512 
dcc58791469c8e4724a47b47105bf0c047bcf62611d6803a07a856bb281d72a397b186210087ff8f145232315bbd9baa194a7cdef10d1ebb36ca3b8c0a0c7379
 WHIRLPOOL 
199470662eb55971f5581a97d396342664789eb5803ae570598b4254bc14ad8f8fb9ca21198a42a26506fb7d29ed9417c42730651bd9ec38c48c50dbedf4726a
 DIST knot-2.6.0.tar.xz 1103928 SHA256 
68e04961d0bf6ba193cb7ec658b295c4ff6e60b3754d64bcd77ebdcee0f283fd SHA512 
695d8f9c99a6bc49f504806054e2f5a0ef6d2ec43921384b3e55b0c250d2dfb5499c06534184db72c88d877ebb8815f3caa7ae1f6e1c7e59ccaa8bd9f3674c10
 WHIRLPOOL 
49027214f0aadd6070fef8efb467b68a83e8967ed3a990b138bd4e75dab68def0ca57aafc7fbd2e1819eec7a408f1af0c6dff378d3b0500368c357ce8594d403
+DIST knot-2.6.1.tar.xz 1112956 SHA256 
3013d45b4c7484268f3cad078f66f730a5bc9606e6b1061488dd821c1dce41e3 SHA512 
f4eaf311adcdfd13628c7174333bcc766b300be573f7df32eaaf162c5857e0ba35ce5a5e022f799c95618203abbe8db93e2364f172a87c4dd4eaf90b30ef8428
 WHIRLPOOL 
f69c58c9211b18e512e851044ba830c4011618175f6b78a37702e1afe9ed70ab244b1077a2d6ece745d064d2ad0131f61405c5fe811b108e85d86cd428fa4d7b

diff --git a/net-dns/knot/knot-2.5.6.ebuild b/net-dns/knot/knot-2.5.6.ebuild
new file mode 100644
index 000..0baf4877502
--- /dev/null
+++ b/net-dns/knot/knot-2.5.6.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/;
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+KNOT_MODULES=(
+   "+dnsproxy"
+   "dnstap"
+   "+noudp"
+   "+onlinesign"
+   "rosedb"
+   "+rrl"
+   "+stats"
+   "+synthrecord"
+   "+whoami"
+)
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
+
+RDEPEND="
+   >=dev-db/lmdb-0.9.15
+   dev-libs/libedit
+   >=dev-libs/userspace-rcu-0.5.4
+   dev-python/lmdb
+   >=net-libs/gnutls-3.3:=
+   caps? ( >=sys-libs/libcap-ng-0.6.4 )
+   dnstap? (
+   dev-libs/fstrm
+   dev-libs/protobuf-c
+   )
+   idn? (
+   !libidn2? ( net-dns/libidn )
+   libidn2? ( >=net-dns/libidn2-2.0.0 )
+   )
+   systemd? ( >=sys-apps/systemd-229 )
+"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+   local u
+   local my_conf=()
+   for u in "${KNOT_MODULES[@]#+}"; do
+   my_conf+=("$(use_with $u module-$u)")
+   done
+
+   econf \
+   --with-storage="${EPREFIX}/var/lib/${PN}" \
+   --with-rundir="${EPREFIX}/var/run/${PN}" \
+   $(use_enable fastparser) \
+   $(use_enable dnstap) \
+   $(use_enable doc documentation) \
+   $(use_enable utils utilities) \
+   --enable-systemd=$(usex systemd) \
+   $(use_with idn libidn) \
+   "${my_conf[@]}"
+}
+
+src_compile() {
+   default
+
+   if use doc; then
+   emake -C doc html
+   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+   fi
+}
+
+src_test() {
+   emake check

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/

2017-11-08 Thread Patrice Clement
commit: 7196d654b5bf5b485d1ff48270526002092010f8
Author: Pierre-Olivier Mercier  nemunai  re>
AuthorDate: Mon Nov  6 07:45:28 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Nov  8 22:48:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7196d654

net-dns/knot: remove old ebuilds.

Package-Manager: Portage-2.3.8, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6139

 net-dns/knot/Manifest  |   2 -
 net-dns/knot/knot-2.5.5.ebuild | 102 -
 net-dns/knot/knot-2.6.0.ebuild | 102 -
 3 files changed, 206 deletions(-)

diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 6a4f7b2252b..cc11cee4e41 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,5 +1,3 @@
 DIST knot-2.4.5.tar.xz 536 SHA256 
87ce8ccc83511c5a1f4eadd3f0122f2f5ae86fb68e9b72f0700c6f5340ba95cb SHA512 
db4919dbe2dc688f401e6611d784d47e1d40a0f8ec8c8cd6240d89ab9dd2ce7dd1976ac7cb24c712ed8aa074e0026ff0a10e9d6d5e685929d271ae554d9a1cff
 WHIRLPOOL 
cdfdf0bc2591df8436f8ab0959581129cb1a4d86138f6bb75b507d83280c7d567eb794e3b76b8374d4087721de53e4afd7566411b8e51fa2655e9e5462357ef4
-DIST knot-2.5.5.tar.xz 1080072 SHA256 
ee204dab4dfe571ac3cc8eb7843d562fa7a129543aa9d4cb92d3469084129baf SHA512 
7f2f6e66e795e4771ac40ade8004e359a10d1bb82d851fd0e862e59a184ba9d4f028aa656064db58bfe63a3b4971c3705a83f1f1e6ada3991575a525410f0715
 WHIRLPOOL 
75284b554362b9682250103bc4c7661c1f8a939f945462e0c014cee4e8677b612fd11375fcb9bc3d9a858b52f0c8301a7c6de72f0d3af14be485f9adb1f0d512
 DIST knot-2.5.6.tar.xz 1081756 SHA256 
37d1625c2aaefe2394c85f6742a6ae9421e8348318c13119a6c451796c387cfc SHA512 
dcc58791469c8e4724a47b47105bf0c047bcf62611d6803a07a856bb281d72a397b186210087ff8f145232315bbd9baa194a7cdef10d1ebb36ca3b8c0a0c7379
 WHIRLPOOL 
199470662eb55971f5581a97d396342664789eb5803ae570598b4254bc14ad8f8fb9ca21198a42a26506fb7d29ed9417c42730651bd9ec38c48c50dbedf4726a
-DIST knot-2.6.0.tar.xz 1103928 SHA256 
68e04961d0bf6ba193cb7ec658b295c4ff6e60b3754d64bcd77ebdcee0f283fd SHA512 
695d8f9c99a6bc49f504806054e2f5a0ef6d2ec43921384b3e55b0c250d2dfb5499c06534184db72c88d877ebb8815f3caa7ae1f6e1c7e59ccaa8bd9f3674c10
 WHIRLPOOL 
49027214f0aadd6070fef8efb467b68a83e8967ed3a990b138bd4e75dab68def0ca57aafc7fbd2e1819eec7a408f1af0c6dff378d3b0500368c357ce8594d403
 DIST knot-2.6.1.tar.xz 1112956 SHA256 
3013d45b4c7484268f3cad078f66f730a5bc9606e6b1061488dd821c1dce41e3 SHA512 
f4eaf311adcdfd13628c7174333bcc766b300be573f7df32eaaf162c5857e0ba35ce5a5e022f799c95618203abbe8db93e2364f172a87c4dd4eaf90b30ef8428
 WHIRLPOOL 
f69c58c9211b18e512e851044ba830c4011618175f6b78a37702e1afe9ed70ab244b1077a2d6ece745d064d2ad0131f61405c5fe811b108e85d86cd428fa4d7b

diff --git a/net-dns/knot/knot-2.5.5.ebuild b/net-dns/knot/knot-2.5.5.ebuild
deleted file mode 100644
index 0baf4877502..000
--- a/net-dns/knot/knot-2.5.5.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd user
-
-DESCRIPTION="High-performance authoritative-only DNS server"
-HOMEPAGE="https://www.knot-dns.cz/;
-SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-KNOT_MODULES=(
-   "+dnsproxy"
-   "dnstap"
-   "+noudp"
-   "+onlinesign"
-   "rosedb"
-   "+rrl"
-   "+stats"
-   "+synthrecord"
-   "+whoami"
-)
-IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}"
-
-RDEPEND="
-   >=dev-db/lmdb-0.9.15
-   dev-libs/libedit
-   >=dev-libs/userspace-rcu-0.5.4
-   dev-python/lmdb
-   >=net-libs/gnutls-3.3:=
-   caps? ( >=sys-libs/libcap-ng-0.6.4 )
-   dnstap? (
-   dev-libs/fstrm
-   dev-libs/protobuf-c
-   )
-   idn? (
-   !libidn2? ( net-dns/libidn )
-   libidn2? ( >=net-dns/libidn2-2.0.0 )
-   )
-   systemd? ( >=sys-apps/systemd-229 )
-"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( dev-python/sphinx )
-"
-
-S="${WORKDIR}/${P/_/-}"
-
-src_configure() {
-   local u
-   local my_conf=()
-   for u in "${KNOT_MODULES[@]#+}"; do
-   my_conf+=("$(use_with $u module-$u)")
-   done
-
-   econf \
-   --with-storage="${EPREFIX}/var/lib/${PN}" \
-   --with-rundir="${EPREFIX}/var/run/${PN}" \
-   $(use_enable fastparser) \
-   $(use_enable dnstap) \
-   $(use_enable doc documentation) \
-   $(use_enable utils utilities) \
-   --enable-systemd=$(usex systemd) \
-   $(use_with idn libidn) \
-   "${my_conf[@]}"
-}
-
-src_compile() {
-   default
-
-   if use doc; then
-   emake -C doc html
-   HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
-   fi
-}
-
-src_test() {
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/knot/files/

2017-11-05 Thread Amy Liffey
commit: e1fffbc307ced49f7d240460cbfa89ef6b314288
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Nov  5 21:05:29 2017 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Mon Nov  6 07:30:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1fffbc3

ned-dns/knot: remove unused patch

Closes:#6134

 net-dns/knot/files/2.5.3-link-with-libatomic.patch | 117 -
 1 file changed, 117 deletions(-)

diff --git a/net-dns/knot/files/2.5.3-link-with-libatomic.patch 
b/net-dns/knot/files/2.5.3-link-with-libatomic.patch
deleted file mode 100644
index 14e5366f7d9..000
--- a/net-dns/knot/files/2.5.3-link-with-libatomic.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-From 5cf2d1acf87fa0ab18375534ca210f1cabf212b3 Mon Sep 17 00:00:00 2001
-From: Pierre-Olivier Mercier 
-Date: Wed, 2 Aug 2017 23:16:43 +0200
-Subject: [PATCH] Link with libatomic on architectures that requires it
-

- configure.ac| 10 +-
- src/Makefile.am |  2 +-
- 2 files changed, 10 insertions(+), 2 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 2a28214..5bd1798 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -504,8 +504,16 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], 
[[cpuset_t* set = cpuset
- AC_COMPILE_IFELSE(
-   [AC_LANG_PROGRAM([[#include ]],
-[[uint64_t val = 0; __atomic_add_fetch(, 1, 
__ATOMIC_RELAXED);]])],
--  [AC_DEFINE(HAVE_ATOMIC, 1, [Define to 1 if you have '__atomic' functions.])]
-+  [AC_DEFINE(HAVE_ATOMIC, 1, [Define to 1 if you have '__atomic' functions.])
-+AC_LINK_IFELSE(
-+ [AC_LANG_PROGRAM([[#include ]],
-+  [[uint64_t val = 0; __atomic_add_fetch(, 1, 
__ATOMIC_RELAXED);]])],
-+ [atomic_LIBS=""],
-+ [atomic_LIBS="-latomic"]
-+  )],
-+  [atomic_LIBS=""]
- )
-+AC_SUBST([atomic_LIBS])
- 
- # Prepare CFLAG_VISIBILITY to be used where needed
- gl_VISIBILITY()
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 948912e..bf28013 100644
 a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -399,7 +399,7 @@ libknotd_la_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAG_VISIBILITY) 
$(systemd_CFLAGS) \
-$(liburcu_CFLAGS) -DKNOTD_MOD_STATIC
- libknotd_la_LDFLAGS  = $(AM_LDFLAGS) -export-symbols-regex '^knotd_'
- libknotd_la_LIBADD   = libknot.la zscanner/libzscanner.la $(systemd_LIBS) \
--   $(liburcu_LIBS)
-+   $(liburcu_LIBS) $(atomic_LIBS)
- 
- ###
- # Knot DNS Daemon #
 a/src/Makefile.in  2017-08-05 18:09:14.029882010 +0200
-+++ b/src/Makefile.in  2017-08-05 18:12:43.541190937 +0200
-@@ -379,7 +379,7 @@
- @STATIC_MODULE_dnstap_TRUE@   contrib/dnstap/libdnstap.la
- libknotd_la_DEPENDENCIES = libknot.la zscanner/libzscanner.la \
-   $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
--  $(am__DEPENDENCIES_2)
-+  $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
- am__libknotd_la_SOURCES_DIST = knot/conf/base.c knot/conf/base.h \
-   knot/conf/conf.c knot/conf/conf.h knot/conf/confdb.c \
-   knot/conf/confdb.h knot/conf/confio.c knot/conf/confio.h \
-@@ -937,6 +937,7 @@
- am__quote = @am__quote@
- am__tar = @am__tar@
- am__untar = @am__untar@
-+atomic_LIBS = @atomic_LIBS@
- bindir = @bindir@
- build = @build@
- build_alias = @build_alias@
-@@ -1275,7 +1276,8 @@
-   $(am__append_11)
- libknotd_la_LDFLAGS = $(AM_LDFLAGS) -export-symbols-regex '^knotd_'
- libknotd_la_LIBADD = libknot.la zscanner/libzscanner.la \
--  $(systemd_LIBS) $(liburcu_LIBS) $(am__append_12)
-+  $(systemd_LIBS) $(liburcu_LIBS) $(atomic_LIBS) \
-+  $(am__append_12)
- @HAVE_DAEMON_TRUE@sbin_SCRIPTS = utils/pykeymgr/pykeymgr
- @HAVE_DAEMON_TRUE@CLEAN_FILES = $(sbin_SCRIPTS)
- @HAVE_DAEMON_TRUE@knotddir = $(includedir)/knot
 a/configure2017-08-05 18:09:14.039882551 +0200
-+++ b/configure2017-08-05 18:12:18.779857706 +0200
-@@ -655,6 +655,7 @@
- CODE_COVERAGE_ENABLED_TRUE
- HAVE_VISIBILITY
- CFLAG_VISIBILITY
-+atomic_LIBS
- libidn_LIBS
- libidn_CFLAGS
- libidn2_LIBS
-@@ -16347,10 +16358,32 @@
- 
- $as_echo "#define HAVE_ATOMIC 1" >>confdefs.h
- 
-+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-+/* end confdefs.h.  */
-+#include 
-+int
-+main ()
-+{
-+uint64_t val = 0; __atomic_add_fetch(, 1, __ATOMIC_RELAXED);
-+  ;
-+  return 0;
-+}
-+_ACEOF
-+if ac_fn_c_try_link "$LINENO"; then :
-+  atomic_LIBS=""
-+else
-+  atomic_LIBS="-latomic"
-+
-+fi
-+rm -f core conftest.err conftest.$ac_objext \
-+conftest$ac_exeext conftest.$ac_ext
-+else
-+  atomic_LIBS=""
- 
- fi
- rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- 
-+
- # Prepare CFLAG_VISIBILITY to be used where needed
- 
- 



  1   2   >