diff options
author | Phillip Smith | 2018-05-17 12:04:23 +1000 |
---|---|---|
committer | Phillip Smith | 2018-05-17 12:04:23 +1000 |
commit | 14dde752b49f04153dfb58df292ef7e1d46a3fab (patch) | |
tree | c1bd0f24bf1939b264f638f1714d815be8255c14 /PKGBUILD | |
parent | a6aaf27c0f79e0c98c6ff500d06e928924e93490 (diff) | |
download | aur-apache-mod_bw.tar.gz |
upgpkg: apache-mod_bw 0.92-1
upstream release
bump to 0.97 (upstream relocated)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 9 insertions, 15 deletions
@@ -13,45 +13,39 @@ pkgname=apache-mod_bw _pkgname=mod_bw -pkgver=0.7 -pkgrel=3 +pkgver=0.92 +pkgrel=1 pkgdesc="DSO module for Apache that throttles HTTP traffic" -url="http://bwmod.sourceforge.net" +url="http://ivn.cl/category/apache/" arch=('i686' 'x86_64') license=('apache') depends=('apache') makedepends=('apache') install="$pkgname.install" -source=("http://bwmod.sourceforge.net/files/$_pkgname-$pkgver.tgz" - 'apr_atomic_fix.patch' +source=("http://ivn.cl/files/source/$_pkgname-$pkgver.tgz" 'apache24.patch') -md5sums=('d792a892517ca89f21ac2a6c01e6ccb2' - 'f9cdca58c58678a2e334086ccf81f898' +md5sums=('90f5e632dad5de8d49dcdb61453dcf97' '23f29e631f65ba05e650a5b0cf57dba7') _MODDIR='usr/lib/httpd/modules' _DOCDIR="usr/share/doc/$pkgname" prepare() { - cd $srcdir/$_pkgname - - # fix for undefined symbol errors: - # http://4j.blogspot.com/2008/09/fix-for-modbw-when-getting-error.html - patch < "$srcdir"/apr_atomic_fix.patch + cd "$srcdir" # fix for apache 2.4 patch < "$srcdir"/apache24.patch } - + build() { - cd $srcdir/$_pkgname + cd "$srcdir" # make the module /usr/sbin/apxs -c -o $_pkgname.so $_pkgname.c } package() { - cd $srcdir/$_pkgname + cd "$srcdir" install -Dm644 .libs/$_pkgname.so $pkgdir/$_MODDIR/$_pkgname.so |