backports/openssl1.1-compat: bump pkgrel

This commit is contained in:
Antoine Martin 2024-11-01 10:04:45 -04:00 committed by Antoine Martin
parent d7fb3c5419
commit ea066664d7

View file

@ -3,7 +3,7 @@
pkgname=openssl1.1-compat pkgname=openssl1.1-compat
pkgver=1.1.1w pkgver=1.1.1w
_abiver=${pkgver%.*} _abiver=${pkgver%.*}
pkgrel=0 pkgrel=1
pkgdesc="toolkit for transport layer security (TLS) - version 1.1" pkgdesc="toolkit for transport layer security (TLS) - version 1.1"
url="https://www.openssl.org/" url="https://www.openssl.org/"
arch="all" arch="all"
@ -86,6 +86,7 @@ build() {
x86_64) _target="linux-x86_64"; _optflags="enable-ec_nistp_64_gcc_128" ;; x86_64) _target="linux-x86_64"; _optflags="enable-ec_nistp_64_gcc_128" ;;
s390x) _target="linux64-s390x";; s390x) _target="linux64-s390x";;
riscv64) _target="linux-generic64";; riscv64) _target="linux-generic64";;
loongarch64) _target="linux-generic64";;
*) msg "Unable to determine architecture from (CARCH=$CARCH)" ; return 1 ;; *) msg "Unable to determine architecture from (CARCH=$CARCH)" ; return 1 ;;
esac esac
@ -103,7 +104,7 @@ build() {
perl ./Configure \ perl ./Configure \
$_target \ $_target \
--prefix=/usr \ --prefix=/usr \
--libdir=lib \ --libdir=/usr/lib \
--openssldir=/etc/ssl1.1 \ --openssldir=/etc/ssl1.1 \
shared \ shared \
no-zlib \ no-zlib \
@ -144,23 +145,16 @@ package() {
_libcrypto() { _libcrypto() {
pkgdesc="Crypto library from openssl" pkgdesc="Crypto library from openssl"
replaces="libressl2.7-libcrypto" replaces="libressl2.7-libcrypto"
mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib
mv "$pkgdir"/etc "$subpkgdir"/ amove etc
for i in "$pkgdir"/usr/lib/libcrypto*; do amove usr/lib/libcrypto*
mv $i "$subpkgdir"/lib/ amove usr/lib/engines-$_abiver
ln -s ../../lib/${i##*/} "$subpkgdir"/usr/lib/${i##*/}
done
mv "$pkgdir"/usr/lib/engines-$_abiver "$subpkgdir"/usr/lib/
} }
_libssl() { _libssl() {
pkgdesc="SSL shared libraries" pkgdesc="SSL shared libraries"
mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib amove usr/lib/libssl*
for i in "$pkgdir"/usr/lib/libssl*; do
mv $i "$subpkgdir"/lib/
ln -s ../../lib/${i##*/} "$subpkgdir"/usr/lib/${i##*/}
done
} }
_static() { _static() {