@ -10,12 +10,12 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := haproxy
PKG_VERSION := 2.4.4
PKG_VERSION := 2.4.7
PKG_RELEASE := $( AUTORELEASE)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://www.haproxy.org/download/2.4/src
PKG_HASH := 116b7329cebee5dab8ba47ad70feeabd0c91680d9ef68c28e41c34869920d1fe
PKG_HASH := 52af97f72f22ffd8a7a995fafc696291d37818feda50a23caef7dc0622421845
PKG_MAINTAINER := Thomas Heil <heil@terminal-consulting.de>, \
Christian Lachner <gladiac@gmail.com>
@ -78,31 +78,35 @@ $(call Package/haproxy/Default/description)
This package is built without SSL support.
e n d e f
TARGET = linux-glibc
ENABLE_LUA := y
i f e q ( $( CONFIG_USE_UCLIBC ) , y )
ADDON += USE_BACKTRACE =
ADDON += USE_LIBCRYPT =
e n d i f
i f e q ( $( CONFIG_USE_MUSL ) , y )
TARGET = linux-musl
e n d i f
i f e q ( $( BUILD_VARIANT ) , s s l )
ADDON += USE_OPENSSL = 1
ADDON += ADDLIB = "-lcrypto -lm"
e n d i f
d e f i n e B u i l d / C o m p i l e
$( MAKE) TARGET = linux-glibc -C $( PKG_BUILD_DIR) \
$( MAKE) TARGET = $( TARGET) -C $( PKG_BUILD_DIR) \
DESTDIR = " $( PKG_INSTALL_DIR) " \
CC = " $( TARGET_CC) " \
PCREDIR = " $( STAGING_DIR) /usr/ " \
USE_LUA = 1 LUA_LIB_NAME = "lua5.3" LUA_INC = " $( STAGING_DIR) /usr/include/lua5.3 " LUA_LIB = " $( STAGING_DIR) /usr/lib " \
SMALL_OPTS = "-DBUFSIZE=16384 -DMAXREWRITE=1030 -DSYSTEM_MAXCONN=165530" \
USE_LINUX_TPROXY = 1 USE_LINUX_SPLICE = 1 USE_TFO = 1 USE_NS = 1 \
USE_ZLIB = 1 USE_PCRE = 1 USE_PCRE_JIT = 1 USE_GETADDRINFO = 1 \
USE_THREAD = 1 USE_PTHREAD_PSHARED = 1 USE_PROMEX = 1 \
USE_ZLIB = 1 USE_PCRE = 1 USE_PCRE_JIT = 1 USE_PTHREAD_PSHARED = 1 USE_PROMEX = 1 \
VERSION = " $( PKG_VERSION) " SUBVERS = " - $( PKG_RELEASE) " \
VERDATE = " $( shell date -d @$( SOURCE_DATE_EPOCH) '+%Y/%m/%d' ) " IGNOREGIT = 1 \
$( ADDON) USE_BACKTRACE = \
CFLAGS = " $( TARGET_CFLAGS) -fno-strict-aliasing -Wdeclaration-after-statement -Wno-unused-label -Wno-sign-compare -Wno-unused-parameter -Wno-clobbered -Wno-missing-field-initializers -Wno-cast-function-type -Wtype-limits -Wshift-negative-value -Wshift-overflow=2 -Wduplicated-cond -Wnull-dereference -fwrapv -fasynchronous-unwind-tables -Wno-null-dereference " \
$( ADDON) \
CFLAGS = " $( TARGET_CFLAGS) -fno-strict-aliasing -Wdeclaration-after-statement -Wno-unused-label -Wno-sign-compare -Wno-unused-parameter -Wno-clobbered -Wno-missing-field-initializers -Wno-cast-function-type -Wno-address-of-packed-member -W type-limits -Wshift-negative-value -Wshift-overflow=2 -Wduplicated-cond -Wnull-dereference -fwrapv -fasynchronous-unwind-tables -Wno-null-dereference " \
LD = " $( TARGET_CC) " \
LDFLAGS = " $( TARGET_LDFLAGS) -latomic "
@ -116,7 +120,7 @@ define Build/Compile
$( MAKE_VARS) $( MAKE) -C $( PKG_BUILD_DIR) \
DESTDIR = " $( PKG_INSTALL_DIR) " \
CC = " $( TARGET_CC) " \
CFLAGS = " $( TARGET_CFLAGS) " \
CFLAGS = " $( TARGET_CFLAGS) -Wno-address-of-packed-member " \
LDFLAGS = " $( TARGET_LDFLAGS) " \
admin/halog/halog
e n d e f