diff options
author | David Thiel <lx@FreeBSD.org> | 2012-12-10 06:52:30 +0000 |
---|---|---|
committer | David Thiel <lx@FreeBSD.org> | 2012-12-10 06:52:30 +0000 |
commit | a99ba07fc9e3ba23906c1c0d61d94167a7c38481 (patch) | |
tree | e3844286a45a7b546cf4f4f344496c0c2c0c2213 /www/gatling | |
parent | 443baa79811819fd84c1a5a2c5c727c7d7688e4d (diff) | |
download | ports-a99ba07fc9e3ba23906c1c0d61d94167a7c38481.tar.gz ports-a99ba07fc9e3ba23906c1c0d61d94167a7c38481.zip |
Notes
Diffstat (limited to 'www/gatling')
-rw-r--r-- | www/gatling/Makefile | 6 | ||||
-rw-r--r-- | www/gatling/distinfo | 4 | ||||
-rw-r--r-- | www/gatling/files/patch-GNUmakefile | 23 | ||||
-rw-r--r-- | www/gatling/files/patch-rellink.c | 10 |
4 files changed, 16 insertions, 27 deletions
diff --git a/www/gatling/Makefile b/www/gatling/Makefile index 120f7a6e681b..92026d3efb0b 100644 --- a/www/gatling/Makefile +++ b/www/gatling/Makefile @@ -6,21 +6,21 @@ # PORTNAME= gatling -PORTVERSION= 0.12 +PORTVERSION= 0.13 CATEGORIES= www benchmarks ftp ipv6 MASTER_SITES= http://dl.fefe.de/ MAINTAINER= tmseck@netcologne.de COMMENT= A high performance webserver with scalability benchmark tools -BUILD_DEPENDS= libowfat>=0.25:${PORTSDIR}/devel/libowfat +BUILD_DEPENDS= libowfat>=0.29:${PORTSDIR}/devel/libowfat USE_BZIP2= yes USE_GMAKE= yes USE_OPENSSL= yes USE_RC_SUBR= gatling -CFLAGS+= -I${LOCALBASE}/include/libowfat -I${OPENSSLINC} +CFLAGS+= -I${LOCALBASE}/include/libowfat -I${OPENSSLINC} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} MAKEFILE= GNUmakefile diff --git a/www/gatling/distinfo b/www/gatling/distinfo index 4ef9c88212b6..3a79526def35 100644 --- a/www/gatling/distinfo +++ b/www/gatling/distinfo @@ -1,2 +1,2 @@ -SHA256 (gatling-0.12.tar.bz2) = ffe4dbff99404eb80e6aac215fdf6bf8174355edc33dd1848a51fc1093296a7c -SIZE (gatling-0.12.tar.bz2) = 99540 +SHA256 (gatling-0.13.tar.bz2) = b42145fdf7b66602fa8bc64661c2762172f6d33dbd9d53efebf821cd81e89245 +SIZE (gatling-0.13.tar.bz2) = 108128 diff --git a/www/gatling/files/patch-GNUmakefile b/www/gatling/files/patch-GNUmakefile index bfdcf8f0084d..86d050ea5c6d 100644 --- a/www/gatling/files/patch-GNUmakefile +++ b/www/gatling/files/patch-GNUmakefile @@ -1,6 +1,6 @@ ---- GNUmakefile.orig 2010-04-11 07:49:08.000000000 +0200 -+++ GNUmakefile 2010-04-14 18:29:35.000000000 +0200 -@@ -1,24 +1,23 @@ +--- GNUmakefile.orig 2012-12-07 12:27:09.595489622 -0800 ++++ GNUmakefile 2012-12-07 12:35:03.890478583 -0800 +@@ -1,24 +1,22 @@ -#DEBUG=1 -ZLIB=1 -prefix=/opt/diet @@ -9,11 +9,10 @@ MANDIR=${prefix}/man man1dir=$(MANDIR)/man1 --TARGETS=gatling httpbench bindbench dl ioerr bench tlsgatling \ --pthreadbench cgi +-TARGETS=gatling httpbench bindbench dl ioerr bench tlsgatling_nofail \ +-pthreadbench cgi ptlsgatling_nofail -TARGETS2=mktestdata mmapbench manymapbench forkbench forksbench -+TARGETS=gatling dl \ -+cgi ++TARGETS=gatling dl cgi +TARGETS2= +ifdef BENCHMARKS +TARGETS+=httpbench bindbench ioerr bench pthreadbench @@ -33,10 +32,10 @@ -CFLAGS=-pipe -Wall -LDFLAGS= - + #CFLAGS+=-DSTATE_DEBUG -DMOREDEBUG -DDEBUG_EVENTS -DSMDEBUG + path = $(subst :, ,$(PATH)) - diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet)) - ifeq ($(strip $(diet_path)),) -@@ -34,15 +33,11 @@ +@@ -36,15 +34,11 @@ # to build without diet libc support, use $ make DIET= # see http://www.fefe.de/dietlibc/ for details about the diet libc @@ -54,7 +53,7 @@ endif LDLIBS=-lowfat -@@ -68,7 +63,7 @@ +@@ -70,7 +64,7 @@ CC:=$(DIET) $(CC) pthreadbench: pthreadbench.o @@ -63,7 +62,7 @@ forksbench: forkbench.o $(CC) -static -o $@ forkbench.o $(LDFLAGS) $(LDLIBS) -@@ -121,11 +116,13 @@ +@@ -136,11 +130,13 @@ rm -f trysocket libiconv: tryiconv.c diff --git a/www/gatling/files/patch-rellink.c b/www/gatling/files/patch-rellink.c deleted file mode 100644 index 571253586e0d..000000000000 --- a/www/gatling/files/patch-rellink.c +++ /dev/null @@ -1,10 +0,0 @@ ---- rellink.c.orig 2010-04-15 22:07:47.000000000 +0200 -+++ rellink.c 2010-04-15 22:07:55.000000000 +0200 -@@ -17,6 +17,7 @@ - #include <fcntl.h> - #include <sys/mman.h> - #include <utime.h> -+#include <string.h> - #include "havealloca.h" - - static int canonicalize(stralloc* url,const char* baseurl) { |