From b2035a10e6af1f88ba275283cf9654e1621eb3a5 Mon Sep 17 00:00:00 2001 From: Manuel Rüger Date: Tue, 10 Sep 2013 22:37:07 +0000 Subject: Initial version. Added also modifications from hasufell. (Portage version: 2.2.2/cvs/Linux x86_64, signed Manifest commit with key ) --- dev-libs/libsodium/ChangeLog | 9 +++++++++ dev-libs/libsodium/libsodium-0.4.3.ebuild | 28 ++++++++++++++++++++++++++++ dev-libs/libsodium/metadata.xml | 20 ++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 dev-libs/libsodium/ChangeLog create mode 100644 dev-libs/libsodium/libsodium-0.4.3.ebuild create mode 100644 dev-libs/libsodium/metadata.xml (limited to 'dev-libs/libsodium') diff --git a/dev-libs/libsodium/ChangeLog b/dev-libs/libsodium/ChangeLog new file mode 100644 index 000000000000..c4299672a8c5 --- /dev/null +++ b/dev-libs/libsodium/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-libs/libsodium +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsodium/ChangeLog,v 1.1 2013/09/10 22:37:07 mrueg Exp $ + +*libsodium-0.4.3 (10 Sep 2013) + + 10 Sep 2013; Manuel Rüger +libsodium-0.4.3.ebuild, + +metadata.xml: + Initial version. Added also modifications from hasufell. diff --git a/dev-libs/libsodium/libsodium-0.4.3.ebuild b/dev-libs/libsodium/libsodium-0.4.3.ebuild new file mode 100644 index 000000000000..c602c409384d --- /dev/null +++ b/dev-libs/libsodium/libsodium-0.4.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsodium/libsodium-0.4.3.ebuild,v 1.1 2013/09/10 22:37:07 mrueg Exp $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="A portable fork of NaCl, a higher-level cryptographic library" +HOMEPAGE="https://github.com/jedisct1/libsodium" +SRC_URI="https://download.libsodium.org/${PN}/releases/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+asm static-libs +urandom" + +src_configure() { + econf \ + $(use_enable asm) \ + $(use_enable !urandom blocking-random) \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-libs/libsodium/metadata.xml b/dev-libs/libsodium/metadata.xml new file mode 100644 index 000000000000..5933491f98b7 --- /dev/null +++ b/dev-libs/libsodium/metadata.xml @@ -0,0 +1,20 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + + NaCl (pronounced "salt") is a new easy-to-use high-speed software library for + network communication, encryption, decryption, signatures, etc. NaCl's goal + is to provide all of the core operations needed to build higher-level + cryptographic tools. Sodium is a portable, cross-compilable, installable, + packageable fork of NaCl, with a compatible API. + + + Enables assembly implementations + Use /dev/urandom instead of /dev/random + + -- cgit v1.2.3-65-gdbad