diff --git a/dev-libs/libressl/Manifest b/dev-libs/libressl/Manifest index d8dfffa..230710f 100644 --- a/dev-libs/libressl/Manifest +++ b/dev-libs/libressl/Manifest @@ -14,6 +14,7 @@ DIST libressl-3.2.0.tar.gz 3775925 BLAKE2B 99d74fad16e272be8e3b23b873c35970ce369 DIST libressl-3.2.1.tar.gz 3798341 BLAKE2B 25d4d0fa758d92fd781f39000e631d7cec0a5a8210b2b127b7d49ef0e96e1a20a45f60e6231dcbe379f57f19c1ca8a4dde6205b1cc52ee44d17a4a21da34c98a SHA512 0204177ad0291f3fce4c77ab21cce17785d0239f2ae4be8fbdce5575cc98775186caa0e1851b211c05be07e3cc603111eeaac4379c8977e7b140fedee2551f93 DIST libressl-3.2.2.tar.gz 3839529 BLAKE2B b5c35c85bf9914b49d828963e5089e77ec0b370227f8e36c70eac9a4c9176e90ebec1dccd19fc4d99d58caaba545b78cc5570751bd73a7488e502a9bcca2c5ed SHA512 708f347ec88f0501b5937f1efc8dc15e76a2f99a54f024e21a006349abc9305f64796f7df9fcbc875e13f999a620253b62b138d76f67586f1e432f3956da25e1 DIST libressl-3.2.3.tar.gz 3839953 BLAKE2B 219c9c2e78952d56dd9eadb92c9732f426cbdd20a2dc905d827ca0547a347065f3347e960dee7456994d8d52d8cb19a028add3e9f343a20864dbb15f4e6654c8 SHA512 8c281f5a155a4cc9bfeb31767d8c29de6ceec602649ff98460c44c4b2c15999799d5549ce07a823a4f7f20f9b441f8718b3ef8eac19ddb6cf6d150e6fe8c9d13 +DIST libressl-3.2.7.tar.gz 3841186 BLAKE2B 878c136fb61a612910ca6469ffc609c7cd1c502e5471b07d3122eb509e370e0f75cd0b07b7297079fa91220c5d21320f2f635ad05e61a7ea492f65b59f10b940 SHA512 34bddff17c93c7c5994bf3db92037882731fc41ddea0daa4ff57c8662d089e1c8d86cc6a4b36cee2cd57125ff7225d5448b6fd5ea6fb05053b708f804d4b264f EBUILD libressl-2.6.5-r100.ebuild 1388 BLAKE2B 226bbbcb25443acb46997c4c3dc2b302efe1797a339acbc28223c603625f7c014afd6b1f77e302ef7abff0c95ef5027276b419bdc900564880e4fd28ff54a454 SHA512 50d160d31444602e1f3b77afb889a333ce853395ea27d43dbfc3a4d2e2fe04d0d0714592511511fcc967b81a8ca4bdb3946fe2fefec435bcd76c7d0d6d14a96b EBUILD libressl-2.8.3-r100.ebuild 1332 BLAKE2B abde6ea284027218e7143b116c266c3a39c167b661f1d964976e0d6341968209b14409c5c01ae691f066cb7a850b72c0ede1fd6d200c9e446431ae9300d3435f SHA512 a2164cbf28b52ef7f5dd04722e437e1a342610762fd5fa8ef5dfaea3284f9174cd8d4c03ff73cea71eb6ace0ab4023135e174e60e8a3fdf07af95768d5c5fae9 EBUILD libressl-2.9.2-r100.ebuild 1672 BLAKE2B b5bdc692bd8d0260dbfb240e3ee89b8102914038675dee77748f03a8f0e2019b1806df6fb8975628f908a37e18b45514d5bf9d18ba64ccc77b949db4582decb7 SHA512 1288ad50221406436ec0bf88e0095fee9e834155e290a8f5150bfb0df416f1704a2467ba03590269f1fabced066b6b26808897cd30f8ce3ad881a433afb2e6b7 @@ -25,3 +26,4 @@ EBUILD libressl-3.2.0.ebuild 1674 BLAKE2B c451bee855979f53c0bbb1ca3856d3736be347 EBUILD libressl-3.2.1.ebuild 1674 BLAKE2B c451bee855979f53c0bbb1ca3856d3736be3472c4449e5a3ab0d09c443e8d6241677fcab4c770f50468a62c88167b1d14c1dc532a234815e141153ae592bcbaf SHA512 93cff0b4890064a89abf9e885aad2e2496ce18305a6b5f2490164335b4411a1df5facde25783f3d0c9ae6cf216010d3919c1883d801fdca9b870846e2524dc58 EBUILD libressl-3.2.2.ebuild 1674 BLAKE2B c451bee855979f53c0bbb1ca3856d3736be3472c4449e5a3ab0d09c443e8d6241677fcab4c770f50468a62c88167b1d14c1dc532a234815e141153ae592bcbaf SHA512 93cff0b4890064a89abf9e885aad2e2496ce18305a6b5f2490164335b4411a1df5facde25783f3d0c9ae6cf216010d3919c1883d801fdca9b870846e2524dc58 EBUILD libressl-3.2.3.ebuild 1674 BLAKE2B d7132719d556a1f7ddefd3db655718d101b3c86edebddc92e5785eecbbf2434ff6321abcb46993f00355e11d8519ecb56a5cc24bf33a5afc2abd09ea7ceb2519 SHA512 4c403f039aeca9f9609d0c90abe982caae25d1729da39f6c895d4cdfa96f0aecb1f5b90483f4b5dbb9339cfe6fa55935c0583e913ee0afd8ddfb1888cae59a46 +EBUILD libressl-3.2.7.ebuild 1674 BLAKE2B d7132719d556a1f7ddefd3db655718d101b3c86edebddc92e5785eecbbf2434ff6321abcb46993f00355e11d8519ecb56a5cc24bf33a5afc2abd09ea7ceb2519 SHA512 4c403f039aeca9f9609d0c90abe982caae25d1729da39f6c895d4cdfa96f0aecb1f5b90483f4b5dbb9339cfe6fa55935c0583e913ee0afd8ddfb1888cae59a46 diff --git a/dev-libs/libressl/libressl-3.2.7.ebuild b/dev-libs/libressl/libressl-3.2.7.ebuild new file mode 100644 index 0000000..ba624ae --- /dev/null +++ b/dev-libs/libressl/libressl-3.2.7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~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="" +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 +}