]> git.pld-linux.org Git - packages/ftp4all.git/blame - ftp4all.spec
- converted to UTF-8
[packages/ftp4all.git] / ftp4all.spec
CommitLineData
2413af96 1Summary: Free, open source FTP server implementation
4a0dd03c 2Summary(pl.UTF-8): Darmowa implementacja serwera FTP
bbd1516f
AM
3Name: ftp4all
4Version: 3.012
cc519fda 5Release: 4
bbd1516f
AM
6License: GPL
7Group: Networking/Daemons
bbd1516f 8Source0: http://www.ftp4all.de/v3/archives/ftpd-%{version}.tar.gz
6f393b53 9# Source0-md5: a1bdeb4080d3900099e07aebd5fdd460
bbd1516f 10Source1: http://www.ftp4all.de/v3/f4awebsite.tar.gz
6f393b53 11# Source1-md5: 34b5c4712b8ed23af5beea1074f71fd7
bbd1516f 12Patch0: ftpd-opt.patch
e10c6dcf 13Patch1: ftpd-endian.patch
cc519fda 14Patch2: ftpd-configure.patch
bbd1516f 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
6617fc13 16# this isn't ,,standard FTP''. Don't treat it as system FTP server
bbd1516f
AM
17# and don't put Provides:ftpserver etc here ! --misiek
18
19%description
20FTP4ALL was designed to require no superuser privileges. The
21advantages are that FTP4ALL cannot be exploited to gain root access on
22a machine. And second, any user on a UNIX box can run this server.
23
24However, FTP4ALL is not designed to replace wu-ftpd or any other
25system-level FTP server, for it does not use the default user database
26(/etc/passwd or NIS or whatever), or the UNIX file and directory
27permissions. Instead, FTP4ALL sets up its own user and group database
28and file and directory permission system.
29
30Those and other features like user upload and download ratios, IP
31checks, bandwidth limit, transfer statistics make FTP4ALL a good
32choice for running a private, specialised FTP site. There is no binary
33distribution, the only one is the source distribution. So you must
34have a C compiler (gcc preferred) and related tools to compile
35FTP4ALL.
36
4a0dd03c
JR
37%description -l pl.UTF-8
38FTP4ALL został zaprojektowany tak by nie wymagać praw
39superużytkownika. Główną zaletą takiego podejścia jest uniemożliwienie
40wykorzystania potencjalnych błędów do zdobycia uprawnień roota.
41Ponadto każdy użytkownik może uruchamiać ten serwer.
bbd1516f 42
4a0dd03c
JR
43Jednak FTP4ALL nie jest zaprojektowany by zastąpić wu-ftpd czy dowolny
44inny systemowy serwer FTP, a to dlatego, że nie używa on standardowej
45bazy użytkowników (/etc/passwd lub NIS), ani UNIXowych praw dostępu do
46plików.
bbd1516f 47
4a0dd03c
JR
48Te i inne możliwości jak ratio dla upload i download per użytkownik,
49dostęp na poziomie IP, limity pasma, statystyki transferów sprawiają
50że FTP4ALL to dobry wybór dla prywatnych, specjalistycznych serwerów
70960e83 51FTP.
bbd1516f
AM
52
53%prep
54%setup -q -n ftpd-%{version} -a1
55%patch0 -p1
e10c6dcf 56%patch1 -p1
cc519fda 57%patch2 -p1
bbd1516f
AM
58
59%build
cc519fda
JB
60echo "y" | \
61CFLAGS="%{rpmcflags}" \
62LIBDIR="%{_libdir}" \
63SLIBDIR="/%{_lib}" \
64./configure
bbd1516f
AM
65%{__make}
66
67%install
68rm -rf $RPM_BUILD_ROOT
bbd1516f
AM
69install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}}
70
b7ed78ea 71install bin/* $RPM_BUILD_ROOT%{_bindir}
72
d42cace3 73cp -a standard $RPM_BUILD_ROOT%{_datadir}/%{name}
b7ed78ea 74
bbd1516f
AM
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%files
79%defattr(644,root,root,755)
14a16ae3 80%doc CHANGES README f4adp frames
bbd1516f
AM
81%attr(755,root,root) %{_bindir}/*
82%{_datadir}/%{name}
This page took 0.264508 seconds and 4 git commands to generate.