From dima@netserv1.chg.ru Wed Mar  3 11:59:44 1999
Return-Path: <dima@netserv1.chg.ru>
Received: from netserv1.chg.ru (netserv1.chg.ru [193.233.46.3])
	by hub.freebsd.org (Postfix) with ESMTP id 9240415052
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  3 Mar 1999 11:59:29 -0800 (PST)
	(envelope-from dima@netserv1.chg.ru)
Received: (from dima@localhost)
	by netserv1.chg.ru (8.9.1/8.9.1) id WAA20482;
	Wed, 3 Mar 1999 22:58:51 +0300 (MSK)
Message-Id: <199903031958.WAA20482@netserv1.chg.ru>
Date: Wed, 3 Mar 1999 22:58:51 +0300 (MSK)
From: Dima Sivachenko <dima@Chg.RU>
Sender: dima@netserv1.chg.ru
Reply-To: dima@Chg.RU
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port - a benchmarking tool for Web proxies
X-Send-Pr-Version: 3.2

>Number:         10375
>Category:       ports
>Synopsis:       New port - a benchmarking tool for Web proxies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    billf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar  3 12:00:01 PST 1999
>Closed-Date:    Wed Apr 14 13:32:14 PDT 1999
>Last-Modified:  Wed Apr 14 13:38:10 PDT 1999
>Originator:     Dima Sivachenko
>Release:        FreeBSD 3.0-980520-SNAP i386
>Organization:
>Environment:

	

>Description:

New port - polygraph

>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:
#
#	.
#	./Makefile
#	./pkg
#	./pkg/COMMENT
#	./pkg/DESCR
#	./pkg/PLIST
#	./files
#	./files/md5
#	./patches
#	./patches/patch-aa
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	polygraph
X# Version required:	1.0p5
X# Date created:         3 March 1999
X# Whom:                 Dima Sivachenko <dima@chg.ru>
X#
X# $Id: $
X#
X
XDISTNAME=	polygraph-1.0p5-src
XPKGNAME=	polygraph-1.0p5
XCATEGORIES=	www net
XMASTER_SITES=	http://polygraph.ircache.net/sources/	\
X		http://www.chg.ru/~dima/
X
XMAINTAINER=	dima@Chg.RU
X
XWRKSRC=		${WRKDIR}/polygraph/src
X
Xdo-install:
X
X		@ ${INSTALL_PROGRAM} ${WRKSRC}/polyclt ${PREFIX}/bin
X		@ ${INSTALL_PROGRAM} ${WRKSRC}/polysrv ${PREFIX}/bin
X		@ ${INSTALL_PROGRAM} ${WRKSRC}/lr ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XA benchmarking tool for Web proxies.
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XWeb Polygraph is a benchmarking tool for Web proxies. Polygraph
Xdistribution includes a high-performance client and server simulators.
XThe simulators create a stream of HTTP requests that can be routed through
Xa Web proxy. Studying proxy performance under various [stress] conditions is
Xessential for performance tuning, evaluation of new algorithms, analysis of
Xhardware configurations, and comparing available proxy products.
X
XDocumentation can be found at http://polygraph.ircache.net/doc/
X
Xhttp://polygraph.ircache.net/
X
X--Dima
Xdima@chg.ru
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/polyclt
Xbin/polysrv
Xbin/lr
END-of-./pkg/PLIST
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (polygraph-1.0p5-src.tar.gz) = 51bc8e75d8c1d191766e469a138a919e
END-of-./files/md5
echo c - ./patches
mkdir -p ./patches > /dev/null 2>&1
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X--- Makefile.orig	Wed Mar  3 22:39:23 1999
X+++ Makefile	Wed Mar  3 22:41:22 1999
X@@ -10,7 +10,7 @@
X 
X DEFINES =
X 
X-CFLAGS   = -Wall -Wwrite-strings -Woverloaded-virtual -g -O3 $(INCLUDE) $(DEFINES)
X+CFLAGS  += -Wall -Wwrite-strings -Woverloaded-virtual -g -O3 $(INCLUDE) $(DEFINES)
X CXXFLAGS = $(CFLAGS)
X CCFLAGS  = $(CFLAGS)
X 
END-of-./patches/patch-aa
exit


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->billf 
Responsible-Changed-By: billf 
Responsible-Changed-When: Wed Mar 3 12:54:17 PST 1999 
Responsible-Changed-Why:  
I will take this one. 
State-Changed-From-To: open->analyzed 
State-Changed-By: billf 
State-Changed-When: Tue Apr 13 12:52:16 PDT 1999 
State-Changed-Why:  
Ready to import with a few minor changes involving CFLAGS. 

Awaiting response from the good people on -ports as to what CATEGORIES this port 
should belong to. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: billf 
State-Changed-When: Wed Apr 14 13:32:14 PDT 1999 
State-Changed-Why:  
Imported into ports/benchmarks/polygraph with the following changes. 

(1) I upgraded to 1.0p6 (the latest stable version) 
This was released between the time submitted and the time committed. 
(2) I made a (in my opinion) better CFLAGS patch then originally submitted. 
The original patch would end up having two optimization flags. 
(3) In addition to the 'smarter' CFLAGS patch, I also made sure the sub- 
directories' Makefiles were also patched for proper CFLAGS, which the 
original port did not address. 

The submitter needs to update his local MASTER_SITE (which is in this port) 
to contain the new port because of my upgrade. 
>Unformatted:
