mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
lftp: update to 4.5.5.
This commit is contained in:
parent
82fa213b2f
commit
d10abe96e0
3 changed files with 27 additions and 16 deletions
|
@ -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@
|
|
22
srcpkgs/lftp/patches/libressl.patch
Normal file
22
srcpkgs/lftp/patches/libressl.patch
Normal 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);
|
|
@ -1,20 +1,21 @@
|
||||||
# Template file for 'lftp'
|
# Template file for 'lftp'
|
||||||
pkgname=lftp
|
pkgname=lftp
|
||||||
version=4.5.4
|
version=4.5.5
|
||||||
revision=1
|
revision=1
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
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-openssl --with-libidn i_cv_posix_fallocate_works=yes"
|
||||||
hostmakedepends="automake libtool pkg-config"
|
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"
|
conf_files="/etc/lftp.conf"
|
||||||
short_desc="Sophisticated FTP/HTTP client"
|
short_desc="Sophisticated FTP/HTTP client"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://lftp.yar.ru/"
|
homepage="http://lftp.yar.ru/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
distfiles="http://lftp.yar.ru/ftp/lftp-${version}.tar.xz"
|
distfiles="http://lftp.yar.ru/ftp/lftp-${version}.tar.xz"
|
||||||
checksum=3f60f5a97a3a12fce6c06afcb1a47e6c474a24b6d97d41c2f17c0e9a5c650c4f
|
checksum=a25d768aa78e0a8d0a2e89eeeae9185793d94ccd9e998a50f79ee8f9d69411d3
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue