Skip site navigation (1)Skip section navigation (2)
Date:      21 Feb 2004 23:09:48 -0000
From:      Thomas-Martin Seck <tmseck@netcologne.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63196: [New port] {benchmarks,www}/gatling - a high performance webserver
Message-ID:  <20040221230948.6831.qmail@laurel.tmseck.homedns.org>
Resent-Message-ID: <200402212310.i1LNANu4081802@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63196
>Category:       ports
>Synopsis:       [New port] {benchmarks,www}/gatling - a high performance webserver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 21 15:10:23 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
private site in Germany
>Environment:
FreeBSD ports repository as of Feb 21, 2004.

	
>Description:
gatling is a high performance webserver written by Felix von Leitner.
The project additionally consists of some scalability benchmark programs.
The project's homepage is http://www.fefe.de/gatling/
This port depends on devel/libowfat.
>How-To-Repeat:
	
>Fix:

	

--- gatling.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gatling
#	gatling/files
#	gatling/files/patch-Makefile
#	gatling/Makefile
#	gatling/distinfo
#	gatling/pkg-descr
#
echo c - gatling
mkdir -p gatling > /dev/null 2>&1
echo c - gatling/files
mkdir -p gatling/files > /dev/null 2>&1
echo x - gatling/files/patch-Makefile
sed 's/^X//' >gatling/files/patch-Makefile << 'END-of-gatling/files/patch-Makefile'
X--- Makefile.orig	Sat Feb 21 21:35:12 2004
X+++ Makefile	Sat Feb 21 21:35:50 2004
X@@ -6,10 +6,6 @@
X 
X all: $(TARGET)
X 
X-CC=gcc
X-CFLAGS=-pipe -Wall -Os -I../libowfat/
X-LDFLAGS=-s -L../libowfat/ -lowfat
X-
X gatling: gatling.o libsocket libiconv
X 	$(CC) -o $@ gatling.o $(LDFLAGS) `cat libsocket libiconv`
X 
X@@ -32,7 +28,7 @@
X 	$(CC) -static -o $@ forkbench.o $(LDFLAGS)
X 
X pthreadbench: pthreadbench.o
X-	$(CC) -o $@ pthreadbench.o $(LDFLAGS) -lpthread
X+	$(CC) -o $@ pthreadbench.o $(LDFLAGS) $(PTHREAD_LIBS)
X 
X mktestdata: mktestdata.o
X 	$(CC) -o $@ mktestdata.o $(LDFLAGS)
END-of-gatling/files/patch-Makefile
echo x - gatling/Makefile
sed 's/^X//' >gatling/Makefile << 'END-of-gatling/Makefile'
X# Ports collection Makefile for: gatling
X# Date created:			Feb 21, 2004
X# Whom:				Thomas-Martin Seck <tmseck@netcologne.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gatling
XPORTVERSION=	0.4
XCATEGORIES=	benchmarks www
XMASTER_SITES=	http://dl.fefe.de/
X
XMAINTAINER=	tmseck@netcologne.de
XCOMMENT=	A high performance webserver with scalability benchmark tools
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat
X
XUSE_BZIP2=	yes
X
XCFLAGS+=	-I${LOCALBASE}/include/libowfat
XMAKE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib -lowfat" \
X		PTHREAD_LIBS="${PTHREAD_LIBS}"
X
Xbin=		dl gatling
Xexamples=	run-gatling
X_examplesdir=	${EXAMPLESDIR:S,^${PREFIX}/,,}
XPORTDOCS=	CHANGES README README.ftp README.http README.performance \
X		README.prefetch
X
XOPTIONS=	GATLING_BENCHMARKS "Install system benchmark programs" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_GATLING_BENCHMARKS)
XPORTDOCS+=	README.bindbench README.forkbench README.httpbench \
X		README.manymapbench README.mmapbench
Xbin+=		bindbench forkbench forksbench httpbench ioerr manymapbench \
X		mktestdata mmapbench pthreadbench
Xexamples+=	prep run-bench
X.endif
X
XPLIST_DIRS=	${_examplesdir}
XPLIST_FILES=	${bin:S,^,bin/,} ${examples:S,^,${_examplesdir}/,}
X
Xdo-install:
X	cd ${WRKSRC} && ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin
X	${MKDIR} ${EXAMPLESDIR}
X	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${examples} ${EXAMPLESDIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-gatling/Makefile
echo x - gatling/distinfo
sed 's/^X//' >gatling/distinfo << 'END-of-gatling/distinfo'
XMD5 (gatling-0.4.tar.bz2) = fcc8dffa24663205c0bb317dee74b22b
XSIZE (gatling-0.4.tar.bz2) = 33923
END-of-gatling/distinfo
echo x - gatling/pkg-descr
sed 's/^X//' >gatling/pkg-descr << 'END-of-gatling/pkg-descr'
Xgatling is a high-performance webserver. Some scalability benchmark
Xtests are included, too.
X
XWWW: http://www.fefe.de/gatling/
END-of-gatling/pkg-descr
exit
--- gatling.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040221230948.6831.qmail>