]> git.pld-linux.org Git - packages/ftp4all.git/blob - ftp4all.spec
- tabs in preamble
[packages/ftp4all.git] / ftp4all.spec
1 Summary:        Free, open source FTP server implementation
2 Summary(pl.UTF-8):      Darmowa implementacja serwera FTP
3 Name:           ftp4all
4 Version:        3.012
5 Release:        4
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        http://www.ftp4all.de/v3/archives/ftpd-%{version}.tar.gz
9 # Source0-md5:  a1bdeb4080d3900099e07aebd5fdd460
10 Source1:        http://www.ftp4all.de/v3/f4awebsite.tar.gz
11 # Source1-md5:  34b5c4712b8ed23af5beea1074f71fd7
12 Patch0:         ftpd-opt.patch
13 Patch1:         ftpd-endian.patch
14 Patch2:         ftpd-configure.patch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 # this isn't ,,standard FTP''. Don't treat it as system FTP server
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
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.
42
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.
47
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
51 FTP.
52
53 %prep
54 %setup -q -n ftpd-%{version} -a1
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58
59 %build
60 echo "y" | \
61 CFLAGS="%{rpmcflags}" \
62 LIBDIR="%{_libdir}" \
63 SLIBDIR="/%{_lib}" \
64 ./configure
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}}
70
71 install bin/* $RPM_BUILD_ROOT%{_bindir}
72
73 cp -a standard  $RPM_BUILD_ROOT%{_datadir}/%{name}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc CHANGES README f4adp frames
81 %attr(755,root,root) %{_bindir}/*
82 %{_datadir}/%{name}
This page took 0.057873 seconds and 3 git commands to generate.