db3025bc |
1 | Summary: Traffic shaper replacement for Internet Service Providers (ISP). |
2 | Name: prometheus |
3 | Version: 0.7.7 |
4 | Release: 4 |
5 | License: GPL |
6 | Vendor: Arachne Labs http://www.arachne.cz |
7 | Packager: Tomas Lastovicka <aquarius@lamer.cz> |
8 | Group: Applications/System |
9 | Source0: http://gpl.arachne.cz/download/%name-%version.tar.gz |
10 | Patch0: prometheus-conf-rh.patch |
11 | URL: http://gpl.arachne.cz |
12 | Requires: iptables, iproute |
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
14 | |
15 | %description |
16 | QoS (or Quality-of-service) is traffic shaper replacement for Internet Service |
17 | Providers (ISP). Dump your vintage hard-wired routers/shapers (C|sco, etc.) |
18 | in favour of powerful open source and free solution. |
19 | |
20 | Prometheus QoS generates multiple nested HTB tc classes with various rate and |
21 | ceil values, and implements optional daily traffic quotas and data transfer |
22 | statistics (as HTML). It is compatible with NAT, both asymetrical and |
23 | symetrical, yet still provides good two-way shaping and prioritizing, both |
24 | upload and download. |
25 | |
26 | Prometheus QoS was written in C<<1 and depends on HTB algorithm hardcoded |
27 | in Linux kernel. It is currently being tested in real-world enviroment to |
28 | provide QoS services on internet gateway and proxy being used by 1500+ members |
29 | of CZFree.Net broadband community network. |
30 | |
31 | %prep |
32 | %setup -q |
33 | %patch0 -p0 |
34 | |
35 | %build |
36 | make %{_smp_mflags} |
37 | |
38 | %install |
39 | rm -rf %{buildroot} |
40 | mkdir -p %{buildroot}%{_sbindir} |
41 | mkdir -p %{buildroot}%{_mandir}/man1 |
42 | mkdir -p %{buildroot}%{_mandir}/man5 |
43 | mkdir -p %{buildroot}%{_sysconfdir}/cron.d |
44 | mkdir -p %{buildroot}%{_sysconfdir}/prometheus |
45 | |
46 | %makeinstall |
47 | |
48 | %clean |
49 | rm -rf %{buildroot} |
50 | |
51 | %files |
52 | %defattr(-,root,root) |
53 | %{_sbindir}/prometheus |
54 | %{_mandir}/man1/prometheus.1* |
55 | %{_mandir}/man5/prometheus.conf.5* |
56 | %config(noreplace) %{_sysconfdir}/cron.d/prometheus |
57 | %config(noreplace) %{_sysconfdir}/prometheus/prometheus.conf |
58 | %config(noreplace) %{_sysconfdir}/prometheus/hosts |
59 | |
60 | %changelog |
61 | * Sun Jan 6 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-4 |
62 | - added sample configuration files |
63 | - added patch which reflects different locations of some files in redhat-like distros |
64 | |
65 | * Sat Jan 5 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-3 |
66 | - removed screen from dependencies |
67 | - cleaned up cron file |
68 | |
69 | * Sat Jan 5 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-2 |
70 | - added manual pages |
71 | - added crontab file |
72 | |
73 | * Fri Dec 28 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-1 |
74 | - update to latest upstream upstream 0.7.7 |
75 | |
76 | * Mon Dec 03 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7.1-1 |
77 | - Upgraded to newest version, first *real* build :). |
78 | |
79 | * Sun Dec 02 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7-1 |
80 | - Initial RPM release. |