diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-02 19:14:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-02 19:14:55 +0100 |
commit | b24bd25253fe093f722ab576d29fdc41d04cb1ee (patch) | |
tree | 0fcf2afd9f852c4d4c291cf8afaa2c244d598105 /net-dns/hash-slinger/hash-slinger-2.7-r1.ebuild | |
parent | 121ed4eec41fbf03e1998d09eede1bf449da63b9 (diff) |
gentoo resync : 02.08.2019
Diffstat (limited to 'net-dns/hash-slinger/hash-slinger-2.7-r1.ebuild')
-rw-r--r-- | net-dns/hash-slinger/hash-slinger-2.7-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-dns/hash-slinger/hash-slinger-2.7-r1.ebuild b/net-dns/hash-slinger/hash-slinger-2.7-r1.ebuild new file mode 100644 index 000000000000..a2ff821691bc --- /dev/null +++ b/net-dns/hash-slinger/hash-slinger-2.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 + +DESCRIPTION="Various tools to generate special DNS records like SSHFP, TLSA, OPENPGPKEY, IPSECKEY" +HOMEPAGE="https://people.redhat.com/pwouters/hash-slinger/" +SRC_URI="https://people.redhat.com/pwouters/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ipsec +openpgp +ssh" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="" +RDEPEND=" + ${PYTHON_DEPS} + dev-python/dnspython[$PYTHON_USEDEP] + dev-python/ipaddr[$PYTHON_USEDEP] + dev-python/m2crypto[$PYTHON_USEDEP] + net-dns/unbound[python,$PYTHON_USEDEP] + ipsec? ( net-vpn/libreswan[dnssec] ) + openpgp? ( dev-python/python-gnupg[$PYTHON_USEDEP] ) + ssh? ( net-misc/openssh ) +" + +src_install() { + local tools + tools="tlsa" + use ssh && tools+=" sshfp" + use openpgp && tools+=" openpgpkey" + use ipsec && tools+=" ipseckey" + for tool in $tools ; do + doman ${tool}.1 + python_foreach_impl python_doscript ${tool} + done + dodoc BUGS CHANGES README +} |