f190ed568e
ChangeLog : =========== 2015/02/01 : 1.5.11 - BUG/MEDIUM: backend: correctly detect the domain when use_domain_only is used - MINOR: ssl: load certificates in alphabetical order - BUG/MINOR: checks: prevent http keep-alive with http-check expect - BUG/MEDIUM: Do not set agent health to zero if server is disabled in config - MEDIUM/BUG: Only explicitly report "DOWN (agent)" if the agent health is zero - BUG/MINOR: stats:Fix incorrect printf type. - DOC: add missing entry for log-format and clarify the text - BUG/MEDIUM: http: fix header removal when previous header ends with pure LF - BUG/MEDIUM: channel: fix possible integer overflow on reserved size computation - BUG/MINOR: channel: compare to_forward with buf->i, not buf->size - MINOR: channel: add channel_in_transit() - MEDIUM: channel: make buffer_reserved() use channel_in_transit() - MEDIUM: channel: make bi_avail() use channel_in_transit() - BUG/MEDIUM: channel: don't schedule data in transit for leaving until connected - BUG/MAJOR: log: don't try to emit a log if no logger is set - BUG/MINOR: args: add missing entry for ARGT_MAP in arg_type_names - BUG/MEDIUM: http: make http-request set-header compute the string before removal - BUG/MINOR: http: fix incorrect header value offset in replace-hdr/replace-value - BUG/MINOR: http: abort request processing on filter failure 2014/12/31 : 1.5.10 - DOC: fix a few typos - BUG/MINOR: http: fix typo: "401 Unauthorized" => "407 Unauthorized" - BUG/MINOR: parse: refer curproxy instead of proxy - DOC: httplog does not support 'no' - MINOR: map/acl/dumpstats: remove the "Done." message - BUG/MEDIUM: sample: fix random number upper-bound - BUG/MEDIUM: patterns: previous fix was incomplete - BUG/MEDIUM: payload: ensure that a request channel is available - BUG/MINOR: tcp-check: don't condition data polling on check type - BUG/MEDIUM: tcp-check: don't rely on random memory contents - BUG/MEDIUM: tcp-checks: disable quick-ack unless next rule is an expect - BUG/MINOR: config: fix typo in condition when propagating process binding - BUG/MEDIUM: config: do not propagate processes between stopped processes - BUG/MAJOR: stream-int: properly check the memory allocation return - BUG/MEDIUM: memory: fix freeing logic in pool_gc2() - BUG/MEDIUM: compression: correctly report zlib_mem
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2015/03/14 20:36:23 rodent Exp $
|
|
|
|
DISTNAME= haproxy-1.5.11
|
|
CATEGORIES= net www
|
|
MASTER_SITES= http://haproxy.1wt.eu/download/1.5/src/
|
|
|
|
MAINTAINER= morr@NetBSD.org
|
|
HOMEPAGE= http://haproxy.1wt.eu/
|
|
COMMENT= Reliable, high performance TCP/HTTP load balancer
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= gmake
|
|
BUILD_MAKE_FLAGS+= TARGET=${TARGET} ADDLIB=${COMPILER_RPATH_FLAG}${PREFIX}/lib USE_ZLIB=1
|
|
INSTALL_MAKE_FLAGS+= TARGET=${TARGET}
|
|
INSTALL_MAKE_FLAGS+= PREFIX=${PREFIX}
|
|
INSTALL_MAKE_FLAGS+= DOCDIR=${PREFIX}/share/doc/${PKGBASE}
|
|
INSTALL_MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
|
|
|
|
.include "options.mk"
|
|
|
|
RCD_SCRIPTS= haproxy
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
TARGET=netbsd
|
|
.elif ${OPSYS} == "FreeBSD"
|
|
TARGET=freebsd
|
|
.elif ${OPSYS} == "OpenBSD"
|
|
TARGET=openbsd
|
|
.elif ${OPSYS} == "SunOS"
|
|
TARGET=solaris
|
|
.elif ${OPSYS} == "Linux"
|
|
. if !empty(OS_VERSION:M2.6.*)
|
|
TARGET=linux26
|
|
. elif !empty(OS_VERSION:M2.4.*)
|
|
. if exists(/usr/include/linux/eventpoll.h)
|
|
TARGET=linux24e
|
|
. else
|
|
TARGET=linux24
|
|
. endif
|
|
. else
|
|
TARGET=generic
|
|
. endif
|
|
.else
|
|
TARGET=generic
|
|
.endif
|
|
|
|
LIBS.SunOS+= -lxnet
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/examples/haproxy.cfg ${DESTDIR}${EGDIR}/
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|