summaryrefslogtreecommitdiff
path: root/dev-libs/libsecp256k1
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libsecp256k1')
-rw-r--r--dev-libs/libsecp256k1/Manifest9
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild1
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild9
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.1_pre20170928.ebuild9
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-9999.ebuild66
-rw-r--r--dev-libs/libsecp256k1/metadata.xml2
6 files changed, 16 insertions, 80 deletions
diff --git a/dev-libs/libsecp256k1/Manifest b/dev-libs/libsecp256k1/Manifest
index 147e71c80cee..de5c6a1be1a9 100644
--- a/dev-libs/libsecp256k1/Manifest
+++ b/dev-libs/libsecp256k1/Manifest
@@ -1,8 +1,7 @@
DIST libsecp256k1-v0.0.0_pre20161213.tgz 147557 BLAKE2B 078cb90c078722e2eb3b5645f9692d737c99ebfe04db5a96dcfb57bb750b31c009cd3ae46f793bb1789239be9689f6e695a5b03477eecea84f2c657d0cc7442c SHA512 f4d16fae972364fd04bfcfbaca1edde4410a7367a936f76c1e93b85ac3c9c45da58785f604a4fc14cdfb4d7a23395d2d274957ad83118e15a236dfff0d0f57dd
DIST libsecp256k1-v0.1_pre20170928.tgz 150935 BLAKE2B f8b3408a33f36186c07cf931a8183a7a241e6418a846f4c3b248cf87e7a8b33a5a92368aa30310efadb066792eebead7fb48b4f4d902e7c8e9b4209717d7b8c0 SHA512 f480c76ba04b3d731c65227e156eb726b27da92f5dcfbd9b0a34c62e97f9b6dfd5c3fae3180b59244d0c9845fdf624b05f29e097f3ac0032ab15cebc4bf00660
DIST secp256k1-v0.0.0_pre20151118.tgz 125884 BLAKE2B 7a4fc950006138d04d8d3da35db24be0c568e25202c16f34f94555fde1297fba839fd114a003b5510693de3386de22166c6f1294726fe381ae5b565cb9866a75 SHA512 3cc0a4973acf7936a7c6dc0abc37ee43ecd69e835069ed40765595d36ca597b43837b5d6f90499455599de03abfc775d7c9d019d26216b79b03dd6dc53a73e19
-EBUILD libsecp256k1-0.0.0_pre20151118.ebuild 1353 BLAKE2B bfbf6e0c1c1a5d7d96c1aa3fd64e54fedff0b4eabdb236d6bf3fc0fbf03d72b785da93405513ac2b6e37a7daed5305ee395b6fe8dc0273cbd61e5e95b03fc30a SHA512 efd501d39be71c46edf7df416592444f9de7d9906acb923357c2697e4ea8d9a01f17b2151387dad0dacc66ca8ebd27bd611a17b57cdca10716dd828915bd6efd
-EBUILD libsecp256k1-0.0.0_pre20161213.ebuild 1517 BLAKE2B e4f8d22c81d86bf74d8069e10694e0c3c43fe94b59a60c3bb9eddd6cb77a6307a7c0c1583330ff5747c46d033a46358468f3b9f4a6f0fc302e4c239099745375 SHA512 c1b4a3f70b89438f8bfb5bf63b410be26853d0abb26cb9198a6a1ba70fd46e432fea3d135b6edf6cb24ea2bec677019d380e82390d0f294540752088ed2b1b5c
-EBUILD libsecp256k1-0.1_pre20170928.ebuild 1560 BLAKE2B d98554be2cc72ab9797a876de945275356d4ade9ef203dac2d49b9163085e5d8d0d07d9f54e634c256d312c198a2c5e3df1966cd79037948d23de53900eeec0e SHA512 29ac329b8a7d6ead6524154efc911250cb819a8b9aab1c7081432913c27a478037fbf05cf7fe769ef9646e3cd39c9f8ed511fdfa5a9865b2e55724e5c844a120
-EBUILD libsecp256k1-9999.ebuild 1336 BLAKE2B 5baf2da422fca882c0af05159aa3a0700f69e47ee74e164db1a16a842620e7d76e57cb89614384224395060faae8180c104538e6a3b57ddfacfba6b7a7f23b73 SHA512 a155348e020c9b2a29db0d41ebd0311add97e74f7daae1cd499dee9564152664df3f9acab575ea0f4cd0bc738c013c7dc48d2167b97a7a3b3788b669d8ee743b
-MISC metadata.xml 945 BLAKE2B 7a352dd1f76e95f59cc73d2d80755f81d59e53ea01749e00f25dbdede5d3b430ee8ad5962e90b80c5abeb3a8674279460119a90f7dc656e9b9b3c5a1db486cb8 SHA512 77427813529d0396c4db94a1df6580d3719764049fb55a7b095ac936326e694c7047bfa67aa168252c94a72bda0e25370244ce74d4c3d358948c4106293a75b8
+EBUILD libsecp256k1-0.0.0_pre20151118.ebuild 1380 BLAKE2B 8cadeb5057f75775c0f2322dcea8f1bd92d9a82e83ba62c5f24f24746044d8a36dd73bea8c26cbf0b8bcead7dd2e09b8246027147bf3eabb15f343c4df45221c SHA512 5a2dcb53dde35df5c45d44d69b093f85dd3288b0e85ce6ae76c6d1c4ed8b66206d8bc9a28d6e78796cb0c59595722d9aae2bb745b15a3aa0b1cd6633227362a0
+EBUILD libsecp256k1-0.0.0_pre20161213.ebuild 1544 BLAKE2B bb172053e180ecf05098953d39ba8b7c168fc78f215d3f1fbd8c7f20502a64a86a425dcfccf401d744699083d5d47a681243c8e78ebb0f834ddeb2e8a0cb6344 SHA512 4bb8091298f568a4e661e3075d839f5b104b714e67c9632f8f713bd095cb95d96c50994f3e67774b71db4ddbc4f1653a3ecb469349eb90b4d7cf9903bfa11612
+EBUILD libsecp256k1-0.1_pre20170928.ebuild 1587 BLAKE2B bc6ab78e259982f38b30d41c6d548ece072f4afa9a6147505c0ab6d7ef151be72397b29ae82085e5fc6d673729c2e8e6faed4b2685c0507e9c1fd5024483fb8b SHA512 e5ddf94c45d693b21ab6f4d97d0aa2ea15291c1db42b1df29b8ebab4dc4d6e6d0bc1186d276df2de6f69939c30f31a253efbc12b6b309b80c76ae9f2961eed9d
+MISC metadata.xml 945 BLAKE2B 7a69755c3d1c70ed97958a6597821b2d35175bdb8a396bccef731a9da250a4b8b4a14fb9f28df076b265db72f96cf5d75c3892449bc7bc3f320c69d5d8e79c19 SHA512 f90780064a7b48ef4d9ad70fb20f61ee2ff62508c396bd79f157d2790becacd833d035cc9bd7719aec29acd0b4a30b37426106196f1e229f86bb6eb5c2abb8df
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
index 4609c06bb272..71d047416824 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
@@ -15,6 +15,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~mips ~ppc x86 ~amd64-linux ~x86-linux"
IUSE="+asm doc ecdh endomorphism experimental gmp libressl +recovery schnorr test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
asm? ( amd64 )
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild
index 2634a61198e9..7716244ab405 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild
@@ -14,13 +14,14 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${PN
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test_openssl"
+IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test-openssl"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
asm? ( || ( amd64 arm ) arm? ( experimental ) )
ecdh? ( experimental )
java? ( ecdh )
- test_openssl? ( test )
+ test-openssl? ( test )
"
RDEPEND="
gmp? ( dev-libs/gmp:0= )
@@ -28,7 +29,7 @@ RDEPEND="
DEPEND="${RDEPEND}
virtual/pkgconfig
java? ( virtual/jdk )
- test_openssl? ( dev-libs/openssl:0 )
+ test-openssl? ( dev-libs/openssl:0 )
"
S="${WORKDIR}/${MyPN}-${COMMITHASH}"
@@ -53,7 +54,7 @@ src_configure() {
$(use_enable experimental) \
$(use_enable java jni) \
$(use_enable test tests) \
- $(use_enable test_openssl openssl-tests) \
+ $(use_enable test-openssl openssl-tests) \
$(use_enable ecdh module-ecdh) \
$(use_enable endomorphism) \
--with-asm=$asm_opt \
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20170928.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20170928.ebuild
index 388d889bc11f..bd971f602e6d 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20170928.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20170928.ebuild
@@ -14,13 +14,14 @@ SRC_URI="https://github.com/bitcoin-core/${MyPN}/archive/${COMMITHASH}.tar.gz ->
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test_openssl"
+IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test-openssl"
+RESTRICT="!test? ( test )"
REQUIRED_USE="
asm? ( || ( amd64 arm ) arm? ( experimental ) )
ecdh? ( experimental )
java? ( ecdh )
- test_openssl? ( test )
+ test-openssl? ( test )
"
RDEPEND="
gmp? ( dev-libs/gmp:0= )
@@ -28,7 +29,7 @@ RDEPEND="
DEPEND="${RDEPEND}
virtual/pkgconfig
java? ( virtual/jdk )
- test_openssl? ( dev-libs/openssl:0 )
+ test-openssl? ( dev-libs/openssl:0 )
"
S="${WORKDIR}/${MyPN}-${COMMITHASH}"
@@ -54,7 +55,7 @@ src_configure() {
$(use_enable experimental) \
$(use_enable java jni) \
$(use_enable test tests) \
- $(use_enable test_openssl openssl-tests) \
+ $(use_enable test-openssl openssl-tests) \
$(use_enable ecdh module-ecdh) \
$(use_enable endomorphism) \
--with-asm=$asm_opt \
diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
deleted file mode 100644
index f1a5daa6ffb1..000000000000
--- a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-EGIT_REPO_URI="https://github.com/bitcoin/secp256k1.git"
-inherit git-2 autotools eutils
-
-MyPN=secp256k1
-DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
-HOMEPAGE="https://github.com/bitcoin/${MyPN}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS=""
-IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test_openssl"
-
-REQUIRED_USE="
- asm? ( || ( amd64 arm ) arm? ( experimental ) )
- ecdh? ( experimental )
- java? ( ecdh )
- test_openssl? ( test )
-"
-RDEPEND="
- gmp? ( dev-libs/gmp:0= )
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- java? ( virtual/jdk )
- test_openssl? ( dev-libs/openssl:0 )
-"
-
-src_prepare() {
- eautoreconf
-}
-
-src_configure() {
- local asm_opt
- if use asm; then
- if use arm; then
- asm_opt=arm
- else
- asm_opt=auto
- fi
- else
- asm_opt=no
- fi
- econf \
- --disable-benchmark \
- $(use_enable experimental) \
- $(use_enable java jni) \
- $(use_enable test tests) \
- $(use_enable test_openssl openssl-tests) \
- $(use_enable ecdh module-ecdh) \
- $(use_enable endomorphism) \
- --with-asm=$asm_opt \
- --with-bignum=$(usex gmp gmp no) \
- $(use_enable recovery module-recovery) \
- --disable-static
-}
-
-src_install() {
- dodoc README.md
- emake DESTDIR="${D}" install
- prune_libtool_files
-}
diff --git a/dev-libs/libsecp256k1/metadata.xml b/dev-libs/libsecp256k1/metadata.xml
index 2e3a5c002ccb..10e5b2a45bfe 100644
--- a/dev-libs/libsecp256k1/metadata.xml
+++ b/dev-libs/libsecp256k1/metadata.xml
@@ -16,7 +16,7 @@
<flag name="experimental">Allow experimental USE flags</flag>
<flag name="recovery">Enable ECDSA pubkey recovery module</flag>
<flag name="schnorr">Enable Schnorr signature module</flag>
- <flag name="test_openssl">Enable OpenSSL comparison tests</flag>
+ <flag name="test-openssl">Enable OpenSSL comparison tests</flag>
</use>
<upstream>
<remote-id type="github">bitcoin/secp256k1</remote-id>