Summary: PROfessional FTP Daemon with apache-like configuration syntax Summary(pl): PROfesionalny serwer FTP Name: proftpd Version: 1.2.0pre1 Release: 2d Copyright: GPL Group: Daemons Group(pl): Serwery Source0: ftp://ftp.proftpd.org/distrib/%{name}-%{version}.tar.gz Source1: configuration.html Source2: reference.html Source3: %{name}.conf Source4: %{name}.logrotate Patch0: %{name}-mdtm-localtime.patch Patch1: %{name}.patch Patch2: %{name}-DoS.patch Patch3: %{name}-glibc.patch URL: http://www.proftpd.org Requires: logrotate Provides: ftpserver Obsoletes: wu-ftpd Obsoletes: ncftpd Obsoletes: beroftpd Obsoletes: anonftp BuildRoot: /tmp/%{name}-%{version}-root %description ProFTPD is a highly configurable ftp daemon for unix and unix-like operating systems. ProFTPD is designed to be somewhat of a "drop-in" replacement for wu-ftpd. Full online documentation is available at http://www.proftpd.org, including a server configuration directive reference manual. %description -l pl ProFTPD jest wysoce konfigurowalnym demonem ftp dla systemów Unix. ProFTPD jest robiony jako bezpośredni zamiennik wu-ftpd. Pełna dokunentacja jest dostępna on-line pod http://www.proftpd.org włącznie z dokumentacją dotyczącą konfigurowania. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build install %{SOURCE1} %{SOURCE2} . autoconf CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s \ ./configure %{_target} \ --prefix=/usr \ --sysconfdir=/etc/ftpd \ --enable-autoshadow make rundir=/var/run %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/{etc/{ftpd,logrotate.d},home/ftp/pub/Incoming} install -d $RPM_BUILD_ROOT/{var/run,usr/{bin,sbin,man/{man1,man8}}} make install \ INSTALL_USER=`id -u` \ INSTALL_GROUP=`id -g` \ prefix=$RPM_BUILD_ROOT/usr \ rundir=$RPM_BUILD_ROOT/var/run \ sysconfdir=$RPM_BUILD_ROOT/etc/ftpd rm -f $RPM_BUILD_ROOT/usr/sbin/in.proftpd install %{SOURCE3} $RPM_BUILD_ROOT/etc/ftpd install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/proftpd gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man[158]/* bzip2 -9 sample-configurations/{virtual,anonymous}.conf changelog README %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc changelog.bz2 README.bz2 %doc sample-configurations/{virtual,anonymous}.conf.bz2 *.html %attr(750,root,root) %dir /etc/ftpd %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/ftpd/*.conf %attr(640,root,root) %config %verify(not md5 mtime size) /etc/logrotate.d/* %attr(755,root,root) /usr/bin/* %attr(755,root,root) /usr/sbin/* %{_mandir}/man[158]/* %dir /home/ftp %dir /home/ftp/pub %attr(711,root,root) %dir /home/ftp/pub/Incoming %changelog * Sun Dec 20 1998 Wojtek Ślusarczyk [1.2.0-2d] - added missing logrotate. * Sun Nov 15 1998 Tomasz Kłoczko [1.2.0-1d] - added default configuration file with hashed configuration for anonymous ftp, - config file moved to /etc/ftpd (with 750 permission), - added %verify rule for /etc/etc/proftpd, - added /home/ftp hierarhy for anonymous ftp resources, - rundir must point to /var/run, - added level 1 man pages, - rewrited %install, - removed patch for wu-ftpd compat. * Sat Oct 10 1998 Marcin Korzonek [1.1.7pl3-1d] - removed proftpd-1.1.6pre4-compat_wu-ftpd.patch (-l option is now handled by proftpd) - build against glibc 2.1. * Sat Aug 22 1998 Tomasz Kłoczko [1.1.6pre4-2] - added proftpd-1.1.6pre4-compat_wu-ftpd.patch (null handling some wu-ftpd cmdl options). * Thu Aug 6 1998 Tomasz Kłoczko [1.1.6pre4-1] - added pl translation, - removed INSTALL from %doc (install procedure is in spec ;), - addded permissions in %files instead setting them in %build (lets make %buil only build procedure - more logical), - renamed /usr/sbin/in.proftpd to /usr/sbin/in.ftpd (now updating inetd.conf is not neccesary) also removed %post[un] - this is simpler and now proftpd is "real" drop-in wu-ftpd replacement ;>, - fiew simplifications in %install and %files, - Conflicts: replaced by Obsoletes: in headre (more automated replacing other ftpserver) also added to list anonftp as not neccesary under proftpd, - added noreplace %config parameter for /etc/proftpd.conf. * Sat Aug 01 1998 Arne Coucheron [1.1.6pre2-1] * Thu Jul 23 1998 Arne Coucheron [1.1.5pl4-1] - making use of shadow libraries (Thanks to Mike McHendry for the hint) - added beroftpd to Conflicts: - added configuration and reference docs to the package * Sun Jun 28 1998 Arne Coucheron [1.0.3pl1-2] - using $RPM_OPT_FLAGS - using %%{name} and %%{version} macros - using %defattr macro in filelist, ordinary users can build now - using install -d instead of mkdir -p - made proftpd.conf chmod 600 for security - added -q parameter to %setup - added %config to /etc/proftpd.conf in filelist - added Conflicts: wu-ftpd ncftpd - installing util programs in /usr/bin instead of /usr/sbin - changed name of spec file to proftpd.spec * Wed May 6 1998 Vladimir Ivanov - Fixed bug in mod_auth.c - Initial RPM release