diff options
author | ale <ale@FreeBSD.org> | 2004-02-23 00:21:00 +0000 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-02-23 00:21:00 +0000 |
commit | f44bce896167df87d6875e8535e5e4bd823f0d16 (patch) | |
tree | 358553147623b75b3b235b7256293e4ecdc7fac6 /www | |
parent | 00e4f63dfcdb27e06c63ffaf443021698ea3e7a2 (diff) | |
download | FreeBSD-ports-f44bce896167df87d6875e8535e5e4bd823f0d16.zip FreeBSD-ports-f44bce896167df87d6875e8535e5e4bd823f0d16.tar.gz |
Add gatling 0.4, a high performance webserver with scalability benchmark
tools.
PR: ports/63196
Submitted by: Thomas-Martin Seck <tmseck@netcologne.de>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/gatling/Makefile | 53 | ||||
-rw-r--r-- | www/gatling/distinfo | 2 | ||||
-rw-r--r-- | www/gatling/files/patch-Makefile | 22 | ||||
-rw-r--r-- | www/gatling/pkg-descr | 4 |
5 files changed, 82 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index ea7e8bc..fdcc52e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -111,6 +111,7 @@ SUBDIR += galeon SUBDIR += galeon2 SUBDIR += gallery + SUBDIR += gatling SUBDIR += geeklog SUBDIR += gforge SUBDIR += glibwww diff --git a/www/gatling/Makefile b/www/gatling/Makefile new file mode 100644 index 0000000..c05eb23 --- /dev/null +++ b/www/gatling/Makefile @@ -0,0 +1,53 @@ +# Ports collection Makefile for: gatling +# Date created: Feb 21, 2004 +# Whom: Thomas-Martin Seck <tmseck@netcologne.de> +# +# $FreeBSD$ +# + +PORTNAME= gatling +PORTVERSION= 0.4 +CATEGORIES= www benchmarks +MASTER_SITES= http://dl.fefe.de/ + +MAINTAINER= tmseck@netcologne.de +COMMENT= A high performance webserver with scalability benchmark tools + +BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat + +USE_BZIP2= yes + +MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lowfat" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" + +bin= dl gatling +examples= run-gatling +examplesdir= ${EXAMPLESDIR:S,^${PREFIX}/,,} +PORTDOCS= CHANGES README README.ftp README.http README.performance \ + README.prefetch + +OPTIONS= BENCHMARKS "Install system benchmark programs" on + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_BENCHMARKS) +PORTDOCS+= README.bindbench README.forkbench README.httpbench \ + README.manymapbench README.mmapbench +bin+= bindbench forkbench forksbench httpbench ioerr manymapbench \ + mktestdata mmapbench pthreadbench +examples+= prep run-bench +.endif + +PLIST_DIRS= ${examplesdir} +PLIST_FILES= ${bin:S,^,bin/,} ${examples:S,^,${examplesdir}/,} + +do-install: + cd ${WRKSRC} && ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin + ${MKDIR} ${EXAMPLESDIR} + cd ${WRKSRC} && ${INSTALL_SCRIPT} ${examples} ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/www/gatling/distinfo b/www/gatling/distinfo new file mode 100644 index 0000000..9aceabc --- /dev/null +++ b/www/gatling/distinfo @@ -0,0 +1,2 @@ +MD5 (gatling-0.4.tar.bz2) = fcc8dffa24663205c0bb317dee74b22b +SIZE (gatling-0.4.tar.bz2) = 33923 diff --git a/www/gatling/files/patch-Makefile b/www/gatling/files/patch-Makefile new file mode 100644 index 0000000..8ad9d66 --- /dev/null +++ b/www/gatling/files/patch-Makefile @@ -0,0 +1,22 @@ +--- Makefile.orig Thu Feb 19 17:22:17 2004 ++++ Makefile Mon Feb 23 01:12:25 2004 +@@ -6,9 +6,7 @@ + + all: $(TARGET) + +-CC=gcc +-CFLAGS=-pipe -Wall -Os -I../libowfat/ +-LDFLAGS=-s -L../libowfat/ -lowfat ++CFLAGS+=-I${LOCALBASE}/include/libowfat + + gatling: gatling.o libsocket libiconv + $(CC) -o $@ gatling.o $(LDFLAGS) `cat libsocket libiconv` +@@ -32,7 +30,7 @@ + $(CC) -static -o $@ forkbench.o $(LDFLAGS) + + pthreadbench: pthreadbench.o +- $(CC) -o $@ pthreadbench.o $(LDFLAGS) -lpthread ++ $(CC) -o $@ pthreadbench.o $(LDFLAGS) $(PTHREAD_LIBS) + + mktestdata: mktestdata.o + $(CC) -o $@ mktestdata.o $(LDFLAGS) diff --git a/www/gatling/pkg-descr b/www/gatling/pkg-descr new file mode 100644 index 0000000..ac2ccc7 --- /dev/null +++ b/www/gatling/pkg-descr @@ -0,0 +1,4 @@ +gatling is a high-performance webserver. Some scalability benchmark +tests are included, too. + +WWW: http://www.fefe.de/gatling/ |