Summary: An FTP daemon provided by Washington University. Name: wu-ftpd Version: 2.6.2 Release: 5vl0 License: BSD Group: System Environment/Daemons URL: http://www.wu-ftpd.org/ #Source: ftp://ftp.wu-ftpd.org/pub/wu-ftpd/wu-ftpd-%{version}.tar.gz Source: wu-ftpd-2.7.0-20020304.tar.bz2 Source1: ftpd.log Source2: ftp.pamd Source3: wu-ftpd-xinetd Source4: ftpaccess Patch0: wu-ftpd-2.6.0-redhat.patch Patch5: wu-ftpd-2.6.0-owners.patch Provides: ftpserver BuildRequires: pam-devel, openssl-devel Prereq: fileutils, openssl #rawhide# Requires: xinetd, /etc/pam.d/system-auth Requires: /etc/pam.d/system-auth Buildroot: %{_tmppath}/%{name}-root %description The wu-ftpd package contains the wu-ftpd FTP (File Transfer Protocol) server daemon. The FTP protocol is a method of transferring files between machines on a network and/or over the Internet. Wu-ftpd's features include logging of transfers, logging of commands, on the fly compression and archiving, classification of users' type and location, per class limits, per directory upload permissions, restricted guest accounts, system wide and per directory messages, directory alias, cdpath, filename filter, and virtual host support. %prep %setup -q -n %{name} mkdir rhsconfig %patch0 -p1 -b .redhat %patch5 -p1 -b .owners find . -type d -name CVS |xargs rm -rf %configure --enable-quota --enable-pam --disable-rfc931 --enable-ratios \ --enable-passwd --disable-dnsretry --enable-ls --enable-ipv6 \ --enable-tls perl -pi -e "s,/\* #undef SHADOW_PASSWORD \*/,#define SHADOW_PASSWORD 1,g" src/config.h # Make the version what we want it to be cat >src/newvers.sh <vers.c EOF chmod 0755 src/newvers.sh %build make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT%{_sbindir} make install DESTDIR=$RPM_BUILD_ROOT install -c -m755 util/xferstats $RPM_BUILD_ROOT%{_sbindir} cd rhsconfig install -c -m 600 ftpusers ftphosts ftpgroups ftpconversions $RPM_BUILD_ROOT/etc strip -R .comments $RPM_BUILD_ROOT%{_sbindir}/* || : mkdir -p $RPM_BUILD_ROOT/etc/{pam,logrotate}.d install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/ftpd install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/ftp ln -sf in.ftpd $RPM_BUILD_ROOT/usr/sbin/wu.ftpd ln -sf in.ftpd $RPM_BUILD_ROOT/usr/sbin/in.wuftpd #rawhide# mkdir -p $RPM_BUILD_ROOT/etc/xinetd.d #rawhide# install -m644 %SOURCE3 $RPM_BUILD_ROOT/etc/xinetd.d/wu-ftpd install -c -m0600 %{SOURCE4} $RPM_BUILD_ROOT/etc %clean rm -rf $RPM_BUILD_ROOT %post if [ ! -f /var/log/xferlog ]; then touch /var/log/xferlog chmod 600 /var/log/xferlog fi cd /usr/share/ssl if [ ! -e certs/ftpd-rsa-key.pem ]; then (echo US echo . echo . echo . echo . echo . echo .) |openssl req -newkey rsa:1024 -nodes -out certs/ftpd-rsa.pem -x509 -days 365 -keyout private/ftpd-rsa-key.pem &>/dev/null fi %files %defattr(-,root,root) #rawhide# %config(noreplace) /etc/xinetd.d/wu-ftpd %doc README ERRATA CHANGES CONTRIBUTORS %doc doc/HOWTO doc/TODO doc/examples %{_mandir}/*/*.* %config /etc/ftp* %config /etc/pam.d/ftp %config /etc/logrotate.d/ftpd %defattr(0755,bin,bin) %{_sbindir}/* %{_bindir}/* %changelog * Thu Mar 28 2002 Yoshihiro Ota 2.6.2-5vl0 - catch up to rawhide version 2.6.2-5 - commented xinitrd related with #rawhide# * Sun Jan 06 2002 Toru Sagami 2.6.0-14vl3 - build for current develop trees (VineSeedPlus) - Conflicts: proftpd * Wed Nov 28 2001 Toru Sagami 2.6.0-14vl2 - remake wu-ftpd-2.6.1-sec.patch for 2.6.0 for security fix * Tue Jun 27 2000 Jun Nishii - rebuild on Vine Linux 2.0 * Fri Jun 23 2000 Bernhard Rosenkraenzer - fix up security fix * Fri Jun 23 2000 Bernhard Rosenkraenzer - revert 7.0's PAM and xinetd changes for 6.2 updates * Fri Jun 23 2000 Bernhard Rosenkraenzer - fix security bug w/ SITE EXEC * Thu Jun 1 2000 Nalin Dahyabhai - Modify PAM configuration to use system-auth - Miscellaneous FHS fixes * Mon May 22 2000 Trond Eivind Glomsrƒi - Add /etc/xinetd.d/wu-ftpd * Sat May 20 2000 Bill Nottingham - use normal getpwnam/getpwuid for standard password files (for NIS, etc.) * Sun Mar 26 2000 Florian La Roche - make binaries readable * Mon Mar 13 2000 Bernhard Rosenkraenzer - recompile * Fri Mar 10 2000 Bernhard Rosenkraenzer - fix bug in configure script * Sun Mar 5 2000 Bernhard RosenkrçÏzer - remove the conflict between PAM and alternative passwd files and enable PAM * Sun Mar 5 2000 Bernhard RosenkrçÏzer - fix up behavior for missing entries in shadow password files when the non-shadow password file contains all info. This fixes the MD5 problem. - remove the nlstbug patch; it's now included in the bero patch. * Mon Feb 28 2000 Bernhard RosenkrçÏzer - fix up NLST behavior on broken symlinks * Sat Feb 12 2000 Bernhard RosenkrçÏzer - Merge some features from BeroFTPD people requested: - alternate passwd/shadow files for virtual hosts - ratios - switch to using autoconfed build - it's much better on linux. build makes some faulty assumptions based on its glibc 2.0 and kernel 2.0.x knowledge. * Fri Feb 5 2000 Bernhard RosenkrçÏzer - fix a bug (the port-allow ftpaccess option was broken) - handle compressed man pages * Thu Oct 21 1999 Cristian Gafton - version 2.6.0, but no autoconf yet * Tue Sep 21 1999 Cristian Gafton - patch for allowing logins by users that do not have a local account on the machine, but are autheticated by PAM from a different database. * Mon Sep 06 1999 Cristian Gafton - fix ident patch * Tue Aug 31 1999 Michael K. Johnson - fixed roff subtlety * Wed Aug 25 1999 - fix ftpd.c mapped_path buffer overflow. * Mon Aug 23 1999 - apply fix for login bug (#1599). * Sat Aug 21 1999 - include all quick-fixes from ftp.vr.net (#3482,#3866). * Sat Jun 12 1999 - Added the new -I option to toggle the use of ident * Mon Jun 7 1999 - update to 2.5.0 (pathname patch no longer needed). - use "/bin/ps -f -p #" to get correct ftpwho info (#2455). - revert glob patch in order to fix "cd ~user" (#2798) and "ls foo*" (#2944). * Mon Apr 19 1999 - fixed pathname overflow patch * Sat Apr 17 1999 - use libc glob function - patched up some overflows - ick. * Fri Apr 16 1999 Cristian Gafton - version 2.4.2-vr17. Thank GOD! - important patches are already in. Joy an happyness will reign the world now. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 6) * Mon Feb 15 1999 Cristian Gafton - update to 2.4.2-beta18-vr14 from ftp.vr.net * Mon Aug 3 1998 Jeff Johnson - fix busted symlinks. * Thu Jul 16 1998 Jeff Johnson - update to 2.4.2-beta18 * Tue Jun 09 1998 Prospector System - translations modified for de * Tue Jun 9 1998 Jeff Johnson - updated to 2.4.2-beta17 (fix problems #679/#680) * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Sun May 03 1998 Cristian Gafton - fixed the ps patch for the new ps convention (use ps www instead of ps -www) * Sun Apr 12 1998 Cristian Gafton - added %clean section * Sat Apr 11 1998 Cristian Gafton - updated to 2.4.2b16 - BuildRoot * Fri Dec 12 1997 Cristian Gafton - added a patch to prevent a possible PORT command exploit - cleaned up the .linux patch to get a clean compile on glibc * Tue Oct 21 1997 Erik Troan - fixed copyright field * Mon Oct 13 1997 Michael K. Johnson - Updated to new pam conventions. * Mon Sep 22 1997 Erik Troan - Updated to beta 15, which fixes a number of security holes. Release 1 if for RH 4.2, release 2 is glibc based. * Mon Mar 03 1997 Michael K. Johnson - Moved from pam.conf to pam.d * Mon Mar 03 1997 Erik Troan - xferstats should look for perl in /usr/bin, not /usr/local/bin - provides the "ftpserver" virtual package * Thu Feb 13 1997 Michael K. Johnson - Updated to beta-12, and created a new PAM patch from scratch, since the old one made massive changes to ftpd and caused some problems.