1 Summary: ftpproxy is an application level gateway for the FTP protocol
2 Summary(pl): ftpproxy jest aplikacyjn± bramk± dla protoko³u FTP
7 Group: Applications/Networking
8 Source0: http://ftp.daemons.de/download/%{name}-%{version}.tgz
10 Prereq: rc-inetd >= 0.8.1
11 URL: http://ftp.daemons.de/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 ftp.proxy is a proxy server for a subset of the file transfer protocol
17 described in RFC 959. It forwards traffic between a client and a
18 server without looking too much if both hosts do real FTP. The FTP
19 server can be either given on the command line or supplied by the
23 ftp.proxy jest aplikacyjn± bramk± dla podzbioru protoko³u FTP
24 opisanego w RFC 959. Po¶redniczy w transferze pomiêdzy klientem a
25 serwerem bez specjalnego patrzenia czy oba hosty s± prawdziwymi
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1,/etc/sysconfig/rc-inetd}
40 install ftp.proxy $RPM_BUILD_ROOT%{_sbindir}
41 install ftp.proxy.1 $RPM_BUILD_ROOT%{_mandir}/man1
43 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpproxy
45 gzip -9nf rfc959 HISTORY INSTALL
48 rm -rf $RPM_BUILD_ROOT
51 if [ -f /var/lock/subsys/rc-inetd ]; then
52 /etc/rc.d/init.d/rc-inetd reload 1>&2
54 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
58 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
59 /etc/rc.d/init.d/rc-inetd reload
63 %defattr(644,root,root,755)
65 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/rc-inetd/ftpproxy
66 %attr(755,root,root) %{_sbindir}/ftp.proxy