diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-12 12:29:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-12 12:29:52 +0000 |
commit | d4950612adf494a987671973752ca7a3844c6b8f (patch) | |
tree | 761e0d3e49b57518f57e874e9f00b3be497013a9 | |
parent | e3290ffb59dea98d5618211ef0b0c208b65030bf (diff) | |
download | aports-d4950612adf494a987671973752ca7a3844c6b8f.tar.bz2 aports-d4950612adf494a987671973752ca7a3844c6b8f.tar.xz |
testing/siege: upgrade to 3.0.8
-rw-r--r-- | testing/siege/APKBUILD | 21 | ||||
-rw-r--r-- | testing/siege/stdint.patch | 28 |
2 files changed, 39 insertions, 10 deletions
diff --git a/testing/siege/APKBUILD b/testing/siege/APKBUILD index 20b192dfc9..88e23c877b 100644 --- a/testing/siege/APKBUILD +++ b/testing/siege/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=siege -pkgver=2.74 -pkgrel=1 +pkgver=3.0.8 +pkgrel=0 pkgdesc="HTTP regression testing and benchmarking utility" url="http://www.joedog.org/JoeDog/Siege" arch="all" @@ -12,8 +12,9 @@ depends_dev="" makedepends="openssl-dev sed" install="" subpackages="$pkgname-dbg $pkgname-doc" -source="http://www.joedog.org/pub/siege/$pkgname-$pkgver.tar.gz - siege-2.72-good.patch" +source="http://download.joedog.org/siege/siege-$pkgver.tar.gz + stdint.patch + " _builddir="$srcdir"/$pkgname-$pkgver prepare() { @@ -43,9 +44,9 @@ package() { 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" +md5sums="ddd2abc8856c58f2495170fe65c34aa6 siege-3.0.8.tar.gz +c4ee44914937d0395636d2b03f0c6169 stdint.patch" +sha256sums="b8b5e3e722b75ab2c8a1a51ca25fc58ae599cf78d84e096242ee57622803b297 siege-3.0.8.tar.gz +f8948f1aa23d0375f2d393f47d993f5b3026d3abe17516fa21f942443e5a6a9a stdint.patch" +sha512sums="d4f3b4ff715212bf42df10fea968af95397206f878a7b190fe49cd80b7fcb9abd0bf7f57e34106b956c2de2d151c58fb187329ffff4a748f44db9f156b729b94 siege-3.0.8.tar.gz +2c36dabd634fc700ebcc7aa9ada41a7f8bd6fb87bf57666631b998efc6e6f7b843c0c49e76659d3cd25954b0069838d80618aaa5fef4731bcc26d25a21061328 stdint.patch" diff --git a/testing/siege/stdint.patch b/testing/siege/stdint.patch new file mode 100644 index 0000000000..41ccad90b0 --- /dev/null +++ b/testing/siege/stdint.patch @@ -0,0 +1,28 @@ +--- ./src/hash.c.orig ++++ ./src/hash.c +@@ -26,6 +26,7 @@ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> ++#include <stdint.h> + #include <hash.h> + #include <joedog/joedog.h> + #include <joedog/defs.h> +@@ -54,7 +55,7 @@ + private BOOLEAN __lookup(HASH this, char *key); + private void __resize(HASH this); + private unsigned int __genkey(int size, char *str); +-private u_int32_t fnv_32_buf(void *buf, size_t len, u_int32_t hval); ++private uint32_t fnv_32_buf(void *buf, size_t len, uint32_t hval); + + /** + * allocs size and space for the +@@ -265,7 +266,7 @@ + * FNV-1a hash each octet in the buffer + */ + while (bp < be) { +- hval ^= (u_int32_t)*bp++; ++ hval ^= (uint32_t)*bp++; + hval += (hval<<1) + (hval<<4) + (hval<<7) + (hval<<8) + (hval<<24); + } + return hval; |