Index: head/net/haproxy-devel/Makefile =================================================================== --- head/net/haproxy-devel/Makefile (revision 426176) +++ head/net/haproxy-devel/Makefile (revision 426177) @@ -1,87 +1,90 @@ # Created by: Hugo Saro # $FreeBSD$ PORTNAME= haproxy DISTVERSION= 1.7-dev6 CATEGORIES= net www MASTER_SITES= http://haproxy.1wt.eu/download/1.7/src/devel/ PKGNAMESUFFIX= -devel DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= demon@FreeBSD.org COMMENT= Reliable, high performance TCP/HTTP load balancer LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi CONFLICTS_INSTALL= haproxy-[1234567890]\* USES= cpe gmake USE_RC_SUBR= haproxy DEVICEATLAS_VERSION= 2.1 DEVICEATLAS_DISTFILE= deviceatlas-enterprise-c-${DEVICEATLAS_VERSION} DEVICEATLAS_REGISTRATION_URL= https://deviceatlas.com/deviceatlas-haproxy-module MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_GETADDRINFO=1 \ USE_ZLIB=1 USE_CPU_AFFINITY=1 CC="${CC}" CFLAGS="${CFLAGS}" OPTIONS_DEFINE= DOCS EXAMPLES LUA OPENSSL DEVICEATLAS OPTIONS_RADIO= PCRE OPTIONS_RADIO_PCRE= DPCRE SPCRE DPCRE_DESC= Link dynamically SPCRE_DESC= Link statically DEVICEATLAS_DESC= DeviceAtlas Device Detection support OPTIONS_DEFAULT= SPCRE OPENSSL .include .if ${PORT_OPTIONS:MDPCRE} LIB_DEPENDS+= libpcre.so:devel/pcre MAKE_ARGS+= USE_PCRE=1 USE_PCRE_JIT=1 .endif .if ${PORT_OPTIONS:MSPCRE} BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcre.a:devel/pcre MAKE_ARGS+= USE_PCRE=1 USE_STATIC_PCRE=1 USE_PCRE_JIT=1 .endif .if ${PORT_OPTIONS:MDEVICEATLAS} .if !exists(${DISTDIR}/${DEVICEATLAS_DISTFILE}.zip) IGNORE?= you must manually fetch the DeviceAtlas Device Detection C API from ${DEVICEATLAS_REGISTRATION_URL} and place it in ${DISTDIR} and then run make again .else RESTRICTED= The redistribution of the DeviceAtlas Device Detection C API is not permitted DISTFILES+= ${DEVICEATLAS_DISTFILE}.zip MAKE_ARGS+= USE_DEVICEATLAS=1 DEVICEATLAS_SRC=${WRKDIR}/deviceatlas-enterprise-c-${DEVICEATLAS_VERSION} .endif .if ! ${PORT_OPTIONS:MDPCRE} && ! ${PORT_OPTIONS:MSPCRE} IGNORE?= enable PCRE support to use DeviceAtlas .endif .endif .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl MAKE_ARGS+= USE_OPENSSL=1 -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000015 WITH_OPENSSL_PORT= yes +.endif +.if ${SSL_DEFAULT:Mlibressl*} +BROKEN= does not build with libressl .endif .endif .if ${PORT_OPTIONS:MLUA} USES+= lua:53 MAKE_ARGS+= USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NAME=lua-${LUA_VER} .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 Index: head/net/haproxy-devel/pkg-plist =================================================================== --- head/net/haproxy-devel/pkg-plist (revision 426176) +++ head/net/haproxy-devel/pkg-plist (revision 426177) @@ -1,96 +1,101 @@ man/man1/haproxy.1.gz sbin/halog sbin/haproxy +%%PORTDOCS%%%%DOCSDIR%%/51Degrees-device-detection.txt +%%PORTDOCS%%%%DOCSDIR%%/DeviceAtlas-device-detection.txt +%%PORTDOCS%%%%DOCSDIR%%/SPOE.txt +%%PORTDOCS%%%%DOCSDIR%%/WURFL-device-detection.txt %%PORTDOCS%%%%DOCSDIR%%/acl.fig %%PORTDOCS%%%%DOCSDIR%%/architecture.txt %%PORTDOCS%%%%DOCSDIR%%/close-options.txt %%PORTDOCS%%%%DOCSDIR%%/coding-style.txt %%PORTDOCS%%%%DOCSDIR%%/configuration.txt %%PORTDOCS%%%%DOCSDIR%%/cookie-options.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/backends-v0.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/backends.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/be-fe-changes.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/binding-possibilities.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/buffer-redesign.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/buffers.fig %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/config-language.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/connection-reuse.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/connection-sharing.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/dynamic-buffers.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/entities-v2.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/how-it-works.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/http2.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/http_load_time.url %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/rate-shaping.txt %%PORTDOCS%%%%DOCSDIR%%/design-thoughts/sess_par_sec.txt %%PORTDOCS%%%%DOCSDIR%%/gpl.txt %%PORTDOCS%%%%DOCSDIR%%/haproxy.1 %%PORTDOCS%%%%DOCSDIR%%/internals/acl.txt %%PORTDOCS%%%%DOCSDIR%%/internals/body-parsing.txt %%PORTDOCS%%%%DOCSDIR%%/internals/buffer-operations.txt %%PORTDOCS%%%%DOCSDIR%%/internals/buffer-ops.fig %%PORTDOCS%%%%DOCSDIR%%/internals/connect-status.txt %%PORTDOCS%%%%DOCSDIR%%/internals/connection-header.txt %%PORTDOCS%%%%DOCSDIR%%/internals/connection-scale.txt %%PORTDOCS%%%%DOCSDIR%%/internals/entities-v2.txt %%PORTDOCS%%%%DOCSDIR%%/internals/entities.fig %%PORTDOCS%%%%DOCSDIR%%/internals/entities.pdf %%PORTDOCS%%%%DOCSDIR%%/internals/entities.svg %%PORTDOCS%%%%DOCSDIR%%/internals/entities.txt %%PORTDOCS%%%%DOCSDIR%%/internals/filters.txt %%PORTDOCS%%%%DOCSDIR%%/internals/hashing.txt %%PORTDOCS%%%%DOCSDIR%%/internals/header-parser-speed.txt %%PORTDOCS%%%%DOCSDIR%%/internals/header-tree.txt %%PORTDOCS%%%%DOCSDIR%%/internals/http-cookies.txt %%PORTDOCS%%%%DOCSDIR%%/internals/http-docs.txt %%PORTDOCS%%%%DOCSDIR%%/internals/http-parsing.txt %%PORTDOCS%%%%DOCSDIR%%/internals/list.fig %%PORTDOCS%%%%DOCSDIR%%/internals/lua_socket.fig %%PORTDOCS%%%%DOCSDIR%%/internals/lua_socket.pdf %%PORTDOCS%%%%DOCSDIR%%/internals/naming.txt %%PORTDOCS%%%%DOCSDIR%%/internals/pattern.dia %%PORTDOCS%%%%DOCSDIR%%/internals/pattern.pdf %%PORTDOCS%%%%DOCSDIR%%/internals/polling-states.fig %%PORTDOCS%%%%DOCSDIR%%/internals/repartition-be-fe-fi.txt %%PORTDOCS%%%%DOCSDIR%%/internals/sequence.fig %%PORTDOCS%%%%DOCSDIR%%/internals/stats-v2.txt %%PORTDOCS%%%%DOCSDIR%%/internals/stream-sock-states.fig %%PORTDOCS%%%%DOCSDIR%%/intro.txt %%PORTDOCS%%%%DOCSDIR%%/lgpl.txt %%PORTDOCS%%%%DOCSDIR%%/linux-syn-cookies.txt %%PORTDOCS%%%%DOCSDIR%%/lua-api/Makefile %%PORTDOCS%%%%DOCSDIR%%/lua-api/_static/channel.fig %%PORTDOCS%%%%DOCSDIR%%/lua-api/_static/channel.png %%PORTDOCS%%%%DOCSDIR%%/lua-api/conf.py %%PORTDOCS%%%%DOCSDIR%%/lua-api/index.rst %%PORTDOCS%%%%DOCSDIR%%/lua.txt %%PORTDOCS%%%%DOCSDIR%%/management.txt %%PORTDOCS%%%%DOCSDIR%%/netscaler-client-ip-insertion-protocol.txt %%PORTDOCS%%%%DOCSDIR%%/network-namespaces.txt %%PORTDOCS%%%%DOCSDIR%%/proxy-protocol.txt %%PORTDOCS%%%%DOCSDIR%%/queuing.fig %%PORTEXAMPLES%%%%EXAMPLESDIR%%/acl-content-sw.cfg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/auth.cfg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/check %%PORTEXAMPLES%%%%EXAMPLESDIR%%/check.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/content-sw-sample.cfg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/debug2ansi %%PORTEXAMPLES%%%%EXAMPLESDIR%%/debug2html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/debugfind %%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorfiles/400.http %%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorfiles/403.http %%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorfiles/408.http %%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorfiles/500.http %%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorfiles/502.http %%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorfiles/503.http %%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorfiles/504.http %%PORTEXAMPLES%%%%EXAMPLESDIR%%/errorfiles/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/haproxy.init %%PORTEXAMPLES%%%%EXAMPLESDIR%%/haproxy.spec %%PORTEXAMPLES%%%%EXAMPLESDIR%%/haproxy.vim %%PORTEXAMPLES%%%%EXAMPLESDIR%%/init.haproxy %%PORTEXAMPLES%%%%EXAMPLESDIR%%/option-http_proxy.cfg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/seamless_reload.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl.cfg %%PORTEXAMPLES%%%%EXAMPLESDIR%%/stats_haproxy.sh %%PORTEXAMPLES%%%%EXAMPLESDIR%%/transparent_proxy.cfg +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wurfl-example.cfg