auto-import changelog data from ftp-0.17-6.src.rpm
Wed Aug 16 2000 Philipp Knirsch <pknirsch@redhat.com> - 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 <jbj@redhat.com> - add netrc man page (#7443). - fix possible buffer overflows in ftp client. Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - update to 0.17-pre20000412. Wed Apr 05 2000 Bernhard Rosenkraenzer <bero@redhat.com> - rebuild with current libreadline Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 0.17 Fri Feb 04 2000 Bill Nottingham <notting@redhat.com> - handle compressed man pages Tue Jan 04 2000 Bill Nottingham <notting@redhat.com> - the ftp client does not require inetd Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com> - update to 0.16. Mon Aug 30 1999 Jeff Johnson <jbj@redhat.com> - update to 0.15. - enable readline support (#3796). Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 22) Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com> - compile for 6.0. Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com> - build root Mon Apr 27 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr
This commit is contained in:
parent
11f752452a
commit
2f4f4a3395
@ -0,0 +1 @@
|
||||
netkit-ftp-0.17-pre20000412.tar.gz
|
104
ftp.spec
Normal file
104
ftp.spec
Normal file
@ -0,0 +1,104 @@
|
||||
%define _snapshot -pre20000412
|
||||
|
||||
Summary: The standard UNIX FTP (File Transfer Protocol) client.
|
||||
Name: ftp
|
||||
Version: 0.17
|
||||
Release: 6
|
||||
Copyright: BSD
|
||||
Group: Applications/Internet
|
||||
Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-ftp-%{version}%{_snapshot}.tar.gz
|
||||
Patch0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/netkit-combo-0.16-SECURITY.patch
|
||||
Patch1: netkit-ftp-0.17-pre20000412.pasv-security.patch
|
||||
BuildRoot: /var/tmp/%{name}-root
|
||||
|
||||
%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}%{_snapshot}
|
||||
%patch0 -p2
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
sh configure
|
||||
perl -pi -e '
|
||||
s,^CC=.*$,CC=cc,;
|
||||
s,-O2,\$(RPM_OPT_FLAGS),;
|
||||
s,^BINDIR=.*$,BINDIR=%{_bindir},;
|
||||
s,^MANDIR=.*$,MANDIR=%{_mandir},;
|
||||
s,^SBINDIR=.*$,SBINDIR=%{_sbindir},;
|
||||
' MCONFIG
|
||||
|
||||
make
|
||||
|
||||
%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
|
||||
* Wed Aug 16 2000 Philipp Knirsch <pknirsch@redhat.com>
|
||||
- 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 <jbj@redhat.com>
|
||||
- add netrc man page (#7443).
|
||||
- fix possible buffer overflows in ftp client.
|
||||
|
||||
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
||||
- automatic rebuild
|
||||
|
||||
* Sun Jun 18 2000 Jeff Johnson <jbj@redhat.com>
|
||||
- FHS packaging.
|
||||
- update to 0.17-pre20000412.
|
||||
|
||||
* Wed Apr 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- rebuild with current libreadline
|
||||
|
||||
* Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
||||
- 0.17
|
||||
|
||||
* Fri Feb 4 2000 Bill Nottingham <notting@redhat.com>
|
||||
- handle compressed man pages
|
||||
|
||||
* Tue Jan 4 2000 Bill Nottingham <notting@redhat.com>
|
||||
- the ftp client does not require inetd
|
||||
|
||||
* Wed Dec 22 1999 Jeff Johnson <jbj@redhat.com>
|
||||
- update to 0.16.
|
||||
|
||||
* Mon Aug 30 1999 Jeff Johnson <jbj@redhat.com>
|
||||
- update to 0.15.
|
||||
- enable readline support (#3796).
|
||||
|
||||
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||
- auto rebuild in the new build environment (release 22)
|
||||
|
||||
* Mon Mar 15 1999 Jeff Johnson <jbj@redhat.com>
|
||||
- compile for 6.0.
|
||||
|
||||
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
|
||||
- build root
|
||||
|
||||
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
||||
- translations modified for de, fr, tr
|
49
netkit-ftp-0.17-pre20000412.pasv-security.patch
Normal file
49
netkit-ftp-0.17-pre20000412.pasv-security.patch
Normal file
@ -0,0 +1,49 @@
|
||||
diff -urN netkit-ftp-0.17-pre20000412/ftp/ftp.1 netkit-ftp-0.17-pre20000412.new/ftp/ftp.1
|
||||
--- netkit-ftp-0.17-pre20000412/ftp/ftp.1 Thu Apr 13 03:56:03 2000
|
||||
+++ netkit-ftp-0.17-pre20000412.new/ftp/ftp.1 Wed Aug 16 14:13:10 2000
|
||||
@@ -62,8 +62,10 @@
|
||||
Use passive mode for data transfers. Allows use of ftp in environments
|
||||
where a firewall prevents connections from the outside world back to
|
||||
the client machine. Requires that the ftp server support the PASV
|
||||
-command. This is the default if invoked as
|
||||
-.Nm pftp.
|
||||
+command. This is the default now for
|
||||
+.Nm all
|
||||
+clients (ftp and pftp) due to security concerns using the PORT transfer mode.
|
||||
+The flag is kept for compatibility only and has no effect anymore.
|
||||
.It Fl i
|
||||
Turns off interactive prompting during multiple file transfers.
|
||||
.It Fl n
|
||||
diff -urN netkit-ftp-0.17-pre20000412/ftp/ftp.c netkit-ftp-0.17-pre20000412.new/ftp/ftp.c
|
||||
--- netkit-ftp-0.17-pre20000412/ftp/ftp.c Mon Dec 13 21:33:20 1999
|
||||
+++ netkit-ftp-0.17-pre20000412.new/ftp/ftp.c Wed Aug 16 14:12:50 2000
|
||||
@@ -883,7 +883,7 @@
|
||||
}
|
||||
if (fstat(fileno(fout), &st) < 0 || st.st_blksize == 0)
|
||||
st.st_blksize = BUFSIZ;
|
||||
- if (st.st_blksize > bufsize) {
|
||||
+ if ((unsigned)st.st_blksize > bufsize) {
|
||||
if (buf)
|
||||
(void) free(buf);
|
||||
buf = malloc((unsigned)st.st_blksize);
|
||||
diff -urN netkit-ftp-0.17-pre20000412/ftp/main.c netkit-ftp-0.17-pre20000412.new/ftp/main.c
|
||||
--- netkit-ftp-0.17-pre20000412/ftp/main.c Sat Oct 2 15:25:23 1999
|
||||
+++ netkit-ftp-0.17-pre20000412.new/ftp/main.c Wed Aug 16 13:58:57 2000
|
||||
@@ -87,7 +87,7 @@
|
||||
usage(void)
|
||||
{
|
||||
printf("\n\tUsage: { ftp | pftp } [-pinegvtd] [hostname]\n");
|
||||
- printf("\t -p: enable passive mode (default for pftp)\n");
|
||||
+ printf("\t -p: enable passive mode (default for ftp and pftp)\n");
|
||||
printf("\t -i: turn off prompting during mget\n");
|
||||
printf("\t -n: inhibit auto-login\n");
|
||||
printf("\t -e: disable readline support, if present\n");
|
||||
@@ -118,7 +118,7 @@
|
||||
doglob = 1;
|
||||
interactive = 1;
|
||||
autologin = 1;
|
||||
- passivemode = 0;
|
||||
+ passivemode = 1;
|
||||
|
||||
cp = strrchr(argv[0], '/');
|
||||
cp = (cp == NULL) ? argv[0] : cp+1;
|
Loading…
Reference in New Issue
Block a user