From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3CBF5138334 for ; Sun, 1 Sep 2019 11:19:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 756A4E0975; Sun, 1 Sep 2019 11:19:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47964E0975 for ; Sun, 1 Sep 2019 11:19:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C18D834A7E2 for ; Sun, 1 Sep 2019 11:19:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AD5277E for ; Sun, 1 Sep 2019 11:19:03 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1567336736.2dbcf61ad6d5facfd511051120a4cfaf61032b59.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/knot/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/knot/Manifest net-dns/knot/knot-2.7.8.ebuild net-dns/knot/knot-2.8.3.ebuild X-VCS-Directories: net-dns/knot/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 2dbcf61ad6d5facfd511051120a4cfaf61032b59 X-VCS-Branch: master Date: Sun, 1 Sep 2019 11:19:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 711d0281-4062-4146-b5c3-4c286b55152a X-Archives-Hash: 71f0dfa8375f194e7f48fbd1d393a265 commit: 2dbcf61ad6d5facfd511051120a4cfaf61032b59 Author: Pierre-Olivier Mercier nemunai re> AuthorDate: Fri Jul 19 15:36:54 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Sep 1 11:18:56 2019 +0000 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 00000000000..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 00000000000..aa3b0735e37 --- /dev/null +++ b/net-dns/knot/knot-2.8.3.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 +}