From 1f5dafc5d15e1fd43e08b67e01e0c5f9b52ff5a0 Mon Sep 17 00:00:00 2001 From: Nikoli Date: Thu, 30 Dec 2010 23:07:31 +0300 Subject: d0_blind_id: initial ebuild --- dev-libs/d0_blind_id/ChangeLog | 11 ++++ dev-libs/d0_blind_id/Manifest | 5 ++ dev-libs/d0_blind_id/d0_blind_id-0.1.0_pre.ebuild | 62 +++++++++++++++++++++++ dev-libs/d0_blind_id/d0_blind_id-9999.ebuild | 62 +++++++++++++++++++++++ dev-libs/d0_blind_id/metadata.xml | 12 +++++ 5 files changed, 152 insertions(+) create mode 100644 dev-libs/d0_blind_id/ChangeLog create mode 100644 dev-libs/d0_blind_id/Manifest create mode 100644 dev-libs/d0_blind_id/d0_blind_id-0.1.0_pre.ebuild create mode 100644 dev-libs/d0_blind_id/d0_blind_id-9999.ebuild create mode 100644 dev-libs/d0_blind_id/metadata.xml (limited to 'dev-libs') diff --git a/dev-libs/d0_blind_id/ChangeLog b/dev-libs/d0_blind_id/ChangeLog new file mode 100644 index 0000000..9b25051 --- /dev/null +++ b/dev-libs/d0_blind_id/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/d0_blind_id +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*d0_blind_id-9999 (30 Dec 2010) +*d0_blind_id-0.1.0_pre (30 Dec 2010) + + 30 Dec 2010; Nikoli +d0_blind_id-0.1.0_pre.ebuild, + +d0_blind_id-9999.ebuild, +metadata.xml: + initial ebuild + diff --git a/dev-libs/d0_blind_id/Manifest b/dev-libs/d0_blind_id/Manifest new file mode 100644 index 0000000..5bf7fb5 --- /dev/null +++ b/dev-libs/d0_blind_id/Manifest @@ -0,0 +1,5 @@ +DIST d0_blind_id-0.1.0_pre.zip 58289 RMD160 29dbfccb22b0f07606d925051df51025f28a7eec SHA1 377a846cea63b57335f03240c168aff0da2ae38a SHA256 8593f24257bb7f9f68c390ec8ea3de0330b06499d2b823c61d4468a5df0f5924 +EBUILD d0_blind_id-0.1.0_pre.ebuild 1337 RMD160 132d16f4f2824b6a6226f6e4668374a2f8c7dbb9 SHA1 2605716f5ed35f8dcd303231db03b4003fca749d SHA256 5724ed6384bc45dc91aff3468cd7011ad439c92b6f228b576d9510c7a4b3e34f +EBUILD d0_blind_id-9999.ebuild 1337 RMD160 132d16f4f2824b6a6226f6e4668374a2f8c7dbb9 SHA1 2605716f5ed35f8dcd303231db03b4003fca749d SHA256 5724ed6384bc45dc91aff3468cd7011ad439c92b6f228b576d9510c7a4b3e34f +MISC ChangeLog 326 RMD160 2d545e2428470a155b1382d7d85480dda9cb5246 SHA1 509a54fd802175bd988db9a35e872208acadb9c2 SHA256 424df8e4b8f06d1f2bd7dd0e16a8a2a99575147353e73d20f000d0be490c855e +MISC metadata.xml 400 RMD160 ed6271ca3a167a90d51d7a92f4f14079b5f768e3 SHA1 7cb87d08cd6c089b3271eceb0bfde739639ddf36 SHA256 dfebaa9573214dde52094cc599e0a6596847d698024e87e16ca2af7b2ee2d3ad diff --git a/dev-libs/d0_blind_id/d0_blind_id-0.1.0_pre.ebuild b/dev-libs/d0_blind_id/d0_blind_id-0.1.0_pre.ebuild new file mode 100644 index 0000000..7ef843a --- /dev/null +++ b/dev-libs/d0_blind_id/d0_blind_id-0.1.0_pre.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git" +fi +inherit autotools $SCM + +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 + +LICENSE="BSD" +SLOT="0" +if [ "${PV#9999}" = "${PV}" ] ; then + KEYWORDS="~amd64 ~x86" +fi +IUSE="crypt openssl static-libs" + +RDEPEND=" + !openssl? ( dev-libs/gmp ) + openssl? ( dev-libs/openssl ) +" +DEPEND="${RDEPEND} + dev-util/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." +} + +src_prepare() { + if [ "${PV#9999}" = "${PV}" ] ; then + mv d0_blind_id-xonotic-v0.1.0preview-* ${P} || die + cd "${S}" + fi + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable crypt rijndael) \ + $(use_with openssl) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc d0_blind_id.txt || die +} diff --git a/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild b/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild new file mode 100644 index 0000000..7ef843a --- /dev/null +++ b/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +SCM="" +if [ "${PV#9999}" != "${PV}" ] ; then + SCM="git" +fi +inherit autotools $SCM + +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 + +LICENSE="BSD" +SLOT="0" +if [ "${PV#9999}" = "${PV}" ] ; then + KEYWORDS="~amd64 ~x86" +fi +IUSE="crypt openssl static-libs" + +RDEPEND=" + !openssl? ( dev-libs/gmp ) + openssl? ( dev-libs/openssl ) +" +DEPEND="${RDEPEND} + dev-util/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." +} + +src_prepare() { + if [ "${PV#9999}" = "${PV}" ] ; then + mv d0_blind_id-xonotic-v0.1.0preview-* ${P} || die + cd "${S}" + fi + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable crypt rijndael) \ + $(use_with openssl) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc d0_blind_id.txt || die +} diff --git a/dev-libs/d0_blind_id/metadata.xml b/dev-libs/d0_blind_id/metadata.xml new file mode 100644 index 0000000..95596f0 --- /dev/null +++ b/dev-libs/d0_blind_id/metadata.xml @@ -0,0 +1,12 @@ + + + + no-herd + + nikoli@lavabit.com + Nikoli + + + Use OpenSSL instead of GMP (beware of the OpenSSL license), for Mac OS X users only, GMP is faster. + + -- cgit v1.2.3