lftp: update to 4.5.5.

This commit is contained in:
Christian Neukirchen 2014-09-09 22:02:47 +02:00
parent 82fa213b2f
commit d10abe96e0
3 changed files with 27 additions and 16 deletions

View file

@ -1,12 +0,0 @@
--- lib/stdio.in.h.orig 2012-07-04 16:33:38.435152864 +0200
+++ lib/stdio.in.h 2012-07-04 16:33:55.468744741 +0200
@@ -703,9 +703,6 @@ _GL_WARN_ON_USE (getline, "getline is un
so any use of gets warrants an unconditional warning; besides, C11
removed it. */
#undef gets
-#if HAVE_RAW_DECL_GETS
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-#endif
#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@

View file

@ -0,0 +1,22 @@
--- m4/ssl.m4.orig 2014-09-09 21:46:51.073104613 +0200
+++ m4/ssl.m4 2014-09-09 21:47:09.448104838 +0200
@@ -16,7 +16,7 @@
AC_TRY_LINK(
[#include <openssl/ssl.h>
#include <openssl/rand.h>],
- [static SSL_CTX *ctx; SSL_new(ctx); RAND_status(); RAND_egd("file")],
+ [static SSL_CTX *ctx; SSL_new(ctx); RAND_status();],
[found_loc="$loc"])
LIBS="$old_LIBS"
LDFLAGS="$old_LDFLAGS"
--- src/lftp_ssl.cc.orig 2014-09-09 21:52:42.747108921 +0200
+++ src/lftp_ssl.cc 2014-09-09 21:54:39.347110350 +0200
@@ -762,8 +762,6 @@
#endif
RAND_file_name(file,sizeof(file));
- if(RAND_egd(file)>0)
- return;
if(RAND_load_file(file,-1) && RAND_status()!=0)
atexit(lftp_ssl_write_rnd);

View file

@ -1,20 +1,21 @@
# Template file for 'lftp'
pkgname=lftp
version=4.5.4
version=4.5.5
revision=1
lib32disabled=yes
build_style=gnu-configure
configure_args="--with-modules --disable-rpath --without-included-regex
--with-openssl i_cv_posix_fallocate_works=yes"
--with-openssl --with-libidn i_cv_posix_fallocate_works=yes"
hostmakedepends="automake libtool pkg-config"
makedepends="zlib-devel ncurses-devel readline-devel>=6.3 libressl-devel expat-devel"
makedepends="zlib-devel ncurses-devel readline-devel>=6.3 libressl-devel
expat-devel libidn-devel"
conf_files="/etc/lftp.conf"
short_desc="Sophisticated FTP/HTTP client"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://lftp.yar.ru/"
license="GPL-3"
distfiles="http://lftp.yar.ru/ftp/lftp-${version}.tar.xz"
checksum=3f60f5a97a3a12fce6c06afcb1a47e6c474a24b6d97d41c2f17c0e9a5c650c4f
checksum=a25d768aa78e0a8d0a2e89eeeae9185793d94ccd9e998a50f79ee8f9d69411d3
pre_configure() {
autoreconf -fi