summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-03-04 12:39:45 +0000
committerAnthony G. Basile <blueness@gentoo.org>2015-03-04 12:39:45 +0000
commit5eb8bacc561d9844bd174081256b8c0fcb6537c8 (patch)
treebf47b0d2aeecb2f6b662dde4f89b7216b95edc31 /dev-libs
parentRemove restriction on snappy (diff)
downloadhistorical-5eb8bacc561d9844bd174081256b8c0fcb6537c8.tar.gz
historical-5eb8bacc561d9844bd174081256b8c0fcb6537c8.tar.bz2
historical-5eb8bacc561d9844bd174081256b8c0fcb6537c8.zip
Update 9999. Make dep on gmp optional.
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libsecp256k1/ChangeLog5
-rw-r--r--dev-libs/libsecp256k1/Manifest30
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-9999.ebuild24
3 files changed, 36 insertions, 23 deletions
diff --git a/dev-libs/libsecp256k1/ChangeLog b/dev-libs/libsecp256k1/ChangeLog
index cb2ce6403ad8..017d13618208 100644
--- a/dev-libs/libsecp256k1/ChangeLog
+++ b/dev-libs/libsecp256k1/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libsecp256k1
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/ChangeLog,v 1.2 2015/02/23 21:46:44 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/ChangeLog,v 1.3 2015/03/04 12:39:27 blueness Exp $
+
+ 04 Mar 2015; Anthony G. Basile <blueness@gentoo.org> libsecp256k1-9999.ebuild:
+ Update 9999. Make dep on gmp optional.
*libsecp256k1-0.0.0_pre20141212 (23 Feb 2015)
diff --git a/dev-libs/libsecp256k1/Manifest b/dev-libs/libsecp256k1/Manifest
index d7436565b2af..ee98c7471daf 100644
--- a/dev-libs/libsecp256k1/Manifest
+++ b/dev-libs/libsecp256k1/Manifest
@@ -4,23 +4,23 @@ Hash: SHA256
AUX 20141212-fixes.patch 9161 SHA256 e61d4f94ed932095cd8bbe0624d7776c31ab7e67d1399e3b84361d4e580145ec SHA512 bb96b393834f0b717f1914f00d6a1506b2cc9593a02a91e7747230153d19a7950245767784307c926ee31ffa36e150ff34cecd1088f842d2c0e933479f1ca70d WHIRLPOOL b515a0be56770e05bb8fe149e0dafa2efa45f3ccd3ecf29b03fea06acb1f32a381bf1b619a20ffb68c408265f840e1fdf7dc183aabfaeac18d99a8609e31dc26
DIST secp256k1-v0.0.0_pre20141212.tgz 60007 SHA256 f5d3a7cac425caf64040395d99c1a91ab2ca1c973b228a66772ba4a290f355ce SHA512 ab2a211c1bf882ebb62e78891e4e12c3ed7244d46d532e37ff2a669ba08db8dcafec7b4c57c073310e463957fd2fa0dffb940c4f35b61890cb8ce86d4283f0f6 WHIRLPOOL 3aa8b7545ca24028ceb17e770fdbf997e2895212ec25a193fcd926660e78f16d704bf27a5b1aa7cf3cabe643c33b128bf0b0568172c15833eb82fcc58e5941c1
EBUILD libsecp256k1-0.0.0_pre20141212.ebuild 1435 SHA256 c9bc600cf6780a68d4a3040d2455f4aee8b50475d32c5f6bcce85bffbce6a9d5 SHA512 52e7abbe7dc7d80a20eac16b453053fe330f79f648d038d91bff8a246c12f44788bc714070845dc547e2603aec6db9217fedfd11ea087d499a54adc37dc3b16e WHIRLPOOL 82539875edb15124149fbf56ff448a5c5604a9b5e05a2a849a5570c6976e9f83a0ade7abc9250d119d697287c6cbf61545baf375d9822535c97a62f13be357ce
-EBUILD libsecp256k1-9999.ebuild 1077 SHA256 51014b59f96489d479b28ee86706a683c54cae335756efda953600ca12fe11d5 SHA512 aa5e4ba85451a21557235672d2965be6801f756f830fe6c8bfecd9c2c1c4221479c101820ba5cbfad568765a943d82f6ac23d07687523469efcb19166ecc3b4d WHIRLPOOL 882844f6526886bf275ee31b126d71fc50137e595646b8aa1acafee3c40b11af58853fb7306005ac0412d2779a9650727241f072bf6557b71c55507fce797e54
-MISC ChangeLog 543 SHA256 49d4473bc4286bc90bbfae8425562b6e57acce9c6a6e0cc3e38b4513b4c972ab SHA512 b7b6e58e23ff46ae01d73dc256aa1645834752f3e60c391794ae3a709a347be54ae36584e4f1f8d06bb89ada22ff608dc459fd7bf849c49c3c2c7fed82fbd7fb WHIRLPOOL daa0a27525a1677bf61986170269f8d4faad18cb997c061e36ac06ff8fcddfefa985a731b9453655ad7acbc154a6a692439ab34fcca03407a66f5a28dfd21e65
+EBUILD libsecp256k1-9999.ebuild 1225 SHA256 3af1ec4908cd144b9d316c54358a9178d9f629b2233cf2f46af1caf4e6a3d66d SHA512 3963610e694427729528d45972cbea01d109a5f49d86e035cc7c2dea4485c2f22bca87a455966ae6513e69ec39c70c20b12ae6ba66ab59cd7d60c6879f5f1bb4 WHIRLPOOL 6fa355d4fa541eb3a8802f0b75ca1c9e74d4a168178a743f014d63b6d2772b326c0859852e55026489db2818f502e8152f7ad8283b5d733347a1d854a3ab4830
+MISC ChangeLog 667 SHA256 b4c752d0d7b4c96d37d3455a447a7ab68a27f30bc320d09b77aca8b583057652 SHA512 4ee7a6fa5401149337239b770047ef8469f61103f295fa105a84aa74a340d1a670c51cb4c88348c7e7a59323f53ae06a489d604c0f3b6fc68022efd576d1c75e WHIRLPOOL e9db50ea20cc1b4d399a355a5008a6e0815ae3b69f0033fcb5bf729f433181994a8e76bef1d73be87a4ebb8fc87b9fb953cd3f33f4e5ed8db91b2db5e9956b8b
MISC metadata.xml 506 SHA256 8dbfe75a466694784cec4fb30094e34fd965e96acd271e148c310f99cdfafb17 SHA512 60b88ffe37d8386994a3ff29ed9df9510fec20c19f4b285307b87676127c3a462d1bfcd271ab01bd6d66d42f95d25059dc6f996dac7ef99ffd86495200a52c9c WHIRLPOOL f9056bfb8a57809ce340f42c66a12d044c2873abd230aed65ff6e62d5fc2e3fca2d0fb3d94a50aad971d19702ee98babd59a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vRs3xZb0T4sFeOz4klF+T04BLrTxqZ8zpSDKTXa1KXTZtzPGHQwK5Vazw
+Qxika6O1SDyGQuNyET8mjCm0XbvWo4aMNQ/kXQzj2APZIo8dbforXZ6K/52hIm4S
+A69gNS/bnHxrtOWG/dKl10ZK/pem45aMYPOi0WwnQY50ZFGX/ib12ALs54jeGYJx
+fufNHeDRK3Ksnw1Dyrx/+L6oNS8AFXTRmFqfCpf06AJE6wAXzwVXqFt54EWwjiQH
+WTAIyT0WHGLUkFDMTomUz6WMdHeDzMllovax9qbT2f9N0nTcr7vbijcBukP6UyBa
+e3QY3KYwcN9NtE74M9v0DsyPrblX/EADwGOz0j6c+iqBuXIumotEQTtQCcOaTJdo
+Xc+ZhPsuSqMBQN5qZXP3dzwRqVraMX8LjY1nKaa8aZD2pLlhCJ1gLOc6OzJz416G
+6w35RfAGhJ5pJT56yh5z
+=kH3c
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
index b98b2807b583..aee29f252e78 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild,v 1.1 2014/11/21 11:42:50 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild,v 1.2 2015/03/04 12:39:27 blueness Exp $
EAPI=5
EGIT_REPO_URI="https://github.com/bitcoin/secp256k1.git"
-inherit git-2 autotools
+inherit git-2 autotools eutils
DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
HOMEPAGE="https://github.com/bitcoin/secp256k1"
@@ -13,18 +13,17 @@ HOMEPAGE="https://github.com/bitcoin/secp256k1"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
-IUSE="asm doc endomorphism test"
+IUSE="asm doc endomorphism gmp test"
REQUIRED_USE="
asm? ( amd64 )
"
RDEPEND="
- dev-libs/gmp
+ gmp? ( dev-libs/gmp )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
>=sys-devel/gcc-4.7
- asm? ( dev-lang/yasm )
test? ( dev-libs/openssl )
"
@@ -33,11 +32,22 @@ src_prepare() {
}
src_configure() {
+ local field
+ if use gmp && ! use asm; then
+ field=gmp
+ elif use amd64; then
+ field=64bit
+ else
+ field=32bit
+ fi
+
econf \
--disable-benchmark \
$(use_enable test tests) \
$(use_enable endomorphism) \
- --with-field=$(usex asm 64bit_asm $(usex amd64 64bit gmp)) \
+ --with-asm=$(usex asm auto no) \
+ --with-bignum=$(usex gmp gmp no) \
+ --with-field=${field} \
--disable-static
}