Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2019 10:27:13 +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: r518457 - head/net/haproxy21
Message-ID:  <201911261027.xAQARD7Q002669@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Tue Nov 26 10:27:13 2019
New Revision: 518457
URL: https://svnweb.freebsd.org/changeset/ports/518457

Log:
  Repo-copy haproxy->haproxy21 in preparation for update to version 2.1.0.

Added:
  head/net/haproxy21/
     - copied from r517648, head/net/haproxy/
Replaced:
  head/net/haproxy21/Makefile
     - copied unchanged from r518413, head/net/haproxy/Makefile
  head/net/haproxy21/distinfo
     - copied unchanged from r518413, head/net/haproxy/distinfo

Copied: head/net/haproxy21/Makefile (from r518413, head/net/haproxy/Makefile)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/haproxy21/Makefile	Tue Nov 26 10:27:13 2019	(r518457, copy of r518413, head/net/haproxy/Makefile)
@@ -0,0 +1,63 @@
+# Created by: Hugo Saro <hugo@barafranca.com>
+# $FreeBSD$
+
+PORTNAME=	haproxy
+DISTVERSION=	2.0.10
+CATEGORIES=	net www
+MASTER_SITES=	http://www.haproxy.org/download/2.0/src/
+
+MAINTAINER=	demon@FreeBSD.org
+COMMENT=	Reliable, high performance TCP/HTTP load balancer
+
+LICENSE=	GPLv2 LGPL21
+LICENSE_COMB=	multi
+
+CONFLICTS_INSTALL=	haproxy-devel-[0-9]* haproxy17-[0-9]* haproxy18-[0-9]* haproxy19-[0-9]*
+
+USES=		compiler:c++11-lang cpe gmake
+USE_RC_SUBR=	haproxy
+
+MAKE_ARGS=	TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_GETADDRINFO=1 \
+		USE_ZLIB=1 USE_CPU_AFFINITY=1 USE_ACCEPT4=1 \
+		CC="${CC}" DEBUG_CFLAGS="" CPU_CFLAGS="${CFLAGS}"
+
+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
+DPCRE_MAKE_ARGS=	USE_PCRE=1 USE_PCRE_JIT=1
+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
+LUA_MAKE_ARGS=		USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NAME=lua-${LUA_VER}
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "i386"
+MAKE_ARGS+=	USE_REGPARM=1
+.endif
+
+post-build:
+	cd ${WRKSRC}/contrib/halog && ${MAKE_CMD} ${MAKE_ENV}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${STAGEDIR}${PREFIX}/sbin/
+	${INSTALL_PROGRAM} ${WRKSRC}/contrib/halog/halog ${STAGEDIR}${PREFIX}/sbin/
+	${INSTALL_MAN} ${WRKSRC}/doc/haproxy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
+
+.include <bsd.port.post.mk>

Copied: head/net/haproxy21/distinfo (from r518413, head/net/haproxy/distinfo)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/haproxy21/distinfo	Tue Nov 26 10:27:13 2019	(r518457, copy of r518413, head/net/haproxy/distinfo)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1574705438
+SHA256 (haproxy-2.0.10.tar.gz) = 1d38ab3dd45e930b209e922a360ee8c636103e21e5b5a2656d3795401316a4ea
+SIZE (haproxy-2.0.10.tar.gz) = 2557865



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