Summary(pl): Port ftpd z OpenBSD dla Linuxa (z wsparciem do IPv6)
Name: ftpd-BSD
Version: 0.3.3
-Release: 1
+Release: 2
License: BSD-like
Group: Networking/Daemons
Group(de): Netzwerkwesen/Server
Patch1: %{name}-paths.patch
Patch2: %{name}-username.patch
Patch3: %{name}-SA_LEN.patch
-Patch4: ftpd-BSD-no_libnsl.patch
+Patch4: %{name}-no_libnsl.patch
URL: http://www.eleves.ens.fr:8080/home/madore/programs/#prog_ftpd-BSD
Buildrequires: libwrap-devel
Buildrequires: pam-devel
and more secure (at least, it was certainly so before I ported it, and
I hope I didn't mess things up *too* much).
-The source code was taken from the OpenBSD CVS as of 2000/01/23 (this
-is between releases 2.6 and 2.7). The ftpd version number is 6.4 and
-this port's version number is 0.3.0.
+The source code was taken from the OpenBSD CVS as of 2000/07/07 (this
+is after release 2.7). The ftpd version number is 6.5 and this port's
+version number is 0.3.2.
+
+Package comes with anonymous upload disabled. If you really want to
+enable it - chmod /home/ftp/upload to 0730.
%description -l pl
Pakiet ten zawiera linuksowy port serwera ftp BSD (ftpd). Nie zawiera
prawdopodobniej mniej zapluskwiony i bardziej bezpieczny (w kazdym
razie by³ takim zanim go przenios³em na Linuksa, i mam nadziejê, ¿e
nie naba³agani³em *za bardzo*). Kod ¼ród³owy pochodzi z repozytorium
-CVS OpenBSD z dnia 2000/01/23 (tj. miêdzy wersj± 2.6 a 2.7). Numer
-wersji ftpd to 6.4, za¶ numer wersji tego portu to 0.3.0.
+CVS OpenBSD z dnia 2000/07/07 (tj. po wersji 2.7). Numer wersji ftpd
+to 6.5, za¶ numer wersji tego portu to 0.3.2.
+
+Pakiet przychodzi z wy³±czonym anonimowym uploadem. Je¶li naprawdê
+chcesz go w³±czyæ - zmieñ uprawnienia do /home/ftp/upload na 0730.
%prep
%setup -q -n ftpd-bsd-%{version}
gzip -9nf README
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%post
if [ -f /var/lock/subsys/rc-inetd ]; then
/etc/rc.d/init.d/rc-inetd reload 1>&2
/etc/rc.d/init.d/rc-inetd reload
fi
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
%doc README.gz
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sysconfig/rc-inetd/ftpd
%dir /home/ftp
%dir /home/ftp/pub
-%attr(755,ftp,ftp) %dir /home/ftp/upload
+%attr(700,root,ftp) %verify(not mode) %dir /home/ftp/upload
%{_mandir}/man8/*