diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-27 01:40:14 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-27 01:40:14 +0000 |
| commit | b346f3735bc342409714e4ff3fb08449ad006fa3 (patch) | |
| tree | cae5c66c801e405d198277a0745ebd10915d9b56 /dev-libs/libressl | |
| parent | ecd3a60027d5c4b3954c7a8a6e5a6a4934e97c06 (diff) | |
| download | baldeagleos-repo-b346f3735bc342409714e4ff3fb08449ad006fa3.tar.gz baldeagleos-repo-b346f3735bc342409714e4ff3fb08449ad006fa3.tar.xz baldeagleos-repo-b346f3735bc342409714e4ff3fb08449ad006fa3.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/libressl')
| -rw-r--r-- | dev-libs/libressl/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/libressl/libressl-3.4.2.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index 6055a75b79fa..0c9a257b902c 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -5,3 +5,4 @@ DIST libressl-3.3.4.tar.gz 3848128 BLAKE2B 06aa0655191deec5297ee5e8e851ba28aea68 DIST libressl-3.3.5.tar.gz 3847261 BLAKE2B dcdb1a328bde78e52c721207df5b072f8c2fae3aa04e48547af28317de7520a9e50e7bd700d2ad03a1e46c79fe6822c8696fdd948a0e90999ecfeb8022e2aa95 SHA512 d7835ade07bff28425f9563189b4351f7864d3fafed264c3dad09e67b451a0166c825efadafc176c93c37f5c00789ad4f654146d3d3c0b59cb9981d1a8f9312f DIST libressl-3.4.0.tar.gz 3917583 BLAKE2B 3be62513c99fe1336732ea2e0fb46e3eb788e139b0bc31d3350596b72e6a877bd62042f00173cc50a8b96115778dd567ca9e89e65d2fa592c7675fb7bb78317a SHA512 035a833889b1c52cb2828c38e01b33efc344586c2c7eed28241e74947efc767b893b41671ddc3c09ce6ff72f3bf91666ef07b9b8abb9ee9c619d68835787fb46 DIST libressl-3.4.1.tar.gz 3917346 BLAKE2B 0c7e6f6594a5f16b68490ae70e51f975dce0e1d90a1a343590e7b430351531659609a1fbf4b579d72fa3ae3c332e03a3fe282807cb40b3964cb786cc5764236f SHA512 6a4ff612a9f82da672a66c9db807e34cabc961ffa309900cefde2c5061e129d1ec06f9688f5e83ebc5d8ed21a64ff0035271c807b71113b9e8f54e094cc8632f +DIST libressl-3.4.2.tar.gz 3918441 BLAKE2B 87fd4a704fc7276ef38a57ae7a6df69db129c88be50c64efdf82b50d3ad277c2b1c89ba707ddec2c08f1571a2699b1aeebbc94bf32e69d66e606c59282dc3f1e SHA512 ae91a840b29330681dc2a4f55a9bd760e6fe1bdfb3399017aae3a16bd21b413e97cbb8ba504400f0a1f42757f6128b3fa763d06bae4fc9f2b9dbeea867a57ad2 diff --git a/dev-libs/libressl/libressl-3.4.2.ebuild b/dev-libs/libressl/libressl-3.4.2.ebuild new file mode 100644 index 000000000000..ac1c6af927d2 --- /dev/null +++ b/dev-libs/libressl/libressl-3.4.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 2021 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +inherit multilib-minimal libtool + +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/48" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="+asm static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( static-libs )" + +RDEPEND="!dev-libs/openssl" +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" + + if ! use test ; then + sed -i \ + -e '/^[ \t]*SUBDIRS =/s#tests##' \ + Makefile.in || die "Removing tests failed" + fi + + eapply "${FILESDIR}"/${PN}-2.8.3-solaris10.patch + eapply_user + + elibtoolize # for Solaris +} + +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 +} |
