pkgsrc/net/haproxy/Makefile
morr 85145201ab Security update to version 1.4.24.
ChangeLog:

- 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
2013-06-20 21:36:28 +00:00

58 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2013/06/20 21:36:28 morr Exp $
DISTNAME= haproxy-1.4.24
CATEGORIES= net www
MASTER_SITES= http://haproxy.1wt.eu/download/1.4/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}
INSTALL_MAKE_FLAGS+= TARGET=${TARGET}
INSTALL_MAKE_FLAGS+= PREFIX=${PREFIX}
INSTALL_MAKE_FLAGS+= DOCDIR=${PREFIX}/share/doc/${PKGBASE}
INSTALL_MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
INSTALLATION_DIRS= ${EGDIR} share/examples/rc.d
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= rcd
.if ${OPSYS} == "NetBSD"
RCD_SCRIPTS= haproxy
INSTALLATION_DIRS+= share/examples/rc.d
PLIST.rcd= yes
.endif
.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
. endif
.else
TARGET=generic
.endif
LIBS.SunOS+= -lxnet
post-install:
${INSTALL_DATA} ${WRKSRC}/examples/haproxy.cfg ${DESTDIR}${EGDIR}/
.include "../../mk/bsd.pkg.mk"