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 8E0D7139694 for ; Mon, 27 Feb 2017 11:12:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA8B9E0C30; Mon, 27 Feb 2017 11:12:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 92F5CE0C30 for ; Mon, 27 Feb 2017 11:12:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 563B0340988 for ; Mon, 27 Feb 2017 11:12:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BAF03564D for ; Mon, 27 Feb 2017 11:12:22 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1488193939.d87974cf9dbb10870d3447e6f11459662a6b1135.patrick@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.4.1.ebuild X-VCS-Directories: net-dns/knot/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: d87974cf9dbb10870d3447e6f11459662a6b1135 X-VCS-Branch: master Date: Mon, 27 Feb 2017 11:12:22 +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-Archives-Salt: b91dac70-0939-4f1a-a832-be7d2a9372f5 X-Archives-Hash: 5fc6316449fa3a02567df3791cb11f1b commit: d87974cf9dbb10870d3447e6f11459662a6b1135 Author: Patrick Lauer gentoo org> AuthorDate: Mon Feb 27 11:12:00 2017 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Mon Feb 27 11:12:19 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87974cf net-dns/knot: Bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-dns/knot/Manifest | 1 + net-dns/knot/knot-2.4.1.ebuild | 79 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest index 8d39d5569e..686f20225a 100644 --- a/net-dns/knot/Manifest +++ b/net-dns/knot/Manifest @@ -1 +1,2 @@ DIST knot-2.3.3.tar.xz 1071160 SHA256 a929bce3b957a81776b1db7b43b0e4473339bf16be8dbba5abb4b0593bf43c94 SHA512 ed7b93c2d0ae15819d09a8bf77c2d12505a035dcd7777e9ac453b58c36d302c3cbaa2766e1f6d2163a71234d005494a7d9b5be436c0e16b443de4da97f7a5d9f WHIRLPOOL 4bdf92d537d90e2ad412bb0619a7b4b8f0752c9dc981b3522beece19514f22d88db083e59c0f833d9492b0a1f8d347e008350d108d4c7337c9ee748d007bbde7 +DIST knot-2.4.1.tar.xz 1104576 SHA256 c064ddf99bf5fc24dd3c6a3a523394760357e204c8b69f0e691e49bc0d9b704c SHA512 2b3e6c1a187538b218e3e915aaa91bc38ad4cdecb0f03f31b29bfa83c620d117c169a580ddcc8a33e6422109b422c72f3cf79f2a8d1e10e613edfe4437b4b29c WHIRLPOOL 538b8433efced9afe57d3d34216d3a4981a4c637e813b1601ca360f9eb8c7c903051ca5dbff3248b138129e80388a673e9177b8340e1e465b737686d4d2528e8 diff --git a/net-dns/knot/knot-2.4.1.ebuild b/net-dns/knot/knot-2.4.1.ebuild new file mode 100644 index 0000000000..001d4eacac --- /dev/null +++ b/net-dns/knot/knot-2.4.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="debug 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 debug debug server,zones,ns,loader,dnssec) \ + $(use_enable debug debuglevel details) \ + $(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" +} + +pkg_postinst() { + enewgroup knot 53 + enewuser knot 53 -1 /var/lib/knot knot +}