1 |
commit: 5017bd3e9ffc4b20e5baeb9c821c96f59a257763 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 31 22:55:13 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 23:19:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5017bd3e |
7 |
|
8 |
net-dns/hash-slinger: add 3.1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-dns/hash-slinger/Manifest | 1 + |
13 |
net-dns/hash-slinger/hash-slinger-3.1.ebuild | 49 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/net-dns/hash-slinger/Manifest b/net-dns/hash-slinger/Manifest |
17 |
index 4c30a704868..18e33b84ba6 100644 |
18 |
--- a/net-dns/hash-slinger/Manifest |
19 |
+++ b/net-dns/hash-slinger/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST hash-slinger-3.0.tar.gz 38056 BLAKE2B e72bbddf587225c86ccf7b5c76a48bdece2bf1925a496ae930e9a4973ae47992fea5ca6c0e9e594a1170c0bdbbb3c8712c492c870c8c2e8f523ce247e4e2a4a4 SHA512 7528f267669cdc0c18e1d00c27fff96d915b3143c5534a09c834df3e140035159feeeb8b177528e89cd25265560d0734ef1af94d2f9d28fef47d7ca391e84516 |
22 |
+DIST hash-slinger-3.1.tar.gz 38224 BLAKE2B 35d60b648704e1aa96fbec000ff07c06a31a1f45c58f708fdad1bab464849d4de60963acde9f2c26eb4304454ed1406f698c8007dbf471794f16f26b8ebdb080 SHA512 04ad33b718f716cfd08bd52ee50db81372b7dc13895695e1b23cf904306166b73e388285c7cce8a0a0e5003e783bc61dea4c9ede7a44f22c16e24e2411c7f427 |
23 |
|
24 |
diff --git a/net-dns/hash-slinger/hash-slinger-3.1.ebuild b/net-dns/hash-slinger/hash-slinger-3.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..2f14f5b8fea |
27 |
--- /dev/null |
28 |
+++ b/net-dns/hash-slinger/hash-slinger-3.1.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
36 |
+ |
37 |
+inherit python-single-r1 |
38 |
+ |
39 |
+DESCRIPTION="Various tools to generate DNS records like SSHFP, TLSA, OPENPGPKEY, IPSECKEY" |
40 |
+HOMEPAGE="https://github.com/letoams/hash-slinger" |
41 |
+SRC_URI="https://github.com/letoams/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~x86" |
46 |
+IUSE="ipsec +openpgp +ssh" |
47 |
+ |
48 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ ${PYTHON_DEPS} |
52 |
+ $(python_gen_cond_dep ' |
53 |
+ dev-python/dnspython[${PYTHON_MULTI_USEDEP}] |
54 |
+ dev-python/ipaddr[${PYTHON_MULTI_USEDEP}] |
55 |
+ dev-python/m2crypto[${PYTHON_MULTI_USEDEP}] |
56 |
+ ') |
57 |
+ net-dns/unbound[python,${PYTHON_SINGLE_USEDEP}] |
58 |
+ ipsec? ( net-vpn/libreswan[dnssec] ) |
59 |
+ openpgp? ( $(python_gen_cond_dep 'dev-python/python-gnupg[${PYTHON_MULTI_USEDEP}]') ) |
60 |
+ ssh? ( net-misc/openssh ) |
61 |
+" |
62 |
+ |
63 |
+src_install() { |
64 |
+ local tools tool |
65 |
+ |
66 |
+ tools="tlsa" |
67 |
+ |
68 |
+ use ssh && tools+=" sshfp" |
69 |
+ use openpgp && tools+=" openpgpkey" |
70 |
+ use ipsec && tools+=" ipseckey" |
71 |
+ |
72 |
+ for tool in $tools ; do |
73 |
+ doman ${tool}.1 |
74 |
+ python_doscript ${tool} |
75 |
+ done |
76 |
+ |
77 |
+ dodoc BUGS CHANGES README |
78 |
+} |