1 Summary: A program which enables anonymous FTP access.
2 Summary(pl): Program, który pozwala na anonimowy dostêp do FTP'a.
7 Group: Networking/Daemons
8 Group(de): Netzwerkwesen/Server
9 Group(pl): Sieciowe/Serwery
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 The anonftp package contains the files you need in order to allow
16 anonymous FTP access to your machine. Anonymous FTP access allows
17 anyone to download files from your machine without having a user
18 account. Anonymous FTP is a popular way of making programs available
21 You should install anonftp if you would like to enable anonymous FTP
22 downloads from your machine.
25 pakiet anonftp zawiera pliki niezbêdne w celu uruchomienia serwera
26 anonimowego FTP na danej maszynie. Dostêp przez anonimowy FTP pozwala
27 ka¿demu pobieraæ pliki z danego komputera bez potzreby posiadania
28 konta u¿ytkownika. Anonimowe FTP jest popularnym sposbem udostepniania
32 rm -rf $RPM_BUILD_ROOT
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/home/ftp/{pub,etc,bin,lib}
38 cat > $RPM_BUILD_ROOT/home/ftp%{_sysconfdir}/passwd <<EOF
46 cat > $RPM_BUILD_ROOT/home/ftp%{_sysconfdir}/group <<EOF
55 install %{_sysconfdir}/ld.so.cache $RPM_BUILD_ROOT/home/ftp%{_sysconfdir}
56 install /lib/{libc-*.so,ld-*.so,libnss_files-*.so,libnsl-*.so} \
57 $RPM_BUILD_ROOT/home/ftp/lib
59 install /bin/{ls,cpio,gzip,tar} $RPM_BUILD_ROOT/home/ftp/bin
60 install /bin/ash $RPM_BUILD_ROOT/home/ftp/bin/sh
61 install %{_bindir}/compress $RPM_BUILD_ROOT/home/ftp/bin/compress
62 ln -sf gzip $RPM_BUILD_ROOT/home/ftp/bin/zcat
64 strip $RPM_BUILD_ROOT/home/ftp/lib/*
65 strip $RPM_BUILD_ROOT/home/ftp/bin/{ls,cpio,gzip,tar}
68 /sbin/ldconfig /home/ftp/lib
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %attr(0755,root,root) %dir /home/ftp
76 %attr(0111,root,root) %dir /home/ftp/bin
77 %attr(0111,root,root) %dir /home/ftp%{_sysconfdir}
78 %attr(2755,root,root) %dir /home/ftp/pub
79 %attr(0755,root,root) %dir /home/ftp/lib
80 %attr(0444,root,root) %config /home/ftp%{_sysconfdir}/passwd
81 %attr(0444,root,root) %config /home/ftp%{_sysconfdir}/group
82 %attr(0444,root,root) /home/ftp%{_sysconfdir}/ld.so.cache
83 %attr(0111,root,root) /home/ftp/bin/*
84 %attr(0555,root,root) /home/ftp/lib/*