aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-10-30 15:56:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-07 16:46:11 +0000
commit9e8bd998faeb5bb649eff158cb3578ee72aa48b0 (patch)
tree539dfc19443b26f72b0f5aa8509ca2dbe3084d1d
parentf1119b54fd75c84ffc49276de18427595cd1bf55 (diff)
downloadaports-9e8bd998faeb5bb649eff158cb3578ee72aa48b0.tar.gz
aports-9e8bd998faeb5bb649eff158cb3578ee72aa48b0.tar.bz2
aports-9e8bd998faeb5bb649eff158cb3578ee72aa48b0.tar.xz
main/tcl-tls: rebuild against openssl 1.1
-rw-r--r--main/tcl-tls/APKBUILD34
1 files changed, 11 insertions, 23 deletions
diff --git a/main/tcl-tls/APKBUILD b/main/tcl-tls/APKBUILD
index 1bd90d67c9..18f97c9ea3 100644
--- a/main/tcl-tls/APKBUILD
+++ b/main/tcl-tls/APKBUILD
@@ -1,33 +1,23 @@
# Contributor: Emmanuel Frecon <efrecon@gmail.com>
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tcl-tls
-pkgver=1.7.10
-pkgrel=3
+pkgver=1.7.16
+pkgrel=0
pkgdesc="OpenSSL extension to Tcl"
url="https://core.tcl.tk/tcltls/"
arch="all"
license="BSD"
depends=""
-depends_dev="tcl-dev libressl-dev"
+depends_dev="tcl-dev openssl-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="https://core.tcl.tk/tcltls/uv/tcltls-$pkgver.tar.gz"
-_builddir="$srcdir/tcltls-${pkgver}"
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/tcltls-${pkgver}"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -37,15 +27,13 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-shared \
- || return 1
- make || return 1
+ --with-ssl-dir=/usr
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="9224bca960827a95809cd4c0238af8a7 tcltls-1.7.10.tar.gz"
-sha256sums="124fe08f782b95ac688c983c65e2e66c6cc1235bfa36fd55ff6db4ef45c6b1f3 tcltls-1.7.10.tar.gz"
-sha512sums="90ed8dab651dd1dc455086d86b913ce4200a7eb6425bc3c021331b45f3279c226733b74d8cf27946bc58332881046053d9a95538d46fcac8215c2faefa5e86e3 tcltls-1.7.10.tar.gz"
+sha512sums="f63b885dbfaec5d9ae811c126bd0ff253787effd7b053282b9ee566e9fae54df940bc058a6c3dd22e31fcb9ec6ae1b286aa40efd69c3f01f5a3014aada730ab1 tcltls-1.7.16.tar.gz"