Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= nuster |
4 |
PORTNAME= nuster |
5 |
PORTVERSION= 3.2.3.19 |
5 |
PORTVERSION= 5.0.2.21 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= net www |
7 |
CATEGORIES= net www |
8 |
|
8 |
|
Lines 21-36
Link Here
|
21 |
USE_ZLIB=1 USE_CPU_AFFINITY=1 USE_ACCEPT4=1 \ |
21 |
USE_ZLIB=1 USE_CPU_AFFINITY=1 USE_ACCEPT4=1 \ |
22 |
CC="${CC}" DEBUG_CFLAGS="" CPU_CFLAGS="${CFLAGS}" |
22 |
CC="${CC}" DEBUG_CFLAGS="" CPU_CFLAGS="${CFLAGS}" |
23 |
|
23 |
|
24 |
PLIST_FILES= sbin/halog \ |
24 |
PLIST_FILES= sbin/nuster \ |
25 |
sbin/nuster \ |
25 |
sbin/nusterlog \ |
26 |
man/man1/nuster.1.gz |
26 |
man/man1/nuster.1.gz |
27 |
|
27 |
|
28 |
OPTIONS_DEFINE= DOCS EXAMPLES LUA OPENSSL DEVICEATLAS |
28 |
OPTIONS_DEFINE= DOCS EXAMPLES LUA OPENSSL DEVICEATLAS PROMEX |
29 |
OPTIONS_RADIO= PCRE |
29 |
OPTIONS_RADIO= PCRE |
30 |
OPTIONS_RADIO_PCRE= DPCRE SPCRE |
30 |
OPTIONS_RADIO_PCRE= DPCRE SPCRE |
31 |
DPCRE_DESC= Link dynamically |
31 |
DPCRE_DESC= Link dynamically |
32 |
SPCRE_DESC= Link statically |
32 |
SPCRE_DESC= Link statically |
33 |
DEVICEATLAS_DESC= DeviceAtlas Device Detection support |
33 |
DEVICEATLAS_DESC= DeviceAtlas Device Detection support |
|
|
34 |
PROMEX_DESC= Enable Prometheus exporter |
34 |
OPTIONS_DEFAULT= SPCRE OPENSSL |
35 |
OPTIONS_DEFAULT= SPCRE OPENSSL |
35 |
|
36 |
|
36 |
DPCRE_LIB_DEPENDS= libpcre.so:devel/pcre |
37 |
DPCRE_LIB_DEPENDS= libpcre.so:devel/pcre |
Lines 39-44
Link Here
|
39 |
SPCRE_MAKE_ARGS= USE_PCRE=1 USE_STATIC_PCRE=1 USE_PCRE_JIT=1 |
40 |
SPCRE_MAKE_ARGS= USE_PCRE=1 USE_STATIC_PCRE=1 USE_PCRE_JIT=1 |
40 |
DEVICEATLAS_LIB_DEPENDS= libda.so:net/deviceatlas-enterprise-c |
41 |
DEVICEATLAS_LIB_DEPENDS= libda.so:net/deviceatlas-enterprise-c |
41 |
DEVICEATLAS_MAKE_ARGS= USE_DEVICEATLAS=1 DEVICEATLAS_LIB=${LOCALBASE}/lib DEVICEATLAS_INC=${LOCALBASE}/include |
42 |
DEVICEATLAS_MAKE_ARGS= USE_DEVICEATLAS=1 DEVICEATLAS_LIB=${LOCALBASE}/lib DEVICEATLAS_INC=${LOCALBASE}/include |
|
|
43 |
PROMEX_MAKE_ARGS= EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o" |
42 |
OPENSSL_USES= ssl |
44 |
OPENSSL_USES= ssl |
43 |
OPENSSL_MAKE_ARGS= USE_OPENSSL=1 SSL_LIB=${OPENSSLLIB} SSL_INC=${OPENSSLINC} |
45 |
OPENSSL_MAKE_ARGS= USE_OPENSSL=1 SSL_LIB=${OPENSSLLIB} SSL_INC=${OPENSSLINC} |
44 |
LUA_USES= lua:53 |
46 |
LUA_USES= lua:53 |
Lines 58-64
Link Here
|
58 |
|
60 |
|
59 |
do-install: |
61 |
do-install: |
60 |
${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${STAGEDIR}${PREFIX}/sbin/nuster |
62 |
${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${STAGEDIR}${PREFIX}/sbin/nuster |
61 |
${INSTALL_PROGRAM} ${WRKSRC}/contrib/halog/halog ${STAGEDIR}${PREFIX}/sbin/ |
63 |
${INSTALL_PROGRAM} ${WRKSRC}/contrib/halog/halog ${STAGEDIR}${PREFIX}/sbin/nusterlog |
62 |
${INSTALL_MAN} ${WRKSRC}/doc/haproxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/nuster.1 |
64 |
${INSTALL_MAN} ${WRKSRC}/doc/haproxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/nuster.1 |
63 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
65 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
64 |
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) |
66 |
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}) |