Summary: A sophisticated file transfer program Name: lftp Version: 3.6.1 Release: 2%{?dist} License: GPLv2+ Group: Applications/Internet Source0: ftp://ftp.yar.ru/lftp/lftp-%{version}.tar.gz URL: http://lftp.yar.ru/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ncurses-devel, openssl-devel, pkgconfig, readline-devel, gettext Patch1: lftp-3.5.14-progress_overflow.patch Patch2: lftp-3.6.1-empty_argument.patch %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 %patch1 -p1 -b .progress_overflow %patch2 -p1 -b .empty_argument %build if pkg-config openssl ; then CPPFLAGS=`pkg-config --cflags openssl`; export CPPFLAGS LDFLAGS=`pkg-config --libs-only-L openssl`; export LDFLAGS fi %configure --with-modules --disable-static --with-openssl=/usr --with-debug --disable-rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool export tagname=CC make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export tagname=CC make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.la chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/* chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.so iconv -f ISO88591 -t UTF8 NEWS -o NEWS.tmp touch -r NEWS NEWS.tmp mv -f NEWS.tmp NEWS mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d echo "%{_libdir}/lftp/%{version}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf # Remove files from $RPM_BUILD_ROOT that we aren't shipping. rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/liblftp-jobs.*a rm -f $RPM_BUILD_ROOT%{_libdir}/liblftp-tasks.*a rm -f $RPM_BUILD_ROOT%{_libdir}/liblftp-*.so %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %doc BUGS COPYING ChangeLog FAQ FEATURES README* NEWS THANKS TODO %config(noreplace) %{_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}/liblftp-network.so %{_libdir}/lftp/%{version}/liblftp-pty.so %{_libdir}/lftp/%{version}/proto-file.so %{_libdir}/lftp/%{version}/proto-fish.so %{_libdir}/lftp/%{version}/proto-ftp.so %{_libdir}/lftp/%{version}/proto-http.so %{_libdir}/lftp/%{version}/proto-sftp.so %{_libdir}/lftp/%{version}/liblftp-getdate.so %{_libdir}/liblftp-jobs* %{_libdir}/liblftp-tasks* %config /etc/ld.so.conf.d/* %changelog * Tue Feb 12 2008 Martin Nagy - 3.6.1-2 - fix library paths (#432468) * Mon Feb 11 2008 Martin Nagy - 3.6.1-1 - upgrade to upstream version 3.6.1 - remove rpath and make some spec file changes for review (#225984) - remove old patches - fix core dumping when html tag has its argument empty - use own libtool * Tue Dec 13 2007 Martin Nagy - 3.5.14-3 - Fixed coredumping when downloading (#414051) * Tue Dec 04 2007 Martin Nagy - 3.5.14-2.1 - rebuild * Mon Sep 17 2007 Maros Barabas - 3.5.14-2 - rebase - deleted symlinks liblftp-jobs.so & liblftp-tasks.so * Thu Sep 06 2007 Maros Barabas - 3.5.10-4 - rebuild * Wed Apr 11 2007 Maros Barabas - 3.5.10-3 - Correct mistake removing devel package & calling chkconfig - Resolves #235436 - Removing automake autoconf - Resolves #225984 * Wed Apr 04 2007 Maros Barabas - 3.5.10-2 - Merge review fix - Resolves #225984 * Wed Apr 04 2007 Maros Barabas - 3.5.10 - Upgrade to 3.5.10 from upstream * Thu Jan 18 2007 Maros Barabas - 3.5.9 - Upgrade to 3.5.9 from upstream * Wed Aug 23 2006 Maros Barabas - 3.5.1-2 - remove .a & .la from libdir * Mon Jul 17 2006 Jason Vas Dias - 3.5.1-1.fc6 - Upgrade to 3.5.1 * Wed Jul 12 2006 Jesse Keating - 3.4.7-2.FC6.1 - rebuild * Mon Jun 12 2006 Jason Vas Dias - 3.4.7-2 - Add BuildRequires for broken Brew * Wed May 31 2006 Jason Vas Dias - 3.4.7-1 - Upgrade to upstream version 3.4.7 * Fri Apr 28 2006 Jason Vas Dias - 3.4.6-1 - Upgrade to upstream version 3.4.6 * Fri Apr 21 2006 Jason Vas Dias - 3.4.4-1 - Upgrade to upstream version 3.4.4 * Thu Mar 16 2006 Jason Vas Dias - 3.4.3-1 - Upgrade to upstream version 3.4.3 * Fri Mar 10 2006 Bill Nottingham - 3.4.2-5 - rebuild for ppc TLS issue (#184446) * Thu Feb 16 2006 Jason Vas Dias - 3.4.2-4 - Apply upstream fix for bug 181694. * Wed Feb 15 2006 Jason Vas Dias - 3.4.2-2 - fix bug 181694: segfault on redirection to non-existent location * Fri Feb 10 2006 Jesse Keating - 3.4.2-1.1 - bump again for double-long bug on ppc(64) * Wed Feb 08 2006 Jason Vas Dias - 3.4.2-1 - Upgrade to upstream version 3.4.2, that fixes 3.4.1's coredump * Tue Feb 07 2006 Jason Vas Dias - 3.4.1-1 - Upgrade to upstream version 3.4.1 - fix core dump * Fri Jan 13 2006 Jason Vas Dias - 3.4.0-1 - Upgrade to upstream version 3.4.0 * Wed Dec 21 2005 Jason Vas Dias - 3.3.5-4 - fix bug 176315: openssl libraries not being picked up - gnutls was instead - improvements to bug 172376 fix * Tue Dec 20 2005 Jason Vas Dias - 3.3.5-2 - fix bug 176175: perl-String-CRC32 now in separate RPM * Thu Dec 15 2005 Jason Vas Dias - 3.3.5-1 - Upgrade to version 3.3.5 - fix bug bz172376 : host lookups should use any address found after timeout * Fri Dec 09 2005 Jesse Keating - rebuilt * Fri Nov 11 2005 Jason Vas Dias - 3.3.3-1 - Upgrade to upstream 3.3.3 release, fixing bug 171884 . * Tue Oct 18 2005 Jason Vas Dias - 3.3.2-1 - *** PLEASE COULD ANYONE MODIFYING lftp TEST IT BEFORE SUBMITTING! *** (and preferably contact the lftp package maintainer (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 - Upgrade to upstream version 3.3.0 * Mon Aug 8 2005 Tomas Mraz - 3.2.1-2 - rebuild with new gnutls * Thu Jun 30 2005 Warren Togami 3.2.1-1 - 3.2.1 * Mon Apr 25 2005 Jason Vas Dias 3.1.3-1 - Upgrade to upstream version 3.1.3 * Tue Mar 8 2005 Jason Vas Dias 3.1.0-1 - Upgrade to upstream verson 3.1.0; remove patch for broken libtool * Tue Mar 8 2005 Joe Orton 3.0.13-2 - rebuild * Fri Jan 21 2005 Jason Vas Dias 3.0.13-1 - Upgrade to upstream version 3.0.13 . * Wed Jan 12 2005 Tim Waugh 3.0.6-4 - Rebuilt for new readline. * Mon Oct 18 2004 Jason Vas Dias 3.0.6-3 - rebuilding for current FC3 glibc fixes bug 136109 * Mon Aug 16 2004 Nalin Dahyabhai 3.0.6-2 - rebuild * Tue Jun 15 2004 Nalin Dahyabhai 3.0.6-1 - update to 3.0.6 * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Mar 12 2004 Nalin Dahyabhai 2.6.12-1 - update to 2.6.12 * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Tue Dec 16 2003 Nalin Dahyabhai 2.6.10-3 - add patch to avoid DoS when connecting to HTTP servers (or "HTTP" "servers") which don't provide status headers, or provide empty lines instead of status headers * Fri Dec 12 2003 Nalin Dahyabhai 2.6.10-2 - rebuild * Fri Dec 12 2003 Nalin Dahyabhai 2.6.10-1 - update to 2.6.10, which folds in the previous patches - configure with --with-debug so that we get useful debug info * Tue Dec 9 2003 Nalin Dahyabhai 2.6.9-1 - include patch based on patch from Ulf Härnhammar to fix unsafe use of sscanf when reading http directory listings (CAN-2003-0963) - include patch based on patch from Ulf Härnhammar to fix compile warnings modified based on input from Solar Designer * Mon Dec 8 2003 Nalin Dahyabhai - update to 2.6.9 * Wed Aug 6 2003 Elliot Lee - Fix libtool * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Tue Jan 7 2003 Nalin Dahyabhai 2.6.3-2 - rebuild * Thu Dec 12 2002 Nalin Dahyabhai - use openssl's pkg-config data, if available * Thu Nov 14 2002 Nalin Dahyabhai 2.6.3-1 - update to 2.6.3 * Tue Nov 12 2002 Tim Powers 2.6.2-2 - remove files we aren't including from the $$RPM_BUILD_ROOT * Fri Oct 4 2002 Nalin Dahyabhai 2.6.2-1 - build with the system's libtool * Thu Sep 26 2002 Nalin Dahyabhai - update to 2.6.2 * Sat Aug 10 2002 Elliot Lee - rebuilt with gcc-3.2 (we hope) * Tue Jul 23 2002 Tim Powers 2.5.2-4 - build using gcc-3.2-0.1 * Fri Jun 21 2002 Tim Powers 2.5.2-3 - automated rebuild * Sun May 26 2002 Tim Powers 2.5.2-2 - automated rebuild * Fri May 17 2002 Nalin Dahyabhai 2.5.2-1 - update to 2.5.2 * Fri Feb 22 2002 Nalin Dahyabhai 2.4.9-1 - update to 2.4.9 * Mon Jan 23 2002 Nalin Dahyabhai 2.4.8-1 - update to 2.4.8 * Wed Jan 09 2002 Tim Powers 2.4.0-3 - automated rebuild * Thu Aug 16 2001 Nalin Dahyabhai 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 2.4.0-1 - update to 2.4.0 (fixes some memory leaks and globbing cases) * Thu Jul 5 2001 Nalin Dahyabhai - langify * Fri Jun 29 2001 Nalin Dahyabhai - 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 - merge in changes from ja .spec file * Wed May 30 2001 Nalin Dahyabhai - update to 2.3.11 * Fri Apr 27 2001 Nalin Dahyabhai - update to 2.3.9 * Fri Mar 2 2001 Tim Powers - rebuilt against openssl-0.9.6-1 * Fri Jan 19 2001 Nalin Dahyabhai - update to 2.3.7 * Thu Jan 4 2001 Nalin Dahyabhai - update to 2.3.6 * Fri Dec 1 2000 Nalin Dahyabhai - update to 2.3.5 * Mon Jul 24 2000 Prospector - rebuilt * Thu Jul 13 2000 Tim Powers - 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 - rebuilt * Thu Jun 8 2000 Tim Powers - fix man page location - use %%makeinstall - use predefined macros wherever possible * Mon May 15 2000 Tim Powers - updated to 2.2.2 - added locales tofiles list - built for 7.0 * Thu Jan 27 2000 Tim Powers - fixed package description etc. * Fri Jan 21 2000 Tim Powers - ughh. didn't include /usr/lib/lftp in files list, fixed * Thu Jan 13 2000 Tim Powers - initial build for Powertools