From c8d4e3d253cc90d021963b4c4b4ac3a1914256b3 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 12 Jul 2017 14:01:26 +0200 Subject: [PATCH] lftp: update to 4.8.0. --- srcpkgs/lftp/patches/libressl.patch | 11 +++++++++++ srcpkgs/lftp/template | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/lftp/patches/libressl.patch diff --git a/srcpkgs/lftp/patches/libressl.patch b/srcpkgs/lftp/patches/libressl.patch new file mode 100644 index 00000000000..8c05fed2264 --- /dev/null +++ b/srcpkgs/lftp/patches/libressl.patch @@ -0,0 +1,11 @@ +--- src/lftp_ssl.cc.orig ++++ src/lftp_ssl.cc +@@ -772,7 +772,7 @@ + #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() + { diff --git a/srcpkgs/lftp/template b/srcpkgs/lftp/template index 4dfdf1413a8..664e788a8cc 100644 --- a/srcpkgs/lftp/template +++ b/srcpkgs/lftp/template @@ -1,7 +1,7 @@ # Template file for 'lftp' pkgname=lftp -version=4.7.7 -revision=2 +version=4.8.0 +revision=1 lib32disabled=yes build_style=gnu-configure configure_args="--with-modules --disable-rpath --without-included-regex @@ -17,7 +17,7 @@ maintainer="Juan RP " homepage="http://lftp.yar.ru/" license="GPL-3" distfiles="http://lftp.yar.ru/ftp/${pkgname}-${version}.tar.xz" -checksum=4483df04502660dcc65a11cf09d530e31bea99483d69328c1c5cbaa41d6619b4 +checksum=7a2880968088b4aeec43b6b6680fef0e065e1dddcce9b409390157e9766b690f XBPS_FETCH_CMD=wget # checks user-agent, serves html/please donate with xbps