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.
This commit is contained in:
parent
d61db0c064
commit
a9a556aed7
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue