[lftp] updated to latest upstream 4.3.8

Jiri Skala jskala at fedoraproject.org
Sun Jul 22 19:38:30 UTC 2012


commit 1c276b5317ec43f27b91836e77c48f0946065bc9
Author: Jiri Skala <jskala at skalnik-nb.(none)>
Date:   Sun Jul 22 21:38:27 2012 +0200

    updated to latest upstream 4.3.8

 lftp-4.2.0-man.patch  |    4 ++--
 lftp-4.3.8-gets.patch |   16 ++++++++++++++++
 lftp.spec             |    9 +++++++--
 sources               |    2 +-
 4 files changed, 26 insertions(+), 5 deletions(-)
---
diff --git a/lftp-4.2.0-man.patch b/lftp-4.2.0-man.patch
index e5cdb91..d3432d2 100644
--- a/lftp-4.2.0-man.patch
+++ b/lftp-4.2.0-man.patch
@@ -9,7 +9,7 @@ diff -up lftp-4.3.3/doc/lftp.1.man lftp-4.3.3/doc/lftp.1
  .\" This file is part of lftp.
  .\"
 @@ -61,28 +61,28 @@ lftp \- Sophisticated file transfer prog
- This man page documents lftp version 4.3.6.
+ This man page documents lftp version 4.3.8.
  
  .SH "DESCRIPTION"
 -\fBlftp\fR is a file transfer program that allows sophisticated ftp, http
@@ -276,7 +276,7 @@ diff -up lftp-4.3.3/doc/lftp.1.man lftp-4.3.3/doc/lftp.1
 +environment variable \fBhttp_proxy\fP.  If your FTP proxy
  requires authentication, specify user name and password in the URL.
  .TP
- .BR hftp:use-authorization \ (boolean)
+ .BR hftp:use-allprop \ (boolean)
 @@ -1583,23 +1583,23 @@ send this cookie to server. A closure is
       set cookie/www.somehost.com "param=value"
  .TP
diff --git a/lftp-4.3.8-gets.patch b/lftp-4.3.8-gets.patch
new file mode 100644
index 0000000..d4a1180
--- /dev/null
+++ b/lftp-4.3.8-gets.patch
@@ -0,0 +1,16 @@
+diff -up lftp-4.3.8/lib/stdio.in.h.gets lftp-4.3.8/lib/stdio.in.h
+--- lftp-4.3.8/lib/stdio.in.h.gets	2012-07-22 15:07:15.101115146 -0400
++++ lftp-4.3.8/lib/stdio.in.h	2012-07-22 15:08:09.777098512 -0400
+@@ -702,10 +702,12 @@ _GL_WARN_ON_USE (getline, "getline is un
+ /* It is very rare that the developer ever has full control of stdin,
+    so any use of gets warrants an unconditional warning; besides, C11
+    removed it.  */
++#if defined gets
+ #undef gets
+ #if HAVE_RAW_DECL_GETS
+ _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
++#endif // if defined gets
+ 
+ 
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
diff --git a/lftp.spec b/lftp.spec
index bc6842a..5ff1d4f 100644
--- a/lftp.spec
+++ b/lftp.spec
@@ -1,7 +1,7 @@
 Summary:	A sophisticated file transfer program
 Name:		lftp
-Version:	4.3.7
-Release:	2%{?dist}
+Version:	4.3.8
+Release:	1%{?dist}
 License:	GPLv3+
 Group:		Applications/Internet
 Source0:	ftp://ftp.yar.ru/lftp/lftp-%{version}.tar.xz
@@ -11,6 +11,7 @@ BuildRequires:	ncurses-devel, gnutls-devel, pkgconfig, readline-devel, gettext
 
 Patch1:  lftp-4.0.9-date_fmt.patch
 Patch2:  lftp-4.2.0-man.patch
+Patch3:  lftp-4.3.8-gets.patch
 
 %description
 LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job
@@ -32,6 +33,7 @@ Utility scripts for use with lftp.
 
 %patch1 -p1 -b .date_fmt
 %patch2 -p1 -b .man
+%patch3 -p1 -b .gets
 
 #sed -i.rpath -e '/lftp_cv_openssl/s|-R.*lib||' configure
 sed -i.norpath -e \
@@ -94,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Jul 21 2012 Jiri Skala <jskala at redhat.com> - 4.3.8-1
+- updated to latest upstream 4.3.8
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.3.7-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 84bf9e1..3e5dfc9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-df7c928644866712ad8fc1677f42fc30  lftp-4.3.7.tar.xz
+a8a7629913fe635f35dc37f753f12db6  lftp-4.3.8.tar.xz


More information about the scm-commits mailing list