diff options
author | Will Andrews <will@FreeBSD.org> | 2000-12-03 21:01:58 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-12-03 21:01:58 +0000 |
commit | 078b2344aa8686ab948357c6047debe5f25a11d1 (patch) | |
tree | 3dbda7d8647f484aebbc1bd699732505d7d1bbfd /www/webstone-ssl | |
parent | 30c266fed3634b14083e4afdbf3ac70355fea2d1 (diff) | |
download | ports-078b2344aa8686ab948357c6047debe5f25a11d1.tar.gz ports-078b2344aa8686ab948357c6047debe5f25a11d1.zip |
Add Webstone-SSL 2.5, a benchmarking tool that supports SSL-enabled
http servers.
PR: 22560
Submitted by: Kazumasa Nishizawa <k_nishizawa@anet.ne.jp>
Notes
Notes:
svn path=/head/; revision=35634
Diffstat (limited to 'www/webstone-ssl')
-rw-r--r-- | www/webstone-ssl/Makefile | 45 | ||||
-rw-r--r-- | www/webstone-ssl/distinfo | 1 | ||||
-rw-r--r-- | www/webstone-ssl/files/patch-ab | 14 | ||||
-rw-r--r-- | www/webstone-ssl/files/patch-ac | 13 | ||||
-rw-r--r-- | www/webstone-ssl/files/patch-ad | 25 | ||||
-rw-r--r-- | www/webstone-ssl/pkg-comment | 1 | ||||
-rw-r--r-- | www/webstone-ssl/pkg-descr | 20 | ||||
-rw-r--r-- | www/webstone-ssl/pkg-message | 16 | ||||
-rw-r--r-- | www/webstone-ssl/pkg-plist | 55 |
9 files changed, 190 insertions, 0 deletions
diff --git a/www/webstone-ssl/Makefile b/www/webstone-ssl/Makefile new file mode 100644 index 000000000000..a5c7d9134176 --- /dev/null +++ b/www/webstone-ssl/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: webstone-ssl +# Date created: 2 Nov 2000 +# Whom: Kazumasa Nishizawa <k_nishizawa@anet.ne.jp> +# +# $FreeBSD$ +# + +PORTNAME= webstone +PORTVERSION= 2.5 +CATEGORIES= www benchmarks +MASTER_SITES= http://crypto.stanford.edu/~nagendra/projects/WebStone/download/ +PKGNAMESUFFIX= -ssl +DISTNAME= WebStone-SSL-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= k_nishizawa@anet.ne.jp + +USE_OPENSSL= yes +USE_AUTOCONF= yes +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/WebStone${PORTVERSION}/src +ALL_TARGET= install +NO_INSTALL_MANPAGES= yes + +do-install: + @${RMDIR} ${WRKSRC}/../bin/runs + @${MKDIR} ${PREFIX}/webstone-ssl/bin + @${MKDIR} ${PREFIX}/webstone-ssl/conf + @${MKDIR} ${PREFIX}/webstone-ssl/lgm + ${INSTALL_SCRIPT} ${WRKSRC}/../bin/* ${PREFIX}/webstone-ssl/bin + ${INSTALL_SCRIPT} ${WRKSRC}/../lgm/* ${PREFIX}/webstone-ssl/lgm + ${INSTALL_DATA} ${WRKSRC}/../conf/* ${PREFIX}/webstone-ssl/conf + ${INSTALL_SCRIPT} ${WRKSRC}/../webstone ${PREFIX}/webstone-ssl + @${MKDIR} ${WRKSRC}/../bin/runs +.for file in webclient webmaster genrand + strip ${PREFIX}/webstone-ssl/bin/${file} +.endfor +.for file in ws20_cgi ws25_cgi + strip ${PREFIX}/webstone-ssl/lgm/${file} +.endfor + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/webstone-ssl/distinfo b/www/webstone-ssl/distinfo new file mode 100644 index 000000000000..b3cd793f2562 --- /dev/null +++ b/www/webstone-ssl/distinfo @@ -0,0 +1 @@ +MD5 (WebStone-SSL-2.5.tgz) = f597706142046a29e8a33f022521c9b6 diff --git a/www/webstone-ssl/files/patch-ab b/www/webstone-ssl/files/patch-ab new file mode 100644 index 000000000000..d2f98058f3b5 --- /dev/null +++ b/www/webstone-ssl/files/patch-ab @@ -0,0 +1,14 @@ +--- Makefile.in.orig Mon Sep 4 18:52:21 2000 ++++ Makefile.in Mon Sep 4 18:52:45 2000 +@@ -64,9 +64,9 @@ + .SUFFIXES: + .SUFFIXES: .c .o + +-all: $(TARGETS) cgi api ++all: $(TARGETS) cgi + +-install: all install-api install-cgi ++install: all install-cgi + $(CP) $(TARGETS) $(BINDIR) + + pure: all diff --git a/www/webstone-ssl/files/patch-ac b/www/webstone-ssl/files/patch-ac new file mode 100644 index 000000000000..111a77922562 --- /dev/null +++ b/www/webstone-ssl/files/patch-ac @@ -0,0 +1,13 @@ +--- configure.in.orig Fri Jun 16 05:55:49 2000 ++++ configure.in Fri Oct 27 15:15:36 2000 +@@ -79,8 +79,9 @@ + # Replace `main' with a function in -lm: + AC_CHECK_LIB(m, floor) +-AC_CHECK_LIB(nsl, gethostbyname) +-AC_CHECK_LIB(socket, connect, AC_SUBST(LIBS), , -lnsl) ++#AC_CHECK_LIB(nsl, gethostbyname) ++#AC_CHECK_LIB(socket, connect, AC_SUBST(LIBS), , -lnsl) ++AC_CHECK_LIB(c, connect) + + # + # checks for header files diff --git a/www/webstone-ssl/files/patch-ad b/www/webstone-ssl/files/patch-ad new file mode 100644 index 000000000000..2f485df1ef9e --- /dev/null +++ b/www/webstone-ssl/files/patch-ad @@ -0,0 +1,25 @@ +--- Makefile.in.orig Mon Oct 30 14:40:23 2000 ++++ Makefile.in Mon Oct 30 14:45:31 2000 +@@ -29,7 +29,7 @@ + VERSION = @VERSION@ + + CC = @CC@ +-LIBS = @LIBS@ -lssl -lcrypto #-lm ++LIBS = @LIBS@ -lssl -lcrypto -lcompat #-lm + LDFLAGS = @LDFLAGS@ + INCLUDES = + CFLAGS = @CFLAGS@ -DSTONE_SSL +@@ -47,11 +47,11 @@ + MAIN3 = genrand.c + + MASTERSRCS = timefunc.c bench.c parse_file_list.c statistics.c \ +- errexit.c sysdep.c ++ errexit.c sysdep.c random.c + + STONESRCS = timefunc.c get.c \ + parse_file_list.c bench.c statistics.c errexit.c \ +- sysdep.c ++ sysdep.c random.c + + COMPILE = $(CC) $(CFLAGS) $(DEFS) $(INCLUDES) + diff --git a/www/webstone-ssl/pkg-comment b/www/webstone-ssl/pkg-comment new file mode 100644 index 000000000000..582b652140d8 --- /dev/null +++ b/www/webstone-ssl/pkg-comment @@ -0,0 +1 @@ +World wide web server benchmarking with SSL support diff --git a/www/webstone-ssl/pkg-descr b/www/webstone-ssl/pkg-descr new file mode 100644 index 000000000000..0ec312090487 --- /dev/null +++ b/www/webstone-ssl/pkg-descr @@ -0,0 +1,20 @@ +WebStone is free benchmarking tool for web servers available from +Mindcraft. The version available here has been SSL enabled, so secure +web servers can be benchmarked using our version. In addition to the +default configuration parameters, the following can be specified: + + 1. SSL_VERSION: SSLv2, SSLv23 or SSLv3 (default SSLv3) + + 2. SSL_CIPHER(SSL preferred cipher): use ssl ciphers specified in + ssl[2,3].h, e.g RC4-SHA, IDEA-CBC-SHA, DH-DSS-DES-CBC3-SHA + (default EDH-RSA-DES-CBC3-SHA). Specifying an SSLv2 cipher in + SSLv3 mode won't work (and vice versa) + + 3. SSL_CACHE_MODE(client cache mode): ON, OFF (default OFF) + + 4. SSL_MIX(percentage HTTPS connections, remaining connections are + filled in with HTTP connections): 0.0-1.0 (default 1.0) + + 5. HTTPS_PORT: port (default 8443) + +WWW: http://crypto.stanford.edu/~nagendra/projects/WebStone/ diff --git a/www/webstone-ssl/pkg-message b/www/webstone-ssl/pkg-message new file mode 100644 index 000000000000..62ce83ee7d21 --- /dev/null +++ b/www/webstone-ssl/pkg-message @@ -0,0 +1,16 @@ + +Before running webstone make sure that the non-root user +who runs webstone has rexec access to the webclients and +the web server. This user must also have write access to +/usr/local/webstone-ssl on webmaster and write access in +the web data directory on the web server. Be aware of +security risks! + +To run configure webstones, run it, and see the results: + + cd /usr/local/webstone-ssl + ${EDITOR} conf/testbed + ./webstone -genfiles + ./webstone + ./webstone -results + diff --git a/www/webstone-ssl/pkg-plist b/www/webstone-ssl/pkg-plist new file mode 100644 index 000000000000..2f14be3caa54 --- /dev/null +++ b/www/webstone-ssl/pkg-plist @@ -0,0 +1,55 @@ +webstone-ssl/bin/WebStone-common.pl +webstone-ssl/bin/WebStone-filelist.wpl +webstone-ssl/bin/WebStone-help.wpl +webstone-ssl/bin/WebStone-manage.wpl +webstone-ssl/bin/WebStone-run.wpl +webstone-ssl/bin/WebStone-testbed.wpl +webstone-ssl/bin/checkfilelist +webstone-ssl/bin/genfiles +webstone-ssl/bin/genfiles-from-filelist.sh +webstone-ssl/bin/genfiles.pl +webstone-ssl/bin/genrand +webstone-ssl/bin/gui-configure +webstone-ssl/bin/killbench +webstone-ssl/bin/killbench.wpl +webstone-ssl/bin/mine-logs.wpl +webstone-ssl/bin/move-filelist.wpl +webstone-ssl/bin/move-runs.wpl +webstone-ssl/bin/runbench +webstone-ssl/bin/runbench.pl +webstone-ssl/bin/runbench.wpl +webstone-ssl/bin/tabs2html +webstone-ssl/bin/view-results.wpl +webstone-ssl/bin/webclient +webstone-ssl/bin/webmaster +webstone-ssl/bin/webstone-gui.pl +webstone-ssl/bin/write-testbed.wpl +webstone-ssl/bin/ws-utils.pl +webstone-ssl/bin/wscollect +webstone-ssl/bin/wscollect.pl +webstone-ssl/conf/README +webstone-ssl/conf/filelist +webstone-ssl/conf/filelist-dyn-cgi-ws20 +webstone-ssl/conf/filelist-dyn-cgi-ws20-win +webstone-ssl/conf/filelist-dyn-cgi-ws25 +webstone-ssl/conf/filelist-dyn-cgi-ws25-win +webstone-ssl/conf/filelist-dyn-ws20-iis +webstone-ssl/conf/filelist-dyn-ws20-ns +webstone-ssl/conf/filelist-dyn-ws25-iis +webstone-ssl/conf/filelist-dyn-ws25-ns +webstone-ssl/conf/filelist.homepage +webstone-ssl/conf/filelist.manyfiles +webstone-ssl/conf/filelist.standard +webstone-ssl/conf/fileset +webstone-ssl/conf/paths.pl +webstone-ssl/conf/testbed +webstone-ssl/conf/testbed.nt +webstone-ssl/conf/testbed.orig +webstone-ssl/lgm/keepme +webstone-ssl/lgm/ws20_cgi +webstone-ssl/lgm/ws25_cgi +webstone-ssl/webstone +@dirrm webstone-ssl/bin +@dirrm webstone-ssl/conf +@dirrm webstone-ssl/lgm +@dirrm webstone-ssl |