Gentoo Archives: gentoo-commits

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/hash-slinger/
Date: Thu, 13 Feb 2020 06:01:24
Message-Id: 1581573663.af576c6fec89c9c39f98756cd358d7c109615146.mschiff@gentoo
1 commit: af576c6fec89c9c39f98756cd358d7c109615146
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 13 05:59:23 2020 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 13 06:01:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af576c6f
7
8 net-dns/hash-slinger: added new version
9
10 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>
11
12 net-dns/hash-slinger/Manifest | 1 +
13 net-dns/hash-slinger/hash-slinger-3.0.ebuild | 45 ++++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/net-dns/hash-slinger/Manifest b/net-dns/hash-slinger/Manifest
17 index 4ed6fa60ca0..90fc8f89c88 100644
18 --- a/net-dns/hash-slinger/Manifest
19 +++ b/net-dns/hash-slinger/Manifest
20 @@ -1,2 +1,3 @@
21 DIST hash-slinger-2.6.tar.gz 34864 BLAKE2B 4bd66a30ce0f6f57676d8c8691a38743b2b4263fc600b9a3756f1ff4676477bd61a4b20df082227a3437ca2bcbb1ad4e44643f8a87cda0a1123dab8fafa26140 SHA512 1e5d67ed2ef8eae910927fbd7419928d87ba31a91ca43a1c163b05f725da96a50d30e1539c4c55a68a22f0e2c9a2f7c7101fbdcfb5fc903e87fe4c22e20f33af
22 DIST hash-slinger-2.7.tar.gz 37684 BLAKE2B e8758251c51139723778ca0db271cbc730e19bba25fad3f7f784f06774ce52038f520c11b526fffd30570854112f0e7b184f6d05e4d20847ac2c014bc66151f8 SHA512 b1b3e46c4cdd8b983b55156c9bcc58afc973c2503cde48283e98306e381753547f425bfaee68707ae10b2e31b71d01485b34e4a9841c9ce2048f9551f23d0976
23 +DIST hash-slinger-3.0.tar.gz 38056 BLAKE2B e72bbddf587225c86ccf7b5c76a48bdece2bf1925a496ae930e9a4973ae47992fea5ca6c0e9e594a1170c0bdbbb3c8712c492c870c8c2e8f523ce247e4e2a4a4 SHA512 7528f267669cdc0c18e1d00c27fff96d915b3143c5534a09c834df3e140035159feeeb8b177528e89cd25265560d0734ef1af94d2f9d28fef47d7ca391e84516
24
25 diff --git a/net-dns/hash-slinger/hash-slinger-3.0.ebuild b/net-dns/hash-slinger/hash-slinger-3.0.ebuild
26 new file mode 100644
27 index 00000000000..c039e38ac23
28 --- /dev/null
29 +++ b/net-dns/hash-slinger/hash-slinger-3.0.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python3_{6,7,8} )
37 +
38 +inherit python-r1
39 +
40 +DESCRIPTION="Various tools to generate DNS records like SSHFP, TLSA, OPENPGPKEY, IPSECKEY"
41 +HOMEPAGE="https://github.com/letoams/hash-slinger"
42 +SRC_URI="https://people.redhat.com/pwouters/${PN}/${P}.tar.gz"
43 +SRC_URI="https://github.com/letoams/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~x86"
48 +IUSE="ipsec +openpgp +ssh"
49 +
50 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
51 +
52 +DEPEND=""
53 +RDEPEND="
54 + ${PYTHON_DEPS}
55 + dev-python/dnspython[$PYTHON_USEDEP]
56 + dev-python/ipaddr[$PYTHON_USEDEP]
57 + dev-python/m2crypto[$PYTHON_USEDEP]
58 + net-dns/unbound[python,$PYTHON_USEDEP]
59 + ipsec? ( net-vpn/libreswan[dnssec] )
60 + openpgp? ( dev-python/python-gnupg[$PYTHON_USEDEP] )
61 + ssh? ( net-misc/openssh )
62 +"
63 +
64 +src_install() {
65 + local tools
66 + tools="tlsa"
67 + use ssh && tools+=" sshfp"
68 + use openpgp && tools+=" openpgpkey"
69 + use ipsec && tools+=" ipseckey"
70 + for tool in $tools ; do
71 + doman ${tool}.1
72 + python_foreach_impl python_doscript ${tool}
73 + done
74 + dodoc BUGS CHANGES README
75 +}