Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22778 - New ebuild: net-www/mod_bandwidth-2.0.4
Summary: New ebuild: net-www/mod_bandwidth-2.0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-06-13 13:33 UTC by CJ Kucera
Modified: 2003-07-13 19:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mod_bandwidth.tar.bz2 (mod_bandwidth.tar.bz2,1.66 KB, application/octet-stream)
2003-06-13 13:33 UTC, CJ Kucera
Details
UPDATED - mod_bandwidth.tar.bz2 (mod_bandwidth.tar.bz2,1.65 KB, application/octet-stream)
2003-06-13 13:37 UTC, CJ Kucera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CJ Kucera 2003-06-13 13:33:02 UTC
mod_bandwidth is a bandwidth management module for Apache.  It differs from
mod_throtlle in that mod_throttle only disallows new requests once a bandwidth
threshhold has been reached, whereas mod_bandwidth actually limits the outgoing
rate, which makes it much more useful for applications such as streaming media.
 It can be found at http://www.cohprog.com/v3/bandwidth/intro-en.html

It is distributed as a single C file, as you'll notice from the ebuild.  It does
require a couple of temporary directories writeable by the apache user, and I've
opted to use the /var/cache/mod_throttle directory for this purpose.  Other than
that, it's a fairly straightforward process.

I'll attach a tarball with the ebuild, the addon-modules config file, digest,
and Manifest in it...

Reproducible: Always
Steps to Reproduce:
Comment 1 CJ Kucera 2003-06-13 13:33:39 UTC
Created attachment 13226 [details]
mod_bandwidth.tar.bz2

Here it is.  Enjoy!
Comment 2 CJ Kucera 2003-06-13 13:37:03 UTC
Created attachment 13227 [details]
UPDATED - mod_bandwidth.tar.bz2

<quote from="me">
  I've opted to use the /var/cache/mod_throttle directory for this purpose.
</quote>

This is because I am a complete idiot, evidentally.  mod_bandwidth is the
directory that should be used.	Here's an updated tarball that does just so. 
Gah.
Comment 3 Donny Davies (RETIRED) gentoo-dev 2003-06-28 13:34:55 UTC
ok
Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-07-13 19:54:49 UTC
Added.

In particular I dont think you really want to be calling the
internal sandbox functions in your ebuilds unless you're really
sure of what you're gonna do with 'em :-)