]>
Commit | Line | Data |
---|---|---|
7466e521 | 1 | Summary: Program that can help you configuring WRR queue |
63c2c5a2 | 2 | Summary(pl.UTF-8): Program ułatwiający konfigurowanie kolejki WRR |
f7648720 SP |
3 | Name: autowrr |
4 | Version: 0.5a | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Networking/Admin | |
8 | Source0: http://autowrr.olgroup.net/download/%{name}-%{version}.tar.gz | |
aed35246 | 9 | # Source0-md5: 0b5504df84fc0deb932e5bf2c907bcef |
f7648720 | 10 | URL: http://autowrr.olgroup.net/ |
7466e521 JB |
11 | BuildRequires: cdk-devel |
12 | BuildRequires: ncurses-devel | |
f7648720 | 13 | Requires: firewall-userspace-tool |
f7648720 | 14 | Requires: gawk |
f7648720 SP |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
77d956c5 JB |
18 | AutoWRR is a program that can help you to configure WRR queue |
19 | optimally, i.e.: | |
fcaeb999 | 20 | - put ICMP (incl. ping) in priority class |
21 | - specify ports to put in priority class | |
22 | - use SFQ queue beside WRR to fairly divide bandwidth between | |
23 | connections from one host. | |
f7648720 | 24 | |
1d6ea219 JR |
25 | %description -l pl.UTF-8 |
26 | AutoWRR jest w zasadzie programem mającym pomagać optymalnie | |
27 | skonfigurować kolejkę WRR. Optymalna konfiguracja tzn.: | |
28 | - Protokół ICMP (min. ping) w klasie priorytetowej | |
29 | - Możliwość określenia portów mających być również w klasie | |
fcaeb999 | 30 | priorytetowej |
1d6ea219 JR |
31 | - Poza WRR użyta jeszcze została kolejka SFQ - w celu sprawiedliwego |
32 | podziału prędkości połączeń dla jednego komputera | |
f7648720 SP |
33 | |
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
38 | %configure | |
39 | %{__make} \ | |
fcaeb999 | 40 | CC="%{__cc}" \ |
41 | CFLAGS="%{rpmcflags}" | |
f7648720 SP |
42 | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
7466e521 | 46 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/autowrr,/etc/rc.d/init.d} |
f7648720 SP |
47 | |
48 | install autowrr $RPM_BUILD_ROOT%{_bindir} | |
49 | install autowrr-wizard $RPM_BUILD_ROOT%{_bindir} | |
7466e521 JB |
50 | install wrr $RPM_BUILD_ROOT/etc/rc.d/init.d |
51 | install start.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr | |
52 | install stop.sh $RPM_BUILD_ROOT%{_sysconfdir}/autowrr | |
53 | install htb $RPM_BUILD_ROOT%{_sysconfdir}/autowrr | |
54 | install cbq $RPM_BUILD_ROOT%{_sysconfdir}/autowrr | |
f7648720 SP |
55 | |
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc README Changelog TODO | |
62 | %dir %{_sysconfdir}/autowrr | |
63 | %attr(755,root,root) %{_sysconfdir}/autowrr/* | |
64 | %attr(755,root,root) %{_bindir}/* | |
7466e521 | 65 | %attr(754,root,root) /etc/rc.d/init.d/wrr |