openbsd-ports/net/haproxy/Makefile
gonzalo 76c4252257 Update for haproxy to 1.4.22:
- BUG/MEDIUM: option forwardfor if-none doesn't work with some configurations
    - BUG/MINOR: checks: expire on timeout.check if smaller than timeout.connect
    - REORG/MINOR: use dedicated proxy flags for the cookie handling
    - BUG/MINOR: config: do not report twice the incompatibility between cookie and non-http
    - MINOR: contrib/iprange: add a network IP range to mask converter
    - BUG/MEDIUM: ebtree: ebmb_insert() must not call cmp_bits on full-length matches
    - OPTIM: halog: make use of memchr() on platforms which provide a fast one
    - OPTIM: halog: improve cold-cache behaviour when loading a file
    - MINOR: config: tolerate server "cookie" setting in non-HTTP mode
    - BUG/MINOR: tarpit: fix condition to return the HTTP 500 message

And others, while here remove for real the maintainer and add reload to rc.d(8) script.

Very initial update from chipitsine at gmail.com with tweaks by me. Thanks!

Ok aja@
2012-10-30 19:40:19 +00:00

57 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2012/10/30 19:40:19 gonzalo Exp $
COMMENT = reliable, high performance TCP/HTTP load balancer
DISTNAME = haproxy-1.4.22
CATEGORIES = net www
HOMEPAGE = http://haproxy.1wt.eu/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = 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_REGRESS = 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>