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