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