From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-380946-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1R1iNE-0007gp-VS
	for garchives@archives.gentoo.org; Thu, 08 Sep 2011 17:26:49 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E50CB21C0EF;
	Thu,  8 Sep 2011 17:26:40 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 966D221C0EF
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Sep 2011 17:26:40 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EE3FD1B401E
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Sep 2011 17:26:39 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 581E780042
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Sep 2011 17:26:39 +0000 (UTC)
From: "Nikoli" <nikoli@lavabit.com>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Nikoli" <nikoli@lavabit.com>
Message-ID: <2322095fd9f9e7469459d1f55ee615930fbf69b2.nikoli@gentoo>
Subject: [gentoo-commits] proj/gamerlay:master commit in: dev-libs/d0_blind_id/
X-VCS-Repository: proj/gamerlay
X-VCS-Files: dev-libs/d0_blind_id/ChangeLog dev-libs/d0_blind_id/d0_blind_id-0.3.ebuild dev-libs/d0_blind_id/d0_blind_id-9999.ebuild dev-libs/d0_blind_id/metadata.xml
X-VCS-Directories: dev-libs/d0_blind_id/
X-VCS-Committer: nikoli
X-VCS-Committer-Name: Nikoli
X-VCS-Revision: 2322095fd9f9e7469459d1f55ee615930fbf69b2
Date: Thu,  8 Sep 2011 17:26:39 +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
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: c3e8f6ec5b60d0246675a83c95c95043

commit:     2322095fd9f9e7469459d1f55ee615930fbf69b2
Author:     Nikoli <nikoli <AT> lavabit <DOT> com>
AuthorDate: Thu Sep  8 17:26:31 2011 +0000
Commit:     Nikoli <nikoli <AT> lavabit <DOT> com>
CommitDate: Thu Sep  8 17:26:31 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gamerlay.git;=
a=3Dcommit;h=3D2322095f

d0_blind_id: version bump, add USE tommath, cosmetics

(Portage version: 2.1.10.11/git/Linux x86_64, unsigned Manifest commit)

---
 dev-libs/d0_blind_id/ChangeLog                     |    6 +++
 ...blind_id-9999.ebuild =3D> d0_blind_id-0.3.ebuild} |   41 ++++--------=
-------
 dev-libs/d0_blind_id/d0_blind_id-9999.ebuild       |   37 +++++---------=
----
 dev-libs/d0_blind_id/metadata.xml                  |    3 +-
 4 files changed, 27 insertions(+), 60 deletions(-)

diff --git a/dev-libs/d0_blind_id/ChangeLog b/dev-libs/d0_blind_id/Change=
Log
index 2e31f25..45b9827 100644
--- a/dev-libs/d0_blind_id/ChangeLog
+++ b/dev-libs/d0_blind_id/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
=20
+*d0_blind_id-0.3 (08 Sep 2011)
+
+  08 Sep 2011; Nikoli <nikoli@lavabit.com> +d0_blind_id-0.3.ebuild,
+  d0_blind_id-9999.ebuild, metadata.xml:
+  version bump, add USE tommath, cosmetics
+
   05 Jul 2011; Nikoli <nikoli@lavabit.com> d0_blind_id-9999.ebuild:
   migrate to git-2 and EAPI4
=20

diff --git a/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild b/dev-libs/d0_b=
lind_id/d0_blind_id-0.3.ebuild
similarity index 51%
copy from dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
copy to dev-libs/d0_blind_id/d0_blind_id-0.3.ebuild
index ca57d55..e9938d1 100644
--- a/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
+++ b/dev-libs/d0_blind_id/d0_blind_id-0.3.ebuild
@@ -4,59 +4,36 @@
=20
 EAPI=3D"4"
=20
-SCM=3D""
-if [ "${PV#9999}" !=3D "${PV}" ] ; then
-	SCM=3D"git-2"
-fi
-inherit autotools $SCM
-
 DESCRIPTION=3D"Blind-ID library for user identification using RSA blind =
signatures"
 HOMEPAGE=3D"http://git.xonotic.org/?p=3Dxonotic/d0_blind_id.git;a=3Dsumm=
ary"
-SCM=3D""
-if [ "${PV#9999}" !=3D "${PV}" ] ; then
-	EGIT_REPO_URI=3D"git://git.xonotic.org/xonotic/${PN}.git"
-else
-	SRC_URI=3D"http://git.xonotic.org/?p=3Dxonotic/${PN}.git;a=3Dsnapshot;h=
=3Dxonotic-v${PV/_pre/preview};sf=3Dzip -> ${P}.zip"
-fi
+SRC_URI=3D"https://github.com/downloads/divVerent/${PN}/${P}.tar.gz"
=20
 LICENSE=3D"BSD"
 SLOT=3D"0"
-if [ "${PV#9999}" =3D "${PV}" ] ; then
-	KEYWORDS=3D"~amd64 ~x86"
-fi
-IUSE=3D"crypt openssl static-libs"
+KEYWORDS=3D"~amd64 ~x86"
+IUSE=3D"crypt openssl static-libs tommath"
+REQUIRED_USE=3D"openssl? ( !tommath )"
=20
 RDEPEND=3D"
-	!openssl? ( dev-libs/gmp )
+	openssl? ( !tommath? ( dev-libs/gmp ) )
 	openssl? ( dev-libs/openssl )
+	tommath? ( dev-libs/libtommath )
 "
 DEPEND=3D"${RDEPEND}
 	dev-util/pkgconfig
 "
+DOCS=3D( d0_blind_id.txt )
=20
 pkg_setup() {
 	use crypt || ewarn "You will have no encryption, only authentication."
 	use openssl && ewarn "OpenSSL is for Mac OS X users only, GMP is faster=
."
-}
-
-src_prepare() {
-	if [ "${PV#9999}" =3D "${PV}" ] ; then
-		mv d0_blind_id-xonotic-v0.1.0preview-* ${P} || die
-		cd "${S}"
-	fi
-
-	eautoreconf
+	use tommath && ewarn "You enabled libtommath, GMP is faster."
 }
=20
 src_configure() {
 	econf \
 		$(use_enable crypt rijndael) \
 		$(use_with openssl) \
+		$(use_with tommath) \
 		$(use_enable static-libs static)
 }
-
-src_install() {
-	default
-
-	dodoc d0_blind_id.txt
-}

diff --git a/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild b/dev-libs/d0_b=
lind_id/d0_blind_id-9999.ebuild
index ca57d55..fbb9d41 100644
--- a/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
+++ b/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
@@ -4,47 +4,35 @@
=20
 EAPI=3D"4"
=20
-SCM=3D""
-if [ "${PV#9999}" !=3D "${PV}" ] ; then
-	SCM=3D"git-2"
-fi
-inherit autotools $SCM
+inherit autotools git-2
=20
 DESCRIPTION=3D"Blind-ID library for user identification using RSA blind =
signatures"
 HOMEPAGE=3D"http://git.xonotic.org/?p=3Dxonotic/d0_blind_id.git;a=3Dsumm=
ary"
-SCM=3D""
-if [ "${PV#9999}" !=3D "${PV}" ] ; then
-	EGIT_REPO_URI=3D"git://git.xonotic.org/xonotic/${PN}.git"
-else
-	SRC_URI=3D"http://git.xonotic.org/?p=3Dxonotic/${PN}.git;a=3Dsnapshot;h=
=3Dxonotic-v${PV/_pre/preview};sf=3Dzip -> ${P}.zip"
-fi
+EGIT_REPO_URI=3D"git://git.xonotic.org/xonotic/${PN}.git"
=20
 LICENSE=3D"BSD"
 SLOT=3D"0"
-if [ "${PV#9999}" =3D "${PV}" ] ; then
-	KEYWORDS=3D"~amd64 ~x86"
-fi
-IUSE=3D"crypt openssl static-libs"
+KEYWORDS=3D""
+IUSE=3D"crypt openssl static-libs tommath"
+REQUIRED_USE=3D"openssl? ( !tommath )"
=20
 RDEPEND=3D"
-	!openssl? ( dev-libs/gmp )
+	openssl? ( !tommath? ( dev-libs/gmp ) )
 	openssl? ( dev-libs/openssl )
+	tommath? ( dev-libs/libtommath )
 "
 DEPEND=3D"${RDEPEND}
 	dev-util/pkgconfig
 "
+DOCS=3D( d0_blind_id.txt )
=20
 pkg_setup() {
 	use crypt || ewarn "You will have no encryption, only authentication."
 	use openssl && ewarn "OpenSSL is for Mac OS X users only, GMP is faster=
."
+	use tommath && ewarn "You enabled libtommath, GMP is faster."
 }
=20
 src_prepare() {
-	if [ "${PV#9999}" =3D "${PV}" ] ; then
-		mv d0_blind_id-xonotic-v0.1.0preview-* ${P} || die
-		cd "${S}"
-	fi
-
 	eautoreconf
 }
=20
@@ -52,11 +40,6 @@ src_configure() {
 	econf \
 		$(use_enable crypt rijndael) \
 		$(use_with openssl) \
+		$(use_with tommath) \
 		$(use_enable static-libs static)
 }
-
-src_install() {
-	default
-
-	dodoc d0_blind_id.txt
-}

diff --git a/dev-libs/d0_blind_id/metadata.xml b/dev-libs/d0_blind_id/met=
adata.xml
index 95596f0..9196edc 100644
--- a/dev-libs/d0_blind_id/metadata.xml
+++ b/dev-libs/d0_blind_id/metadata.xml
@@ -7,6 +7,7 @@
 		<name>Nikoli</name>
 	</maintainer>
 	<use>
-        	<flag name=3D'openssl'>Use OpenSSL instead of GMP (beware of th=
e OpenSSL license), for Mac OS X users only, GMP is faster.</flag>
+		<flag name=3D'openssl'>Use OpenSSL instead of GMP (beware of the OpenS=
SL license), for Mac OS X users only, GMP is faster.</flag>
+		<flag name=3D'tommath'>Use libtommath instead of GMP (slow, but WTFPL)=
</flag>
 	</use>
 </pkgmetadata>