diff options
author | Lluixhi Scura <lluixhi@gmail.com> | 2015-07-08 10:47:30 -0700 |
---|---|---|
committer | Lluixhi Scura <lluixhi@gmail.com> | 2015-07-08 10:47:30 -0700 |
commit | 7b555bb16b88796e74151f2a3cc5232796826de9 (patch) | |
tree | 4cb2c9a93fd11bc939ccd6fa62a330db9dd508cb /dev-libs | |
parent | Merge branch 'master' of git://github.com/lluixhi/libressl (diff) | |
download | libressl-7b555bb16b88796e74151f2a3cc5232796826de9.tar.gz libressl-7b555bb16b88796e74151f2a3cc5232796826de9.tar.bz2 libressl-7b555bb16b88796e74151f2a3cc5232796826de9.zip |
Updated LibreSSL.
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libressl/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libressl/libressl-2.2.1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index 74a1782..1fc1cc8 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -5,3 +5,4 @@ DIST libressl-2.1.5.tar.gz 2865527 SHA256 a82379913fd7f4e26e045fcf021aa92a1f6839 DIST libressl-2.1.6.tar.gz 2865936 SHA256 4f826dd97b3b8001707073bde8401493f9cd4668465b481c042d28e3973653a8 SHA512 21ea1b504a000d130eac03b93301598c808f9ae75448025b8bf5ec83386364c541dbfbf8ba0b8dc1ac672f476d1a95438f73082e4fd8a5bfa8d7a40b265f38a6 WHIRLPOOL e7e4ec9f16b687843b41c8a4e8ee598bf724c859859113b6a6fba04e5003f745e409e37ca9460004ca609ce8a02410829bbc6e83ffa7396edd1517d38259d530 DIST libressl-2.1.7.tar.gz 2866408 SHA256 1dc4bfc03fbe14732704291d6d9cb7a3cc70575957c958a7e2d686908e9cdb8f SHA512 c39782ab89e8d6790f954fd91f40412076a19053c9994f7b06e8d517722064d3eeb3ca9aaa9a2bce57ae05b3b5bdc1dd38baaa9d8199f71ac43f46063bf40be7 WHIRLPOOL 66bc3c7233a06089bb28dc41c21d6b5df59b36c350ca3d0570b5f47b96803491be5a668f828731b4bee6c7ae945a5e253e42c46514352d45c96fb69b5b125e57 DIST libressl-2.2.0.tar.gz 2862547 SHA256 9690d8f38a5d48425395452eeb305b05bb0f560cd96e0ee30f370d4f16563040 SHA512 aee06cf98dfeda9ff68c0db5c36c4f00ae0d436fadccaf811ff6c5ba26ef9e0ff73afb9034b1e3bf2715938a420ed297beee5102442b3bf5d344647d33c04e02 WHIRLPOOL baa46523e49fdc98488ecd9b1b833fdf4d7d8b38a9ac8c95b62855c9b348d3451968f661dca7e0d88a8b10d528237d9309885f3bb39640cd71af240661b863dc +DIST libressl-2.2.1.tar.gz 2855917 SHA256 4f331750abfc3b605b02eeca1e8994fa0d2629985bc3f62924378197fbfe572d SHA512 5c0ae6780717cc907b4a0aaffc018fa2608d5ed6f1ebae1d0c2bde7ed3f8c38511e93a82967c490adc8582512c06d6f26fb0fce7097298bbf587a83d1d591721 WHIRLPOOL c41f8530bf724d43bab2eaca19249b8a6e5d5bb1250fece10be5346ae6adb33abc4b67fcf01a18fe81daa172b107e90851dee9d7c5a2f135a6648b08653ebbba diff --git a/dev-libs/libressl/libressl-2.2.1.ebuild b/dev-libs/libressl/libressl-2.2.1.ebuild new file mode 100644 index 0000000..000e732 --- /dev/null +++ b/dev-libs/libressl/libressl-2.2.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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/34" +KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86" +IUSE="+asm static-libs" + +# when importing into the tree, make sure to add +# !dev-libs/openssl:0 +# to DEPEND +DEPEND=" + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20140508 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" +RDEPEND="${DEPEND}" +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 + + # Include default config for openssl + insinto /etc/ssl + newins "${S}/apps/openssl.cnf" openssl.cnf +} |