2004-09-09 07:14:42 +00:00
|
|
|
Summary: A sophisticated file transfer program
|
|
|
|
Name: lftp
|
2005-10-15 16:08:52 +00:00
|
|
|
Version: 3.3.1
|
2005-08-24 15:48:48 +00:00
|
|
|
Release: 1
|
2004-09-09 07:14:42 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/Internet
|
2004-09-09 07:18:31 +00:00
|
|
|
Source0: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2
|
2005-10-15 16:08:52 +00:00
|
|
|
#Source1: http://ftp.yars.free.net/pub/software/unix/net/ftp/client/lftp/lftp-%{version}.tar.bz2.asc
|
2005-08-24 19:58:38 +00:00
|
|
|
#Source2: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-1.3.tar.gz
|
|
|
|
Source2: String-CRC32-1.3.tar.gz
|
2004-09-09 07:14:42 +00:00
|
|
|
URL: http://lftp.yar.ru/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2005-08-24 19:58:38 +00:00
|
|
|
BuildPrereq: ncurses-devel, openssl-devel, pkgconfig, readline-devel, perl
|
|
|
|
Provides: perl(String::CRC32), perl-String-CRC32
|
2004-09-09 07:14:42 +00:00
|
|
|
|
|
|
|
%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
|
2004-09-09 07:18:24 +00:00
|
|
|
%setup -q
|
2004-09-09 07:14:42 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 07:17:42 +00:00
|
|
|
if pkg-config openssl ; then
|
|
|
|
CPPFLAGS=`pkg-config --cflags openssl`; export CPPFLAGS
|
|
|
|
LDFLAGS=`pkg-config --libs-only-L openssl`; export LDFLAGS
|
|
|
|
fi
|
|
|
|
LDFLAGS="-L`pwd`/src/.libs $LDFLAGS"; export LDFLAGS
|
2004-09-09 07:18:31 +00:00
|
|
|
%configure --with-modules --disable-static --with-ssl --with-debug
|
2004-09-09 07:18:21 +00:00
|
|
|
export tagname=CC
|
2004-09-09 07:18:24 +00:00
|
|
|
make LIBTOOL=%{_bindir}/libtool
|
2005-08-24 19:58:38 +00:00
|
|
|
gunzip < %SOURCE2 | 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"
|
|
|
|
popd
|
2004-09-09 07:14:42 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 07:18:21 +00:00
|
|
|
export tagname=CC
|
2004-09-09 07:18:24 +00:00
|
|
|
%makeinstall LIBTOOL=%{_bindir}/libtool
|
2004-09-09 07:17:42 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.la
|
2004-09-09 07:14:42 +00:00
|
|
|
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/*
|
2004-09-09 07:17:42 +00:00
|
|
|
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.so
|
|
|
|
# Remove files from $RPM_BUILD_ROOT that we aren't shipping.
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lftp/%{version}/*.a
|
2005-08-24 19:58:38 +00:00
|
|
|
# Build the String::CRC32 module, required by new verify-file script
|
|
|
|
pushd String-CRC32-1.3 >/dev/null 2>&1
|
|
|
|
eval `perl '-V:installarchlib' '-V:installprefix' '-V:installstyle'`
|
|
|
|
perldir=${installprefix}/${installstyle}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT$installarchlib
|
|
|
|
%makeinstall
|
|
|
|
# Remove files from String::CRC32 that could cause problems (from cpanflute2):
|
|
|
|
find $RPM_BUILD_ROOT$perldir -type f -a \( -name perllocal.pod -o -name .packlist \
|
|
|
|
-o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT$perldir -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
popd >/dev/null 2>&1
|
2004-09-09 07:14:42 +00:00
|
|
|
%find_lang %{name}
|
2005-08-24 19:58:38 +00:00
|
|
|
# append String::CRC32 module files onto .lang files list:
|
|
|
|
find $RPM_BUILD_ROOT$perldir -type f | sed "s#$RPM_BUILD_ROOT##" >> %{name}.lang
|
2004-09-09 07:14:42 +00:00
|
|
|
|
|
|
|
%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}
|
2004-09-09 07:14:58 +00:00
|
|
|
%{_libdir}/lftp/%{version}/cmd-mirror.so
|
|
|
|
%{_libdir}/lftp/%{version}/cmd-sleep.so
|
2004-09-09 07:19:57 +00:00
|
|
|
%{_libdir}/lftp/%{version}/liblftp-network.so
|
|
|
|
%{_libdir}/lftp/%{version}/liblftp-pty.so
|
2004-09-09 07:14:58 +00:00
|
|
|
%{_libdir}/lftp/%{version}/proto-file.so
|
2004-09-09 07:16:36 +00:00
|
|
|
%{_libdir}/lftp/%{version}/proto-fish.so
|
2004-09-09 07:14:58 +00:00
|
|
|
%{_libdir}/lftp/%{version}/proto-ftp.so
|
|
|
|
%{_libdir}/lftp/%{version}/proto-http.so
|
2004-09-09 07:19:57 +00:00
|
|
|
%{_libdir}/lftp/%{version}/proto-sftp.so
|
2004-09-09 07:14:42 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-10-15 16:08:52 +00:00
|
|
|
* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
|
|
|
|
- 3.3.1
|
|
|
|
|
2005-08-24 15:48:48 +00:00
|
|
|
* Wed Aug 24 2005 Jason Vas Dias <jvdias@redhat.com> 3.3.0-1
|
|
|
|
- Upgrade to upstream version 3.3.0
|
|
|
|
|
2005-08-08 12:08:04 +00:00
|
|
|
* Mon Aug 8 2005 Tomas Mraz <tmraz@redhat.com> - 3.2.1-2
|
|
|
|
- rebuild with new gnutls
|
|
|
|
|
2005-06-30 05:24:50 +00:00
|
|
|
* Thu Jun 30 2005 Warren Togami <wtogami@redhat.com> 3.2.1-1
|
|
|
|
- 3.2.1
|
|
|
|
|
2005-04-25 18:12:29 +00:00
|
|
|
* Mon Apr 25 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.3-1
|
|
|
|
- Upgrade to upstream version 3.1.3
|
|
|
|
|
2005-03-08 21:16:50 +00:00
|
|
|
* Tue Mar 8 2005 Jason Vas Dias <jvdias@redhat.com> 3.1.0-1
|
|
|
|
- Upgrade to upstream verson 3.1.0; remove patch for broken libtool
|
|
|
|
|
2005-03-08 20:32:36 +00:00
|
|
|
* Tue Mar 8 2005 Joe Orton <jorton@redhat.com> 3.0.13-2
|
|
|
|
- rebuild
|
|
|
|
|
2005-01-22 00:00:51 +00:00
|
|
|
* Fri Jan 21 2005 Jason Vas Dias <jvdias@redhat.com> 3.0.13-1
|
|
|
|
- Upgrade to upstream version 3.0.13 .
|
|
|
|
|
2005-01-12 15:10:34 +00:00
|
|
|
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 3.0.6-4
|
|
|
|
- Rebuilt for new readline.
|
|
|
|
|
2004-10-18 16:21:22 +00:00
|
|
|
* Mon Oct 18 2004 Jason Vas Dias <jvdias@redhat.com> 3.0.6-3
|
|
|
|
- rebuilding for current FC3 glibc fixes bug 136109
|
|
|
|
|
2004-09-09 07:19:57 +00:00
|
|
|
* Mon Aug 16 2004 Nalin Dahyabhai <nalin@redhat.com> 3.0.6-2
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Tue Jun 15 2004 Nalin Dahyabhai <nalin@redhat.com> 3.0.6-1
|
|
|
|
- update to 3.0.6
|
|
|
|
|
2004-09-09 07:19:37 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:19:29 +00:00
|
|
|
* Fri Mar 12 2004 Nalin Dahyabhai <nalin@redhat.com> 2.6.12-1
|
|
|
|
- update to 2.6.12
|
|
|
|
|
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:19:01 +00:00
|
|
|
* Tue Dec 16 2003 Nalin Dahyabhai <nalin@redhat.com> 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 <nalin@redhat.com> 2.6.10-2
|
|
|
|
- rebuild
|
|
|
|
|
2004-09-09 07:18:31 +00:00
|
|
|
* Fri Dec 12 2003 Nalin Dahyabhai <nalin@redhat.com> 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
|
|
|
|
|
2004-09-09 07:18:24 +00:00
|
|
|
* Tue Dec 9 2003 Nalin Dahyabhai <nalin@redhat.com> 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 <nalin@redhat.com>
|
|
|
|
- update to 2.6.9
|
|
|
|
|
2004-09-09 07:18:21 +00:00
|
|
|
* Wed Aug 6 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Fix libtool
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
2004-09-09 07:18:04 +00:00
|
|
|
|
2004-09-09 07:17:42 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.6.3-2
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Thu Dec 12 2002 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- use openssl's pkg-config data, if available
|
|
|
|
|
|
|
|
* Thu Nov 14 2002 Nalin Dahyabhai <nalin@redhat.com> 2.6.3-1
|
|
|
|
- update to 2.6.3
|
|
|
|
|
|
|
|
* Tue Nov 12 2002 Tim Powers <timp@redhat.com> 2.6.2-2
|
|
|
|
- remove files we aren't including from the $$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
* Fri Oct 4 2002 Nalin Dahyabhai <nalin@redhat.com> 2.6.2-1
|
|
|
|
- build with the system's libtool
|
|
|
|
|
|
|
|
* Thu Sep 26 2002 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- update to 2.6.2
|
2004-09-09 07:17:05 +00:00
|
|
|
|
2004-09-09 07:16:44 +00:00
|
|
|
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt with gcc-3.2 (we hope)
|
|
|
|
|
2004-09-09 07:16:36 +00:00
|
|
|
* Tue Jul 23 2002 Tim Powers <timp@redhat.com> 2.5.2-4
|
|
|
|
- build using gcc-3.2-0.1
|
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.5.2-3
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com> 2.5.2-2
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Fri May 17 2002 Nalin Dahyabhai <nalin@redhat.com> 2.5.2-1
|
|
|
|
- update to 2.5.2
|
2004-09-09 07:16:01 +00:00
|
|
|
|
2004-09-09 07:15:40 +00:00
|
|
|
* Fri Feb 22 2002 Nalin Dahyabhai <nalin@redhat.com> 2.4.9-1
|
2004-09-09 07:16:36 +00:00
|
|
|
- update to 2.4.9
|
2004-09-09 07:15:40 +00:00
|
|
|
|
|
|
|
* Mon Jan 23 2002 Nalin Dahyabhai <nalin@redhat.com> 2.4.8-1
|
2004-09-09 07:16:36 +00:00
|
|
|
- update to 2.4.8
|
2004-09-09 07:15:40 +00:00
|
|
|
|
|
|
|
* 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
|
2004-09-09 07:14:58 +00:00
|
|
|
- remove the .la files from the final package -- these aren't libraries
|
|
|
|
people link with anyway
|
|
|
|
|
2004-09-09 07:15:40 +00:00
|
|
|
* Mon Aug 6 2001 Nalin Dahyabhai <nalin@redhat.com> 2.4.0-1
|
2004-09-09 07:14:42 +00:00
|
|
|
- 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
|