]> git.pld-linux.org Git - packages/pure-ftpd.git/commitdiff
initial release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 22 Jan 2001 13:20:23 +0000 (13:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pure-ftpd.spec -> 1.1

pure-ftpd.spec [new file with mode: 0644]

diff --git a/pure-ftpd.spec b/pure-ftpd.spec
new file mode 100644 (file)
index 0000000..8219ce5
--- /dev/null
@@ -0,0 +1,91 @@
+Summary:       Small, fast and secure FTP server
+Summary(pl):   Ma³y, szybki i bezpieczny serwer FTP
+Name:          pure-ftpd
+Version:       0.92
+Release:       1
+License:       GPL
+Group:         Daemons
+Group(pl):     Serwery
+Source0:       http://download.sourceforge.net/pureftpd/%{name}-%{version}.tar.gz
+Source1:       pure-ftpd.pamd
+Source2:       pure-ftpd.rc-inetd
+Patch0:                pure-ftpd-macro.patch
+URL:           http://pureftpd.sourceforge.net/
+BuildRequires: pam-devel
+Requires:      inetdaemon
+Requires:      rc-inetd
+Provides:      ftpserver
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     ftpserver
+Obsoletes:     wu-ftpd
+Obsoletes:     anonftp
+Obsoletes:     ftpd-BSD
+Obsoletes:     linux-ftpd
+Obsoletes:     bftpd
+Obsoletes:     troll-ftpd
+
+%description
+Pure-FTPd is a fast, production-quality, standard-comformant FTP server,
+based upon Troll-FTPd. Unlike other popular FTP servers, it has no known
+security flaw, it is really trivial to set up and it is especially designed
+for modern Linux kernels (setfsuid, sendfile, capabilities) . Features
+include PAM support, IPv6, chroot()ed home directories, virtual domains,
+built-in LS, anti-warez system, bounded ports for passive downloads...
+
+%description -l pl
+Pure-FTPD to szybki, wysokiej jako¶ci, odpowiadaj±cy standardom serwer FTP
+bazuj±cy na Troll-FTPd. W przeciwieñstwie do innych serwerów FTP nie
+ma znanych luk w bezpieczeñstwie. Ponadto jest trywialny w konfiguracji
+i specjalnie zaprojektowany dla nowych kerneli Linuxa (setfsuid, sendfile,
+capabilibies). Mo¿liwo¶ci to wsparcie dla PAMa, IPv6, chroot()owanych
+katalogów domowych, virtualne domeny, wbudowany LS, system anty-warezowy,
+ograniczanie portów dla pasywnych po³±czeñ...
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%configure \
+       --with-cookie
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/{pam.d/ftp,sysconfig/rc-inetd,ftpd/vhosts}
+install -d $RPM_BUILD_ROOT/home/ftp/{upload,pub}
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/ftp
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/rc-inetd/ftpd
+
+gzip -9nf README COPYING
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f /var/lock/subsys/rc-inetd ]; then
+       /etc/rc.d/init.d/rc-inetd restart 1>&2
+else
+       echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
+fi
+
+%postun
+if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
+       /etc/rc.d/init.d/rc-inetd restart
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc README.gz COPYING.gz
+%attr(755,root,root) %{_sbindir}/*
+%attr(640,root,root) /etc/pam.d/ftp
+%attr(640,root,root) %config /etc/sysconfig/rc-inetd/ftpd
+%attr(755,ftp,ftp) %dir /home/ftp/upload
+%dir /home/ftp 
+%dir /home/ftp/pub 
+%dir %{_sysconfdir}/ftpd/vhosts
+
+%{_mandir}/man*/*
This page took 0.079214 seconds and 4 git commands to generate.