diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-02-27 22:02:50 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-04 09:50:13 +0000 |
commit | 343340e96f46bdb10e5136fbeaae0c868106c306 (patch) | |
tree | ba328ecfc8e387c997a7271d1450c5af262c16f0 /testing/siege/APKBUILD | |
parent | af63c19ffcda36e94c36809dc32dbc1d4e649bd8 (diff) | |
download | aports-343340e96f46bdb10e5136fbeaae0c868106c306.tar.bz2 aports-343340e96f46bdb10e5136fbeaae0c868106c306.tar.xz |
testing/siege: new aport
Siege is an http load testing and benchmarking utility. It was
designed to let web developers measure their code under duress,
to see how it will stand up to load on the internet. Siege supports
basic authentication, cookies, HTTP and HTTPS protocols. It lets
its user hit a web server with a configurable number of simulated
web browsers. Those browsers place the server “under sie".
Website: http://www.joedog.org/siege-home/
Diffstat (limited to 'testing/siege/APKBUILD')
-rw-r--r-- | testing/siege/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/testing/siege/APKBUILD b/testing/siege/APKBUILD new file mode 100644 index 0000000000..58c4b9c1a8 --- /dev/null +++ b/testing/siege/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=siege +pkgver=2.74 +pkgrel=0 +pkgdesc="HTTP regression testing and benchmarking utility" +url="http://www.joedog.org/JoeDog/Siege" +arch="all" +license="GPL2+" +depends="" +depends_dev="" +makedepends="openssl-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.joedog.org/pub/siege/$pkgname-$pkgver.tar.gz + siege-2.72-good.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + sed -i.orig doc/siegerc.in -e 's/^# logfile = *$/logfile = ${HOME}\/siege.log/' +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="a23c8670d69f4b78f534095921c90969 siege-2.74.tar.gz +6b1d2956e8cba62cdd44a4faaacbe4cd siege-2.72-good.patch" +sha256sums="cdd686a5695f1c953caab3914c722f7eb81a616102ffb36bb39eb8bcb5ebc802 siege-2.74.tar.gz +15ceaf81547f80d0cbfd947458129e2b7c3c3fe49dbcb37f6444b53f414c91ca siege-2.72-good.patch" +sha512sums="cd551beb79ac69c97b89b7ba4603dfe41190f0a65befbea53c096161e74dff33ea8f41a3d383d75fbec9535fcc229542da91a80c89a50beb7526a0748558835d siege-2.74.tar.gz +a32b459b23e72af06095911905ef58e365a22a9d7c0c7fac13897ce9440484b41c86505da19cbcabb25432aabe60986ffb2b013c75ac22382ce1c8b4a9f28393 siege-2.72-good.patch" |