aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openssl/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-10-24 15:42:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-10-24 15:42:47 +0000
commited1250b185801376f3fd3d1f868c07b92f87f3ab (patch)
treeb7b2eee859ab725718681a92066cbf2c878822ea /testing/openssl/APKBUILD
parentf446c320a5836b906dae626c31a4cbb508aa8b67 (diff)
downloadaports-ed1250b185801376f3fd3d1f868c07b92f87f3ab.tar.gz
aports-ed1250b185801376f3fd3d1f868c07b92f87f3ab.tar.bz2
aports-ed1250b185801376f3fd3d1f868c07b92f87f3ab.tar.xz
testing/openssl: merge with testing/openssl1.1
Diffstat (limited to 'testing/openssl/APKBUILD')
-rw-r--r--testing/openssl/APKBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/testing/openssl/APKBUILD b/testing/openssl/APKBUILD
index dfbadc1541..5e689b3a67 100644
--- a/testing/openssl/APKBUILD
+++ b/testing/openssl/APKBUILD
@@ -2,7 +2,7 @@
pkgname=openssl
pkgver=1.1.1
_abiver=${pkgver%.*}
-pkgrel=0
+pkgrel=1
pkgdesc="Toolkit for SSL v2/v3 and TLS v1"
url="https://www.openssl.org"
arch="all"
@@ -11,10 +11,10 @@ depends_dev="zlib-dev"
makedepends_build="perl"
makedepends_host="zlib-dev linux-headers"
makedepends="$makedepends_host $makedepends_build"
-subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc libcrypto$_abiver:libcrypto libssl$_abiver:libssl"
-source="http://www.openssl.org/source/$pkgname-$pkgver.tar.gz
+subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc libcrypto$_abiver:_libcrypto libssl$_abiver:_libssl"
+source="https://www.openssl.org/source/openssl-$pkgver.tar.gz
"
-builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/openssl-$pkgver"
build() {
local _target _optflags
@@ -43,10 +43,9 @@ build() {
perl ./Configure $_target --prefix=/usr \
--libdir=lib \
--openssldir=/etc/ssl \
- shared zlib enable-md2 $_optflags \
- -DOPENSSL_NO_BUF_FREELISTS \
- $CPPFLAGS $CFLAGS $LDFLAGS -Wa,--noexecstack \
- no-async no-mdc2 no-ec2m no-sm2 no-sm4 no-ssl2 no-weak-ssl-ciphers
+ shared zlib $_optflags \
+ no-async no-mdc2 no-ec2m no-sm2 no-sm4 no-ssl2 no-weak-ssl-ciphers \
+ $CPPFLAGS $CFLAGS $LDFLAGS -Wa,--noexecstack
make
}
@@ -62,7 +61,7 @@ package() {
rm "$pkgdir"/usr/bin/c_rehash
}
-libcrypto() {
+_libcrypto() {
pkgdesc="Crypto library from openssl"
mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib
@@ -70,10 +69,10 @@ libcrypto() {
mv $i "$subpkgdir"/lib/
ln -s ../../lib/${i##*/} "$subpkgdir"/usr/lib/${i##*/}
done
- mv "$pkgdir"/usr/lib/engines* "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/lib/engines-$_abiver "$subpkgdir"/usr/lib/
}
-libssl() {
+_libssl() {
pkgdesc="SSL shared libraries"
mkdir -p "$subpkgdir"/lib "$subpkgdir"/usr/lib