diff --git a/netkit-rsh-0.17-rcp-largefile.patch b/netkit-rsh-0.17-rcp-largefile.patch new file mode 100644 index 0000000..5a77267 --- /dev/null +++ b/netkit-rsh-0.17-rcp-largefile.patch @@ -0,0 +1,11 @@ +--- netkit-rsh-0.17/rcp/rcp.c.largefile 2005-11-24 10:38:12.000000000 +0100 ++++ netkit-rsh-0.17/rcp/rcp.c 2005-11-24 10:40:28.000000000 +0100 +@@ -482,7 +482,7 @@ + } + } + (void)snprintf(buf, sizeof(buf), +- "C%04o %lld %s\n", stb.st_mode&07777, (long long)(stb.st_size), last); ++ "C%04o %llu %s\n", stb.st_mode&07777, (unsigned long long)(stb.st_size), last); + (void)write(rem, buf, (int)strlen(buf)); + if (response() < 0) { + (void)close(f); diff --git a/rsh.spec b/rsh.spec index 196602b..2911d6d 100644 --- a/rsh.spec +++ b/rsh.spec @@ -1,7 +1,7 @@ Summary: Clients for remote access commands (rsh, rlogin, rcp). Name: rsh Version: 0.17 -Release: 31 +Release: 32 License: BSD Group: Applications/Internet @@ -44,6 +44,7 @@ Patch23: netkit-rsh-0.17-nohost.patch Patch24: netkit-rsh-0.17-ignchld.patch Patch25: netkit-rsh-0.17-checkdir.patch Patch26: netkit-rsh-0.17-pam-conv.patch +Patch27: netkit-rsh-0.17-rcp-largefile.patch %description The rsh package contains a set of programs which allow users to run @@ -102,6 +103,7 @@ from other machines. %patch24 -p1 -b .ignchld %patch25 -p1 -b .checkdir %patch26 -p1 -b .pam-conv +%patch27 -p1 -b .largefile # No, I don't know what this is doing in the tarball. @@ -171,6 +173,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man8/*.8* %changelog +* Thu Nov 24 2005 Karel Zak 0.17-32 +- fix #174045 - rcp outputs negative file size when over 2GB + * Thu Oct 13 2005 Karel Zak 0.17-31 - rewrite rexecd PAM_conversation()