pkgsrc/net/haproxy/Makefile
morr 3b4626c055 Update to version 1.4.19.
Changes:

 - MEDIUM: http: add support for sending the server's name in the outgoing request
 - BUG/MINOR: fix options forwardfor if-none when an alternative header name is specified
 - MINOR: task: new function task_schedule() to schedule a wake up
 - BUG/MEDIUM: checks: fix slowstart behaviour when server tracking is in use
 - BUG: tcp: option nolinger does not work on backends
 - BUG: ebtree: ebst_lookup() could return the wrong entry
 - BUG: http: re-enable TCP quick-ack upon incomplete HTTP requests
 - CLEANUP: ebtree: remove a few annoying signedness warnings
 - CLEANUP: ebtree: remove 4-year old harmless typo in duplicates insertion code
 - CLEANUP: ebtree: remove another typo, a wrong initialization in insertion code
 - BUG: proto_tcp: set AF_INET on tproxy for use with recent kernels
 - MINOR: halog: add support for matching queued requests
 - BUG: http: tighten the list of allowed characters in a URI
2012-02-23 19:02:04 +00:00

60 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2012/02/23 19:02:04 morr Exp $
DISTNAME= haproxy-1.4.19
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
PKG_DESTDIR_SUPPORT= user-destdir
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"