# Description: FREE version of the SSL/TLS protocol forked from OpenSSL # URL: http://www.libressl.org/ # Maintainer: protonesso, nagakamira at gmail dot com # Section: base name=libressl version=3.3.3 release=1 source=("https://cloudflare.cdn.openbsd.org/pub/OpenBSD/LibreSSL/$name-$version.tar.gz") build() { filter-flags -fsanitize=cfi -fsanitize-cfi-cross-dso cd "$SRC"/$name-$version autoreconf -fi ./configure $BUILDFLAGS \ --prefix=/usr \ --with-openssldir=/etc/ssl sed -i 's/ -shared / -Wl,--as-needed\0/g' libtool make make DESTDIR="$PKG" install rm -rf "$PKG"/etc/ssl/cert.pem }