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

(-)./Makefile (-16 / +44 lines)
Lines 6-44 Link Here
6
#
6
#
7
7
8
PORTNAME=	polygraph
8
PORTNAME=	polygraph
9
PORTVERSION=	3.0.6
9
PORTVERSION=	4.3.2
10
PORTREVISION=	3
11
CATEGORIES=	benchmarks www
10
CATEGORIES=	benchmarks www
12
MASTER_SITES=	http://www.web-polygraph.org/downloads/srcs/ \
11
MASTER_SITES=	http://www.web-polygraph.org/downloads/srcs/ \
13
				http://people.bsdgroup.de/~as/freebsd/distfiles/
12
		http://people.bsdgroup.de/~as/freebsd/distfiles/
14
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
13
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
15
EXTRACT_SUFX=	.tgz
14
EXTRACT_SUFX=	.tgz
16
15
17
MAINTAINER=	as@bsdgroup.de
16
MAINTAINER=	as@bsdgroup.de
18
COMMENT=	A benchmarking tool for Web proxies
17
COMMENT=	A benchmarking tool for Web proxies
19
18
20
GNU_CONFIGURE=	YES
19
LICENSE=	AL2
21
CPPFLAGS+=	-Wno-deprecated
20
LICENSE_FILE=	${WRKSRC}/LICENSE
22
CONFIGURE_ARGS+=--datadir=${DATADIR}
21
23
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
22
USE_GCC=	4.2+
23
GNU_CONFIGURE=	yes
24
WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
24
25
25
CONFLICTS=	ltrace-0*
26
CONFLICTS=	ltrace-0*
26
27
27
OPTIONS=	GNUPLOT "gnuplot if you want full report functionality" ON \
28
OPTIONS_DEFINE=	GNUPLOT OPENSSL PERL ZLIB
28
		PERL	"install Perl for polygraph tools"		OFF
29
30
GNUPLOT_DESC=	GNUPlot for full reporting functionality
31
OPENSSL_DESC=	Enable SSL/HTTPS support
32
PERL_DESC=	Install Perl for PolyGraph tools
33
ZLIB_DESC=	Enable HTTP compression support
29
34
30
.include <bsd.port.pre.mk>
35
OPTIONS_DEFAULT=	OPENSSL ZLIB
31
36
32
.if ${OSVERSION} >= 900009 || (${OSVERSION} < 900000 && ${OSVERSION} >= 800503)
37
.include <bsd.port.options.mk>
33
BROKEN=		does not build
38
39
.if ${PORT_OPTIONS:MGNUPLOT}
40
RUN_DEPENDS+=	 gnuplot:${PORTSDIR}/math/gnuplot
34
.endif
41
.endif
35
42
36
.if !defined(WITHOUT_GNUPLOT)
43
.if ${PORT_OPTIONS:MOPENSSL}
37
RUN_DEPENDS+=	gnuplot:${PORTSDIR}/math/gnuplot
44
USE_OPENSSL=	yes
45
CONFIGURE_ARGS+=	--with-ssl=${OPENSSLBASE}
46
.else
47
CONFIGURE_ARGS+=	--without-ssl
38
.endif
48
.endif
39
49
40
.if !defined(WITHOUT_PERL)
50
.if ${PORT_OPTIONS:MPERL}
41
USE_PERL5_RUN=	yes
51
USE_PERL5_RUN=	yes
42
.endif
52
.endif
43
53
44
.include <bsd.port.post.mk>
54
.if ${PORT_OPTIONS:MZLIB}
55
CONFIGURE_ARGS+=	--with-zlib=/usr
56
.else
57
CONFIGURE_ARGS+=	--without-zlib
58
.endif
59
60
MAN1=	polygraph-aka.1 polygraph-beepmon.1 polygraph-cdb.1 \
61
	polygraph-client.1 polygraph-cmp-lx.1 polygraph-distr-test.1 \
62
	polygraph-dns-cfg.1 polygraph-lr.1 polygraph-ltrace.1 \
63
	polygraph-lx.1 polygraph-pgl-test.1 polygraph-pgl2acl.1 \
64
	polygraph-pgl2eng.1 polygraph-pgl2ips.1 polygraph-pgl2ldif.1 \
65
	polygraph-pmix2-ips.1 polygraph-pmix3-ips.1 polygraph-polymon.1 \
66
	polygraph-polyprobe.1 polygraph-polyrrd.1 polygraph-pop-test.1 \
67
	polygraph-reporter.1 polygraph-rng-test.1 polygraph-server.1 \
68
	polygraph-udp2tcpd.1 polygraph-webaxe4-ips.1
69
70
MAN7=	polygraph.7
71
72
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (polygraph-3.0.6-src.tgz) = 71c19c5c6d5472c9a3d254dc71353d365d7bc04f58b640e5c0c890d7e53043a2
1
SHA256 (polygraph-4.3.2-src.tgz) = b0104448ff3c2f29cebeb5ad5ee6e6f670438d8b78fa095fd54f3b16d99569bb
2
SIZE (polygraph-3.0.6-src.tgz) = 1064674
2
SIZE (polygraph-4.3.2-src.tgz) = 1497797
(-)./files/patch-workloads-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- workloads/Makefile.in.orig	Thu Sep 13 05:21:49 2007
2
+++ workloads/Makefile.in	Thu Sep 13 05:26:27 2007
3
@@ -175,7 +175,7 @@
4
 sysconfdir = @sysconfdir@
5
 target_alias = @target_alias@
6
 SUBDIRS = include
7
-workloads_pkgdir = ${prefix}/workloads
8
+workloads_pkgdir = ${datadir}/workloads
9
 dist_workloads_pkg_DATA = \
10
 	datacomm-1.pg \
11
 	downtime-2.pg \
(-)./files/patch-workloads-include-Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- workloads/include/Makefile.in.orig	Thu Sep 13 05:26:52 2007
2
+++ workloads/include/Makefile.in	Thu Sep 13 05:27:24 2007
3
@@ -165,7 +165,7 @@
4
 std_include = @std_include@
5
 sysconfdir = @sysconfdir@
6
 target_alias = @target_alias@
7
-winclude_pkgdir = ${prefix}/workloads/include
8
+winclude_pkgdir = ${datadir}/workloads/include
9
 dist_winclude_pkg_DATA = \
10
 	benches.pg \
11
 	contents.pg \
(-)./pkg-plist (-25 / +26 lines)
Lines 1-28 Link Here
1
bin/aka
1
bin/polygraph-pgl-test
2
bin/beepmon.pl
2
bin/polygraph-pgl2eng
3
bin/cdb
3
bin/polygraph-pgl2acl
4
bin/distr_test
4
bin/polygraph-cdb
5
bin/dns_cfg
5
bin/polygraph-server
6
bin/lr
6
bin/polygraph-client
7
bin/ltrace
7
bin/polygraph-pgl2ldif
8
bin/lx
8
bin/polygraph-lx
9
bin/pgl2acl
9
bin/polygraph-lr
10
bin/pgl2eng
10
bin/polygraph-ltrace
11
bin/pgl2ldif
11
bin/polygraph-reporter
12
bin/pgl_test
12
bin/polygraph-aka
13
bin/pmix2-ips.pl
13
bin/polygraph-pop-test
14
bin/pmix3-ips.pl
14
bin/polygraph-distr-test
15
bin/polyclt
15
bin/polygraph-rng-test
16
bin/polymon
16
bin/polygraph-dns-cfg
17
bin/polyprobe
17
bin/polygraph-pgl2ips
18
bin/polyrrd
18
bin/polygraph-polyprobe
19
bin/polysrv
19
bin/polygraph-polymon
20
bin/pop_test
20
bin/polygraph-polyrrd
21
bin/reporter
21
bin/polygraph-udp2tcpd
22
bin/rng_test
22
bin/polygraph-beepmon
23
bin/tcp2xmld
23
bin/polygraph-pmix2-ips
24
bin/udp2tcpd
24
bin/polygraph-pmix3-ips
25
bin/webaxe4-ips.pl
25
bin/polygraph-webaxe4-ips
26
bin/polygraph-cmp-lx
26
%%DATADIR%%/workloads/datacomm-1.pg
27
%%DATADIR%%/workloads/datacomm-1.pg
27
%%DATADIR%%/workloads/downtime-2.pg
28
%%DATADIR%%/workloads/downtime-2.pg
28
%%DATADIR%%/workloads/include/benches.pg
29
%%DATADIR%%/workloads/include/benches.pg

Return to bug 168892