updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / mod_antiloris / PKGBUILD
blob78bf21741c943ee2e2b03eb1650f9cec115edff7
1 # Maintainer: Testuser_01 <arch@nico-siebler.de>
3 pkgname=mod_antiloris
4 pkgver=0.4
5 pkgrel=1
6 pkgdesc="With this module, apache is protected against the slowloris attack. The module limits the number of threads in READ state on a per IP basis."
7 url="http://mod-antiloris.sourceforge.net/"
8 arch=('any')
9 install=("${pkgname}.install")
10 license=('Apache License V2.0')
11 depends=('apache>=2.2')
12 source=("http://downloads.sourceforge.net/project/mod-antiloris/${pkgname}-${pkgver}.tar.bz2")
14 md5sums=('66862bf10e9be3a023e475604a28a0b4')
17 build() {
18         cd "${srcdir}" || return 1 
19         cd ${pkgname}-${pkgver} || return 1
20         mkdir -p "${pkgdir}/usr/lib/httpd/modules/" || return 1
21         apxs -i -S LIBEXECDIR="${pkgdir}/usr/lib/httpd/modules/" -c "${pkgname}.c" || return 1