diff options
-rw-r--r-- | main/openssl/APKBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/main/openssl/APKBUILD b/main/openssl/APKBUILD index 93b48c8792..965e846792 100644 --- a/main/openssl/APKBUILD +++ b/main/openssl/APKBUILD @@ -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/ |