mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 11:52:25 +01:00
main/openssl: re-enable DES, RC4 and fix replaces
DES is needed by NTLM (cyrus-sasl) RC4 is needed by freeradius
This commit is contained in:
parent
a1f2d9963f
commit
155dac8b94
@ -2,11 +2,12 @@
|
||||
pkgname=openssl
|
||||
pkgver=1.1.1
|
||||
_abiver=${pkgver%.*}
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Toolkit for Transport Layer Security (TLS)"
|
||||
url="https://www.openssl.org"
|
||||
arch="all"
|
||||
license="OpenSSL"
|
||||
replaces="libressl"
|
||||
makedepends_build="perl"
|
||||
makedepends_host="linux-headers"
|
||||
makedepends="$makedepends_host $makedepends_build"
|
||||
@ -48,7 +49,7 @@ build() {
|
||||
--libdir=lib \
|
||||
--openssldir=/etc/ssl \
|
||||
shared no-zlib $_optflags \
|
||||
no-async no-comp no-des no-idea no-mdc2 no-rc4 no-rc5 no-ec2m \
|
||||
no-async no-comp no-idea no-mdc2 no-rc5 no-ec2m \
|
||||
no-sm2 no-sm4 no-ssl2 no-ssl3 no-seed no-psk \
|
||||
no-weak-ssl-ciphers \
|
||||
$CPPFLAGS $CFLAGS $LDFLAGS -Wa,--noexecstack
|
||||
@ -67,9 +68,15 @@ package() {
|
||||
rm "$pkgdir"/usr/bin/c_rehash
|
||||
}
|
||||
|
||||
dev() {
|
||||
default_dev
|
||||
replaces="libressl-dev"
|
||||
}
|
||||
|
||||
_libcrypto() {
|
||||
pkgdesc="Crypto library from openssl"
|
||||
|
||||
replaces="libressl2.7-libcrypto"
|
||||
mv "$pkgdir"/etc "$subpkgdir"
|
||||
mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib
|
||||
for i in "$pkgdir"/usr/lib/libcrypto*; do
|
||||
mv $i "$subpkgdir"/lib/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user