SHA256
1
0
forked from pool/haproxy

- Update to version 2.5.0+git0.f2e0833f1:

https://www.mail-archive.com/haproxy@formilux.org/msg41508.html
- refreshed patches to apply cleanly again
  haproxy-1.6.0-sec-options.patch
  haproxy-1.6.0_config_haproxy_user.patch
  lua54.patch

OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=254
This commit is contained in:
Marcus Rückert 2021-11-23 16:47:06 +00:00 committed by Git OBS Bridge
parent 8bb11b8817
commit 35ad665cc8
10 changed files with 53 additions and 49 deletions

View File

@ -1,12 +1,12 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="disabled">
<param name="url">http://git.haproxy.org/git/haproxy-2.4.git</param> <param name="url">http://git.haproxy.org/git/haproxy-2.5.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="filename">haproxy</param> <param name="filename">haproxy</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>
<param name="revision">v2.4.8</param> <param name="revision">v2.5.0</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
</service> </service>

View File

@ -1,6 +1,5 @@
<servicedata> <servicedata>
<service name="tar_scm"> <service name="tar_scm">
<param name="url">http://git.haproxy.org/git/haproxy-2.4.git</param> <param name="url">http://git.haproxy.org/git/haproxy-2.5.git</param>
<param name="changesrevision">d1f8d41e0384a83d25becee5b8d9d9692454886d</param> <param name="changesrevision">f2e0833f16aa8c09e1c7001ff55aac4f13c643b7</param>
</service> </service>
</servicedata>

View File

@ -4,12 +4,12 @@ Date: Mon Jun 17 13:00:08 2019 +0000
SUSE: Makefile sec options SUSE: Makefile sec options
Index: haproxy-2.4/Makefile Index: haproxy-2.5/Makefile
=================================================================== ===================================================================
--- haproxy-2.4.orig/Makefile --- haproxy-2.5.orig/Makefile
+++ haproxy-2.4/Makefile +++ haproxy-2.5/Makefile
@@ -801,6 +801,35 @@ ifneq ($(USE_OT),) @@ -803,6 +803,35 @@ ifneq ($(USE_LIBATOMIC),)
include addons/ot/Makefile TARGET_LDFLAGS += -latomic
endif endif
+# PIE +# PIE

View File

@ -1,7 +1,7 @@
Index: haproxy-1.6.0/examples/acl-content-sw.cfg Index: haproxy-2.5/examples/acl-content-sw.cfg
=================================================================== ===================================================================
--- haproxy-1.6.0.orig/examples/acl-content-sw.cfg --- haproxy-2.5.orig/examples/acl-content-sw.cfg
+++ haproxy-1.6.0/examples/acl-content-sw.cfg +++ haproxy-2.5/examples/acl-content-sw.cfg
@@ -5,9 +5,9 @@ global @@ -5,9 +5,9 @@ global
log loghost local0 log loghost local0
log localhost local0 err log localhost local0 err
@ -15,11 +15,10 @@ Index: haproxy-1.6.0/examples/acl-content-sw.cfg
pidfile /var/run/haproxy.pid pidfile /var/run/haproxy.pid
daemon daemon
quiet quiet
Index: haproxy-2.5/examples/content-sw-sample.cfg
Index: haproxy-1.6.0/examples/content-sw-sample.cfg
=================================================================== ===================================================================
--- haproxy-1.6.0.orig/examples/content-sw-sample.cfg --- haproxy-2.5.orig/examples/content-sw-sample.cfg
+++ haproxy-1.6.0/examples/content-sw-sample.cfg +++ haproxy-2.5/examples/content-sw-sample.cfg
@@ -11,9 +11,9 @@ global @@ -11,9 +11,9 @@ global
maxconn 10000 maxconn 10000
stats socket /var/run/haproxy.stat mode 600 level admin stats socket /var/run/haproxy.stat mode 600 level admin
@ -33,27 +32,24 @@ Index: haproxy-1.6.0/examples/content-sw-sample.cfg
daemon daemon
# The public 'www' address in the DMZ # The public 'www' address in the DMZ
Index: haproxy-1.6.0/examples/option-http_proxy.cfg Index: haproxy-2.5/examples/option-http_proxy.cfg
=================================================================== ===================================================================
--- haproxy-1.6.0.orig/examples/option-http_proxy.cfg --- haproxy-2.5.orig/examples/option-http_proxy.cfg
+++ haproxy-1.6.0/examples/option-http_proxy.cfg +++ haproxy-2.5/examples/option-http_proxy.cfg
@@ -6,9 +6,9 @@ global @@ -9,6 +9,9 @@ global
maxconn 20000 uid 200
ulimit-n 16384 gid 200
log 127.0.0.1 local0 chroot /var/empty
- uid 200 + chroot /var/lib/haproxy
- gid 200 + user haproxy
- chroot /var/empty + group haproxy
+ chroot /var/lib/haproxy
+ user haproxy
+ group haproxy
nbproc 4
daemon daemon
Index: haproxy-1.6.0/examples/transparent_proxy.cfg frontend test-proxy
Index: haproxy-2.5/examples/transparent_proxy.cfg
=================================================================== ===================================================================
--- haproxy-1.6.0.orig/examples/transparent_proxy.cfg --- haproxy-2.5.orig/examples/transparent_proxy.cfg
+++ haproxy-1.6.0/examples/transparent_proxy.cfg +++ haproxy-2.5/examples/transparent_proxy.cfg
@@ -6,6 +6,10 @@ @@ -6,6 +6,10 @@
# #

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6dd5528c5978d4eaecc2e9de61dc56390a7cce5095326bf6aed20982634a560
size 3699569

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85e22342cd31b8a29c42ae021549df9d643254ba3883c1ca7c348e941cf813de
size 3911408

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Nov 23 15:17:02 UTC 2021 - mrueckert@suse.de
- Update to version 2.5.0+git0.f2e0833f1:
https://www.mail-archive.com/haproxy@formilux.org/msg41508.html
- refreshed patches to apply cleanly again
haproxy-1.6.0-sec-options.patch
haproxy-1.6.0_config_haproxy_user.patch
lua54.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 03 16:31:38 UTC 2021 - mrueckert@suse.de Wed Nov 03 16:31:38 UTC 2021 - mrueckert@suse.de

View File

@ -53,7 +53,7 @@
%endif %endif
Name: haproxy Name: haproxy
Version: 2.4.8+git0.d1f8d41e0 Version: 2.5.0+git0.f2e0833f1
Release: 0 Release: 0
# #
# #
@ -147,7 +147,6 @@ make %{?_smp_mflags} \
%if %{with pcre_jit} %if %{with pcre_jit}
USE_PCRE_JIT=1 \ USE_PCRE_JIT=1 \
%endif %endif
USE_PTHREAD_PSHARED=1 \
%ifarch %ix86 %ifarch %ix86
USE_REGPARM=1 \ USE_REGPARM=1 \
%endif %endif

View File

@ -1,8 +1,8 @@
Index: haproxy-2.4/Makefile Index: haproxy-2.5/Makefile
=================================================================== ===================================================================
--- haproxy-2.4.orig/Makefile --- haproxy-2.5.orig/Makefile
+++ haproxy-2.4/Makefile +++ haproxy-2.5/Makefile
@@ -104,7 +104,7 @@ @@ -103,7 +103,7 @@
# LUA_LIB : force the lib path to lua # LUA_LIB : force the lib path to lua
# LUA_INC : force the include path to lua # LUA_INC : force the include path to lua
# LUA_LIB_NAME : force the lib name (or automatically evaluated, by order of # LUA_LIB_NAME : force the lib name (or automatically evaluated, by order of
@ -11,7 +11,7 @@ Index: haproxy-2.4/Makefile
# OT_DEBUG : compile the OpenTracing filter in debug mode # OT_DEBUG : compile the OpenTracing filter in debug mode
# OT_INC : force the include path to libopentracing-c-wrapper # OT_INC : force the include path to libopentracing-c-wrapper
# OT_LIB : force the lib path to libopentracing-c-wrapper # OT_LIB : force the lib path to libopentracing-c-wrapper
@@ -608,11 +608,11 @@ OPTIONS_CFLAGS += $(if $(LUA_INC),-I$(L @@ -606,11 +606,11 @@ OPTIONS_CFLAGS += $(if $(LUA_INC),-I$(L
LUA_LD_FLAGS := -Wl,$(if $(EXPORT_SYMBOL),$(EXPORT_SYMBOL),--export-dynamic) $(if $(LUA_LIB),-L$(LUA_LIB)) LUA_LD_FLAGS := -Wl,$(if $(EXPORT_SYMBOL),$(EXPORT_SYMBOL),--export-dynamic) $(if $(LUA_LIB),-L$(LUA_LIB))
ifeq ($(LUA_LIB_NAME),) ifeq ($(LUA_LIB_NAME),)
# Try to automatically detect the Lua library # Try to automatically detect the Lua library
@ -26,11 +26,11 @@ Index: haproxy-2.4/Makefile
ifneq ($(LUA_INC),) ifneq ($(LUA_INC),)
OPTIONS_CFLAGS += -I$(LUA_INC) OPTIONS_CFLAGS += -I$(LUA_INC)
endif endif
Index: haproxy-2.4/INSTALL Index: haproxy-2.5/INSTALL
=================================================================== ===================================================================
--- haproxy-2.4.orig/INSTALL --- haproxy-2.5.orig/INSTALL
+++ haproxy-2.4/INSTALL +++ haproxy-2.5/INSTALL
@@ -318,9 +318,9 @@ Lua is an embedded programming language @@ -320,9 +320,9 @@ Lua is an embedded programming language
advanced scripting capabilities. Only versions 5.3 and above are supported. advanced scripting capabilities. Only versions 5.3 and above are supported.
In order to enable Lua support, please specify "USE_LUA=1" on the command line. In order to enable Lua support, please specify "USE_LUA=1" on the command line.
Some systems provide this library under various names to avoid conflicts with Some systems provide this library under various names to avoid conflicts with

2
series
View File

@ -1,4 +1,4 @@
haproxy-1.6.0_config_haproxy_user.patch -p1 haproxy-1.6.0_config_haproxy_user.patch
haproxy-1.6.0-makefile_lib.patch haproxy-1.6.0-makefile_lib.patch
haproxy-1.6.0-sec-options.patch haproxy-1.6.0-sec-options.patch
lua54.patch lua54.patch