mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
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>
This commit is contained in:
parent
30c266fed3
commit
078b2344aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35634
@ -198,6 +198,7 @@
|
||||
SUBDIR += weblint
|
||||
SUBDIR += webredirect
|
||||
SUBDIR += webstone
|
||||
SUBDIR += webstone-ssl
|
||||
SUBDIR += wml
|
||||
SUBDIR += wmnetselect
|
||||
SUBDIR += wn
|
||||
|
45
www/webstone-ssl/Makefile
Normal file
45
www/webstone-ssl/Makefile
Normal file
@ -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>
|
1
www/webstone-ssl/distinfo
Normal file
1
www/webstone-ssl/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (WebStone-SSL-2.5.tgz) = f597706142046a29e8a33f022521c9b6
|
14
www/webstone-ssl/files/patch-ab
Normal file
14
www/webstone-ssl/files/patch-ab
Normal file
@ -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
|
13
www/webstone-ssl/files/patch-ac
Normal file
13
www/webstone-ssl/files/patch-ac
Normal file
@ -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
|
25
www/webstone-ssl/files/patch-ad
Normal file
25
www/webstone-ssl/files/patch-ad
Normal file
@ -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)
|
||||
|
1
www/webstone-ssl/pkg-comment
Normal file
1
www/webstone-ssl/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
World wide web server benchmarking with SSL support
|
20
www/webstone-ssl/pkg-descr
Normal file
20
www/webstone-ssl/pkg-descr
Normal file
@ -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/
|
16
www/webstone-ssl/pkg-message
Normal file
16
www/webstone-ssl/pkg-message
Normal file
@ -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
|
||||
|
55
www/webstone-ssl/pkg-plist
Normal file
55
www/webstone-ssl/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user