From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-871180-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 51D0B59CA5
	for <garchives@archives.gentoo.org>; Sun, 20 Mar 2016 15:42:59 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4D3F721C04A;
	Sun, 20 Mar 2016 15:42:57 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 4650621C048
	for <gentoo-commits@lists.gentoo.org>; Sun, 20 Mar 2016 15:42:56 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E9897340B57
	for <gentoo-commits@lists.gentoo.org>; Sun, 20 Mar 2016 15:42:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F04B850
	for <gentoo-commits@lists.gentoo.org>; Sun, 20 Mar 2016 15:42:52 +0000 (UTC)
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" <blueness@gentoo.org>
Message-ID: <1458488570.9bb34f643733cccefef9ed8111e10d8e98f63f96.blueness@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsecp256k1/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/libsecp256k1/Manifest dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild dev-libs/libsecp256k1/libsecp256k1-9999.ebuild dev-libs/libsecp256k1/metadata.xml
X-VCS-Directories: dev-libs/libsecp256k1/
X-VCS-Committer: blueness
X-VCS-Committer-Name: Anthony G. Basile
X-VCS-Revision: 9bb34f643733cccefef9ed8111e10d8e98f63f96
X-VCS-Branch: master
Date: Sun, 20 Mar 2016 15:42:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 78fbb352-46b0-4d6a-b2af-1527a3e7958a
X-Archives-Hash: 016c9fd89435483600def7be0274d963

commit:     9bb34f643733cccefef9ed8111e10d8e98f63f96
Author:     Luke Dashjr <luke-jr+git <AT> utopios <DOT> org>
AuthorDate: Sat Mar 19 22:17:18 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 15:42:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb34f64

dev-libs/libsecp256k1: bump to 0.0.0_pre20151118 and update 9999

 dev-libs/libsecp256k1/Manifest                         |  1 +
 ...99.ebuild => libsecp256k1-0.0.0_pre20151118.ebuild} | 18 +++++++++++++-----
 dev-libs/libsecp256k1/libsecp256k1-9999.ebuild         | 10 ++++++++--
 dev-libs/libsecp256k1/metadata.xml                     |  8 ++++----
 4 files changed, 26 insertions(+), 11 deletions(-)

diff --git a/dev-libs/libsecp256k1/Manifest b/dev-libs/libsecp256k1/Manifest
index 108c563..86c170d 100644
--- a/dev-libs/libsecp256k1/Manifest
+++ b/dev-libs/libsecp256k1/Manifest
@@ -1,2 +1,3 @@
 DIST secp256k1-v0.0.0_pre20141212.tgz 60007 SHA256 f5d3a7cac425caf64040395d99c1a91ab2ca1c973b228a66772ba4a290f355ce SHA512 ab2a211c1bf882ebb62e78891e4e12c3ed7244d46d532e37ff2a669ba08db8dcafec7b4c57c073310e463957fd2fa0dffb940c4f35b61890cb8ce86d4283f0f6 WHIRLPOOL 3aa8b7545ca24028ceb17e770fdbf997e2895212ec25a193fcd926660e78f16d704bf27a5b1aa7cf3cabe643c33b128bf0b0568172c15833eb82fcc58e5941c1
 DIST secp256k1-v0.0.0_pre20150423.tgz 77451 SHA256 7e4e78d5ded245b59dbe8abc9804fdf7ba41d9030936fb39766d5f2bd7e29b2e SHA512 a640188d83e9aa5a4292900c211e29815f2f1b57db4fbccfb8a3bf770bb52f0232d405044f317a3b6b6ea4d5a5107180dc4e374cf7ab06eb79676c270061c3b7 WHIRLPOOL 5796d32cd8f578ef28f6e79ced53fa505519273af39bdeaa413e9b48669ce7945d12437c6093f3aa0b3db9412dac50638c335a3f4f8cf0d4ffa8c94665a85f72
+DIST secp256k1-v0.0.0_pre20151118.tgz 125884 SHA256 75549cea9b22affda02d6731385a7184b60703f1ca0a4f098fec8c702a20f7b0 SHA512 3cc0a4973acf7936a7c6dc0abc37ee43ecd69e835069ed40765595d36ca597b43837b5d6f90499455599de03abfc775d7c9d019d26216b79b03dd6dc53a73e19 WHIRLPOOL 61eb9a709e8986db9113d305a989d44700f5e53143471485935bed0f79d18c745cb78f2b4b5e55614b6ca80a6bd29830b52108797bc21bc792789a7590597fed

diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
similarity index 56%
copy from dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
copy to dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
index b0a1098..133da8b 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
@@ -1,23 +1,26 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-EGIT_REPO_URI="https://github.com/bitcoin/secp256k1.git"
-inherit git-2 autotools eutils
+inherit autotools eutils
 
 MyPN=secp256k1
 DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
 HOMEPAGE="https://github.com/bitcoin/${MyPN}"
+COMMITHASH="6c527eceee7f5105c33c98dfae24ffeffd71f7cf"
+SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${MyPN}-v${PV}.tgz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
-IUSE="asm doc endomorphism gmp test"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="asm doc ecdh endomorphism experimental gmp +recovery schnorr test"
 
 REQUIRED_USE="
 	asm? ( amd64 )
+	ecdh? ( experimental )
+	schnorr? ( experimental )
 "
 RDEPEND="
 	gmp? ( dev-libs/gmp:0 )
@@ -27,6 +30,8 @@ DEPEND="${RDEPEND}
 	test? ( dev-libs/openssl:0 )
 "
 
+S="${WORKDIR}/${MyPN}-${COMMITHASH}"
+
 src_prepare() {
 	eautoreconf
 }
@@ -35,9 +40,12 @@ src_configure() {
 	econf \
 		--disable-benchmark \
 		$(use_enable test tests) \
+		$(use_enable ecdh module-ecdh) \
 		$(use_enable endomorphism)  \
 		--with-asm=$(usex asm auto no) \
 		--with-bignum=$(usex gmp gmp no) \
+		$(use_enable recovery module-recovery) \
+		$(use_enable schnorr module-schnorr) \
 		--disable-static
 }
 

diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
index b0a1098..9a1a1de 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,10 +14,12 @@ HOMEPAGE="https://github.com/bitcoin/${MyPN}"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS=""
-IUSE="asm doc endomorphism gmp test"
+IUSE="asm doc ecdh endomorphism experimental gmp +recovery schnorr test"
 
 REQUIRED_USE="
 	asm? ( amd64 )
+	ecdh? ( experimental )
+	schnorr? ( experimental )
 "
 RDEPEND="
 	gmp? ( dev-libs/gmp:0 )
@@ -34,10 +36,14 @@ src_prepare() {
 src_configure() {
 	econf \
 		--disable-benchmark \
+		$(use_enable experimental) \
 		$(use_enable test tests) \
+		$(use_enable ecdh module-ecdh) \
 		$(use_enable endomorphism)  \
 		--with-asm=$(usex asm auto no) \
 		--with-bignum=$(usex gmp gmp no) \
+		$(use_enable recovery module-recovery) \
+		$(use_enable schnorr module-schnorr) \
 		--disable-static
 }
 

diff --git a/dev-libs/libsecp256k1/metadata.xml b/dev-libs/libsecp256k1/metadata.xml
index df5fa5e..fe33e14 100644
--- a/dev-libs/libsecp256k1/metadata.xml
+++ b/dev-libs/libsecp256k1/metadata.xml
@@ -9,13 +9,13 @@
     <email>luke-jr+gentoobugs@utopios.org</email>
     <name>Luke Dashjr</name>
   </maintainer>
-  <maintainer type="project">
-    <email>proxy-maint@gentoo.org</email>
-    <name>Proxy Maintainers</name>
-  </maintainer>
   <use>
     <flag name="asm">Enable x86_64 assembly optimisation</flag>
+    <flag name="ecdh">Enable ECDH shared secret computation</flag>
     <flag name="endomorphism">Enable endomorphism</flag>
+    <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>
   </use>
   <upstream>
     <remote-id type="github">bitcoin/secp256k1</remote-id>