parent
784a3d3931
commit
d3ca284819
8
ftp.spec
8
ftp.spec
@ -1,7 +1,7 @@
|
||||
Summary: The standard UNIX FTP (File Transfer Protocol) client
|
||||
Name: ftp
|
||||
Version: 0.17
|
||||
Release: 47%{?dist}
|
||||
Release: 48%{?dist}
|
||||
License: BSD with advertising
|
||||
Group: Applications/Internet
|
||||
Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-ftp-%{version}.tar.gz
|
||||
@ -29,6 +29,7 @@ Patch20: netkit-ftp-0.17-fdleak.patch
|
||||
Patch21: netkit-ftp-0.17-fprintf.patch
|
||||
Patch22: netkit-ftp-0.17-bitrate.patch
|
||||
Patch23: netkit-ftp-0.17-arg_max.patch
|
||||
Patch24: netkit-ftp-0.17-case.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: glibc-devel, readline-devel, ncurses-devel
|
||||
@ -66,6 +67,7 @@ file transfers.
|
||||
%patch21 -p1 -b .fprintf
|
||||
%patch22 -p1 -b .bitrate
|
||||
%patch23 -p1 -b .arg_max
|
||||
%patch24 -p1 -b .case
|
||||
|
||||
%build
|
||||
sh configure --with-c-compiler=gcc --enable-ipv6
|
||||
@ -99,6 +101,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_mandir}/man5/netrc.*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 23 2008 Martin Nagy <mnagy@redhat.com> - 0.17-48
|
||||
- fix mget when using case
|
||||
- Resolves: #442712
|
||||
|
||||
* Mon Apr 07 2008 Martin Nagy <mnagy@redhat.com> - 0.17-47
|
||||
- Use sysconf to get ARG_MAX instead of a macro (#440782)
|
||||
|
||||
|
16
netkit-ftp-0.17-case.patch
Normal file
16
netkit-ftp-0.17-case.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff -up netkit-ftp-0.17/ftp/cmds.c.case netkit-ftp-0.17/ftp/cmds.c
|
||||
--- netkit-ftp-0.17/ftp/cmds.c.case 2008-04-23 14:52:59.000000000 +0200
|
||||
+++ netkit-ftp-0.17/ftp/cmds.c 2008-04-23 14:58:07.000000000 +0200
|
||||
@@ -831,8 +831,11 @@ mget(int argc, char **argv)
|
||||
tp++;
|
||||
tp2++;
|
||||
}
|
||||
+ tp = tmpbuf;
|
||||
+ }
|
||||
+ else {
|
||||
+ tp = cp;
|
||||
}
|
||||
- tp = tmpbuf;
|
||||
}
|
||||
if (ntflag) {
|
||||
tp = dotrans(tp);
|
Loading…
Reference in New Issue
Block a user