1 |
commit: af455a0a3cf197a329ca2f1fd5f2549b2f908cb2 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 5 02:12:40 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 5 15:04:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af455a0a |
7 |
|
8 |
dev-perl/Net-DNS-SEC: Bump to version 1.30.0 |
9 |
|
10 |
- Communicate optdeps softly |
11 |
|
12 |
Upstream: |
13 |
- Fix tests failing in some installation configurations of Net::DNS |
14 |
|
15 |
Package-Manager: Portage-2.3.14, Repoman-2.3.6 |
16 |
|
17 |
dev-perl/Net-DNS-SEC/Manifest | 1 + |
18 |
dev-perl/Net-DNS-SEC/Net-DNS-SEC-1.30.0.ebuild | 70 ++++++++++++++++++++++++++ |
19 |
dev-perl/Net-DNS-SEC/metadata.xml | 17 ++----- |
20 |
3 files changed, 76 insertions(+), 12 deletions(-) |
21 |
|
22 |
diff --git a/dev-perl/Net-DNS-SEC/Manifest b/dev-perl/Net-DNS-SEC/Manifest |
23 |
index 1e8bfc63b87..19d846953b7 100644 |
24 |
--- a/dev-perl/Net-DNS-SEC/Manifest |
25 |
+++ b/dev-perl/Net-DNS-SEC/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST Net-DNS-SEC-1.02.tar.gz 35915 BLAKE2B 164cd7399c98cd32dc6293feb3d331e413319c16027bed806ee7b7beb9fb60b61ceb74991a124174fd35a299a9a6d2484de3433e88393721df08175d333197cf SHA512 cbbf0a4eb6948047a991cf473b0824cfa69c7f7e2d07190fbc9fe62be79106635ebfc02ab02a559079f2936ff354f5ff9275fd16cf37d7bc2d78a87cf0b103b0 |
28 |
+DIST Net-DNS-SEC-1.03.tar.gz 35605 BLAKE2B 8d7ab450986b4cc4f7d31ae50f3efdeb56e6a437269ff6a54d5ece26a863405f12faf16e52aff2ba991d6e8320ed5b5cd3d07fdee20a5b3db7da4683e02c6243 SHA512 17d9f2125b9ed687791941ea777927daf8cfe4a6a379d02cda499fb01a71606b1c01154a3d4f2f2ffb70f5a658aaf02e64c8e5cc308de8c8e0cc543271ee7bce |
29 |
|
30 |
diff --git a/dev-perl/Net-DNS-SEC/Net-DNS-SEC-1.30.0.ebuild b/dev-perl/Net-DNS-SEC/Net-DNS-SEC-1.30.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..bd948aa7613 |
33 |
--- /dev/null |
34 |
+++ b/dev-perl/Net-DNS-SEC/Net-DNS-SEC-1.30.0.ebuild |
35 |
@@ -0,0 +1,70 @@ |
36 |
+# Copyright 1999-2017 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+DIST_AUTHOR=NLNETLABS |
42 |
+DIST_VERSION=1.03 |
43 |
+inherit perl-module |
44 |
+ |
45 |
+DESCRIPTION="DNSSEC extensions to Net::DNS" |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-perl/Crypt-OpenSSL-Bignum-0.50.0 |
53 |
+ >=dev-perl/Crypt-OpenSSL-RSA-0.280.0 |
54 |
+ >=virtual/perl-File-Spec-0.860.0 |
55 |
+ >=virtual/perl-MIME-Base64-2.110.0 |
56 |
+ >=dev-perl/Net-DNS-1.10.0 |
57 |
+ >=virtual/perl-Digest-SHA-5.230.0 |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ virtual/perl-ExtUtils-MakeMaker |
61 |
+ test? ( |
62 |
+ >=virtual/perl-Test-Simple-0.470.0 |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+optdep_installed() { |
67 |
+ local chr=" " |
68 |
+ has_version "${1}" && chr="I" |
69 |
+ printf '[%s] %s\n' "${chr}" "${1}"; |
70 |
+} |
71 |
+ |
72 |
+optdep_notice() { |
73 |
+ local i |
74 |
+ elog "This package has several modules which may require additional dependencies" |
75 |
+ elog "to use. However, it is up to you to install them separately if you need this" |
76 |
+ elog "optional functionality:" |
77 |
+ |
78 |
+ elog " - Support for DSA signature algorithm via Net::DNS::SEC::DSA" |
79 |
+ elog " $(optdep_installed ">=dev-perl/Crypt-OpenSSL-DSA-0.150.0")" |
80 |
+ elog |
81 |
+ elog " - Support for ECDSA signatures via Net::DNS::SEC::ECDSA" |
82 |
+ elog " $(optdep_installed ">=dev-perl/Crypt-OpenSSL-EC-1.10.0")" |
83 |
+ elog " $(optdep_installed ">=dev-perl/Crypt-OpenSSL-ECDSA-0.60.0")" |
84 |
+ elog |
85 |
+ elog " - Support for reading Private Keys in creation of Net::DNS::RR::RRSIG" |
86 |
+ elog " objects" |
87 |
+ elog " $(optdep_installed ">=dev-perl/Crypt-OpenSSL-Random-0.100.0")" |
88 |
+ elog |
89 |
+ elog " - Support for ECC-GOST signatures via Net::DNS::SEC::ECCGOST" |
90 |
+ elog " $(optdep_installed ">=dev-perl/Crypt-OpenSSL-EC-1.10.0")" |
91 |
+ elog " $(optdep_installed ">=dev-perl/Crypt-OpenSSL-ECDSA-0.60.0")" |
92 |
+ elog " $(optdep_installed ">=dev-perl/Digest-GOST-0.60.0")" |
93 |
+} |
94 |
+ |
95 |
+src_test() { |
96 |
+ optdep_notice |
97 |
+ elog |
98 |
+ elog "This module will perform additional tests if these dependencies are" |
99 |
+ elog "pre-installed" |
100 |
+ perl-module_src_test |
101 |
+} |
102 |
+ |
103 |
+pkg_postinst() { |
104 |
+ use test || optdep_notice |
105 |
+} |
106 |
|
107 |
diff --git a/dev-perl/Net-DNS-SEC/metadata.xml b/dev-perl/Net-DNS-SEC/metadata.xml |
108 |
index 8859203714d..6117d95ae0a 100644 |
109 |
--- a/dev-perl/Net-DNS-SEC/metadata.xml |
110 |
+++ b/dev-perl/Net-DNS-SEC/metadata.xml |
111 |
@@ -7,19 +7,12 @@ |
112 |
</maintainer> |
113 |
<upstream> |
114 |
<remote-id type="cpan">Net-DNS-SEC</remote-id> |
115 |
- <remote-id type="cpan-module">Net::DNS::Keyset</remote-id> |
116 |
- <remote-id type="cpan-module">Net::DNS::RR::CDNSKEY</remote-id> |
117 |
- <remote-id type="cpan-module">Net::DNS::RR::CDS</remote-id> |
118 |
- <remote-id type="cpan-module">Net::DNS::RR::DLV</remote-id> |
119 |
- <remote-id type="cpan-module">Net::DNS::RR::DNSKEY</remote-id> |
120 |
- <remote-id type="cpan-module">Net::DNS::RR::DS</remote-id> |
121 |
- <remote-id type="cpan-module">Net::DNS::RR::KEY</remote-id> |
122 |
- <remote-id type="cpan-module">Net::DNS::RR::NSEC</remote-id> |
123 |
- <remote-id type="cpan-module">Net::DNS::RR::NSEC3</remote-id> |
124 |
- <remote-id type="cpan-module">Net::DNS::RR::NSEC3PARAM</remote-id> |
125 |
- <remote-id type="cpan-module">Net::DNS::RR::RRSIG</remote-id> |
126 |
- <remote-id type="cpan-module">Net::DNS::RR::SIG</remote-id> |
127 |
<remote-id type="cpan-module">Net::DNS::SEC</remote-id> |
128 |
+ <remote-id type="cpan-module">Net::DNS::SEC::DSA</remote-id> |
129 |
+ <remote-id type="cpan-module">Net::DNS::SEC::ECCGOST</remote-id> |
130 |
+ <remote-id type="cpan-module">Net::DNS::SEC::ECDSA</remote-id> |
131 |
+ <remote-id type="cpan-module">Net::DNS::SEC::Keyset</remote-id> |
132 |
<remote-id type="cpan-module">Net::DNS::SEC::Private</remote-id> |
133 |
+ <remote-id type="cpan-module">Net::DNS::SEC::RSA</remote-id> |
134 |
</upstream> |
135 |
</pkgmetadata> |