From e44c53e686782af7746326bbaeb42e1930e58119 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Tue, 9 Oct 2018 21:10:13 -0400 Subject: dev-libs/libressl: version bump to 2.8.1, bug #668100 Signed-off-by: Anthony G. Basile Package-Manager: Portage-2.3.49, Repoman-2.3.10 --- dev-libs/libressl/Manifest | 1 + dev-libs/libressl/libressl-2.8.1.ebuild | 53 +++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-libs/libressl/libressl-2.8.1.ebuild (limited to 'dev-libs/libressl') diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index 00d0a4d39186..b2d45f30e38a 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -3,3 +3,4 @@ DIST libressl-2.6.5.tar.gz 3225481 BLAKE2B fcdf0d8b4b68fdb6c17299f4b9897c84f51ec DIST libressl-2.7.3.tar.gz 3364724 BLAKE2B e245cd0e3c4819e12f3f05898429c10894959d9bbe27bfca38543ec304a84abc8edda7c968eb8d25e5c589011c5482060d05bd1e5aef71c13708ec804cd05a72 SHA512 5fafff32bc4effa98c00278206f0aeca92652c6a8101b2c5da3904a5a3deead2d1e3ce979c644b8dc6060ec216eb878a5069324a0396c0b1d7b6f8169d509e9b DIST libressl-2.7.4.tar.gz 3359012 BLAKE2B 07b98fdc6bcdf9d888fb1b1d301c95ab6f998fb7ff2c6dfd2ecf4558768e200dfa96c394e5b321bc27ba390e92646c319ef5be5915872a7c086de8017ff8f855 SHA512 1cd82a1bff4f655251b5feb0c850f4164e0fd548e4b404407370f74dcc75c205f42efc7787a157eecac84cbbe46af48cb63f46b3fef75f4a0a9ea19a5863a691 DIST libressl-2.8.0.tar.gz 3377310 BLAKE2B 2a2027d86e99a09a349f3f123223a8544f49410ae53dbf4b97f898895758d00b1e8f73889f0b0ad8cec6f7ba5e85f033080d0e4af92b0fd10d048136337a0213 SHA512 3004cd78a9d52dece9f24272389778d6afca549de245852004ddd57b01a0c3a6fa1cee2d56980d067d23b3ead7f7a4aa6bcf4e0c57a56f5f7d9fd3f8d23f3ca2 +DIST libressl-2.8.1.tar.gz 3375642 BLAKE2B 39b550e09cfe286e92c6b1168525bac927b37ed7c03db159e456e71abba1d411a78c7a3ad9084b28d41a3f132a959ea82e877ed159daa2c69fa59fef67fec1b8 SHA512 57af2c7a1a8522dca25c4e6371cb44f5ab074be1aded153e6e5fca4fa0844518710f7ce834d4dd309086686c492f10fca83f4d45c084eb49607cb5861f07ac99 diff --git a/dev-libs/libressl/libressl-2.8.1.ebuild b/dev-libs/libressl/libressl-2.8.1.ebuild new file mode 100644 index 000000000000..45e86959cf53 --- /dev/null +++ b/dev-libs/libressl/libressl-2.8.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal + +DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL" +HOMEPAGE="https://www.libressl.org/" +SRC_URI="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${P}.tar.gz" + +LICENSE="ISC openssl" +# Reflects ABI of libcrypto.so and libssl.so. Since these can differ, +# we'll try to use the max of either. However, if either change between +# versions, we have to change the subslot to trigger rebuild of consumers. +SLOT="0/46" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="+asm static-libs test" +REQUIRED_USE="test? ( 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" + + eapply_user +} + +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 + find "${D}" -name '*.la' -exec rm -f {} + || die +} -- cgit v1.2.3-65-gdbad