mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 21:32:22 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=slowhttptest
|
|
pkgver=1.6
|
|
pkgrel=0
|
|
pkgdesc="An application Layer DoS attack simulator"
|
|
url="http://code.google.com/p/slowhttptest"
|
|
arch="all"
|
|
license="ASL 2.0"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="openssl-dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://slowhttptest.googlecode.com/files/$pkgname-$pkgver.tar.gz"
|
|
|
|
_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
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="72ba999ffee6b00abe25e597fa1d83b2 slowhttptest-1.6.tar.gz"
|
|
sha256sums="77c54a64cfa5f12a84729833d9b98d5f27f828f51a5e42ad5914482d0b2bd0d6 slowhttptest-1.6.tar.gz"
|
|
sha512sums="34360be27120f5922f68f25690d10d7c2e352c99cdc0224a5de5ad935d00b5e0b79ab9f80dd772fab098767acc1bdba41f7279470e75cd9dba9cf4f6aed28774 slowhttptest-1.6.tar.gz"
|