]> git.pld-linux.org Git - packages/ftpd-BSD.git/blobdiff - ftpd-BSD.spec
- massive attack: adding Source-md5
[packages/ftpd-BSD.git] / ftpd-BSD.spec
index 84a175551ee510c76220d894e236b4e1cae395e2..84b36ddb18fa575abe69803afc85f82f0a34a3f4 100644 (file)
@@ -6,10 +6,12 @@ Release:      8
 License:       BSD-like
 Group:         Networking/Daemons
 Source0:       ftp://quatramaran.ens.fr/pub/madore/ftpd-BSD/contrib/%{name}-%{version}.tar.gz
+# Source0-md5: db925235417c8699bb1eb8ca77811fc5
 Source1:       %{name}.inetd
 Source2:       %{name}.pamd
 Source3:       %{name}-ftpusers
 Source4:       ftpusers.tar.bz2
+# Source4-md5: 76c80b6ec9f4d079a1e27316edddbe16
 Patch0:                %{name}-anonuser.patch
 Patch1:                %{name}-paths.patch
 Patch2:                %{name}-username.patch
@@ -49,7 +51,7 @@ 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.
+enable it - chmod /home/services/ftp/upload to 0730.
 
 %description -l pl
 Pakiet ten zawiera linuksowy port serwera ftp BSD (ftpd). Nie zawiera
@@ -61,7 +63,8 @@ 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.
+chcesz go w³±czyæ - zmieñ uprawnienia do /home/services/ftp/upload
+na 0730.
 
 %prep
 %setup -q -n ftpd-bsd-%{version}
@@ -78,7 +81,7 @@ chcesz go w
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
        $RPM_BUILD_ROOT%{_sysconfdir}/{ftpd,pam.d,sysconfig/rc-inetd} \
-       $RPM_BUILD_ROOT/home/ftp/{upload,pub}
+       $RPM_BUILD_ROOT/home/services/ftp/{upload,pub}
 
 install ftpd $RPM_BUILD_ROOT%{_sbindir}/ftpd-BSD
 install ftpd.8 $RPM_BUILD_ROOT%{_mandir}/man8/
@@ -108,12 +111,12 @@ fi
 %doc README*
 %attr(755,root,root) %{_sbindir}/ftpd-BSD
 %dir %{_sysconfdir}/ftpd
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pam.d/ftp
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/ftp
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ftpd/ftpusers
-%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sysconfig/rc-inetd/ftpd
-%dir /home/ftp
-%dir /home/ftp/pub
-%attr(700,root,ftp) %verify(not mode) %dir /home/ftp/upload
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/ftpd
+%dir /home/services/ftp
+%dir /home/services/ftp/pub
+%attr(700,root,ftp) %verify(not mode) %dir /home/services/ftp/upload
 %{_mandir}/man8/*
 %lang(ja) %{_mandir}/ja/man5/ftpusers*
 %lang(pl) %{_mandir}/pl/man5/ftpusers*
This page took 0.030774 seconds and 4 git commands to generate.