summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/d0_blind_id/ChangeLog6
-rw-r--r--dev-libs/d0_blind_id/Manifest8
-rw-r--r--dev-libs/d0_blind_id/d0_blind_id-0.3.ebuild39
-rw-r--r--dev-libs/d0_blind_id/d0_blind_id-9999.ebuild37
-rw-r--r--dev-libs/d0_blind_id/metadata.xml3
5 files changed, 62 insertions, 31 deletions
diff --git a/dev-libs/d0_blind_id/ChangeLog b/dev-libs/d0_blind_id/ChangeLog
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: $
+*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
diff --git a/dev-libs/d0_blind_id/Manifest b/dev-libs/d0_blind_id/Manifest
index 0918c47..4756e3f 100644
--- a/dev-libs/d0_blind_id/Manifest
+++ b/dev-libs/d0_blind_id/Manifest
@@ -1,5 +1,7 @@
DIST d0_blind_id-0.1.0_pre.zip 58289 RMD160 29dbfccb22b0f07606d925051df51025f28a7eec SHA1 377a846cea63b57335f03240c168aff0da2ae38a SHA256 8593f24257bb7f9f68c390ec8ea3de0330b06499d2b823c61d4468a5df0f5924
+DIST d0_blind_id-0.3.tar.gz 339418 RMD160 8c82b6de3a13a37031f87cb2152004a54bbd7c7c SHA1 00e8fd282b0677a793b27e36cd622752e76225d2 SHA256 fa2dfe9f09e6305e6ac16b340277086e4899c9db45e22987b3471e5739dbcab1
EBUILD d0_blind_id-0.1.0_pre.ebuild 1337 RMD160 132d16f4f2824b6a6226f6e4668374a2f8c7dbb9 SHA1 2605716f5ed35f8dcd303231db03b4003fca749d SHA256 5724ed6384bc45dc91aff3468cd7011ad439c92b6f228b576d9510c7a4b3e34f
-EBUILD d0_blind_id-9999.ebuild 1306 RMD160 4ba9bdaf766be303f6459d12f26fc502985e7a1f SHA1 70b11b68251dd9c1dbc18079646a787d557f808c SHA256 25932fdaf9e46869156c746981a4e59c64ca139eac222a597a30652e026d0809
-MISC ChangeLog 424 RMD160 9b1ddd7a64d029d5b538ffe9b6c79d36504d6781 SHA1 95fff027c6b5650dd73c190ab7c3308f3f299a20 SHA256 8f7eea3ba3fd48bea8aca89d915befba18ac231a6d7f4c2ceea6e4b39b89dda4
-MISC metadata.xml 400 RMD160 ed6271ca3a167a90d51d7a92f4f14079b5f768e3 SHA1 7cb87d08cd6c089b3271eceb0bfde739639ddf36 SHA256 dfebaa9573214dde52094cc599e0a6596847d698024e87e16ca2af7b2ee2d3ad
+EBUILD d0_blind_id-0.3.ebuild 1034 RMD160 bb5ac3b03ac5f561535589257b3c5f7ac6340c76 SHA1 8a3a5055ee27a32de06f147072833c799e8b2f62 SHA256 9ddbe989f84caa38fd25a2d46268fe80f6764247df8e9fa2b58a9655c803d1a7
+EBUILD d0_blind_id-9999.ebuild 1069 RMD160 2778c41f7519a4b421843c4a8f61369e2e220bed SHA1 cfbc61af0855629351d7a850f1b36e5e83286a33 SHA256 afe99bd9bb6d722b1d79c6952b57fde3877ac6580faffd44492e9bbebbcec540
+MISC ChangeLog 609 RMD160 14a6174b3f638636b13954b7b19e84c3b5871a5a SHA1 c2d816a16eb5dd518df12b50276acf65bffc83df SHA256 e0eb8e1aeb698c52fb84aa5d1a6262b1d99448fca5c58e8c74377dc135748d81
+MISC metadata.xml 471 RMD160 5fc0261315fc09e9bea298619a643e2f78468e7a SHA1 0f364722f0bbad7ed7e67c20985e887836d74030 SHA256 437f5ad80539aee8f4aa2d7ceb4618d348f834bcfb7edab4a52f9095c5f33d45
diff --git a/dev-libs/d0_blind_id/d0_blind_id-0.3.ebuild b/dev-libs/d0_blind_id/d0_blind_id-0.3.ebuild
new file mode 100644
index 0000000..e9938d1
--- /dev/null
+++ b/dev-libs/d0_blind_id/d0_blind_id-0.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+DESCRIPTION="Blind-ID library for user identification using RSA blind signatures"
+HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary"
+SRC_URI="https://github.com/downloads/divVerent/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="crypt openssl static-libs tommath"
+REQUIRED_USE="openssl? ( !tommath )"
+
+RDEPEND="
+ openssl? ( !tommath? ( dev-libs/gmp ) )
+ openssl? ( dev-libs/openssl )
+ tommath? ( dev-libs/libtommath )
+"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+"
+DOCS=( d0_blind_id.txt )
+
+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."
+}
+
+src_configure() {
+ econf \
+ $(use_enable crypt rijndael) \
+ $(use_with openssl) \
+ $(use_with tommath) \
+ $(use_enable static-libs static)
+}
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 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 @@
EAPI="4"
-SCM=""
-if [ "${PV#9999}" != "${PV}" ] ; then
- SCM="git-2"
-fi
-inherit autotools $SCM
+inherit autotools 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"
-SCM=""
-if [ "${PV#9999}" != "${PV}" ] ; then
- EGIT_REPO_URI="git://git.xonotic.org/xonotic/${PN}.git"
-else
- SRC_URI="http://git.xonotic.org/?p=xonotic/${PN}.git;a=snapshot;h=xonotic-v${PV/_pre/preview};sf=zip -> ${P}.zip"
-fi
+EGIT_REPO_URI="git://git.xonotic.org/xonotic/${PN}.git"
LICENSE="BSD"
SLOT="0"
-if [ "${PV#9999}" = "${PV}" ] ; then
- KEYWORDS="~amd64 ~x86"
-fi
-IUSE="crypt openssl static-libs"
+KEYWORDS=""
+IUSE="crypt openssl static-libs tommath"
+REQUIRED_USE="openssl? ( !tommath )"
RDEPEND="
- !openssl? ( dev-libs/gmp )
+ openssl? ( !tommath? ( dev-libs/gmp ) )
openssl? ( dev-libs/openssl )
+ tommath? ( dev-libs/libtommath )
"
DEPEND="${RDEPEND}
dev-util/pkgconfig
"
+DOCS=( d0_blind_id.txt )
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."
}
src_prepare() {
- if [ "${PV#9999}" = "${PV}" ] ; then
- mv d0_blind_id-xonotic-v0.1.0preview-* ${P} || die
- cd "${S}"
- fi
-
eautoreconf
}
@@ -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/metadata.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='openssl'>Use OpenSSL instead of GMP (beware of the OpenSSL license), for Mac OS X users only, GMP is faster.</flag>
+ <flag name='openssl'>Use OpenSSL instead of GMP (beware of the OpenSSL license), for Mac OS X users only, GMP is faster.</flag>
+ <flag name='tommath'>Use libtommath instead of GMP (slow, but WTFPL)</flag>
</use>
</pkgmetadata>