From 82a9073b62c70d4879fc66498eee46a9dd6e70de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D1=88=D0=B5=20=D0=98=D0=BC=D1=8F?= Date: Sun, 14 Jun 2020 01:24:37 +0300 Subject: [PATCH] net-dns/dnsviz-0.8.2-r1 build with python 3.7 --- net-dns/dnsviz/Manifest | 3 ++ net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild | 47 +++++++++++++++++++++++++++ net-dns/dnsviz/metadata.xml | 20 ++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 net-dns/dnsviz/Manifest create mode 100644 net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild create mode 100644 net-dns/dnsviz/metadata.xml diff --git a/net-dns/dnsviz/Manifest b/net-dns/dnsviz/Manifest new file mode 100644 index 000000000..aeb949bbf --- /dev/null +++ b/net-dns/dnsviz/Manifest @@ -0,0 +1,3 @@ +DIST dnsviz-0.8.2.tar.gz 404265 BLAKE2B c4ba6b5a7d6fee7c8e2cba0c90f29560152dd4beed1ef4d80a6a3bf9f81646ee8f0d61c38329233e300f2b434cb5d9e9d2a926dc72997ae68ff0a57e147bafcf SHA512 5414d9bda6c0bf5fdc5a84a09cb5833619110702749b12f87d63f5149de473f4bd1b6960c506c60ec5fc5ff82d789536cee70a299ff13c960a45776de2916c80 +EBUILD dnsviz-0.8.2-r1.ebuild 1402 BLAKE2B a486a99742d18132decddab49d0e3fa22f5e461d0133254e0af7017ae9636c49f8fe1a55f7fc33b739136d30b731a617b5ee48d1e3f13e2f963a177068df4503 SHA512 acf6b4b7e13b3c12febec03e90578b584892b41b5f1a56ce2d228c618bac6108db11216f9c787ead2d0045159c237ac3053e9fbc2e923ce1767f5b9f917b6978 +MISC metadata.xml 687 BLAKE2B d648e9100b7cd371d7235c0f370d10f8cce3f7eef83afabe1e6d6df1619ea2ff1eb08ded3c724df22ee7d406c2f7c65b158ae67a4472084b832d0d806fc21cb9 SHA512 bcd03b712bf637a1019c3d22d9e336d514ffd9ba7ae3f05685371897af8893177a709ec8546c186a1b54de89794931f985aa72570c0eaa1d7a88d6579478dbb3 diff --git a/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild b/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild new file mode 100644 index 000000000..259055b12 --- /dev/null +++ b/net-dns/dnsviz/dnsviz-0.8.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 ) +inherit distutils-r1 eutils + +DESCRIPTION="Tool suite for analysis and visualization of DNS and DNSSEC" +HOMEPAGE="https://dnsviz.net/" +SRC_URI="https://github.com/dnsviz/dnsviz/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=" + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/libnacl[${PYTHON_USEDEP}] + >=dev-python/m2crypto-0.31.0[${PYTHON_USEDEP}] + >=dev-python/pygraphviz-1.3.1[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" + +RDEPEND=" + ${DEPEND}" + +python_prepare_all() { + # Fix the ebuild to use correct FHS/Gentoo policy paths for 0.8.2 + sed -i "s*share/doc/dnsviz*share/doc/dnsviz-${PV}*g" "${S}"/setup.py || die + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + elog "Support for extra feature can be get from:" + optfeature "Support for pre-deployment testing" net-dns/bind + + # Warn about extra requirements for >=OpenSSL 1.1.0 + if has_version '=dev-libs/openssl-1.1*'; then + echo + ewarn "With OpenSSL version 1.1.0 and later,the OpenSSL GOST Engine" + ewarn "is necessary to validate DNSSEC signatures with algorithm 12" + ewarn "(GOST R 34.10-2001) and digests of type 3 (GOST R 34.11-94)" + ewarn "OpenSSL GOST Engine can be get from --> dev-libs/gost-engine" + fi +} diff --git a/net-dns/dnsviz/metadata.xml b/net-dns/dnsviz/metadata.xml new file mode 100644 index 000000000..c1ee72309 --- /dev/null +++ b/net-dns/dnsviz/metadata.xml @@ -0,0 +1,20 @@ + + + + + hasan.calisir@psauxit.com + Hasan ÇALIŞIR + + + proxy-maint@gentoo.org + Proxy Maintainers + + + DNSViz is a tool suite for analysis and visualization of Domain Name + System (DNS) behavior, including its security extensions (DNSSEC). + This tool suite powers the Web-based analysis. + + + dnsviz/dnsviz + +