1 |
commit: 8329cd8ff4422e2a46a0d2d5e621ae45a3e5400e |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 30 10:51:12 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 30 12:03:49 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8329cd8f |
7 |
|
8 |
net-dns/hash-slinger: Move to virtual/dnspython |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
.../{hash-slinger-2.6.ebuild => hash-slinger-2.6-r1.ebuild} | 11 ++++++----- |
14 |
net-dns/hash-slinger/metadata.xml | 6 +++--- |
15 |
2 files changed, 9 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/net-dns/hash-slinger/hash-slinger-2.6.ebuild b/net-dns/hash-slinger/hash-slinger-2.6-r1.ebuild |
18 |
similarity index 90% |
19 |
rename from net-dns/hash-slinger/hash-slinger-2.6.ebuild |
20 |
rename to net-dns/hash-slinger/hash-slinger-2.6-r1.ebuild |
21 |
index e3045b3..8fb61bf 100644 |
22 |
--- a/net-dns/hash-slinger/hash-slinger-2.6.ebuild |
23 |
+++ b/net-dns/hash-slinger/hash-slinger-2.6-r1.ebuild |
24 |
@@ -5,6 +5,7 @@ |
25 |
EAPI=5 |
26 |
|
27 |
PYTHON_COMPAT=( python2_7 ) |
28 |
+ |
29 |
inherit python-r1 |
30 |
|
31 |
DESCRIPTION="Various tools to generate special DNS records like SSHFP, TLSA, OPENPGPKEY, IPSECKEY" |
32 |
@@ -16,26 +17,26 @@ SLOT="0" |
33 |
KEYWORDS="~amd64 ~x86" |
34 |
IUSE="ipsec +openpgp +ssh" |
35 |
|
36 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
37 |
+ |
38 |
DEPEND="" |
39 |
RDEPEND=" |
40 |
${PYTHON_DEPS} |
41 |
- dev-python/dnspython[$PYTHON_USEDEP] |
42 |
dev-python/ipaddr[$PYTHON_USEDEP] |
43 |
dev-python/m2crypto[$PYTHON_USEDEP] |
44 |
net-dns/unbound[python,$PYTHON_USEDEP] |
45 |
+ virtual/dnspython[$PYTHON_USEDEP] |
46 |
ipsec? ( net-misc/libreswan[dnssec] ) |
47 |
openpgp? ( dev-python/python-gnupg[$PYTHON_USEDEP] ) |
48 |
ssh? ( net-misc/openssh ) |
49 |
" |
50 |
|
51 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
- |
53 |
src_install() { |
54 |
local tools |
55 |
tools="tlsa" |
56 |
- use ssh && tools+=" sshfp" |
57 |
+ use ssh && tools+=" sshfp" |
58 |
use openpgp && tools+=" openpgpkey" |
59 |
- use ipsec && tools+=" ipseckey" |
60 |
+ use ipsec && tools+=" ipseckey" |
61 |
for tool in $tools ; do |
62 |
doman ${tool}.1 |
63 |
python_foreach_impl python_doscript ${tool} |
64 |
|
65 |
diff --git a/net-dns/hash-slinger/metadata.xml b/net-dns/hash-slinger/metadata.xml |
66 |
index 4b0698e..064d3c9 100644 |
67 |
--- a/net-dns/hash-slinger/metadata.xml |
68 |
+++ b/net-dns/hash-slinger/metadata.xml |
69 |
@@ -6,8 +6,8 @@ |
70 |
<name>Marc Schiffbauer</name> |
71 |
</maintainer> |
72 |
<use> |
73 |
- <flag name='ipsec'>Enable support for IPSECKEY records (ipseckey)</flag> |
74 |
- <flag name='openpgp'>Enable support for OPENPGPKEY records (openpgpkey)</flag> |
75 |
- <flag name='ssh'>Enable support for SSHFP records (sshfp)</flag> |
76 |
+ <flag name="ipsec">Enable support for IPSECKEY records (ipseckey)</flag> |
77 |
+ <flag name="openpgp">Enable support for OPENPGPKEY records (openpgpkey)</flag> |
78 |
+ <flag name="ssh">Enable support for SSHFP records (sshfp)</flag> |
79 |
</use> |
80 |
</pkgmetadata> |