Summary: The standard UNIX FTP (File Transfer Protocol) client. Name: ftp Version: 0.17 Release: 32.1.1 License: BSD Group: Applications/Internet Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-ftp-%{version}.tar.bz2 Patch1: netkit-ftp-0.17-pre20000412.pasv-security.patch Patch2: netkit-ftp-0.17-acct.patch Patch3: netkit-ftp.usagi-ipv6.patch Patch4: netkit-ftp-0.17-segv.patch Patch5: netkit-ftp-0.17-volatile.patch Patch6: netkit-ftp-0.17-runique_mget.patch Patch7: netkit-ftp-locale.patch Patch8: netkit-ftp-0.17-printf.patch Patch9: netkit-ftp-0.17-longint.patch Patch10: netkit-ftp-0.17-vsftp165083.patch Patch11: netkit-ftp-0.17-C-Frame121.patch Patch12: netkit-ftp-0.17-data.patch Patch13: netkit-ftp-0.17-multihome.patch BuildRoot: /var/tmp/%{name}-root BuildRequires: gcc, glibc-devel, readline-devel, ncurses-devel, perl %description The ftp package provides the standard UNIX command-line FTP (File Transfer Protocol) client. FTP is a widely used protocol for transferring files over the Internet and for archiving files. If your system is on a network, you should install ftp in order to do file transfers. %prep %setup -q -n netkit-ftp-%{version} %patch1 -p1 %patch2 -p1 -b .acct %patch3 -p1 -b .ipv6 %patch4 -p1 -b .segv %patch5 -p1 -b .volatile %patch6 -p1 -b .runique_mget %patch7 -p1 -b .locale %patch8 -p1 -b .printf %patch9 -p1 -b .longint %patch10 -p1 -b .vsftp165083 %patch11 -p1 -b .C-Frame121 %patch12 -p1 -b .data %patch13 -p1 -b .multihome %build sh configure --with-c-compiler=gcc --enable-ipv6 perl -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,; s,^BINDIR=.*$,BINDIR=%{_bindir},; s,^MANDIR=.*$,MANDIR=%{_mandir},; s,^SBINDIR=.*$,SBINDIR=%{_sbindir},; ' MCONFIG make %{?_smp_mflags} %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5 make INSTALLROOT=${RPM_BUILD_ROOT} install %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %{_bindir}/ftp %{_bindir}/pftp %{_mandir}/man1/ftp.* %{_mandir}/man1/pftp.* %{_mandir}/man5/netrc.* %changelog * Tue Feb 07 2006 Jesse Keating - 0.17-32.1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Thu Jan 12 2006 Petr Raszyk - 0.17-32 - support for multi-homed clients See #171621, netkit-ftp-0.17-multihome.patch * Fri Dec 09 2005 Jesse Keating - rebuilt * Fri Dec 2 2005 Petr Raszyk - 0.17-31 - ftp does not close socket descriptor (if the remote file does not exist). See #174599, netkit-ftp-0.17-data.patch * Wed Oct 26 2005 Petr Raszyk - 0.17-30 - The patch netkit-ftp-0.17-C-Frame121.patch adds some comments/hints for C-Frame 121. It can be removed any time. * Tue Aug 30 2005 Petr Raszyk - 0.17-29 - rebuild * Tue Aug 30 2005 Petr Raszyk - 0.17-28 - This 'hack' will avoid a bug in ftp-server ( < vsftpd-2.0.1-5 ). See #165083 (server prints the '150 FILE:...' line twice). This patch can be (later ?) removed. * Mon Aug 22 2005 Petr Raszyk - 0.17-27 - overflow using 'hash mode' (printing '#' but not reading data from network - #79367) * Tue May 24 2005 Miloslav Trmac - 0.17-26 - Fix passive mode with SELinux (#158234, patch by Nalin Dahyabhai) - Fix format string mismatch * Fri Mar 04 2005 Jiri Ryska - rebuilt * Wed Jan 12 2005 Tim Waugh 0.17-24 - Rebuilt for new readline. * Wed Dec 15 2004 Tim Waugh - Call setlocale() so that readline works correctly (bug #142265). * Tue Dec 7 2004 Thomas Woerner 0.17-23 - fixed mget with runique (#79367) * Tue Jun 15 2004 Elliot Lee - rebuilt * Mon Jun 14 2004 Alan Cox - Re-arranged some totally bogus old bezerkly code that could segfault ftp on connection loss. (BZ #122295) * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Fri Dec 13 2002 Elliot Lee - Rebuild * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Fri Apr 12 2002 Bernhard Rosenkraenzer 0.17-13 - Recompile with support for files > 2 GB * Mon Jun 25 2001 Bernhard Rosenkraenzer 0.17-12 - Add some Build dependencies (#45007) * Fri May 18 2001 Bernhard Rosenkraenzer 0.17-11 - Actually apply Patch #3 * Fri May 11 2001 Bernhard Rosenkraenzer 0.17-10 - Rebuild with new readline * Sun Apr 15 2001 Bernhard Rosenkraenzer - Add IPv6 patch (RFE #35642) * Wed Apr 4 2001 Jakub Jelinek - don't let configure to guess compiler, it can pick up egcs * Sun Jan 21 2001 Bernhard Rosenkraenzer - Update to 0.17 final - Fix up ACCT support in netrc (Bug #17353) * Wed Aug 16 2000 Philipp Knirsch - Switched the default transfer protocol from PORT to PASV as proposed on bugzilla (#16134) - Fixed a small compiler warning in ftp.c line 886 * Fri Jul 14 2000 Jeff Johnson - add netrc man page (#7443). - fix possible buffer overflows in ftp client. * Wed Jul 12 2000 Prospector - automatic rebuild * Sun Jun 18 2000 Jeff Johnson - FHS packaging. - update to 0.17-pre20000412. * Wed Apr 5 2000 Bernhard Rosenkraenzer - rebuild with current libreadline * Fri Mar 24 2000 Bernhard Rosenkraenzer - 0.17 * Fri Feb 4 2000 Bill Nottingham - handle compressed man pages * Tue Jan 4 2000 Bill Nottingham - the ftp client does not require inetd * Wed Dec 22 1999 Jeff Johnson - update to 0.16. * Mon Aug 30 1999 Jeff Johnson - update to 0.15. - enable readline support (#3796). * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 22) * Mon Mar 15 1999 Jeff Johnson - compile for 6.0. * Tue Aug 11 1998 Jeff Johnson - build root * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr