From 9e3c313bea279292343f0ca6445cc277d6eb9a6f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 20 Sep 2015 13:28:59 +0200 Subject: dev-libs/libressl: initial import of version 2.2.3 Gentoo-Bug: 508750 --- dev-libs/libressl/Manifest | 1 + dev-libs/libressl/libressl-2.2.3.ebuild | 48 +++++++++++++++++++++++++++++++++ dev-libs/libressl/metadata.xml | 23 ++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 dev-libs/libressl/Manifest create mode 100644 dev-libs/libressl/libressl-2.2.3.ebuild create mode 100644 dev-libs/libressl/metadata.xml (limited to 'dev-libs/libressl') diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest new file mode 100644 index 000000000000..c94beec0552a --- /dev/null +++ b/dev-libs/libressl/Manifest @@ -0,0 +1 @@ +DIST libressl-2.2.3.tar.gz 2967547 SHA256 a1ccc21adf91d60e99246031b99c930c9af5e1b1b5a61b1bec87beef6f16d882 SHA512 79f0cd57d2f1202e7d1213a9f9e0665bce11d1c1e5a4ba48c98b81f94e09a8c72733a5dfb0a5626b91db146641cfbec79acb9a5cbb437a60924b7f028d224500 WHIRLPOOL 1e8a49f7c491af558052257c0456b5c4d965abcfc8c7c274f7c42670f4f06a46d3e0360359fd19ecbbaf2fa461b80457e692eb2cb7b1a4bd92d0ad9a68e6663a diff --git a/dev-libs/libressl/libressl-2.2.3.ebuild b/dev-libs/libressl/libressl-2.2.3.ebuild new file mode 100644 index 000000000000..e3b97b5b90c2 --- /dev/null +++ b/dev-libs/libressl/libressl-2.2.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib-minimal + +DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL" +HOMEPAGE="http://www.libressl.org/" +SRC_URI="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz" + +LICENSE="ISC openssl" +SLOT="0/35" # reflects ABI of libcrypto.so and libssl.so +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86" +IUSE="+asm static-libs" + +RDEPEND="!dev-libs/openssl:0" +DEPEND="${RDEPEND}" +PDEPEND="app-misc/ca-certificates" + +src_prepare() { + touch crypto/Makefile.in + + sed -i \ + -e '/^[ \t]*CFLAGS=/s#-g ##' \ + -e '/^[ \t]*CFLAGS=/s#-g"#"#' \ + -e '/^[ \t]*CFLAGS=/s#-O2 ##' \ + -e '/^[ \t]*CFLAGS=/s#-O2"#"#' \ + -e '/^[ \t]*USER_CFLAGS=/s#-O2 ##' \ + -e '/^[ \t]*USER_CFLAGS=/s#-O2"#"#' \ + configure || die "fixing CFLAGS failed" +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable asm) \ + $(use_enable static-libs static) +} + +multilib_src_test() { + emake check +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libressl/metadata.xml b/dev-libs/libressl/metadata.xml new file mode 100644 index 000000000000..4c35a8a27390 --- /dev/null +++ b/dev-libs/libressl/metadata.xml @@ -0,0 +1,23 @@ + + + + + hasufell@gentoo.org + Julian Ospald + + LibreSSL + + LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in + 2014, with goals of modernizing the codebase, improving security, and + applying best practice development processes. + + + Enables assembly + + + http://www.libressl.org/releases.html + mailto:libressl@openbsd.org + https://github.com/libressl-portable/portable/issues + libressl-portable/portable + + -- cgit v1.2.3-65-gdbad