From 7fce99116108b5fe5cde8822ee39e7fc2d22ece1 Mon Sep 17 00:00:00 2001 From: jvdias Date: Tue, 18 Oct 2005 16:51:43 +0000 Subject: [PATCH] fix bug 171096 --- lftp.spec | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/lftp.spec b/lftp.spec index 485628a..c87c712 100644 --- a/lftp.spec +++ b/lftp.spec @@ -1,13 +1,12 @@ Summary: A sophisticated file transfer program Name: lftp -Version: 3.3.1 +Version: 3.3.2 Release: 1 License: GPL Group: Applications/Internet -Source0: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.gz -#Source1: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2.asc -#Source2: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-1.3.tar.gz -Source2: String-CRC32-1.3.tar.gz +Source0: http://ftp.yars.free.net/lftp/lftp-3.3.1.tar.gz +Source1: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-1.3.tar.gz +Source2: http://ftp.yars.free.net/lftp/lftp-3.3.1-3.3.2.diff.gz URL: http://lftp.yar.ru/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildPrereq: ncurses-devel, openssl-devel, pkgconfig, readline-devel, perl @@ -20,7 +19,9 @@ mirroring, and can transfer several files in parallel. It is designed with reliability in mind. %prep -%setup -q +%setup -q -n lftp-3.3.1 +gunzip < %SOURCE2 > lftp-3.3.1-3.3.2.patch +patch -p1 -b --suffix=.3.3.2 -s < lftp-3.3.1-3.3.2.patch %build if pkg-config openssl ; then @@ -31,7 +32,7 @@ LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"; export LDFLAGS %configure --with-modules --disable-static --with-ssl --with-debug export tagname=CC make LIBTOOL=%{_bindir}/libtool -gunzip < %SOURCE2 | tar -xpf - +gunzip < %SOURCE1 | tar -xpf - pushd String-CRC32-1.3 CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} < /dev/null make OPTIMIZE="$RPM_OPT_FLAGS" @@ -84,10 +85,19 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/lftp/%{version}/proto-sftp.so %changelog -* Sat Oct 15 2005 Florian La Roche +* Tue Oct 18 2005 Jason Vas Dias - 3.3.2-1 +- *** PLEASE COULD ANYONE MODIFYING lftp TEST IT BEFORE SUBMITTING! *** + (and preferably contact me first - thank you!) + bug 171096 : 'mget files in lftp causes abort' (core dump actually) + resulted from not doing so . + See http://lftp.yar.ru: + Recent events: + 2005-10-17: lftp-3.3.2 released. Fixed a coredump caused by double-free. + +* Sat Oct 15 2005 Florian La Roche - 3.3.1-1 - 3.3.1 -* Wed Aug 24 2005 Jason Vas Dias 3.3.0-1 +* Wed Aug 24 2005 Jason Vas Dias - 3.3.0-1 - Upgrade to upstream version 3.3.0 * Mon Aug 8 2005 Tomas Mraz - 3.2.1-2