From 37055c4b0357ed974917ee851df60bc060c8e0dd Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 7 Nov 2023 17:13:27 +0100 Subject: [PATCH] libtls: drop asm option, upstream unmaintained. --- srcpkgs/libtls/template | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/srcpkgs/libtls/template b/srcpkgs/libtls/template index f9edf1c7585..c51f2fd6baf 100644 --- a/srcpkgs/libtls/template +++ b/srcpkgs/libtls/template @@ -5,7 +5,7 @@ revision=1 create_wrksrc=yes build_wrksrc="libressl-${version}" build_style=gnu-configure -configure_args="--enable-libtls-only --enable-nc $(vopt_enable asm)" +configure_args="--enable-libtls-only --enable-nc" hostmakedepends="automake libtool" depends="ca-certificates" short_desc="Version of the TLS/crypto stack forked from OpenSSL" @@ -15,36 +15,15 @@ homepage="http://www.libressl.org/" changelog="https://raw.githubusercontent.com/libressl/portable/master/ChangeLog" distfiles="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${version}.tar.gz" checksum=6d4b8d5bbb25a1f8336639e56ec5088052d43a95256697a85c4ce91323c25954 -_lssl_asm_ver="1.2.0" replaces="libtls20>0" patch_args="-Np1 --directory=${build_wrksrc}" -build_options="asm" -desc_option_asm="Use platform assembly for faster crypto" - -build_options_default="" - -if [ "$build_option_asm" ]; then - distfiles+=" https://github.com/q66/libressl-portable-asm/archive/v${_lssl_asm_ver}.tar.gz" - checksum+=" e1c76178c4deb1cd20a0cd7ba553d6607f8131acb2e0844223f797e42f0d6f60" -fi - case "$XBPS_TARGET_MACHINE" in # disable ssp i686-musl) configure_args+=" --disable-hardening";; - # on armv5 always disable asm as it's not supported - armv5*) configure_args+=" --disable-asm";; esac -post_extract() { - [ -z "$build_option_asm" ] && return 0 - mv libressl-portable-asm-${_lssl_asm_ver} ${build_wrksrc} -} - pre_configure() { - if [ "$build_option_asm" ]; then - ./libressl-portable-asm-${_lssl_asm_ver}/patch_libressl.sh . - fi autoreconf -fi } @@ -56,10 +35,6 @@ pre_check() { do_install() { make -C tls install DESTDIR="$DESTDIR" 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 } libtls-devel_package() {