Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2019 13:02:46 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504796 - head/net/haproxy
Message-ID:  <201906211302.x5LD2kVs046026@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Fri Jun 21 13:02:45 2019
New Revision: 504796
URL: https://svnweb.freebsd.org/changeset/ports/504796

Log:
  Add an option to build with the Prometheus exporter as a service.
  
  PR:		238732
  Submitted by:	Felix Hanley <felix@userspace.com.au>

Modified:
  head/net/haproxy/Makefile

Modified: head/net/haproxy/Makefile
==============================================================================
--- head/net/haproxy/Makefile	Fri Jun 21 12:37:51 2019	(r504795)
+++ head/net/haproxy/Makefile	Fri Jun 21 13:02:45 2019	(r504796)
@@ -21,12 +21,13 @@ MAKE_ARGS=	TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_G
 		USE_ZLIB=1 USE_CPU_AFFINITY=1 USE_ACCEPT4=1 \
 		CC="${CC}" DEBUG_CFLAGS="" CPU_CFLAGS="${CFLAGS}"
 
-OPTIONS_DEFINE=		DOCS EXAMPLES LUA OPENSSL DEVICEATLAS
+OPTIONS_DEFINE=		DOCS EXAMPLES LUA OPENSSL DEVICEATLAS PROMEX
 OPTIONS_RADIO=		PCRE
 OPTIONS_RADIO_PCRE=	DPCRE SPCRE
 DPCRE_DESC=		Link dynamically
 SPCRE_DESC=		Link statically
 DEVICEATLAS_DESC=	DeviceAtlas Device Detection support
+PROMEX_DESC=		Enable Prometheus exporter
 OPTIONS_DEFAULT=	SPCRE OPENSSL
 
 DPCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
@@ -35,6 +36,7 @@ SPCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
 SPCRE_MAKE_ARGS=	USE_PCRE=1 USE_STATIC_PCRE=1 USE_PCRE_JIT=1
 DEVICEATLAS_LIB_DEPENDS=	libda.so:net/deviceatlas-enterprise-c
 DEVICEATLAS_MAKE_ARGS=		USE_DEVICEATLAS=1 DEVICEATLAS_LIB=${LOCALBASE}/lib DEVICEATLAS_INC=${LOCALBASE}/include
+PROMEX_MAKE_ARGS=	EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o"
 OPENSSL_USES=		ssl
 OPENSSL_MAKE_ARGS=	USE_OPENSSL=1 SSL_LIB=${OPENSSLLIB} SSL_INC=${OPENSSLINC}
 LUA_USES=		lua:53



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906211302.x5LD2kVs046026>