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