- BUG/MAJOR: backend: consistent hash can loop forever in certain circumstances - BUG/MEDIUM: checks: disable TCP quickack when pure TCP checks are used - MEDIUM: protocol: implement a "drain" function in protocol layers - BUG/CRITICAL: fix a possible crash when using negative header occurrences Resolves CVE-2013-2175 ok gonzalo
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.12 2013/07/17 02:52:53 william Exp $
|
|
|
|
COMMENT = reliable, high performance TCP/HTTP load balancer
|
|
|
|
DISTNAME = haproxy-1.4.24
|
|
CATEGORIES = net www
|
|
HOMEPAGE = http://haproxy.1wt.eu/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c pcre pcreposix
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/download/1.4/src/
|
|
|
|
HAPROXYCONF = ${SYSCONFDIR}/haproxy
|
|
HAPROXYSTATE = /var/haproxy
|
|
HAPROXYUID = 604
|
|
HAPROXYGID = 604
|
|
SUBST_VARS = HAPROXYCONF HAPROXYSTATE \
|
|
HAPROXYUID HAPROXYGID
|
|
|
|
MAKE_FILE = Makefile.bsd
|
|
MAKE_FLAGS += CC="${CC}" LD="${CC}"
|
|
|
|
NO_TEST = Yes
|
|
LIB_DEPENDS = devel/pcre
|
|
|
|
DOCS = architecture configuration gpl haproxy-en haproxy-fr lgpl
|
|
EXAMPLES = acl-content-sw content-sw-sample haproxy \
|
|
option-http_proxy tarpit url-switching
|
|
|
|
DOCSDIR = ${PREFIX}/share/doc/haproxy
|
|
EXAMPLESDIR = ${PREFIX}/share/examples/haproxy
|
|
|
|
|
|
pre-install:
|
|
${SUBST_CMD} ${WRKSRC}/doc/haproxy.1 ${WRKSRC}/examples/haproxy.cfg
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/haproxy.1 ${PREFIX}/man/man1/haproxy.1
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
.for file in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file}.txt ${DOCSDIR}
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
.for file in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/${file}.cfg ${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
|
|
.include <bsd.port.mk>
|