56d802eefb
Tue Dec 09 2003 Nalin Dahyabhai <nalin@redhat.com> 2.4.9-2 - include patch based on patch from Ulf Härnhammar to fix unsafe use of sscanf when reading http directory listings (CAN-2003-0963)
132 lines
3.7 KiB
RPMSpec
132 lines
3.7 KiB
RPMSpec
Summary: A sophisticated file transfer program
|
|
Name: lftp
|
|
Version: 2.4.9
|
|
Release: 2
|
|
License: GPL
|
|
Group: Applications/Internet
|
|
Source0: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2
|
|
Patch0: lftp-2.6.9-ulf.patch
|
|
URL: http://lftp.yar.ru/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildPrereq: ncurses-devel, openssl-devel, readline-devel
|
|
|
|
%description
|
|
LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job
|
|
control and uses the readline library for input. It has bookmarks, built-in
|
|
mirroring, and can transfer several files in parallel. It is designed with
|
|
reliability in mind.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1 -b .ulf
|
|
|
|
%build
|
|
LDFLAGS=-L`pwd`/src/.libs ; export LDFLAGS
|
|
%configure --with-modules
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/*
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%doc BUGS COPYING ChangeLog FAQ FEATURES README* NEWS THANKS TODO
|
|
%config %{_sysconfdir}/lftp.conf
|
|
%{_bindir}/*
|
|
%{_mandir}/*/*
|
|
%{_datadir}/lftp
|
|
%dir %{_libdir}/lftp
|
|
%dir %{_libdir}/lftp/%{version}
|
|
%{_libdir}/lftp/%{version}/cmd-mirror.so
|
|
%{_libdir}/lftp/%{version}/cmd-sleep.so
|
|
%{_libdir}/lftp/%{version}/libnetwork.so
|
|
%{_libdir}/lftp/%{version}/proto-file.so
|
|
%{_libdir}/lftp/%{version}/proto-ftp.so
|
|
%{_libdir}/lftp/%{version}/proto-http.so
|
|
|
|
%changelog
|
|
* Tue Dec 9 2003 Nalin Dahyabhai <nalin@redhat.com> 2.4.9-2
|
|
- include patch based on patch from Ulf Härnhammar to fix unsafe use of
|
|
sscanf when reading http directory listings (CAN-2003-0963)
|
|
|
|
* Fri Feb 22 2002 Nalin Dahyabhai <nalin@redhat.com> 2.4.9-1
|
|
- update to 2.4.9-1
|
|
|
|
* Mon Jan 23 2002 Nalin Dahyabhai <nalin@redhat.com> 2.4.8-1
|
|
- update to 2.4.8-1
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 2.4.0-3
|
|
- automated rebuild
|
|
|
|
* Thu Aug 16 2001 Nalin Dahyabhai <nalin@redhat.com> 2.4.0-2
|
|
- remove the .la files from the final package -- these aren't libraries
|
|
people link with anyway
|
|
|
|
* Mon Aug 6 2001 Nalin Dahyabhai <nalin@redhat.com> 2.4.0-1
|
|
- update to 2.4.0 (fixes some memory leaks and globbing cases)
|
|
|
|
* Thu Jul 5 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
- langify
|
|
|
|
* Fri Jun 29 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
- explicitly list the modules which are built when the package compiles, so
|
|
that module build failures (for whatever reason) get caught
|
|
|
|
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
- merge in changes from ja .spec file
|
|
|
|
* Wed May 30 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
- update to 2.3.11
|
|
|
|
* Fri Apr 27 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
- update to 2.3.9
|
|
|
|
* Fri Mar 2 2001 Tim Powers <timp@redhat.com>
|
|
- rebuilt against openssl-0.9.6-1
|
|
|
|
* Fri Jan 19 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
- update to 2.3.7
|
|
|
|
* Thu Jan 4 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
- update to 2.3.6
|
|
|
|
* Fri Dec 1 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
- update to 2.3.5
|
|
|
|
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
|
|
- rebuilt
|
|
|
|
* Thu Jul 13 2000 Tim Powers <timp@redhat.com>
|
|
- patched to build with gcc-2.96
|
|
- use gcc instead of c++ for CXX, otherwise you expose an ICE in gcc when
|
|
using g++ on two files, one being a C++ source, and the other a C source.
|
|
Using gcc does the correct thing.
|
|
|
|
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
|
|
- rebuilt
|
|
|
|
* Thu Jun 8 2000 Tim Powers <timp@redhat.com>
|
|
- fix man page location
|
|
- use %%makeinstall
|
|
- use predefined macros wherever possible
|
|
|
|
* Mon May 15 2000 Tim Powers <timp@redhat.com>
|
|
- updated to 2.2.2
|
|
- added locales tofiles list
|
|
- built for 7.0
|
|
|
|
* Thu Jan 27 2000 Tim Powers <timp@redhat.com>
|
|
- fixed package description etc.
|
|
|
|
* Fri Jan 21 2000 Tim Powers <timp@redhat.com>
|
|
- ughh. didn't include /usr/lib/lftp in files list, fixed
|
|
|
|
* Thu Jan 13 2000 Tim Powers <timp@redhat.com>
|
|
- initial build for Powertools
|