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 Group(de): Applikationen/Netzwerkwesen
9 Group(pl): Aplikacje/Sieciowe
10 Source0: http://ftp.daemons.de/download/%{name}-%{version}.tgz
11 Source1: %{name}.inetd
12 Prereq: rc-inetd >= 0.8.1
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 ftp.proxy is a proxy server for a subset of the file transfer
17 protocol described in RFC 959. It forwards traffic between a client
18 and a server without looking too much if both hosts do real FTP. The
19 FTP server can be either given on the command line or supplied by the
23 ftp.proxy jest aplikacyjn± bramk± dla podzbioru protoko³u FTP
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1,/etc/sysconfig/rc-inetd}
38 install ftp.proxy $RPM_BUILD_ROOT%{_sbindir}
39 install ftp.proxy.1 $RPM_BUILD_ROOT%{_mandir}/man1
41 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpproxy
43 gzip -9nf rfc959 HISTORY INSTALL
46 rm -rf $RPM_BUILD_ROOT
49 if [ -f /var/lock/subsys/rc-inetd ]; then
50 /etc/rc.d/init.d/rc-inetd reload 1>&2
52 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
56 if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
57 /etc/rc.d/init.d/rc-inetd reload
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_sbindir}/ftp.proxy
65 %attr(640,root,root) %config %verify(not size mtime md5) /etc/sysconfig/rc-inetd/ftpproxy