SPECS: htb-gen.spec (NEW) - initial spec

paszczus paszczus at pld-linux.org
Thu Mar 2 11:00:47 CET 2006


Author: paszczus                     Date: Thu Mar  2 10:00:47 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial spec

---- Files affected:
SPECS:
   htb-gen.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/htb-gen.spec
diff -u /dev/null SPECS/htb-gen.spec:1.1
--- /dev/null	Thu Mar  2 11:00:47 2006
+++ SPECS/htb-gen.spec	Thu Mar  2 11:00:41 2006
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+#
+# TODO:
+# - package web-frontend
+#
+Summary:	htb-gen - easy bandwidth management tool
+Name:		htb-gen
+Version:	0.8.3
+Release:	0.5
+License:	GPL v2
+Group:		Applications
+Source0:	http://www.praga.org.ar/dev/htb-gen/packages/%{name}-%{version}.tar.gz
+# Source0-md5:	99848cb1310a9cfd1d79df005af955cc
+URL:		http://www.praga.org.ar/wacko/DevPraga/htbgen/
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+htb-gen is meant to be an easy, scalable, yet powerfull, bandwidth
+management tool. You can set up/down portions of bandwith for each
+host or network, that goes trough your router/firewall.
+Prioritary traffic(web, mail, gaming, ftp, voip, streaming) is
+preferred over Junk traffic(kazaa, emule, etc). Also dynamic
+bandwith borrow and re-assignation is done betwen host thanks to
+htb boundaries.
+All bash based so it can be used in embedded routers/firewalls
+(wired/wireless).
+Two backend are aviable:
+
+    * generates raw tc commands
+    * generates htb-init conf files (util for integration)
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/htb-gen
+install htb-{gen,stats} $RPM_BUILD_ROOT%{_bindir}
+install htb-gen*.conf $RPM_BUILD_ROOT%{_sysconfdir}/htb-gen
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc FAQ README TODO
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/htb-gen/*
+%attr(755,root,root) %{_bindir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+$Log$
+Revision 1.1  2006/03/02 10:00:41  paszczus
+- initial spec
+
================================================================


More information about the pld-cvs-commit mailing list