1 #Contributor: Sven Kauber <celeon@gmail.com>
6 pkgdesc="An Apache module that throttles HTTP requests for each client IP address independently"
8 url="http://www.topology.org/src/bwshare/README.html"
9 depends=('apache' 'glibc')
10 install=($pkgname.install)
11 source=('ftp://ftp.uni-duisburg.de/Infosys/servers/Apache/modules/mod_bwshare-0.2.1.zip' 'mod_bwshare.install')
12 # official mirror introduced a humanity test, reverting to a public source
13 # source=(http://www.topology.org/src/bwshare/$pkgname-$pkgver.zip)
15 md5sums=('9f82d3a9649ac9cfbbba0255a210d1d3' '9eb02ff2fbc794416dc50fceaec7d777')
18 cd $srcdir/$pkgname-$pkgver
21 apxs -c -o mod_bwshare.so mod_bwshare.c
23 install -D -m755 .libs/mod_bwshare.so $pkgdir/usr/lib/httpd/modules/mod_bwshare.so
24 install -D -m644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE