public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nikoli" <nikoli@lavabit.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: dev-libs/d0_blind_id/
Date: Thu, 18 Jul 2013 15:30:07 +0000 (UTC)	[thread overview]
Message-ID: <1374161169.c3865ecb450184eca553d2b0d58990094fecadd4.nikoli@gentoo> (raw)

commit:     c3865ecb450184eca553d2b0d58990094fecadd4
Author:     Nikoli <nikoli <AT> lavabit <DOT> com>
AuthorDate: Thu Jul 18 15:26:09 2013 +0000
Commit:     Nikoli <nikoli <AT> lavabit <DOT> com>
CommitDate: Thu Jul 18 15:26:09 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=c3865ecb

d0_blind_id: update

Package-Manager: portage-2.1.12.2
RepoMan-Options: --force

---
 dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild  | 43 +++++++++++++++++++++++
 dev-libs/d0_blind_id/d0_blind_id-9999.ebuild | 52 +++++++++++++---------------
 2 files changed, 68 insertions(+), 27 deletions(-)

diff --git a/dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild b/dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild
new file mode 100644
index 0000000..77d974c
--- /dev/null
+++ b/dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+AUTOTOOLS_AUTORECONF=1
+EGIT_REPO_URI="git://git.xonotic.org/xonotic/d0_blind_id.git"
+
+inherit autotools-utils
+[[ ${PV} == *9999* ]] && inherit git-2
+
+DESCRIPTION="Blind-ID library for user identification using RSA blind signatures"
+HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary"
+[[ ${PV} == *9999* ]] || \
+SRC_URI="mirror://github/divVerent/d0_blind_id/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+[[ ${PV} == *9999* ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="dev-libs/gmp"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+DOCS=( d0_blind_id.txt )
+
+src_prepare() {
+	# fix out-of-source build
+	sed -e 's, d0_rijndael.c, "$srcdir/d0_rijndael.c",' -i configure.ac || die
+
+	autotools-utils_src_prepare
+}
+
+src_configure() {
+	local myeconfargs=(
+		--enable-rijndael
+		--without-openssl
+		--without-tommath
+	)
+	autotools-utils_src_configure
+}

diff --git a/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild b/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
index 8b56c93..77d974c 100644
--- a/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
+++ b/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
@@ -1,45 +1,43 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
+EAPI="5"
+AUTOTOOLS_AUTORECONF=1
+EGIT_REPO_URI="git://git.xonotic.org/xonotic/d0_blind_id.git"
 
-inherit autotools git-2
+inherit autotools-utils
+[[ ${PV} == *9999* ]] && inherit git-2
 
 DESCRIPTION="Blind-ID library for user identification using RSA blind signatures"
 HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary"
-EGIT_REPO_URI="git://git.xonotic.org/xonotic/${PN}.git"
+[[ ${PV} == *9999* ]] || \
+SRC_URI="mirror://github/divVerent/d0_blind_id/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS=""
-IUSE="crypt openssl static-libs tommath"
-REQUIRED_USE="openssl? ( !tommath )"
-
-RDEPEND="
-	openssl? ( !tommath? ( dev-libs/gmp ) )
-	openssl? ( dev-libs/openssl )
-	tommath? ( dev-libs/libtommath )
-"
+[[ ${PV} == *9999* ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="dev-libs/gmp"
 DEPEND="${RDEPEND}
-	virtual/pkgconfig
-"
-DOCS=( d0_blind_id.txt )
+	virtual/pkgconfig"
 
-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."
-}
+DOCS=( d0_blind_id.txt )
 
 src_prepare() {
-	eautoreconf
+	# fix out-of-source build
+	sed -e 's, d0_rijndael.c, "$srcdir/d0_rijndael.c",' -i configure.ac || die
+
+	autotools-utils_src_prepare
 }
 
 src_configure() {
-	econf \
-		$(use_enable crypt rijndael) \
-		$(use_with openssl) \
-		$(use_with tommath) \
-		$(use_enable static-libs static)
+	local myeconfargs=(
+		--enable-rijndael
+		--without-openssl
+		--without-tommath
+	)
+	autotools-utils_src_configure
 }


             reply	other threads:[~2013-07-18 15:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18 15:30 Nikoli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-12-24 18:58 [gentoo-commits] proj/gamerlay:master commit in: dev-libs/d0_blind_id/ Azamat H. Hackimov
2018-11-10 23:44 Azamat H. Hackimov
2013-07-18 18:07 Nikoli
2012-11-08 14:03 Michael Palimaka
2011-09-08 17:26 Nikoli
2011-07-05 21:45 Nikoli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1374161169.c3865ecb450184eca553d2b0d58990094fecadd4.nikoli@gentoo \
    --to=nikoli@lavabit.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox