summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Olivier Mercier <nemunaire@nemunai.re>2017-07-28 17:54:41 +0200
committerDavid Seifert <soap@gentoo.org>2017-07-30 11:51:18 +0200
commit2b54d922f518dc20864b35a62879527aaf32cf40 (patch)
tree9ac41971c4e2d133036b89b3a3f98a0037a548e9 /net-dns/knot
parentapp-backup/borgbackup: Added dev-python/pyzmq to RPDEPEND (diff)
downloadgentoo-2b54d922f518dc20864b35a62879527aaf32cf40.tar.gz
gentoo-2b54d922f518dc20864b35a62879527aaf32cf40.tar.bz2
gentoo-2b54d922f518dc20864b35a62879527aaf32cf40.zip
net-dns/knot: Version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/5235
Diffstat (limited to 'net-dns/knot')
-rw-r--r--net-dns/knot/Manifest1
-rw-r--r--net-dns/knot/knot-2.5.3.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 5ee7d7d21e47..c2a3700278de 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -1,2 +1,3 @@
DIST knot-2.4.5.tar.xz 1111536 SHA256 87ce8ccc83511c5a1f4eadd3f0122f2f5ae86fb68e9b72f0700c6f5340ba95cb SHA512 db4919dbe2dc688f401e6611d784d47e1d40a0f8ec8c8cd6240d89ab9dd2ce7dd1976ac7cb24c712ed8aa074e0026ff0a10e9d6d5e685929d271ae554d9a1cff WHIRLPOOL cdfdf0bc2591df8436f8ab0959581129cb1a4d86138f6bb75b507d83280c7d567eb794e3b76b8374d4087721de53e4afd7566411b8e51fa2655e9e5462357ef4
DIST knot-2.5.2.tar.xz 1071648 SHA256 286671a4ee35a5207b2e45fd0812962b481b1b543bf3d5df3a8c319c26e2f5e9 SHA512 bc40ec34dfab45daa3e41839ad9bf1590c36240678a7cb6256103f42a95603e24213f7258cf9fa323a26690de482e848270048d624bf4da7f989d9efb6ea2a11 WHIRLPOOL a465ff278d735b227a35733c0f57b5167a77399c678f088d56a620ea5d51198a5d4aab785235476bdcdf14290fbc7550944ea7d8971c66486c1643423bfbe0c3
+DIST knot-2.5.3.tar.xz 1073372 SHA256 d78ae231a68ace264f5738c8e57481923bcad7413f3f440c06fa6cc0aded9d8e SHA512 c93bfdd42c3f1e5b74de7a5bb46841bee75d5153b4c72eb876f11e193a290484620ea8f877bd039c40fc665a9d5d07905a712e8e085c3267da5db5208aa71f08 WHIRLPOOL c6fa2cd7dde2cd0ee54a7fc68fdd441d6af03777c788adaf2534bc944a0a5f8f0445b2cc1f80502c905e1f55baf0f65db37b66a097e46ec9fa0c960767398278
diff --git a/net-dns/knot/knot-2.5.3.ebuild b/net-dns/knot/knot-2.5.3.ebuild
new file mode 100644
index 000000000000..4644120da23f
--- /dev/null
+++ b/net-dns/knot/knot-2.5.3.ebuild
@@ -0,0 +1,77 @@
+# 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-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 >=net-dns/libidn2-2.0.0 ) )
+ 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
+}