]> git.pld-linux.org Git - packages/ftpd-BSD.git/blobdiff - ftpd-BSD.spec
- release 10 to rebuild with ac
[packages/ftpd-BSD.git] / ftpd-BSD.spec
index f76a18e3c888dc956c20609a6f2ef59ef3dce45b..13b6de07e0fd277e0dda2c3670dab4c51b203d15 100644 (file)
@@ -2,24 +2,27 @@ Summary:      OpenBSD's ftpd ported to Linux (with IPv6 support)
 Summary(pl):   Port ftpd z OpenBSD dla Linuksa (z obs³ug± IPv6)
 Name:          ftpd-BSD
 Version:       0.3.3
-Release:       8
+Release:       10
 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
 Patch3:                %{name}-SA_LEN.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
+BuildRequires: libwrap-devel
+BuildRequires: pam-devel
 Requires:      rc-inetd
 Requires:      inetdaemon
+Requires:      pam >= 0.77.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Provides:      ftpserver
 Obsoletes:     ftpserver
@@ -49,7 +52,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 +64,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 +82,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 +112,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) /etc/sysconfig/rc-inetd/ftpd
-%dir /home/ftp
-%dir /home/ftp/pub
-%attr(700,root,ftp) %verify(not mode) %dir /home/ftp/upload
+%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.069987 seconds and 4 git commands to generate.