Lines 2-11
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= gatling |
4 |
PORTNAME= gatling |
5 |
PORTVERSION= 0.15 |
5 |
PORTVERSION= 0.16 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= www benchmarks ftp |
6 |
CATEGORIES= www benchmarks ftp |
8 |
MASTER_SITES= http://www.fefe.de/gatling/ |
7 |
MASTER_SITES= https://www.fefe.de/gatling/ |
9 |
|
8 |
|
10 |
MAINTAINER= coco@executive-computing.de |
9 |
MAINTAINER= coco@executive-computing.de |
11 |
COMMENT= High performance webserver with scalability benchmark tools |
10 |
COMMENT= High performance webserver with scalability benchmark tools |
Lines 15-30
LICENSE= GPLv2
Link Here
|
15 |
BROKEN_mips= fails to compile: dirfd.c: error: expected ';', ',' or ')' before 'key' |
14 |
BROKEN_mips= fails to compile: dirfd.c: error: expected ';', ',' or ')' before 'key' |
16 |
BROKEN_mips64= fails to compile: dirfd.c: error: expected ';', ',' or ')' before 'key' |
15 |
BROKEN_mips64= fails to compile: dirfd.c: error: expected ';', ',' or ')' before 'key' |
17 |
|
16 |
|
18 |
BUILD_DEPENDS= libowfat>=0.31:devel/libowfat |
17 |
BUILD_DEPENDS= libowfat>=0.32:devel/libowfat |
19 |
|
18 |
|
20 |
USES= compiler:c++11-lang gmake ssl tar:xz |
19 |
USES= compiler:c++11-lang gmake ssl tar:xz |
21 |
USE_RC_SUBR= gatling |
20 |
USE_RC_SUBR= gatling |
22 |
|
21 |
|
|
|
22 |
MAKEFILE= GNUmakefile |
23 |
|
23 |
CFLAGS+= -I${LOCALBASE}/include/libowfat -I${OPENSSLINC} -I${LOCALBASE}/include |
24 |
CFLAGS+= -I${LOCALBASE}/include/libowfat -I${OPENSSLINC} -I${LOCALBASE}/include |
|
|
25 |
# Make alloca() prototype visible |
26 |
CFLAGS+= -D__BSD_VISIBLE |
27 |
# Make crypt() prototype visible |
28 |
CFLAGS+= -D__XSI_VISIBLE |
24 |
LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} |
29 |
LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} |
25 |
|
30 |
|
26 |
MAKEFILE= GNUmakefile |
|
|
27 |
|
28 |
bin= dl |
31 |
bin= dl |
29 |
sbin= gatling |
32 |
sbin= gatling |
30 |
GATLING8= gatling.8 |
33 |
GATLING8= gatling.8 |
Lines 36-45
PORTDOCS= CHANGES README README.antidos README.cgi README.ftp \
Link Here
|
36 |
PORTEXAMPLES= run-gatling cgi acc getlinks hcat hitprofile matchiprange \ |
39 |
PORTEXAMPLES= run-gatling cgi acc getlinks hcat hitprofile matchiprange \ |
37 |
referrer |
40 |
referrer |
38 |
|
41 |
|
39 |
OPTIONS_DEFINE= BENCHMARKS SMB TLS ZLIB OPTIMIZED_CFLAGS DOCS EXAMPLES DEBUG |
42 |
OPTIONS_DEFINE= BENCHMARKS BROKEN_ITOJUN_V6 SMB TLS ZLIB OPTIMIZED_CFLAGS DOCS EXAMPLES DEBUG |
40 |
OPTIONS_SUB= yes |
|
|
41 |
OPTIONS_DEFAULT= BENCHMARKS SMB TLS ZLIB OPTIMIZED_CFLAGS |
43 |
OPTIONS_DEFAULT= BENCHMARKS SMB TLS ZLIB OPTIMIZED_CFLAGS |
|
|
44 |
OPTIONS_SUB= yes |
42 |
BENCHMARKS_DESC= Install some benchmark programs |
45 |
BENCHMARKS_DESC= Install some benchmark programs |
|
|
46 |
BROKEN_ITOJUN_V6_DESC= Works around problems binding to IPv4 addresses |
43 |
TLS_DESC= Build and install tlsgatling |
47 |
TLS_DESC= Build and install tlsgatling |
44 |
ZLIB_DESC= Compress outgoing data |
48 |
ZLIB_DESC= Compress outgoing data |
45 |
|
49 |
|
Lines 56-61
PLIST_FILES+= man/man1/bench.1.gz
Link Here
|
56 |
MAKE_ENV+= BENCHMARKS=1 |
60 |
MAKE_ENV+= BENCHMARKS=1 |
57 |
.endif |
61 |
.endif |
58 |
|
62 |
|
|
|
63 |
.if ${PORT_OPTIONS:MBROKEN_ITOJUN_V6} |
64 |
# Causes a warning about "KAME madness" but works around |
65 |
# gatling failing to bind to IPv4 addresses. |
66 |
CFLAGS+= -D__broken_itojun_v6__ |
67 |
.endif |
59 |
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} && !defined(WITH_DEBUG) |
68 |
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} && !defined(WITH_DEBUG) |
60 |
CFLAGS+= -O2 -fomit-frame-pointer |
69 |
CFLAGS+= -O2 -fomit-frame-pointer |
61 |
.endif |
70 |
.endif |
Lines 69-74
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-disable_smb
Link Here
|
69 |
.endif |
78 |
.endif |
70 |
|
79 |
|
71 |
.if ${PORT_OPTIONS:MTLS} |
80 |
.if ${PORT_OPTIONS:MTLS} |
|
|
81 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base |
82 |
# XXX: It's conceivable that it works with LibreSSL as well ... |
83 |
BROKEN= gatling requires OpenSSL 1.1.0 or later, add DEFAULT_VERSIONS+=ssl=openssl to /etc/make.conf |
84 |
.endif |
72 |
MAKE_ENV+= TLSGATLING=1 |
85 |
MAKE_ENV+= TLSGATLING=1 |
73 |
sbin+= tlsgatling |
86 |
sbin+= tlsgatling |
74 |
PORTDOCS+= README.tls |
87 |
PORTDOCS+= README.tls |