lftp: update to 4.9.2.
This commit is contained in:
parent
b7939b520d
commit
9f8518b508
2 changed files with 33 additions and 4 deletions
|
@ -0,0 +1,29 @@
|
||||||
|
From d98d1b76e74948d9c7f966f9c52561a304050afb Mon Sep 17 00:00:00 2001
|
||||||
|
From: Anthony Iliopoulos <ailiop@altatus.com>
|
||||||
|
Date: Sun, 13 Sep 2020 12:27:12 +0200
|
||||||
|
Subject: [PATCH] lftp/ssl: unbreak libressl compilation
|
||||||
|
|
||||||
|
Commit 537f3789 ("lftp: fix compilation without deprecated OpenSSL
|
||||||
|
APIs") broke libressl compilation, fix it.
|
||||||
|
|
||||||
|
Signed-off-by: Anthony Iliopoulos <ailiop@altatus.com>
|
||||||
|
---
|
||||||
|
src/lftp_ssl.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git src/lftp_ssl.cc src/lftp_ssl.cc
|
||||||
|
index 14a3b9d4..83cbda1b 100644
|
||||||
|
--- src/lftp_ssl.cc
|
||||||
|
+++ src/lftp_ssl.cc
|
||||||
|
@@ -34,7 +34,7 @@
|
||||||
|
#include "misc.h"
|
||||||
|
#include "network.h"
|
||||||
|
#include "buffer.h"
|
||||||
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
#define X509_STORE_CTX_get_by_subject X509_STORE_get_by_subject
|
||||||
|
#endif
|
||||||
|
extern "C" {
|
||||||
|
--
|
||||||
|
2.28.0
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lftp'
|
# Template file for 'lftp'
|
||||||
pkgname=lftp
|
pkgname=lftp
|
||||||
version=4.9.1
|
version=4.9.2
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-modules --disable-rpath --without-included-regex
|
configure_args="--with-modules --disable-rpath --without-included-regex
|
||||||
--with-openssl i_cv_posix_fallocate_works=yes --with-zlib=${XBPS_CROSS_BASE}/usr
|
--with-openssl i_cv_posix_fallocate_works=yes --with-zlib=${XBPS_CROSS_BASE}/usr
|
||||||
|
@ -10,10 +10,10 @@ hostmakedepends="pkg-config"
|
||||||
makedepends="zlib-devel ncurses-devel readline-devel libressl-devel
|
makedepends="zlib-devel ncurses-devel readline-devel libressl-devel
|
||||||
expat-devel libidn-devel gettext-devel"
|
expat-devel libidn-devel gettext-devel"
|
||||||
short_desc="Sophisticated FTP/HTTP client"
|
short_desc="Sophisticated FTP/HTTP client"
|
||||||
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://lftp.yar.ru/"
|
homepage="https://lftp.yar.ru/"
|
||||||
distfiles="http://lftp.yar.ru/ftp/lftp-${version}.tar.xz"
|
distfiles="http://lftp.yar.ru/ftp/lftp-${version}.tar.xz"
|
||||||
checksum=5969fcaefd102955dd882f3bcd8962198bc537224749ed92f206f415207a024b
|
checksum=c517c4f4f9c39bd415d7313088a2b1e313b2d386867fe40b7692b83a20f0670d
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
conf_files="/etc/lftp.conf"
|
conf_files="/etc/lftp.conf"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue