View | Details | Raw Unified | Return to bug 206242
Collapse All | Expand All

(-)benchmarks/polygraph/Makefile (-18 / +29 lines)
Lines 2-13 Link Here
2
# $FreeBSD: head/benchmarks/polygraph/Makefile 398241 2015-09-30 23:09:05Z amdmi3 $
2
# $FreeBSD: head/benchmarks/polygraph/Makefile 398241 2015-09-30 23:09:05Z amdmi3 $
3
3
4
PORTNAME=	polygraph
4
PORTNAME=	polygraph
5
PORTVERSION=	4.3.2
5
PORTVERSION=	4.9.0
6
PORTREVISION=	1
6
DISTVERSIONSUFFIX=	-src
7
CATEGORIES=	benchmarks www
7
CATEGORIES=	benchmarks www
8
MASTER_SITES=	http://www.web-polygraph.org/downloads/srcs/ \
8
MASTER_SITES=	http://www.web-polygraph.org/downloads/srcs/
9
		http://people.bsdgroup.de/~as/freebsd/distfiles/
10
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
11
9
12
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Benchmarking tool for Web proxies
11
COMMENT=	Benchmarking tool for Web proxies
Lines 15-41 Link Here
15
LICENSE=	APACHE20
13
LICENSE=	APACHE20
16
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
17
15
18
USES=		shebangfix tar:tgz
16
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
17
18
USES=		gmake ncurses shebangfix tar:tgz
19
SHEBANG_FILES=	tools/*.pl
19
SHEBANG_FILES=	tools/*.pl
20
USE_GCC=	any
20
USE_GCC=	any
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
23
22
24
CONFLICTS=	ltrace-0*
23
CONFLICTS=	ltrace-0*
25
24
26
OPTIONS_DEFINE=	GNUPLOT OPENSSL PERL ZLIB
25
OPTIONS_DEFINE=		DOCS GNUPLOT GSSAPI LDNS PERL SSL ZLIB
27
OPTIONS_DEFAULT=OPENSSL ZLIB
26
OPTIONS_DEFAULT=	SSL ZLIB
28
29
GNUPLOT_DESC=	GNUPlot for full reporting functionality
30
OPENSSL_DESC=	Enable SSL/HTTPS support
31
PERL_DESC=	Install Perl for PolyGraph tools
32
ZLIB_DESC=	Enable HTTP compression support
33
27
28
GNUPLOT_DESC=		GNUPlot for full reporting functionality
34
GNUPLOT_RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
29
GNUPLOT_RUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
35
OPENSSL_USE=		OPENSSL=yes
30
GSSAPI_USES=		gssapi:mit
36
OPENSSL_CONFIGURE_ON=	--with-ssl=${OPENSSLBASE}
31
GSSAPI_CONFIGURE_ON=	--with-kerberos=${KRB5CONFIG} ${GSSAPI_CONFIGURE_ARGS}
32
GSSAPI_CONFIGURE_OFF=	--without-kerberos
33
LDNS_DESC=		DNS zone file support via libldns
34
LDNS_LIB_DEPENDS=	libldns.so:${PORTSDIR}/dns/ldns
35
LDNS_CONFIGURE_ON=	--with-ldns=${LOCALBASE}/bin/ldns-config
36
LDNS_CONFIGURE_OFF=	--without-ldns
37
SSL_DESC=		SSL/HTTPS support
38
SSL_USE=		openssl=yes
39
SSL_CONFIGURE_ON=	--with-ssl=${OPENSSLBASE}
40
SSL_CONFIGURE_OFF=	--without-ssl
41
PERL_DESC=		Install Perl for PolyGraph tools
37
PERL_USES=		perl5
42
PERL_USES=		perl5
38
PERL_USE=		PERL5=run
43
PERL_USE=		perl5=run
39
ZLIB_CONFIGURE_WITH=	zlib=/usr
44
ZLIB_DESC=		HTTP compression support
45
ZLIB_CONFIGURE_ON=	--with-zlib=/usr
46
ZLIB_CONFIGURE_OFF=	--without-zlib
47
48
post-patch:
49
	@${REINPLACE_CMD} -e \
50
		'/LICENSE /d' ${WRKSRC}/Makefile.in
40
51
41
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)benchmarks/polygraph/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (polygraph-4.3.2-src.tgz) = b0104448ff3c2f29cebeb5ad5ee6e6f670438d8b78fa095fd54f3b16d99569bb
1
SHA256 (polygraph-4.9.0-src.tgz) = 36af0031e15b0a123fecda2d74c36cbe632cd479bdb2c85c1b020d4e57ff6bf4
2
SIZE (polygraph-4.3.2-src.tgz) = 1497797
2
SIZE (polygraph-4.9.0-src.tgz) = 3371570
(-)benchmarks/polygraph/files/patch-src_runtime_StatPhase.cc (-21 lines)
Lines 1-21 Link Here
1
--- src/runtime/StatPhase.cc.orig	2011-04-04 22:07:36.000000000 +0000
2
+++ src/runtime/StatPhase.cc
3
@@ -413,12 +413,12 @@ void StatPhase::noteXactEvent(BcastChann
4
 						break;
5
 				}
6
 		} else {
7
-			static CompoundXactInfo &compound = *CompoundXactInfo::Create();
8
-			compound.exchanges = 1;
9
-			compound.reqSize = reqSize;
10
-			compound.repSize = repSize;
11
-			compound.lifeTime = repTime;
12
-			compound.record(rec.theIsolated);
13
+			static CompoundXactInfo &compound2 = *CompoundXactInfo::Create();
14
+			compound2.exchanges = 1;
15
+			compound2.reqSize = reqSize;
16
+			compound2.repSize = repSize;
17
+			compound2.lifeTime = repTime;
18
+			compound2.record(rec.theIsolated);
19
 		}
20
 
21
 		if (x->cookiesSent() > 0)
(-)benchmarks/polygraph/files/patch-src_xstd_Heap.h (-11 lines)
Lines 1-11 Link Here
1
--- src/xstd/Heap.h.orig	2011-04-04 22:07:36.000000000 +0000
2
+++ src/xstd/Heap.h
3
@@ -23,7 +23,7 @@ class Heap: protected Array<Item> {
4
 		const Item &top() const { return this->theItems[1]; }
5
 		Item &at(int idx) { return this->theItems[idx+1]; }
6
 
7
-		void add(Item v) { append(v); floatUp(++theCnt); }
8
+		void add(Item v) { this->append(v); floatUp(++theCnt); }
9
 		void skip() { this->theItems[1] = this->theItems[theCnt--]; this->theCount--; sinkDown(1); }
10
 		Item shift() { const Item v = this->theItems[1]; skip(); return v; }
11
 
(-)benchmarks/polygraph/files/patch-src_xstd_Ring.h (-18 lines)
Lines 1-18 Link Here
1
--- src/xstd/Ring.h.orig	2011-04-04 22:07:36.000000000 +0000
2
+++ src/xstd/Ring.h
3
@@ -22,11 +22,11 @@ class Ring: protected Array<Item> {
4
 		int size() const { return Array<Item>::size(); }
5
 		bool empty() const { return this->theInOff <= this->theOutOff; }
6
 		bool full() const { return count() >= this->theCapacity; }
7
-		const Item &top(int off = 0) const { return item((this->theOutOff+off) % this->theCapacity); }
8
+		const Item &top(int off = 0) const { return this->item((this->theOutOff+off) % this->theCapacity); }
9
 
10
-		Item &top(int off = 0) { return item((this->theOutOff+off) % this->theCapacity); }
11
-		void enqueue(Item i) { Assert(!full()); item(this->theInOff++ % this->theCapacity) = i; check(); }
12
-		Item dequeue() { return item(this->theOutOff++ % this->theCapacity); }
13
+		Item &top(int off = 0) { return this->item((this->theOutOff+off) % this->theCapacity); }
14
+		void enqueue(Item i) { Assert(!full()); this->item(this->theInOff++ % this->theCapacity) = i; check(); }
15
+		Item dequeue() { return this->item(this->theOutOff++ % this->theCapacity); }
16
 
17
 		void reset() { this->theInOff = this->theOutOff = 0; }
18
 		inline void resize(int aCap);
(-)benchmarks/polygraph/pkg-descr (-2 lines)
Lines 5-10 Link Here
5
essential for performance tuning, evaluation of new algorithms, analysis of
5
essential for performance tuning, evaluation of new algorithms, analysis of
6
hardware configurations, and comparing available proxy products.
6
hardware configurations, and comparing available proxy products.
7
7
8
Documentation can be found at http://polygraph.ircache.net/doc/
9
10
WWW: http://www.web-polygraph.org/
8
WWW: http://www.web-polygraph.org/
(-)benchmarks/polygraph/pkg-plist (-41 / +70 lines)
Lines 1-53 Link Here
1
bin/polygraph-pgl-test
1
bin/polygraph-aka
2
bin/polygraph-pgl2eng
2
bin/polygraph-beepmon
3
bin/polygraph-pgl2acl
4
bin/polygraph-cdb
3
bin/polygraph-cdb
5
bin/polygraph-server
6
bin/polygraph-client
4
bin/polygraph-client
7
bin/polygraph-pgl2ldif
5
bin/polygraph-cmp-lx
8
bin/polygraph-lx
9
bin/polygraph-lr
10
bin/polygraph-ltrace
11
bin/polygraph-reporter
12
bin/polygraph-aka
13
bin/polygraph-pop-test
14
bin/polygraph-distr-test
6
bin/polygraph-distr-test
15
bin/polygraph-rng-test
16
bin/polygraph-dns-cfg
7
bin/polygraph-dns-cfg
8
bin/polygraph-lr
9
bin/polygraph-ltrace
10
bin/polygraph-lx
11
bin/polygraph-pgl-test
12
bin/polygraph-pgl2acl
13
bin/polygraph-pgl2eng
17
bin/polygraph-pgl2ips
14
bin/polygraph-pgl2ips
18
bin/polygraph-polyprobe
15
bin/polygraph-pgl2ldif
16
bin/polygraph-pmix2-ips
17
bin/polygraph-pmix3-ips
19
bin/polygraph-polymon
18
bin/polygraph-polymon
19
bin/polygraph-polyprobe
20
bin/polygraph-polyrrd
20
bin/polygraph-polyrrd
21
bin/polygraph-pop-test
22
bin/polygraph-reporter
23
bin/polygraph-rng-test
24
bin/polygraph-server
21
bin/polygraph-udp2tcpd
25
bin/polygraph-udp2tcpd
22
bin/polygraph-beepmon
23
bin/polygraph-pmix2-ips
24
bin/polygraph-pmix3-ips
25
bin/polygraph-webaxe4-ips
26
bin/polygraph-webaxe4-ips
26
bin/polygraph-cmp-lx
27
%%DATADIR%%/workloads/datacomm-1.pg
28
%%DATADIR%%/workloads/downtime-2.pg
29
%%DATADIR%%/workloads/include/benches.pg
30
%%DATADIR%%/workloads/include/contents.pg
31
%%DATADIR%%/workloads/include/phases.pg
32
%%DATADIR%%/workloads/include/pipes.pg
33
%%DATADIR%%/workloads/include/polymix-3-guts.pg
34
%%DATADIR%%/workloads/include/polymix-4-guts.pg
35
%%DATADIR%%/workloads/include/webaxe-4-guts.pg
36
%%DATADIR%%/workloads/nolb-l4-4.pg
37
%%DATADIR%%/workloads/polyfill-2.pg
38
%%DATADIR%%/workloads/polymix-1.pg
39
%%DATADIR%%/workloads/polymix-2.pg
40
%%DATADIR%%/workloads/polymix-3.pg
41
%%DATADIR%%/workloads/polymix-4.pg
42
%%DATADIR%%/workloads/pxylb-4.pg
43
%%DATADIR%%/workloads/simple.pg
44
%%DATADIR%%/workloads/srvlb-l4-4.pg
45
%%DATADIR%%/workloads/srvlb-l7-4.pg
46
%%DATADIR%%/workloads/test_csm.pg
47
%%DATADIR%%/workloads/test_polypxy.pg
48
%%DATADIR%%/workloads/webaxe-1.pg
49
%%DATADIR%%/workloads/webaxe-3.pg
50
%%DATADIR%%/workloads/webaxe-4.pg
51
man/man1/polygraph-aka.1.gz
27
man/man1/polygraph-aka.1.gz
52
man/man1/polygraph-beepmon.1.gz
28
man/man1/polygraph-beepmon.1.gz
53
man/man1/polygraph-cdb.1.gz
29
man/man1/polygraph-cdb.1.gz
Lines 75-77 Link Here
75
man/man1/polygraph-udp2tcpd.1.gz
51
man/man1/polygraph-udp2tcpd.1.gz
76
man/man1/polygraph-webaxe4-ips.1.gz
52
man/man1/polygraph-webaxe4-ips.1.gz
77
man/man7/polygraph.7.gz
53
man/man7/polygraph.7.gz
54
%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
55
%%PORTDOCS%%%%DOCSDIR%%/NOTICE
56
%%PORTDOCS%%%%DOCSDIR%%/README
57
%%PORTDOCS%%%%DOCSDIR%%/change.log
58
%%DATADIR%%/javascripts/ReportFigures.js
59
%%DATADIR%%/javascripts/jqplot.canvasAxisLabelRenderer.js
60
%%DATADIR%%/javascripts/jqplot.canvasTextRenderer.js
61
%%DATADIR%%/javascripts/jqplot.cursor.js
62
%%DATADIR%%/javascripts/jqplot.enhancedLegendRenderer.js
63
%%DATADIR%%/javascripts/jquery-ui-1.8.18.custom.js
64
%%DATADIR%%/javascripts/jquery.jqplot.js
65
%%DATADIR%%/javascripts/jquery.js
66
%%DATADIR%%/stylesheets/Print.css
67
%%DATADIR%%/stylesheets/ReportFigures.css
68
%%DATADIR%%/stylesheets/images/ui-bg_flat_0_aaaaaa_40x100.png
69
%%DATADIR%%/stylesheets/images/ui-bg_flat_75_ffffff_40x100.png
70
%%DATADIR%%/stylesheets/images/ui-bg_glass_55_fbf9ee_1x400.png
71
%%DATADIR%%/stylesheets/images/ui-bg_glass_65_ffffff_1x400.png
72
%%DATADIR%%/stylesheets/images/ui-bg_glass_75_dadada_1x400.png
73
%%DATADIR%%/stylesheets/images/ui-bg_glass_75_e6e6e6_1x400.png
74
%%DATADIR%%/stylesheets/images/ui-bg_glass_95_fef1ec_1x400.png
75
%%DATADIR%%/stylesheets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
76
%%DATADIR%%/stylesheets/images/ui-icons_222222_256x240.png
77
%%DATADIR%%/stylesheets/images/ui-icons_2e83ff_256x240.png
78
%%DATADIR%%/stylesheets/images/ui-icons_454545_256x240.png
79
%%DATADIR%%/stylesheets/images/ui-icons_888888_256x240.png
80
%%DATADIR%%/stylesheets/images/ui-icons_cd0a0a_256x240.png
81
%%DATADIR%%/stylesheets/jquery-ui-1.8.18.custom.css
82
%%DATADIR%%/stylesheets/jquery.jqplot.css
83
%%DATADIR%%/workloads/datacomm-1.pg
84
%%DATADIR%%/workloads/downtime-2.pg
85
%%DATADIR%%/workloads/include/benches.pg
86
%%DATADIR%%/workloads/include/contents.pg
87
%%DATADIR%%/workloads/include/phases.pg
88
%%DATADIR%%/workloads/include/pipes.pg
89
%%DATADIR%%/workloads/include/polymix-3-guts.pg
90
%%DATADIR%%/workloads/include/polymix-4-guts.pg
91
%%DATADIR%%/workloads/include/webaxe-4-guts.pg
92
%%DATADIR%%/workloads/nolb-l4-4.pg
93
%%DATADIR%%/workloads/polyfill-2.pg
94
%%DATADIR%%/workloads/polymix-1.pg
95
%%DATADIR%%/workloads/polymix-2.pg
96
%%DATADIR%%/workloads/polymix-3.pg
97
%%DATADIR%%/workloads/polymix-4.pg
98
%%DATADIR%%/workloads/pxylb-4.pg
99
%%DATADIR%%/workloads/simple.pg
100
%%DATADIR%%/workloads/srvlb-l4-4.pg
101
%%DATADIR%%/workloads/srvlb-l7-4.pg
102
%%DATADIR%%/workloads/test_csm.pg
103
%%DATADIR%%/workloads/test_polypxy.pg
104
%%DATADIR%%/workloads/webaxe-1.pg
105
%%DATADIR%%/workloads/webaxe-3.pg
106
%%DATADIR%%/workloads/webaxe-4.pg

Return to bug 206242