|
Name: vsftpd
Summary: A Very Secure FTP Server Software.
Summary(zh_CN): 一个非常安全的FTP服务器端软件.
Version: 2.0.3
Release: 1mgc
Group: Applications/System
License: GPL
URL: http://vsftpd.beasts.org/
Source: ftp://vsftpd.beasts.org/users/cevans/vsftpd-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
#Vendor: MGC Group
#Distribution: Magic Linux
Prefix: %{_prefix}
Prefix: %{_sysconfdir}
#Requires:
#BuildRequires:
Packager: Alpher<alpher>
%description
vsftpd is an FTP server, or daemon. The "vs" stands for Very Secure. Obviously
this is not a guarantee, but a reflection that I have written the entire
codebase with security in mind, and carefully designed the program to be
resilient to attack.
Recent evidence shows that vsftpd is also extremely fast and scalable. vsftpd
has achieved ~4000 concurrent users on a single machine, in a production
environment.
vsftpd is now a proven stable solution. Of particular note, RedHat used vsftpd
to enable ftp.redhat.com to support 15,000 concurrent users across their
server pool. This extreme load was generated by the release of RedHat 7.2 to
the world.
vsftpd now powers some of the largest and most prestigious sites on the
internet.
%description -l zh_CN.GB2312
vsftpd是一个FTP服务器端,“vs”代表非常安全。
%prep
%setup -n %{name}
%configure
%build
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
%post
#添加ftp配置需要的用户和目录
useradd nobody
mkdir /usr/share/empty
mkdir /var/ftp
useradd -d /var/ftp ftp
chown root /var/ftp
chmod og-w /var/ftp
%postun
rm /etc/vsftpd.conf
rm -rf /var/ftp
%files
%defattr(-,root,root)
"/usr/local/sbin/vsftpd"
"/usr/local/man/man5/vsftpd.conf.5"
"/usr/local/man/man8/vsftpd.8"
"/etc/vsftpd.conf"
"/etc/vsftpd.chroot_list"
"/etc/rc.d/init.d/VsFTPd"
%changelog
* Thu Mar 29 2005 alpher <[email protected]>
- initialize the first spec file |
|