public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] haproxy: Update to 2.1.4
@ 2020-04-14 11:54 Michael Tremer
  2020-04-14 12:17 ` ummeegge
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tremer @ 2020-04-14 11:54 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

This is a security release:
  https://www.mail-archive.com/haproxy(a)formilux.org/msg36876.html

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 lfs/haproxy | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lfs/haproxy b/lfs/haproxy
index d326a090a..62a1c4d10 100644
--- a/lfs/haproxy
+++ b/lfs/haproxy
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 2.1.3
+VER        = 2.1.4
 
 THISAPP    = haproxy-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = haproxy
-PAK_VER    = 13
+PAK_VER    = 14
 
 DEPS       =
 
@@ -48,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = bea4726d8c99f5d9bac0e62906a1f2d0
+$(DL_FILE)_MD5 = 100cccf98aaf3ba80b5fd070866ad115
 
 install : $(TARGET)
 
-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] haproxy: Update to 2.1.4
  2020-04-14 11:54 [PATCH] haproxy: Update to 2.1.4 Michael Tremer
@ 2020-04-14 12:17 ` ummeegge
  2020-04-14 12:19   ` Michael Tremer
  0 siblings, 1 reply; 4+ messages in thread
From: ummeegge @ 2020-04-14 12:17 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2364 bytes --]

Hi Michael,
have updated this package too. Haproxy do not starts with this version
without changing the haproxy.cfg .

Error message was:
$ /etc/init.d/haproxy start 
Starting HAProxy...
[ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] : 'frontend' cannot handle unexpected argument '*:5000'.
[ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] : please use the 'bind' keyword for listening addresses.
[ALERT] 061/082845 (6269) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
[ALERT] 061/082845 (6269) : Fatal errors found in configuration.

The solution was:

$ diff -u /etc/haproxy/haproxy.cfg.old /etc/haproxy/haproxy.cfg
--- /etc/haproxy/haproxy.cfg.old	2020-03-02 08:36:36.685904927 +0100
+++ /etc/haproxy/haproxy.cfg	2020-03-02 08:41:22.951020763 +0100
@@ -60,7 +60,8 @@
 #---------------------------------------------------------------------
 # main frontend which proxys to the backends
 #---------------------------------------------------------------------
-frontend  main *:5000
+frontend  main 
+    bind *:5000
     acl url_static       path_beg       -i /static /images /javascript /stylesheets
     acl url_static       path_end       -i .jpg .gif .png .css .js

May this is useful.

Best,

Erik


Am Dienstag, den 14.04.2020, 11:54 +0000 schrieb Michael Tremer:
> This is a security release:
>   https://www.mail-archive.com/haproxy(a)formilux.org/msg36876.html
> 
> Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
> ---
>  lfs/haproxy | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/lfs/haproxy b/lfs/haproxy
> index d326a090a..62a1c4d10 100644
> --- a/lfs/haproxy
> +++ b/lfs/haproxy
> @@ -24,7 +24,7 @@
>  
>  include Config
>  
> -VER        = 2.1.3
> +VER        = 2.1.4
>  
>  THISAPP    = haproxy-$(VER)
>  DL_FILE    = $(THISAPP).tar.gz
> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = haproxy
> -PAK_VER    = 13
> +PAK_VER    = 14
>  
>  DEPS       =
>  
> @@ -48,7 +48,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_MD5 = bea4726d8c99f5d9bac0e62906a1f2d0
> +$(DL_FILE)_MD5 = 100cccf98aaf3ba80b5fd070866ad115
>  
>  install : $(TARGET)
>  


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] haproxy: Update to 2.1.4
  2020-04-14 12:17 ` ummeegge
@ 2020-04-14 12:19   ` Michael Tremer
  2020-04-14 12:46     ` ummeegge
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tremer @ 2020-04-14 12:19 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2661 bytes --]

Oh sorry, I forgot.

Yeah you are right on the configuration file.

People will have to edit that one anyways though.

-Michael

> On 14 Apr 2020, at 13:17, ummeegge <ummeegge(a)ipfire.org> wrote:
> 
> Hi Michael,
> have updated this package too. Haproxy do not starts with this version
> without changing the haproxy.cfg .
> 
> Error message was:
> $ /etc/init.d/haproxy start 
> Starting HAProxy...
> [ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] : 'frontend' cannot handle unexpected argument '*:5000'.
> [ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] : please use the 'bind' keyword for listening addresses.
> [ALERT] 061/082845 (6269) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
> [ALERT] 061/082845 (6269) : Fatal errors found in configuration.
> 
> The solution was:
> 
> $ diff -u /etc/haproxy/haproxy.cfg.old /etc/haproxy/haproxy.cfg
> --- /etc/haproxy/haproxy.cfg.old	2020-03-02 08:36:36.685904927 +0100
> +++ /etc/haproxy/haproxy.cfg	2020-03-02 08:41:22.951020763 +0100
> @@ -60,7 +60,8 @@
> #---------------------------------------------------------------------
> # main frontend which proxys to the backends
> #---------------------------------------------------------------------
> -frontend  main *:5000
> +frontend  main 
> +    bind *:5000
>     acl url_static       path_beg       -i /static /images /javascript /stylesheets
>     acl url_static       path_end       -i .jpg .gif .png .css .js
> 
> May this is useful.
> 
> Best,
> 
> Erik
> 
> 
> Am Dienstag, den 14.04.2020, 11:54 +0000 schrieb Michael Tremer:
>> This is a security release:
>>  https://www.mail-archive.com/haproxy(a)formilux.org/msg36876.html
>> 
>> Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
>> ---
>> lfs/haproxy | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>> 
>> diff --git a/lfs/haproxy b/lfs/haproxy
>> index d326a090a..62a1c4d10 100644
>> --- a/lfs/haproxy
>> +++ b/lfs/haproxy
>> @@ -24,7 +24,7 @@
>> 
>> include Config
>> 
>> -VER        = 2.1.3
>> +VER        = 2.1.4
>> 
>> THISAPP    = haproxy-$(VER)
>> DL_FILE    = $(THISAPP).tar.gz
>> @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
>> DIR_APP    = $(DIR_SRC)/$(THISAPP)
>> TARGET     = $(DIR_INFO)/$(THISAPP)
>> PROG       = haproxy
>> -PAK_VER    = 13
>> +PAK_VER    = 14
>> 
>> DEPS       =
>> 
>> @@ -48,7 +48,7 @@ objects = $(DL_FILE)
>> 
>> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>> 
>> -$(DL_FILE)_MD5 = bea4726d8c99f5d9bac0e62906a1f2d0
>> +$(DL_FILE)_MD5 = 100cccf98aaf3ba80b5fd070866ad115
>> 
>> install : $(TARGET)
>> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] haproxy: Update to 2.1.4
  2020-04-14 12:19   ` Michael Tremer
@ 2020-04-14 12:46     ` ummeegge
  0 siblings, 0 replies; 4+ messages in thread
From: ummeegge @ 2020-04-14 12:46 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2938 bytes --]

OK, just wanted to mention it :-) .

Best,

Erik

Am Dienstag, den 14.04.2020, 13:19 +0100 schrieb Michael Tremer:
> Oh sorry, I forgot.
> 
> Yeah you are right on the configuration file.
> 
> People will have to edit that one anyways though.
> 
> -Michael
> 
> > On 14 Apr 2020, at 13:17, ummeegge <ummeegge(a)ipfire.org> wrote:
> > 
> > Hi Michael,
> > have updated this package too. Haproxy do not starts with this
> > version
> > without changing the haproxy.cfg .
> > 
> > Error message was:
> > $ /etc/init.d/haproxy start 
> > Starting HAProxy...
> > [ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] :
> > 'frontend' cannot handle unexpected argument '*:5000'.
> > [ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] :
> > please use the 'bind' keyword for listening addresses.
> > [ALERT] 061/082845 (6269) : Error(s) found in configuration file :
> > /etc/haproxy/haproxy.cfg
> > [ALERT] 061/082845 (6269) : Fatal errors found in configuration.
> > 
> > The solution was:
> > 
> > $ diff -u /etc/haproxy/haproxy.cfg.old /etc/haproxy/haproxy.cfg
> > --- /etc/haproxy/haproxy.cfg.old	2020-03-02 08:36:36.685904927
> > +0100
> > +++ /etc/haproxy/haproxy.cfg	2020-03-02 08:41:22.951020763
> > +0100
> > @@ -60,7 +60,8 @@
> > #----------------------------------------------------------------
> > -----
> > # main frontend which proxys to the backends
> > #----------------------------------------------------------------
> > -----
> > -frontend  main *:5000
> > +frontend  main 
> > +    bind *:5000
> >     acl url_static       path_beg       -i /static /images
> > /javascript /stylesheets
> >     acl url_static       path_end       -i .jpg .gif .png .css .js
> > 
> > May this is useful.
> > 
> > Best,
> > 
> > Erik
> > 
> > 
> > Am Dienstag, den 14.04.2020, 11:54 +0000 schrieb Michael Tremer:
> > > This is a security release:
> > >  https://www.mail-archive.com/haproxy(a)formilux.org/msg36876.html
> > > 
> > > Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
> > > ---
> > > lfs/haproxy | 6 +++---
> > > 1 file changed, 3 insertions(+), 3 deletions(-)
> > > 
> > > diff --git a/lfs/haproxy b/lfs/haproxy
> > > index d326a090a..62a1c4d10 100644
> > > --- a/lfs/haproxy
> > > +++ b/lfs/haproxy
> > > @@ -24,7 +24,7 @@
> > > 
> > > include Config
> > > 
> > > -VER        = 2.1.3
> > > +VER        = 2.1.4
> > > 
> > > THISAPP    = haproxy-$(VER)
> > > DL_FILE    = $(THISAPP).tar.gz
> > > @@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
> > > DIR_APP    = $(DIR_SRC)/$(THISAPP)
> > > TARGET     = $(DIR_INFO)/$(THISAPP)
> > > PROG       = haproxy
> > > -PAK_VER    = 13
> > > +PAK_VER    = 14
> > > 
> > > DEPS       =
> > > 
> > > @@ -48,7 +48,7 @@ objects = $(DL_FILE)
> > > 
> > > $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
> > > 
> > > -$(DL_FILE)_MD5 = bea4726d8c99f5d9bac0e62906a1f2d0
> > > +$(DL_FILE)_MD5 = 100cccf98aaf3ba80b5fd070866ad115
> > > 
> > > install : $(TARGET)
> > > 
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-14 12:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14 11:54 [PATCH] haproxy: Update to 2.1.4 Michael Tremer
2020-04-14 12:17 ` ummeegge
2020-04-14 12:19   ` Michael Tremer
2020-04-14 12:46     ` ummeegge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox