2.5.5 - CI: github actions: add the output of $CC -dM -E- - CI: github actions: use cache for OpenTracing - CI: refactor OpenTracing build script - CI: github actions: use cache for SSL libs - CI: Consistently use actions/checkout@v2 - BUILD: atomic: make the old HA_ATOMIC_LOAD() support const pointers - BUILD: tree-wide: mark a few numeric constants as explicitly long long - BUG/MEDIUM: mux-fcgi: Don't rely on SI src/dst addresses for FCGI health-checks - BUG/MEDIUM: htx: Fix a possible null derefs in htx_xfer_blks() - REGTESTS: fix the race conditions in normalize_uri.vtc - REGTESTS: fix the race conditions in secure_memcmp.vtc - BUG/MEDIUM: httpclient/lua: infinite appctx loop with POST - BUG/MINOR: pool: always align pool_heads to 64 bytes - BUG/MEDIUM: pools: fix ha_free() on area in the process of being freed - BUILD: fix kFreeBSD build. - MINOR: pools: add a new global option "no-memory-trimming" - MINOR: stats: Add dark mode support for socket rows - BUILD: pools: fix backport of no-memory-trimming on non-linux OS - BUILD: fix recent build breakage of freebsd caused by kFreeBSD build fix - BUG/MINOR: add missing modes in proxy_mode_str() - BUG/MINOR: cli: shows correct mode in "show sess" - BUG/MINOR: httpclient: Set conn-stream/channel EOI flags at the end of request - BUG/MINOR: hlua: Set conn-stream/channel EOI flags at the end of request - BUG/MINOR: stats: Set conn-stream/channel EOI flags at the end of request - BUG/MINOR: cache: Set conn-stream/channel EOI flags at the end of request - BUG/MINOR: promex: Set conn-stream/channel EOI flags at the end of request - BUG/MEDIUM: stream: Use the front analyzers for new listener-less streams - DEBUG: cache: Update underlying buffer when loading HTX message in cache applet - BUG/MEDIUM: mcli: Properly handle errors and timeouts during reponse processing - DEBUG: stream: Add the missing descriptions for stream trace events - DEBUG: stream: Fix stream trace message to print response buffer state - BUG/MAJOR: mux-pt: Always destroy the backend connection on detach - BUG/MINOR: session: fix theoretical risk of memleak in session_accept_fd() - BUG/MEDIUM: httpclient: don't consume data before it was analyzed - CLEANUP: htx: remove unused co_htx_remove_blk() - BUG/MINOR: httpclient: consume partly the blocks when necessary - BUG/MINOR: httpclient: remove the UNUSED block when parsing headers - BUG/MEDIUM: httpclient: must manipulate head, not first - REGTESTS: fix the race conditions in be2hex.vtc
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.93 2022/04/05 19:08:11 adam Exp $
|
|
|
|
DISTNAME= haproxy-2.5.5
|
|
CATEGORIES= net www
|
|
MASTER_SITES= https://www.haproxy.org/download/${PKGVERSION_NOREV:R}/src/
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= https://www.haproxy.org/
|
|
COMMENT= Reliable, high performance TCP/HTTP load balancer
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= c
|
|
USE_TOOLS+= gmake
|
|
BUILD_MAKE_FLAGS+= ADDLIB=${COMPILER_RPATH_FLAG}${PREFIX}/lib
|
|
BUILD_MAKE_FLAGS+= CC=${CC:Q}
|
|
BUILD_MAKE_FLAGS+= CPU_CFLAGS=${CFLAGS:Q}
|
|
BUILD_MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
|
|
BUILD_MAKE_FLAGS+= TARGET=${TARGET}
|
|
BUILD_MAKE_FLAGS+= USE_REGPARM=1
|
|
BUILD_MAKE_FLAGS+= USE_ZLIB=1
|
|
|
|
INSTALL_MAKE_FLAGS+= DOCDIR=${PREFIX}/share/doc/${PKGBASE}
|
|
INSTALL_MAKE_FLAGS+= PREFIX=${PREFIX}
|
|
INSTALL_MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
|
|
INSTALL_MAKE_FLAGS+= TARGET=${TARGET}
|
|
# skip install-doc
|
|
INSTALL_TARGET= install-bin install-man
|
|
|
|
.include "options.mk"
|
|
|
|
RCD_SCRIPTS= haproxy
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
|
|
TARGET= ${OPSYS:tl}
|
|
.elif ${OPSYS} == "Darwin"
|
|
TARGET= osx
|
|
.elif ${OPSYS} == "SunOS"
|
|
TARGET= solaris
|
|
.elif ${OPSYS} == "Linux"
|
|
TARGET= linux-glibc
|
|
.else
|
|
TARGET= generic
|
|
.endif
|
|
|
|
LIBS.SunOS+= -lxnet
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/doc/architecture.txt ${DESTDIR}${DOCDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/doc/configuration.txt ${DESTDIR}${DOCDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.cfg ${DESTDIR}${EGDIR}/
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/atomic64.mk"
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) && \
|
|
!empty(PKGSRC_COMPILER:M*gcc*)
|
|
.include "../../devel/libatomic/buildlink3.mk"
|
|
.endif
|
|
.include "../../mk/bsd.pkg.mk"
|