From a9a556aed72647436d75971c0f79488cd082587c Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 24 Jul 2020 06:29:12 +0200 Subject: [PATCH] libressl: update assembly to 1.1.0, fix license The newer libressl-portable-asm adds extra assembly for 32-bit ARM, which should deal with unaligned access stuff and provide some nice speedups, like 40% or so for sha1/256. Also, fix license - the OpenSSL and cryptogams licenses were not included. --- srcpkgs/libressl/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libressl/template b/srcpkgs/libressl/template index 2b05f0f936..0bbaddc1f5 100644 --- a/srcpkgs/libressl/template +++ b/srcpkgs/libressl/template @@ -1,7 +1,7 @@ # Template file for 'libressl' pkgname=libressl version=3.1.3 -revision=2 +revision=3 bootstrap=yes build_style=gnu-configure configure_args="$(vopt_enable asm)" @@ -15,14 +15,14 @@ checksum=c76b0316acf612ecb62f5cb014a20d972a663bd9e40abf952a86f3b998b69fa0 provides="openssl-${version}_${revision}" replaces="openssl>=0" conf_files="/etc/ssl/openssl.cnf /etc/ssl/x509v3.cnf" -_lssl_asm_ver="1.0.0" +_lssl_asm_ver="1.1.0" build_options="asm" desc_option_asm="Use platform assembly for faster crypto" if [ "$build_option_asm" ]; then distfiles+=" https://github.com/q66/libressl-portable-asm/archive/v${_lssl_asm_ver}.tar.gz" - checksum+=" 2c261f263319ecd73497c2eadd990ccf8310f338e84a452305aca70d2269b298" + checksum+=" 7d92bf898c3a526cfdd804ea2e6ba1c89bd5a95589092e3ea585ef7c4818d789" fi # only enable asm for full chroots by default @@ -65,6 +65,10 @@ post_install() { ln -s certs.pem ${DESTDIR}/etc/ssl/cert.pem vlicense COPYING + if [ "$build_option_asm" ]; then + vlicense libressl-portable-asm-${_lssl_asm_ver}/LICENSE.cryptogams + vlicense libressl-portable-asm-${_lssl_asm_ver}/LICENSE.openssl + fi find ${DESTDIR}/usr/share/man/man1 -type f ! -name openssl.1 -delete }