Ticket #7350: haproxy-reliabilty.patch

File haproxy-reliabilty.patch, 1.5 KB (added by heil@…, 8 years ago)

Reliability Fix

  • feeds/packages/net/haproxy/Makefile

     
    11# 
    2 # Copyright (C) 2010 OpenWrt.org 
    32# Copyright (C) 2009-2010 Thomas Heil <heil@terminal-consulting.de>  
    43# 
    54# This is free software, licensed under the GNU General Public License v2. 
    65# See /LICENSE for more information. 
    7 # 
    86 
    97include $(TOPDIR)/rules.mk 
    108 
    119PKG_NAME:=haproxy 
    12 PKG_VERSION:=1.4.2 
     10PKG_VERSION:=1.4.6 
    1311PKG_RELEASE:=1 
    1412 
    1513PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1614PKG_SOURCE_URL:=http://haproxy.1wt.eu/download/1.4/src/ 
    17 PKG_MD5SUM:=825c2c77257f0a2099e193bc690ffd60 
     15PKG_MD5SUM:=dc354ea451762135fa45657ddef67734 
    1816 
    1917include $(INCLUDE_DIR)/package.mk 
    2018 
    2119define Package/haproxy 
    22   SUBMENU:=Proxy Servers 
    2320  SECTION:=net 
    2421  CATEGORY:=Network 
     22  DEPENDS:=+libpcre +libltdl 
    2523  TITLE:=The Reliable, High Performance TCP/HTTP Load Balancer 
    2624  URL:=http://haproxy.1wt.eu/ 
    27   DEPENDS:=+libpcre +libltdl 
     25  SUBMENU:=Proxy Servers 
    2826endef 
    2927 
    3028define Package/haproxy/conffiles 
     
    3735 
    3836define Build/Compile 
    3937        $(MAKE) TARGET=$(if $(CONFIG_LINUX_2_4),linux24,linux26) -C $(PKG_BUILD_DIR) \ 
     38                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    4039                CC="$(TARGET_CC)" \ 
    4140                CFLAGS="$(TARGET_CFLAGS)" \ 
    4241                LD="$(TARGET_CC)" \ 
    4342                LDFLAGS="$(TARGET_LDFLAGS)" \ 
    44                 SMALL_OPTS="-DBUFSIZE=16060 -DMAXREWRITE=4096" \ 
    45                 all 
     43                SMALL_OPTS="-DBUFSIZE=16060 -DMAXREWRITE=8192 -DSYSTEM_MAXCONN=65530"\ 
     44                all install 
    4645endef 
    4746 
    4847define Package/haproxy/install