pkgsrc/net/haproxy/Makefile
adam 79c40b9cb1 haproxy: updated to 2.1.2
2.1.2:
* BUG/MEDIUM: stream: Be sure to never assign a TCP backend to an HTX stream
* BUILD: ssl: improve SSL_CTX_set_ecdh_auto compatibility
* BUG/MEDIUM: ssl: Don't set the max early data we can receive too early.
* BUG/MEDIUM: ssl: Revamp the way early data are handled.
* BUG/MEDIUM: fd/threads: fix a concurrency issue between add and rm on the
  same fd
* BUG/MINOR: ssl: openssl-compat: Fix getm_ defines
* MINOR: sample: Validate the number of bits for the sha2 converter
* DOC: clarify the fact that replace-uri works on a full URI
* BUG/MINOR: sample: fix the closing bracket and LF in the debug converter
* BUG/MINOR: sample: always check converters' arguments
* MINOR: debug: support logging to various sinks
* MINOR: http: add a new "replace-path" action
* MINOR: task: only check TASK_WOKEN_ANY to decide to requeue a task
* BUG/MAJOR: task: add a new TASK_SHARED_WQ flag to fix foreing requeuing
* MINOR: fd/threads: make _GET_NEXT()/_GET_PREV() use the volatile attribute
* BUG/MEDIUM: state-file: do not allocate a full buffer for each server
* BUG/MINOR: state-file: do not store duplicates in the global tree
* BUG/MINOR: state-file: do not leak memory on parse errors
2020-01-01 21:18:07 +00:00

58 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.57 2020/01/01 21:18:07 adam Exp $
DISTNAME= haproxy-2.1.2
CATEGORIES= net www
MASTER_SITES= https://www.haproxy.org/download/${PKGVERSION_NOREV:R}/src/
MAINTAINER= morr@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+= 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/bsd.pkg.mk"