From c3865ecb450184eca553d2b0d58990094fecadd4 Mon Sep 17 00:00:00 2001 From: Nikoli Date: Thu, 18 Jul 2013 19:26:09 +0400 Subject: d0_blind_id: update Package-Manager: portage-2.1.12.2 RepoMan-Options: --force --- dev-libs/d0_blind_id/Manifest | 25 ++----------- dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild | 43 +++++++++++++++++++++++ dev-libs/d0_blind_id/d0_blind_id-9999.ebuild | 52 +++++++++++++--------------- 3 files changed, 71 insertions(+), 49 deletions(-) create mode 100644 dev-libs/d0_blind_id/d0_blind_id-0.5.ebuild (limited to 'dev-libs') diff --git a/dev-libs/d0_blind_id/Manifest b/dev-libs/d0_blind_id/Manifest index 30a6905..f40fe47 100644 --- a/dev-libs/d0_blind_id/Manifest +++ b/dev-libs/d0_blind_id/Manifest @@ -1,22 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -DIST d0_blind_id-0.1.0_pre.zip 58289 SHA256 8593f24257bb7f9f68c390ec8ea3de0330b06499d2b823c61d4468a5df0f5924 -DIST d0_blind_id-0.3.tar.gz 339418 SHA256 fa2dfe9f09e6305e6ac16b340277086e4899c9db45e22987b3471e5739dbcab1 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAEBCAAGBQJQlghZAAoJECZQPTSbOzNLQt0QAIbOu0WBl1PnZd7xKORBcxA/ -EeK2PnYJoMDObs9liLiykSyBbuDNpkaWRYMUxwi0lajapVOznlfCDUTU+UOxgI62 -tkRNHXswhDkPe3MBKEPiAxZMXkn9L319VUwxqBq6/Qb6YYcBfn5gw2GZmlmwykLL -NXwUkyZRhTpzKIhYBcLfuw2UBfbj29SLs592QbT27nUnpBWtWvPu76vdpaWDrfJZ -6G0dvBp7RK249MZRI0oGkGMq1wYQvNUj9mNYKXSSRcmZMUdxFsNsOmQ+o6wwym91 -JGz12+lRWR9Tcm1Mz9rEE6t3Eo/Lbr7Rc5Oenicve45P8dlnlU/FmjRW2QGP+Mtw -ScKE6ZGxkVYwN8p96MjHATRWNmiX0ptJroFp1X2zxwVasVOadz8PoZElCwWMorJX -e4mmYJ7QfwTu8u+I+ACjq+tpvhWqOrcIOeveyLALXKzmB8UOiin/C6eHySeSXIKW -M2r5gGWhBMOcwj3w8UIFQOwgs1WW3hmXb0BRK+aHhq//vU6kYNrqb40YQ+hw9d4a -1yS4oeH5yL1qxBqi96tIDg29P82aTGV3LNrDyjNA4SAsTz9IS9oTNInIXRctKS/R -M+bw6MTgrPkBtDExyLhxiOHp08s/CzY9xmchrZh2hc34qndUyG8fwcq2FOevHk8y -9toT41uzT92T4hM9Gmo4 -=l8kM ------END PGP SIGNATURE----- +DIST d0_blind_id-0.1.0_pre.zip 58289 SHA256 8593f24257bb7f9f68c390ec8ea3de0330b06499d2b823c61d4468a5df0f5924 SHA512 04a1466189f0ced7efb7e4e9309056a7b372502da70d72658ac8035a1da8a1ddd205ec3b02e43c775b57a4954e4c5f267dc106a35ca30bddf496eeed6c85b82a WHIRLPOOL acea0ff6e8ee43b869e257b753e8e11a19bb4e0aee81f95590158a25c33ada77035223207141c2afe0d1339ded392ce79aeecdd65d3c8bda635d9e4101eb8065 +DIST d0_blind_id-0.3.tar.gz 339418 SHA256 fa2dfe9f09e6305e6ac16b340277086e4899c9db45e22987b3471e5739dbcab1 SHA512 7c55aa1989d5bd5e9dd72a8194b42fe5e39639a50b74c26eb5985f4ba4758edef6ca9295a8ae95d5f71902e515f619b3d6df67da62036a4f8d655d449f6632d2 WHIRLPOOL 988c5844e52f1d41951528583f4c87352109f94f1304898a1af6058545343bc30651fbaf93f9f5ef045a511e7000a769f692ccdb5996bd367fe8b0a17762fb77 +DIST d0_blind_id-0.5.tar.gz 344460 SHA256 9a223609df9c5d92c63047fc320ae64034ccd8815624da84806e0916c9f4ac75 SHA512 0a7735269a41108f191c4143b52eff2179889d94239be5be0c2406c6ed789b68e2d545250f9964e97f8c86a0653296bacdbe9b8d9db89a79ca6922d7c1a90162 WHIRLPOOL f87a624283df549d852c2a859f60e9cfd51ef85fa6233d254dd3f6c4bef95ffb9e2aff95584791ff4bad01fb3b557903aa223654607e61ab742d5fb1ae217594 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 } -- cgit v1.2.3