aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-08 13:39:09 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-08 13:56:31 +0200
commit56c7a6d7971e769c3dbec1bf8a8ef3021e34d654 (patch)
tree307ebbea6a4dee22837d98f89e1881b7ff9bb1b0
parent2a0feee39134d45699f08e45057e5ca832938ba1 (diff)
downloadaports-56c7a6d7971e769c3dbec1bf8a8ef3021e34d654.tar.bz2
aports-56c7a6d7971e769c3dbec1bf8a8ef3021e34d654.tar.xz
main/openssl: improve abuild, fix url and license
-rw-r--r--main/openssl/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/main/openssl/APKBUILD b/main/openssl/APKBUILD
index c446584683..91c9d2312e 100644
--- a/main/openssl/APKBUILD
+++ b/main/openssl/APKBUILD
@@ -3,18 +3,15 @@ pkgname=openssl
pkgver=1.0.2o
pkgrel=1
pkgdesc="Toolkit for SSL v2/v3 and TLS v1"
-url="http://openssl.org"
-depends=
+url="https://www.openssl.org"
+arch="all"
+license="OpenSSL"
+depends_dev="zlib-dev"
makedepends_build="perl"
makedepends_host="zlib-dev"
makedepends="$makedepends_host $makedepends_build"
-depends_dev="zlib-dev"
-arch="all"
-license="openssl"
-
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc libcrypto1.0:libcrypto libssl1.0:libssl"
-
-source="http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz
+source="http://www.openssl.org/source/$pkgname-$pkgver.tar.gz
0002-busybox-basename.patch
0003-use-termios.patch
0004-fix-default-ca-path-for-apps.patch
@@ -28,6 +25,7 @@ source="http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz
1003-engines-e_padlock-implement-sha1-sha224-sha256-accel.patch
CVE-2018-0732.patch
"
+builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
# 1.0.2h-r0:
@@ -65,8 +63,6 @@ source="http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz
# 1.0.2o-r1:
# - CVE-2018-0732
-builddir="$srcdir"/$pkgname-$pkgver
-
build() {
local _target _optflags
cd "$builddir"