aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-07-31 21:57:07 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-08-02 05:45:51 +0000
commit7d57403d035c75ea7ae710afb27ef71fa3bb01f3 (patch)
tree578fdfe9827672c2becb3ae3ae12dddb4364b07b
parentec8202429cd4b2f5e21499ece428c334a9af449a (diff)
downloadaports-7d57403d035c75ea7ae710afb27ef71fa3bb01f3.tar.bz2
aports-7d57403d035c75ea7ae710afb27ef71fa3bb01f3.tar.xz
main/lftp: upgrade to 4.8.0
-rw-r--r--main/lftp/APKBUILD9
-rw-r--r--main/lftp/libressl.patch16
2 files changed, 21 insertions, 4 deletions
diff --git a/main/lftp/APKBUILD b/main/lftp/APKBUILD
index b776989c93..e4a28560f4 100644
--- a/main/lftp/APKBUILD
+++ b/main/lftp/APKBUILD
@@ -2,15 +2,15 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lftp
-pkgver=4.7.7
-pkgrel=3
+pkgver=4.8.0
+pkgrel=0
pkgdesc="LFTP is sophisticated ftp/http client"
url="http://lftp.tech/"
arch="all"
license="GPL"
makedepends="zlib-dev libressl-dev readline-dev ncurses-dev"
subpackages="$pkgname-doc"
-source="http://lftp.yar.ru/ftp/$pkgname-$pkgver.tar.xz"
+source="http://lftp.yar.ru/ftp/$pkgname-$pkgver.tar.xz libressl.patch"
builddir="$srcdir"/$pkgname-$pkgver
@@ -43,4 +43,5 @@ check() {
make check
}
-sha512sums="25bcb5469a6202be500a350078f604a56e68958210fbed72c59b2c4847fb6b2680335bf668a512055d1e1db84069e13ba5c169a6ca2fefdf77ef6416df261ab7 lftp-4.7.7.tar.xz"
+sha512sums="60b437cadbf15479ca1858f2f49d4414e4eb2a2db7af1bb26d82d6ce97652664be8e7c9683c34fb1168ef23950867aea379c3d7705f638bdced392184d890fd4 lftp-4.8.0.tar.xz
+628fa79101eb048dc30a2e833c67ea88fc4860b07e2f3dd2271d968f1053e2a723ca802cde65a6d08aa1e5d38b555fb28d4845830a565e2bf11ecacaf84dcd5b libressl.patch"
diff --git a/main/lftp/libressl.patch b/main/lftp/libressl.patch
new file mode 100644
index 0000000000..37620ff406
--- /dev/null
+++ b/main/lftp/libressl.patch
@@ -0,0 +1,16 @@
+diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc
+index 7da28a06..46344bcf 100644
+--- a/src/lftp_ssl.cc
++++ b/src/lftp_ssl.cc
+@@ -772,7 +772,7 @@ error:
+ #elif USE_OPENSSL
+ //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata);
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ // for compatibility with older versions
+ X509_OBJECT *X509_OBJECT_new()
+ {
+--
+2.13.3
+