4232a3d
Summary: The standard UNIX FTP (File Transfer Protocol) client
cvsdist 2f4f4a3
Name: ftp
cvsdist 2f4f4a3
Version: 0.17
4722404
Release: 55%{?dist}
9e26dc9
License: BSD with advertising
cvsdist 2f4f4a3
Group: Applications/Internet
2c0ccf0
Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-ftp-%{version}.tar.gz
2c0ccf0
URL: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit
cvsdist 2f4f4a3
Patch1: netkit-ftp-0.17-pre20000412.pasv-security.patch
cvsdist 7fec8e8
Patch2: netkit-ftp-0.17-acct.patch
cvsdist a197844
Patch3: netkit-ftp.usagi-ipv6.patch
cvsdist 7ef7941
Patch4: netkit-ftp-0.17-segv.patch
cvsdist 7ef7941
Patch5: netkit-ftp-0.17-volatile.patch
0c3ef1e
Patch6: netkit-ftp-0.17-runique_mget.patch
77f41c2
Patch7: netkit-ftp-locale.patch
31a01a3
Patch8: netkit-ftp-0.17-printf.patch
praszyk 08c5489
Patch9: netkit-ftp-0.17-longint.patch
praszyk 71a717b
Patch10: netkit-ftp-0.17-vsftp165083.patch
praszyk 2f28aa5
Patch11: netkit-ftp-0.17-C-Frame121.patch
praszyk 4ca5a30
Patch12: netkit-ftp-0.17-data.patch
praszyk 653c60b
Patch13: netkit-ftp-0.17-multihome.patch
b46df69
Patch14: netkit-ftp-0.17-longnames.patch
0a49863
Patch15: netkit-ftp-0.17-multiipv6.patch
cd9534f
Patch16: netkit-ftp-0.17-nodebug.patch
c780124
Patch17: netkit-ftp-0.17-stamp.patch
acc2825
Patch18: netkit-ftp-0.17-sigseg.patch
5c72344
Patch19: netkit-ftp-0.17-size.patch
5c72344
Patch20: netkit-ftp-0.17-fdleak.patch
f648401
Patch21: netkit-ftp-0.17-fprintf.patch
9ff9fdd
Patch22: netkit-ftp-0.17-bitrate.patch
784a3d3
Patch23: netkit-ftp-0.17-arg_max.patch
d3ca284
Patch24: netkit-ftp-0.17-case.patch
09f5afd
Patch25: netkit-ftp-0.17-chkmalloc.patch
Jiri Skala 560d4f7
Patch26: netkit-ftp-0.17-man.patch
Jiri Skala ac03289
Patch27: netkit-ftp-0.17-acct_ovl.patch
b46df69
4232a3d
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4232a3d
BuildRequires: glibc-devel, readline-devel, ncurses-devel
cvsdist 2f4f4a3
cvsdist 2f4f4a3
%description
cvsdist 2f4f4a3
The ftp package provides the standard UNIX command-line FTP (File
cvsdist 2f4f4a3
Transfer Protocol) client.  FTP is a widely used protocol for
cvsdist 2f4f4a3
transferring files over the Internet and for archiving files.
cvsdist 2f4f4a3
praszyk 4c3f2a5
If your system is on a network, you should install ftp in order to do 
cvsdist 2f4f4a3
file transfers.
cvsdist 2f4f4a3
cvsdist 2f4f4a3
%prep
cvsdist 7fec8e8
%setup -q -n netkit-ftp-%{version}
cvsdist 2f4f4a3
%patch1 -p1
cvsdist 7fec8e8
%patch2 -p1 -b .acct
cvsdist a197844
%patch3 -p1 -b .ipv6
cvsdist 7ef7941
%patch4 -p1 -b .segv
cvsdist 7ef7941
%patch5 -p1 -b .volatile
0c3ef1e
%patch6 -p1 -b .runique_mget
77f41c2
%patch7 -p1 -b .locale
31a01a3
%patch8 -p1 -b .printf
praszyk 08c5489
%patch9 -p1 -b .longint
praszyk 71a717b
%patch10 -p1 -b .vsftp165083
praszyk 2f28aa5
%patch11 -p1 -b .C-Frame121
praszyk 4ca5a30
%patch12 -p1 -b .data
praszyk 653c60b
%patch13 -p1 -b .multihome
0a49863
%patch14 -p1 -b .patch
0a49863
%patch15 -p1 -b .multiipv6
cd9534f
%patch16 -p1 -b .nodebug
c780124
%patch17 -p1 -b .stamp
acc2825
%patch18 -p1 -b .sigseg
5c72344
%patch19 -p1 -b .size
5c72344
%patch20 -p1 -b .fdleak
f648401
%patch21 -p1 -b .fprintf
9ff9fdd
%patch22 -p1 -b .bitrate
784a3d3
%patch23 -p1 -b .arg_max
d3ca284
%patch24 -p1 -b .case
09f5afd
%patch25 -p1 -b .chkmalloc
Jiri Skala 560d4f7
%patch26 -p1 -b .man
Jiri Skala ac03289
%patch27 -p1 -b .acct_ovl
cvsdist 2f4f4a3
cvsdist 2f4f4a3
%build
cvsdist a197844
sh configure --with-c-compiler=gcc --enable-ipv6
cvsdist 2f4f4a3
perl -pi -e '
cvsdist 2f4f4a3
    s,^CC=.*$,CC=cc,;
cvsdist a83902c
    s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,;
cvsdist 2f4f4a3
    s,^BINDIR=.*$,BINDIR=%{_bindir},;
cvsdist 2f4f4a3
    s,^MANDIR=.*$,MANDIR=%{_mandir},;
cvsdist 2f4f4a3
    s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
cvsdist 2f4f4a3
    ' MCONFIG
cvsdist 2f4f4a3
cvsdist 5c0f703
make %{?_smp_mflags}
cvsdist 2f4f4a3
cvsdist 2f4f4a3
%install
cvsdist 2f4f4a3
rm -rf ${RPM_BUILD_ROOT}
cvsdist 2f4f4a3
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
cvsdist 2f4f4a3
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
cvsdist 2f4f4a3
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man5
cvsdist 2f4f4a3
cvsdist 2f4f4a3
make INSTALLROOT=${RPM_BUILD_ROOT} install
cvsdist 2f4f4a3
cvsdist 2f4f4a3
%clean
cvsdist 2f4f4a3
rm -rf ${RPM_BUILD_ROOT}
cvsdist 2f4f4a3
cvsdist 2f4f4a3
%files
cvsdist 2f4f4a3
%defattr(-,root,root)
cvsdist 2f4f4a3
%{_bindir}/ftp
cvsdist 2f4f4a3
%{_bindir}/pftp
cvsdist 2f4f4a3
%{_mandir}/man1/ftp.*
cvsdist 2f4f4a3
%{_mandir}/man1/pftp.*
cvsdist 2f4f4a3
%{_mandir}/man5/netrc.*
cvsdist 2f4f4a3
cvsdist 2f4f4a3
%changelog
4722404
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-55
4722404
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4722404
Jiri Skala ac03289
* Fri Sep 09 2011 Jiri Skala <jskala@redhat.com> - 0.17-54
Jiri Skala ac03289
- fixes #737016 - ftp: off-by-one in account command parsing
Jiri Skala ac03289
Jiri Skala 560d4f7
* Tue Mar 29 2011 Jiri Skala <jskala@redhat.com> - 0.17-53
Jiri Skala 560d4f7
- fixes #673850 - ftp(1) manpage fixes
Jiri Skala 560d4f7
268ccf8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-52
268ccf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
268ccf8
1fbf4f5
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-51
1fbf4f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1fbf4f5
6d2db99
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-50
6d2db99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6d2db99
09f5afd
* Mon Dec 01 2008 Jiri Skala <jskala@redhat.com> - 0.17-49
09f5afd
- Resolves: #473491  unchecked malloc
09f5afd
d3ca284
* Wed Apr 23 2008 Martin Nagy <mnagy@redhat.com> - 0.17-48
d3ca284
- fix mget when using case
d3ca284
- Resolves: #442712
d3ca284
784a3d3
* Mon Apr 07 2008 Martin Nagy <mnagy@redhat.com> - 0.17-47
784a3d3
- Use sysconf to get ARG_MAX instead of a macro (#440782)
784a3d3
6c306e5
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.17-46
6c306e5
- Autorebuild for GCC 4.3
6c306e5
9ff9fdd
* Mon Jan 28 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.17-45
9ff9fdd
- changed bitrate from 1e+03 KBytes/sec to 1000 kBytes/sec
9ff9fdd
- Resolves: rhbz#430457
9ff9fdd
f648401
* Thu Nov 15 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-44
f648401
- using fprintf instead of printf
f648401
5c72344
* Mon Oct 22 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-43
5c72344
- feature: for cmd size is switching to TYPE_I automatized
5c72344
- bug: ftp leaks socket fds when it fails to open a file (#315241)
5c72344
- rhbz#306191
5c72344
9e26dc9
* Fri Aug 24 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-42
9e26dc9
- rebuilt (for mass rebuild)
9e26dc9
- license tag checked
9e26dc9
acc2825
* Tue Aug 07 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-41
acc2825
- #251074 add patch from Jan Kratochvil
acc2825
48803b3
* Wed Feb 15 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-40
48803b3
- review again
48803b3
f4fdb6d
* Wed Feb 14 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-39
f4fdb6d
- review again
f4fdb6d
c780124
* Mon Feb  7 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-38
4ed04ae
- add gpl
4232a3d
- spec fix 
4232a3d
- rhbz#225774
4232a3d
02fb0ab
* Tue Jan 30 2007 Marcela Maslanova <mmaslano@redhat.com> - 0.17-35
cd9534f
- nodebug package
cd9534f
beceeff
* Wed Sep 13 2006 Marcela Maslanova <mmaslano@redhat.com> - 0.17-33
beceeff
- rebuilt
beceeff
0a49863
* Wed Aug 2 2006 Marcela Maslanova <mmaslano@redhat.com> - 0.17-32.1.2.4
0a49863
- fix (#199145) patch for IPv6 multihome
0a49863
0a49863
* Thu Jul 25 2006 Marcela Maslanova <mmaslano@redhat.com> - 0.17-32.1.2.3
b46df69
- fix (#196103) patch for long filenames
b46df69
6fb4ee2
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.17-32.1.2.1
6fb4ee2
- rebuild
6fb4ee2
749c96f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.17-32.1.2
749c96f
- bump again for double-long bug on ppc(64)
749c96f
1e608d3
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.17-32.1.1
1e608d3
- rebuilt for new gcc4.1 snapshot and glibc changes
1e608d3
praszyk 653c60b
* Thu Jan 12 2006 Petr Raszyk <praszyk@redhat.com> - 0.17-32
praszyk 653c60b
- support for multi-homed clients
praszyk 653c60b
  See #171621, netkit-ftp-0.17-multihome.patch
praszyk 653c60b
38c18fc
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
38c18fc
- rebuilt
38c18fc
praszyk 4ca5a30
* Fri Dec 2 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-31
praszyk 4ca5a30
- ftp does not close socket descriptor (if the remote file
praszyk 4ca5a30
  does not exist).
praszyk 4ca5a30
  See #174599, netkit-ftp-0.17-data.patch
praszyk 4ca5a30
praszyk 2f28aa5
* Wed Oct 26 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-30
praszyk 2f28aa5
- The patch netkit-ftp-0.17-C-Frame121.patch adds some
praszyk 2f28aa5
  comments/hints for C-Frame 121. It can be removed any time.
praszyk 2f28aa5
praszyk 7a3d5f4
* Tue Aug 30 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-29
praszyk 2f28aa5
- rebuild
praszyk 2f28aa5
praszyk 71a717b
* Tue Aug 30 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-28
praszyk 71a717b
- This 'hack' will avoid a bug in ftp-server
praszyk 71a717b
  (  < vsftpd-2.0.1-5   ). See #165083 (server prints the 
praszyk 71a717b
  '150 FILE:...' line twice).
praszyk 71a717b
  This patch can be (later ?) removed. 
praszyk 71a717b
praszyk 71a717b
* Mon Aug 22 2005 Petr Raszyk <praszyk@redhat.com> - 0.17-27
praszyk 08c5489
- overflow using 'hash mode' (printing '#' but
praszyk 08c5489
  not reading data from network - #79367)
praszyk 08c5489
31a01a3
* Tue May 24 2005 Miloslav Trmac <mitr@redhat.com> - 0.17-26
31a01a3
- Fix passive mode with SELinux (#158234, patch by Nalin Dahyabhai)
31a01a3
- Fix format string mismatch
31a01a3
jryska c38e62c
* Fri Mar 04 2005 Jiri Ryska <jryska@redhat.com>
jryska c38e62c
- rebuilt
jryska c38e62c
9b5c100
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 0.17-24
9b5c100
- Rebuilt for new readline.
9b5c100
77f41c2
* Wed Dec 15 2004 Tim Waugh <twaugh@redhat.com>
77f41c2
- Call setlocale() so that readline works correctly (bug #142265).
77f41c2
0c3ef1e
* Tue Dec  7 2004 Thomas Woerner <twoerner@redhat.com> 0.17-23
0c3ef1e
- fixed mget with runique (#79367)
0c3ef1e
cvsdist 7ef7941
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7ef7941
- rebuilt
cvsdist 7ef7941
cvsdist 7ef7941
* Mon Jun 14 2004 Alan Cox <alan@redhat.com>
cvsdist 7ef7941
- Re-arranged some totally bogus old bezerkly code that could
cvsdist 7ef7941
  segfault ftp on connection loss. (BZ #122295)
cvsdist 7ef7941
cvsdist 342580c
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 342580c
- rebuilt
cvsdist 342580c
cvsdist a920828
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist a920828
- rebuilt
cvsdist a920828
cvsdist 5c0f703
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 5c0f703
- rebuilt
cvsdist 5c0f703
cvsdist 5c0f703
* Fri Dec 13 2002 Elliot Lee <sopwith@redhat.com>
cvsdist 5c0f703
- Rebuild
cvsdist 5c0f703
cvsdist c1493bd
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist c1493bd
- automated rebuild
cvsdist c1493bd
cvsdist 99894b9
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 99894b9
- automated rebuild
cvsdist 99894b9
cvsdist a83902c
* Fri Apr 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-13
cvsdist a83902c
- Recompile with support for files > 2 GB
cvsdist a83902c
cvsdist cf2800f
* Mon Jun 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-12
cvsdist cf2800f
- Add some Build dependencies (#45007)
cvsdist cf2800f
cvsdist a197844
* Fri May 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-11
cvsdist a197844
- Actually apply Patch #3
cvsdist a197844
cvsdist a197844
* Fri May 11 2001 Bernhard Rosenkraenzer <bero@redhat.com> 0.17-10
cvsdist a197844
- Rebuild with new readline
cvsdist a197844
cvsdist a197844
* Sun Apr 15 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist a197844
- Add IPv6 patch (RFE #35642)
cvsdist a197844
cvsdist a197844
* Wed Apr  4 2001 Jakub Jelinek <jakub@redhat.com>
cvsdist a197844
- don't let configure to guess compiler, it can pick up egcs
cvsdist a197844
cvsdist 7fec8e8
* Sun Jan 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 7fec8e8
- Update to 0.17 final
cvsdist 7fec8e8
- Fix up ACCT support in netrc (Bug #17353)
cvsdist 7fec8e8
cvsdist 2f4f4a3
* Wed Aug 16 2000 Philipp Knirsch <pknirsch@redhat.com>
cvsdist 2f4f4a3
- Switched the default transfer protocol from PORT to PASV as proposed on
cvsdist 2f4f4a3
  bugzilla (#16134)
cvsdist 2f4f4a3
- Fixed a small compiler warning in ftp.c line 886
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Fri Jul 14 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 2f4f4a3
- add netrc man page (#7443).
cvsdist 2f4f4a3
- fix possible buffer overflows in ftp client.
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 2f4f4a3
- automatic rebuild
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 2f4f4a3
- FHS packaging.
cvsdist 2f4f4a3
- update to 0.17-pre20000412.
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Wed Apr  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 2f4f4a3
- rebuild with current libreadline
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 2f4f4a3
- 0.17
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Fri Feb  4 2000 Bill Nottingham <notting@redhat.com>
cvsdist 2f4f4a3
- handle compressed man pages
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Tue Jan  4 2000 Bill Nottingham <notting@redhat.com>
cvsdist 2f4f4a3
- the ftp client does not require inetd
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2f4f4a3
- update to 0.16.
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Mon Aug 30 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2f4f4a3
- update to 0.15.
cvsdist 2f4f4a3
- enable readline support (#3796).
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 2f4f4a3
- auto rebuild in the new build environment (release 22)
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 2f4f4a3
- compile for 6.0.
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 2f4f4a3
- build root
cvsdist 2f4f4a3
cvsdist 2f4f4a3
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
cvsdist 2f4f4a3
- translations modified for de, fr, tr