Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  2 Nov 2000 18:38:17 -0800 (PST)
From:      k_nishizawa@anet.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/22560: New port: WebStone SSL
Message-ID:  <20001103023817.7EB0837B4C5@hub.freebsd.org>

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

>Number:         22560
>Category:       ports
>Synopsis:       New port: WebStone SSL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 02 18:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kazumasa Nishizawa
>Release:        4.2-BETA-20001101-JPSNAP
>Organization:
Japan
>Environment:
>Description:

>How-To-Repeat:

>Fix:
# 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:
#
#	webstone-ssl
#	webstone-ssl/files
#	webstone-ssl/files/patch-ab
#	webstone-ssl/files/patch-ac
#	webstone-ssl/files/patch-ad
#	webstone-ssl/Makefile
#	webstone-ssl/distinfo
#	webstone-ssl/pkg-comment
#	webstone-ssl/pkg-descr
#	webstone-ssl/pkg-message
#	webstone-ssl/pkg-plist
#
echo c - webstone-ssl
mkdir -p webstone-ssl > /dev/null 2>&1
echo c - webstone-ssl/files
mkdir -p webstone-ssl/files > /dev/null 2>&1
echo x - webstone-ssl/files/patch-ab
sed 's/^X//' >webstone-ssl/files/patch-ab << 'END-of-webstone-ssl/files/patch-ab'
X--- Makefile.in.orig	Mon Sep  4 18:52:21 2000
X+++ Makefile.in	Mon Sep  4 18:52:45 2000
X@@ -64,9 +64,9 @@
X .SUFFIXES:
X .SUFFIXES: .c .o
X 
X-all:	$(TARGETS) cgi api
X+all:	$(TARGETS) cgi
X 
X-install: all install-api install-cgi
X+install: all install-cgi
X 	$(CP) $(TARGETS) $(BINDIR)
X 
X pure: all
END-of-webstone-ssl/files/patch-ab
echo x - webstone-ssl/files/patch-ac
sed 's/^X//' >webstone-ssl/files/patch-ac << 'END-of-webstone-ssl/files/patch-ac'
X--- configure.in.orig	Fri Jun 16 05:55:49 2000
X+++ configure.in	Fri Oct 27 15:15:36 2000
X@@ -79,8 +79,9 @@
X # Replace `main' with a function in -lm:
X AC_CHECK_LIB(m, floor)
X-AC_CHECK_LIB(nsl, gethostbyname)
X-AC_CHECK_LIB(socket, connect, AC_SUBST(LIBS), , -lnsl)
X+#AC_CHECK_LIB(nsl, gethostbyname)
X+#AC_CHECK_LIB(socket, connect, AC_SUBST(LIBS), , -lnsl)
X+AC_CHECK_LIB(c, connect)
X 
X #
X # checks for header files
END-of-webstone-ssl/files/patch-ac
echo x - webstone-ssl/files/patch-ad
sed 's/^X//' >webstone-ssl/files/patch-ad << 'END-of-webstone-ssl/files/patch-ad'
X--- Makefile.in.orig	Mon Oct 30 14:40:23 2000
X+++ Makefile.in	Mon Oct 30 14:45:31 2000
X@@ -29,7 +29,7 @@
X VERSION = @VERSION@
X 
X CC		= @CC@
X-LIBS		= @LIBS@ -lssl -lcrypto	#-lm 
X+LIBS		= @LIBS@ -lssl -lcrypto	-lcompat #-lm 
X LDFLAGS         = @LDFLAGS@
X INCLUDES	= 
X CFLAGS		= @CFLAGS@ -DSTONE_SSL
X@@ -47,11 +47,11 @@
X MAIN3		= genrand.c
X 
X MASTERSRCS	= timefunc.c bench.c parse_file_list.c statistics.c \
X-		  errexit.c sysdep.c
X+		  errexit.c sysdep.c random.c
X 
X STONESRCS	= timefunc.c get.c \
X 		  parse_file_list.c bench.c statistics.c errexit.c \
X-		  sysdep.c
X+		  sysdep.c random.c
X 
X COMPILE         = $(CC) $(CFLAGS) $(DEFS) $(INCLUDES)
X 
END-of-webstone-ssl/files/patch-ad
echo x - webstone-ssl/Makefile
sed 's/^X//' >webstone-ssl/Makefile << 'END-of-webstone-ssl/Makefile'
X# New ports collection makefile for:   webstone-ssl
X# Date created:        2 Nov 2000
X# Whom:                Kazumasa Nishizawa <k_nishizawa@anet.ne.jp>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	webstone
XPORTVERSION= 	2.5
XCATEGORIES=	www benchmarks
XMASTER_SITES=	http://crypto.stanford.edu/~nagendra/projects/WebStone/download/
XPKGNAMESUFFIX=	-ssl
XDISTNAME=	WebStone-SSL-2.5
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	k_nishizawa@anet.ne.jp
X
XUSE_OPENSSL=	yes
XUSE_AUTOCONF=	yes
XGNU_CONFIGURE=	yes
XWRKSRC=		${WRKDIR}/WebStone2.5/src
XALL_TARGET=	install
XNO_INSTALL_MANPAGES=	yes
X
Xdo-install:
X	@${RMDIR} ${WRKSRC}/../bin/runs
X	@${MKDIR} ${PREFIX}/webstone-ssl/bin
X	@${MKDIR} ${PREFIX}/webstone-ssl/conf
X	@${MKDIR} ${PREFIX}/webstone-ssl/lgm
X	${INSTALL_SCRIPT} ${WRKSRC}/../bin/* ${PREFIX}/webstone-ssl/bin
X	${INSTALL_SCRIPT} ${WRKSRC}/../lgm/* ${PREFIX}/webstone-ssl/lgm
X	${INSTALL_DATA} ${WRKSRC}/../conf/* ${PREFIX}/webstone-ssl/conf
X	${INSTALL_SCRIPT} ${WRKSRC}/../webstone  ${PREFIX}/webstone-ssl
X	@${MKDIR} ${WRKSRC}/../bin/runs
X.for file in webclient webmaster genrand
X	strip ${PREFIX}/webstone-ssl/bin/${file}
X.endfor
X.for file in ws20_cgi ws25_cgi
X	strip ${PREFIX}/webstone-ssl/lgm/${file}
X.endfor
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-webstone-ssl/Makefile
echo x - webstone-ssl/distinfo
sed 's/^X//' >webstone-ssl/distinfo << 'END-of-webstone-ssl/distinfo'
XMD5 (WebStone-SSL-2.5.tgz) = f597706142046a29e8a33f022521c9b6
END-of-webstone-ssl/distinfo
echo x - webstone-ssl/pkg-comment
sed 's/^X//' >webstone-ssl/pkg-comment << 'END-of-webstone-ssl/pkg-comment'
XWorld wide web server benchmarking with SSL support
END-of-webstone-ssl/pkg-comment
echo x - webstone-ssl/pkg-descr
sed 's/^X//' >webstone-ssl/pkg-descr << 'END-of-webstone-ssl/pkg-descr'
XWebStone is free benchmarking tool for web servers available from
XMindcraft. The version available here has been SSL enabled, so secure
Xweb servers can be benchmarked using our version. In addition to the
Xdefault configuration parameters, the following can be specified:
X
X  1. SSL_VERSION: SSLv2, SSLv23 or SSLv3 (default SSLv3)
X
X  2. SSL_CIPHER(SSL preferred cipher): use ssl ciphers specified in
X     ssl[2,3].h, e.g RC4-SHA, IDEA-CBC-SHA, DH-DSS-DES-CBC3-SHA
X     (default EDH-RSA-DES-CBC3-SHA). Specifying an SSLv2 cipher in
X     SSLv3 mode won't work (and vice versa)
X
X  3. SSL_CACHE_MODE(client cache mode): ON, OFF (default OFF) 
X
X  4. SSL_MIX(percentage HTTPS connections, remaining connections are
X     filled in with HTTP connections): 0.0-1.0 (default 1.0)
X
X  5. HTTPS_PORT: port (default 8443) 
X
XWWW: http://crypto.stanford.edu/~nagendra/projects/WebStone/
END-of-webstone-ssl/pkg-descr
echo x - webstone-ssl/pkg-message
sed 's/^X//' >webstone-ssl/pkg-message << 'END-of-webstone-ssl/pkg-message'
X
XBefore running webstone make sure that the non-root user
Xwho runs webstone has rexec access to the webclients and
Xthe web server. This user must also have write access to
X/usr/local/webstone-ssl on webmaster and write access in
Xthe web data directory on the web server. Be aware of
Xsecurity risks!
X
XTo run configure webstones, run it, and see the results:
X
X    cd /usr/local/webstone-ssl
X    ${EDITOR} conf/testbed
X    ./webstone -genfiles
X    ./webstone
X    ./webstone -results
X
END-of-webstone-ssl/pkg-message
echo x - webstone-ssl/pkg-plist
sed 's/^X//' >webstone-ssl/pkg-plist << 'END-of-webstone-ssl/pkg-plist'
Xwebstone-ssl/bin/WebStone-common.pl
Xwebstone-ssl/bin/WebStone-filelist.wpl
Xwebstone-ssl/bin/WebStone-help.wpl
Xwebstone-ssl/bin/WebStone-manage.wpl
Xwebstone-ssl/bin/WebStone-run.wpl
Xwebstone-ssl/bin/WebStone-testbed.wpl
Xwebstone-ssl/bin/checkfilelist
Xwebstone-ssl/bin/genfiles
Xwebstone-ssl/bin/genfiles-from-filelist.sh
Xwebstone-ssl/bin/genfiles.pl
Xwebstone-ssl/bin/genrand
Xwebstone-ssl/bin/gui-configure
Xwebstone-ssl/bin/killbench
Xwebstone-ssl/bin/killbench.wpl
Xwebstone-ssl/bin/mine-logs.wpl
Xwebstone-ssl/bin/move-filelist.wpl
Xwebstone-ssl/bin/move-runs.wpl
Xwebstone-ssl/bin/runbench
Xwebstone-ssl/bin/runbench.pl
Xwebstone-ssl/bin/runbench.wpl
Xwebstone-ssl/bin/tabs2html
Xwebstone-ssl/bin/view-results.wpl
Xwebstone-ssl/bin/webclient
Xwebstone-ssl/bin/webmaster
Xwebstone-ssl/bin/webstone-gui.pl
Xwebstone-ssl/bin/write-testbed.wpl
Xwebstone-ssl/bin/ws-utils.pl
Xwebstone-ssl/bin/wscollect
Xwebstone-ssl/bin/wscollect.pl
Xwebstone-ssl/conf/README
Xwebstone-ssl/conf/filelist
Xwebstone-ssl/conf/filelist-dyn-cgi-ws20
Xwebstone-ssl/conf/filelist-dyn-cgi-ws20-win
Xwebstone-ssl/conf/filelist-dyn-cgi-ws25
Xwebstone-ssl/conf/filelist-dyn-cgi-ws25-win
Xwebstone-ssl/conf/filelist-dyn-ws20-iis
Xwebstone-ssl/conf/filelist-dyn-ws20-ns
Xwebstone-ssl/conf/filelist-dyn-ws25-iis
Xwebstone-ssl/conf/filelist-dyn-ws25-ns
Xwebstone-ssl/conf/filelist.homepage
Xwebstone-ssl/conf/filelist.manyfiles
Xwebstone-ssl/conf/filelist.standard
Xwebstone-ssl/conf/fileset
Xwebstone-ssl/conf/paths.pl
Xwebstone-ssl/conf/testbed
Xwebstone-ssl/conf/testbed.nt
Xwebstone-ssl/conf/testbed.orig
Xwebstone-ssl/lgm/keepme
Xwebstone-ssl/lgm/ws20_cgi
Xwebstone-ssl/lgm/ws25_cgi
Xwebstone-ssl/webstone
X@dirrm webstone-ssl/bin
X@dirrm webstone-ssl/conf
X@dirrm webstone-ssl/lgm
X@dirrm webstone-ssl
END-of-webstone-ssl/pkg-plist
exit



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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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