From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0793A1381F3 for ; Thu, 18 Jul 2013 15:30:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A31A9E0AFE; Thu, 18 Jul 2013 15:30:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 364F1E0AFE for ; Thu, 18 Jul 2013 15:30:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 154FC33E628 for ; Thu, 18 Jul 2013 15:30:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A235AE5459 for ; Thu, 18 Jul 2013 15:30:07 +0000 (UTC) From: "Nikoli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nikoli" Message-ID: <1374161169.c3865ecb450184eca553d2b0d58990094fecadd4.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/d0_blind_id-0.5.ebuild dev-libs/d0_blind_id/d0_blind_id-9999.ebuild X-VCS-Directories: dev-libs/d0_blind_id/ X-VCS-Committer: nikoli X-VCS-Committer-Name: Nikoli X-VCS-Revision: c3865ecb450184eca553d2b0d58990094fecadd4 X-VCS-Branch: master Date: Thu, 18 Jul 2013 15:30:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 51ae90d4-6e04-4658-b666-6fb4600cafd0 X-Archives-Hash: 8871dda3b50f4615628d1afbd961754f commit: c3865ecb450184eca553d2b0d58990094fecadd4 Author: Nikoli lavabit com> AuthorDate: Thu Jul 18 15:26:09 2013 +0000 Commit: Nikoli lavabit 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 }