1 |
commit: ce498c57a50fc4e6bd077423b5adc3caebaecd2f |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 30 18:12:11 2020 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 30 18:12:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce498c57 |
7 |
|
8 |
dev-perl/Crypt-DH: -r bump for EAPI7 + Fixes |
9 |
|
10 |
- EAPI7 |
11 |
- Ensure a slot for dev-libs/gmp |
12 |
- Migrate sed hacks to a 'patch' |
13 |
|
14 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
15 |
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> |
16 |
|
17 |
dev-perl/Crypt-DH/Crypt-DH-0.70.0-r3.ebuild | 27 ++++++++++++++++++++++ |
18 |
.../Crypt-DH/files/Crypt-DH-0.07-no-dot-inc.patch | 22 ++++++++++++++++++ |
19 |
2 files changed, 49 insertions(+) |
20 |
|
21 |
diff --git a/dev-perl/Crypt-DH/Crypt-DH-0.70.0-r3.ebuild b/dev-perl/Crypt-DH/Crypt-DH-0.70.0-r3.ebuild |
22 |
new file mode 100644 |
23 |
index 00000000000..5b5e2e9cc92 |
24 |
--- /dev/null |
25 |
+++ b/dev-perl/Crypt-DH/Crypt-DH-0.70.0-r3.ebuild |
26 |
@@ -0,0 +1,27 @@ |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
+# Distributed under the terms of the GNU General Public License v2 |
29 |
+ |
30 |
+EAPI=6 |
31 |
+ |
32 |
+DIST_AUTHOR=MITHALDU |
33 |
+DIST_VERSION=0.07 |
34 |
+inherit perl-module |
35 |
+ |
36 |
+DESCRIPTION="Diffie-Hellman key exchange system" |
37 |
+ |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~hppa ~x86" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ dev-libs/gmp:0 |
43 |
+ >=dev-perl/Math-BigInt-GMP-1.240.0 |
44 |
+ >=virtual/perl-Math-BigInt-1.600.0 |
45 |
+ dev-perl/Crypt-Random |
46 |
+" |
47 |
+DEPEND="dev-libs/gmp:0" |
48 |
+BDEPEND="${RDEPEND} |
49 |
+ virtual/perl-ExtUtils-MakeMaker |
50 |
+" |
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}/${PN}-0.07-no-dot-inc.patch" |
53 |
+) |
54 |
|
55 |
diff --git a/dev-perl/Crypt-DH/files/Crypt-DH-0.07-no-dot-inc.patch b/dev-perl/Crypt-DH/files/Crypt-DH-0.07-no-dot-inc.patch |
56 |
new file mode 100644 |
57 |
index 00000000000..47a3515ce4c |
58 |
--- /dev/null |
59 |
+++ b/dev-perl/Crypt-DH/files/Crypt-DH-0.07-no-dot-inc.patch |
60 |
@@ -0,0 +1,22 @@ |
61 |
+From a97d967158b7678e16f9be4ac2eea858572bea0c Mon Sep 17 00:00:00 2001 |
62 |
+From: Kent Fredric <kentnl@g.o> |
63 |
+Date: Wed, 1 Jul 2020 06:01:52 +1200 |
64 |
+Subject: include "." in @INC on perl 5.26+ |
65 |
+ |
66 |
+--- |
67 |
+ Makefile.PL | 1 + |
68 |
+ 1 file changed, 1 insertion(+) |
69 |
+ |
70 |
+diff --git a/Makefile.PL b/Makefile.PL |
71 |
+index 13f2698..fcd77ae 100755 |
72 |
+--- a/Makefile.PL |
73 |
++++ b/Makefile.PL |
74 |
+@@ -1,4 +1,5 @@ |
75 |
+ use strict; |
76 |
++use lib '.'; |
77 |
+ use inc::Module::Install; |
78 |
+ |
79 |
+ name 'Crypt-DH'; |
80 |
+-- |
81 |
+2.27.0 |
82 |
+ |