mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
main/lftp: upgrade to 4.8.0
This commit is contained in:
parent
ec8202429c
commit
7d57403d03
@ -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"
|
||||
|
||||
16
main/lftp/libressl.patch
Normal file
16
main/lftp/libressl.patch
Normal file
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user