diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-12-04 05:28:52 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-12-04 05:28:52 -0500 |
commit | 5e3b5d6a12abc2f1ed5eeea1cfa2c318abdb9f8d (patch) | |
tree | b2893bb3ec86f0adab0b48a2a842012c30e19c3c /dev-libs/libressl | |
parent | dev-libs/libressl: add myself as second maintainer (diff) | |
download | gentoo-5e3b5d6a12abc2f1ed5eeea1cfa2c318abdb9f8d.tar.gz gentoo-5e3b5d6a12abc2f1ed5eeea1cfa2c318abdb9f8d.tar.bz2 gentoo-5e3b5d6a12abc2f1ed5eeea1cfa2c318abdb9f8d.zip |
dev-libs/libressl: version bump to 2.3.1, ABI version 36.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-libs/libressl')
-rw-r--r-- | dev-libs/libressl/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libressl/libressl-2.3.1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index b6de3188d8f8..000ae30d74c7 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -1 +1,2 @@ DIST libressl-2.2.4.tar.gz 2966157 SHA256 6b409859be8654afc3862549494e097017e64c8d167f12584383586306ef9a7e SHA512 390fbf4f531976c873a0a1163fd57f33097686c6956ec4d3eb69e8271a4e40abfec76d65172b34ae50af8936dd8b5c3ca5fefee9d8686ca468a5577d432c3fe5 WHIRLPOOL 44d36b582efad0cff8015e507ea7c95befd5a44f2beaf69b534454cee4288681d55390a9d4c41ded8a535f0ad6c210348f365534fe3d82725e6b918a89b99e43 +DIST libressl-2.3.1.tar.gz 3014881 SHA256 410b58db4ebbcab43c3357612e591094f64fb9339269caa2e68728e36f8d589e SHA512 ac70d2f09035d63765bb980422c6c6b55ef07f6af4a93fce54748ff3621cf08ef87acfd438797d562dc21ab9b4862992876792deef9310aafdb927e20e27d453 WHIRLPOOL 52f46016cf07e598b7117de1cc90617982de0ad020b55c4a2b402de317d8b52f8a381c9ebdff787421dccd3e47294305863ceb9f2c1c2a9080818fec16e7e177 diff --git a/dev-libs/libressl/libressl-2.3.1.ebuild b/dev-libs/libressl/libressl-2.3.1.ebuild new file mode 100644 index 000000000000..62c06a307679 --- /dev/null +++ b/dev-libs/libressl/libressl-2.3.1.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/36" # reflects ABI of libcrypto.so and libssl.so +KEYWORDS="~amd64 ~hppa ~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 +} |