678bb6dc57
good for testing performance with multiple TCP streams. Siege is an http regression testing and benchmarking utility. It was designed to let web developers measure the performance of 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 allows the user hit a web server with a configurable number of concurrent simulated users. Those users place the webserver "under siege."
35 lines
880 B
Makefile
35 lines
880 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/04/09 00:19:14 sthen Exp $
|
|
|
|
COMMENT = multi-threaded HTTP benchmark and regression tester
|
|
|
|
DISTNAME = siege-2.67
|
|
|
|
CATEGORIES = benchmarks www
|
|
|
|
HOMEPAGE = http://www.joedog.org/index/siege-home
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += c crypto pthread ssl
|
|
|
|
# main distribution site is broken for EPSV/EPRT as of 20090409
|
|
MASTER_SITES = http://spacehopper.org/mirrors/ \
|
|
ftp://ftp.joedog.org/pub/siege/
|
|
|
|
MAKE_FLAGS = localstatedir='/var/log/siege'
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS += --localstatedir=/var/log/siege \
|
|
--sysconfdir=${SYSCONFDIR}/siege
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/siege
|
|
${INSTALL_DATA} ${WRKSRC}/doc/urls.txt ${WRKSRC}/doc/siegerc \
|
|
${PREFIX}/share/examples/siege
|
|
|
|
.include <bsd.port.mk>
|