1 |
commit: dbaba6cc854a5920b876982afcca61b45684837f |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 23:29:49 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 23:29:49 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbaba6cc |
7 |
|
8 |
dev-libs/libsecp256k1: add libressl support |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild | 9 ++++++--- |
13 |
dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild | 7 +++++-- |
14 |
dev-libs/libsecp256k1/libsecp256k1-9999.ebuild | 7 +++++-- |
15 |
3 files changed, 16 insertions(+), 7 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild |
18 |
index 2024528..b0307ce 100644 |
19 |
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild |
20 |
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Copyright 1999-2016 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
# $Id$ |
26 |
|
27 |
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${My |
28 |
LICENSE="MIT" |
29 |
SLOT="0" |
30 |
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux" |
31 |
-IUSE="asm doc endomorphism gmp test" |
32 |
+IUSE="asm doc endomorphism gmp libressl test" |
33 |
|
34 |
REQUIRED_USE=" |
35 |
asm? ( amd64 ) |
36 |
@@ -25,7 +25,10 @@ RDEPEND=" |
37 |
" |
38 |
DEPEND="${RDEPEND} |
39 |
virtual/pkgconfig |
40 |
- test? ( dev-libs/openssl:0 ) |
41 |
+ test? ( |
42 |
+ !libressl? ( dev-libs/openssl:0= ) |
43 |
+ libressl? ( dev-libs/libressl:0= ) |
44 |
+ ) |
45 |
" |
46 |
|
47 |
S="${WORKDIR}/${MyPN}-${COMMITHASH}" |
48 |
|
49 |
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild |
50 |
index 133da8b..5cd0737 100644 |
51 |
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild |
52 |
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild |
53 |
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${My |
54 |
LICENSE="MIT" |
55 |
SLOT="0" |
56 |
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux" |
57 |
-IUSE="asm doc ecdh endomorphism experimental gmp +recovery schnorr test" |
58 |
+IUSE="asm doc ecdh endomorphism experimental gmp libressl +recovery schnorr test" |
59 |
|
60 |
REQUIRED_USE=" |
61 |
asm? ( amd64 ) |
62 |
@@ -27,7 +27,10 @@ RDEPEND=" |
63 |
" |
64 |
DEPEND="${RDEPEND} |
65 |
virtual/pkgconfig |
66 |
- test? ( dev-libs/openssl:0 ) |
67 |
+ test? ( |
68 |
+ !libressl? ( dev-libs/openssl:0= ) |
69 |
+ libressl? ( dev-libs/libressl:0= ) |
70 |
+ ) |
71 |
" |
72 |
|
73 |
S="${WORKDIR}/${MyPN}-${COMMITHASH}" |
74 |
|
75 |
diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild |
76 |
index 9a1a1de..cd430a4 100644 |
77 |
--- a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild |
78 |
+++ b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild |
79 |
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/bitcoin/${MyPN}" |
80 |
LICENSE="MIT" |
81 |
SLOT="0" |
82 |
KEYWORDS="" |
83 |
-IUSE="asm doc ecdh endomorphism experimental gmp +recovery schnorr test" |
84 |
+IUSE="asm doc ecdh endomorphism experimental gmp libressl +recovery schnorr test" |
85 |
|
86 |
REQUIRED_USE=" |
87 |
asm? ( amd64 ) |
88 |
@@ -26,7 +26,10 @@ RDEPEND=" |
89 |
" |
90 |
DEPEND="${RDEPEND} |
91 |
virtual/pkgconfig |
92 |
- test? ( dev-libs/openssl:0 ) |
93 |
+ test? ( |
94 |
+ !libressl? ( dev-libs/openssl:0= ) |
95 |
+ libressl? ( dev-libs/libressl:0= ) |
96 |
+ ) |
97 |
" |
98 |
|
99 |
src_prepare() { |