]>
Commit | Line | Data |
---|---|---|
2413af96 | 1 | Summary: Free, open source FTP server implementation |
4a0dd03c | 2 | Summary(pl.UTF-8): Darmowa implementacja serwera FTP |
bbd1516f AM |
3 | Name: ftp4all |
4 | Version: 3.012 | |
cc519fda | 5 | Release: 4 |
bbd1516f AM |
6 | License: GPL |
7 | Group: Networking/Daemons | |
bbd1516f | 8 | Source0: http://www.ftp4all.de/v3/archives/ftpd-%{version}.tar.gz |
6f393b53 | 9 | # Source0-md5: a1bdeb4080d3900099e07aebd5fdd460 |
bbd1516f | 10 | Source1: http://www.ftp4all.de/v3/f4awebsite.tar.gz |
6f393b53 | 11 | # Source1-md5: 34b5c4712b8ed23af5beea1074f71fd7 |
bbd1516f | 12 | Patch0: ftpd-opt.patch |
e10c6dcf | 13 | Patch1: ftpd-endian.patch |
cc519fda | 14 | Patch2: ftpd-configure.patch |
bbd1516f | 15 | BuildRoot: %{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 | |
20 | FTP4ALL was designed to require no superuser privileges. The | |
21 | advantages are that FTP4ALL cannot be exploited to gain root access on | |
22 | a machine. And second, any user on a UNIX box can run this server. | |
23 | ||
24 | However, FTP4ALL is not designed to replace wu-ftpd or any other | |
25 | system-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 | |
27 | permissions. Instead, FTP4ALL sets up its own user and group database | |
28 | and file and directory permission system. | |
29 | ||
30 | Those and other features like user upload and download ratios, IP | |
31 | checks, bandwidth limit, transfer statistics make FTP4ALL a good | |
32 | choice for running a private, specialised FTP site. There is no binary | |
33 | distribution, the only one is the source distribution. So you must | |
34 | have a C compiler (gcc preferred) and related tools to compile | |
35 | FTP4ALL. | |
36 | ||
4a0dd03c JR |
37 | %description -l pl.UTF-8 |
38 | FTP4ALL został zaprojektowany tak by nie wymagać praw | |
39 | superużytkownika. Główną zaletą takiego podejścia jest uniemożliwienie | |
40 | wykorzystania potencjalnych błędów do zdobycia uprawnień roota. | |
41 | Ponadto każdy użytkownik może uruchamiać ten serwer. | |
bbd1516f | 42 | |
4a0dd03c JR |
43 | Jednak FTP4ALL nie jest zaprojektowany by zastąpić wu-ftpd czy dowolny |
44 | inny systemowy serwer FTP, a to dlatego, że nie używa on standardowej | |
45 | bazy użytkowników (/etc/passwd lub NIS), ani UNIXowych praw dostępu do | |
46 | plików. | |
bbd1516f | 47 | |
4a0dd03c JR |
48 | Te i inne możliwości jak ratio dla upload i download per użytkownik, |
49 | dostęp na poziomie IP, limity pasma, statystyki transferów sprawiają | |
50 | że FTP4ALL to dobry wybór dla prywatnych, specjalistycznych serwerów | |
70960e83 | 51 | FTP. |
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 |
60 | echo "y" | \ |
61 | CFLAGS="%{rpmcflags}" \ | |
62 | LIBDIR="%{_libdir}" \ | |
63 | SLIBDIR="/%{_lib}" \ | |
64 | ./configure | |
bbd1516f AM |
65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
bbd1516f AM |
69 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}} |
70 | ||
b7ed78ea | 71 | install bin/* $RPM_BUILD_ROOT%{_bindir} |
72 | ||
d42cace3 | 73 | cp -a standard $RPM_BUILD_ROOT%{_datadir}/%{name} |
b7ed78ea | 74 | |
bbd1516f AM |
75 | %clean |
76 | rm -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} |