]>
Commit | Line | Data |
---|---|---|
364757f3 | 1 | Summary: Fast Forward (TCP and UDP) Proxy for Linux |
b2c58c09 | 2 | Summary(pl.UTF-8): Fast Forward - proxy TCP i UDP dla Linuksa |
364757f3 | 3 | Name: fastforward |
83149261 SS |
4 | Version: 1.01 |
5 | Release: 0.1 | |
364757f3 JB |
6 | License: LGPL |
7 | Group: Networking/Daemons | |
741ff79d | 8 | Source0: http://open.nit.ca/download/%{name}-%{version}.tar.gz |
83149261 | 9 | # Source0-md5: ba8f9614b99f57b7914d32c01ea34dd3 |
364757f3 JB |
10 | Patch0: %{name}-opt.patch |
11 | Patch1: %{name}-includes.patch | |
17581239 | 12 | Patch2: %{name}-types.patch |
03b1e799 | 13 | Patch3: %{name}-gcc3.patch |
741ff79d | 14 | URL: http://open.nit.ca/fastforward/ |
03b1e799 | 15 | BuildRequires: libstdc++-devel |
364757f3 JB |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | Fast Forward belongs to a class of programs known as proxy servers. | |
20 | Its job is to accept TCP or UDP connections on one address and port, | |
21 | and forward them off to some other address and port. There are lots of | |
22 | programs around that do this, but Fast Forward provides simplified | |
23 | configuration, uses less memory, and is generally faster than any | |
24 | other solution we know of. It uses zero-forking technology to keep its | |
25 | resource usage to a minimum while still running faster than most other | |
26 | proxies. | |
27 | ||
96b7e6d2 JR |
28 | %description -l pl.UTF-8 |
29 | Fast Forward należy do grupy programów znanych jako serwery proxy. | |
30 | Jego zadanie to przyjmowanie połączeń TCP lub UDP na jednym adresie i | |
364757f3 | 31 | porcie oraz przekazywanie ich na inny adres i port. Jest wiele |
96b7e6d2 JR |
32 | programów realizujących to samo zadanie, ale Fast Forward ma |
33 | uproszczoną konfigurację, używa mało pamięci i jest szybszy. Nie | |
34 | forkuje się, aby zminimalizować zużycie zasobów. | |
364757f3 JB |
35 | |
36 | %prep | |
37 | %setup -q | |
38 | %patch0 -p1 | |
39 | %patch1 -p1 | |
17581239 | 40 | %patch2 -p1 |
03b1e799 | 41 | %patch3 -p1 |
364757f3 JB |
42 | |
43 | %build | |
03b1e799 JB |
44 | %{__make} \ |
45 | CXX="%{__cxx}" \ | |
46 | COPTS="%{rpmcflags}" | |
364757f3 JB |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | install -d $RPM_BUILD_ROOT%{_sbindir} | |
51 | ||
52 | install fastforward/fastforward $RPM_BUILD_ROOT%{_sbindir} | |
53 | ||
364757f3 JB |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
17581239 | 59 | %doc README |
364757f3 | 60 | %attr(755,root,root) %{_sbindir}/* |