fix bug 171096
This commit is contained in:
parent
99b312dec8
commit
7fce991161
28
lftp.spec
28
lftp.spec
@ -1,13 +1,12 @@
|
|||||||
Summary: A sophisticated file transfer program
|
Summary: A sophisticated file transfer program
|
||||||
Name: lftp
|
Name: lftp
|
||||||
Version: 3.3.1
|
Version: 3.3.2
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Source0: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.gz
|
Source0: http://ftp.yars.free.net/lftp/lftp-3.3.1.tar.gz
|
||||||
#Source1: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2.asc
|
Source1: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-1.3.tar.gz
|
||||||
#Source2: 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
|
||||||
Source2: String-CRC32-1.3.tar.gz
|
|
||||||
URL: http://lftp.yar.ru/
|
URL: http://lftp.yar.ru/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildPrereq: ncurses-devel, openssl-devel, pkgconfig, readline-devel, perl
|
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.
|
reliability in mind.
|
||||||
|
|
||||||
%prep
|
%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
|
%build
|
||||||
if pkg-config openssl ; then
|
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
|
%configure --with-modules --disable-static --with-ssl --with-debug
|
||||||
export tagname=CC
|
export tagname=CC
|
||||||
make LIBTOOL=%{_bindir}/libtool
|
make LIBTOOL=%{_bindir}/libtool
|
||||||
gunzip < %SOURCE2 | tar -xpf -
|
gunzip < %SOURCE1 | tar -xpf -
|
||||||
pushd String-CRC32-1.3
|
pushd String-CRC32-1.3
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} < /dev/null
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} < /dev/null
|
||||||
make OPTIMIZE="$RPM_OPT_FLAGS"
|
make OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
@ -84,10 +85,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/lftp/%{version}/proto-sftp.so
|
%{_libdir}/lftp/%{version}/proto-sftp.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
|
* Tue Oct 18 2005 Jason Vas Dias <jvdias@redhat.com> - 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 <laroche@redhat.com> - 3.3.1-1
|
||||||
- 3.3.1
|
- 3.3.1
|
||||||
|
|
||||||
* Wed Aug 24 2005 Jason Vas Dias <jvdias@redhat.com> 3.3.0-1
|
* Wed Aug 24 2005 Jason Vas Dias <jvdias@redhat.com> - 3.3.0-1
|
||||||
- Upgrade to upstream version 3.3.0
|
- Upgrade to upstream version 3.3.0
|
||||||
|
|
||||||
* Mon Aug 8 2005 Tomas Mraz <tmraz@redhat.com> - 3.2.1-2
|
* Mon Aug 8 2005 Tomas Mraz <tmraz@redhat.com> - 3.2.1-2
|
||||||
|
Loading…
Reference in New Issue
Block a user