From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] haproxy: Update to 2.1.4 Date: Tue, 14 Apr 2020 13:19:04 +0100 Message-ID: <77914022-3370-47B6-B6D0-4B47A6F54C6A@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4594598668986250342==" List-Id: --===============4594598668986250342== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 wrote: >=20 > Hi Michael, > have updated this package too. Haproxy do not starts with this version > without changing the haproxy.cfg . >=20 > Error message was: > $ /etc/init.d/haproxy start=20 > Starting HAProxy... > [ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] : 'fronte= nd' 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/hap= roxy/haproxy.cfg > [ALERT] 061/082845 (6269) : Fatal errors found in configuration. >=20 > The solution was: >=20 > $ 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=20 > + bind *:5000 > acl url_static path_beg -i /static /images /javascript /sty= lesheets > acl url_static path_end -i .jpg .gif .png .css .js >=20 > May this is useful. >=20 > Best, >=20 > Erik >=20 >=20 > 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 >>=20 >> Signed-off-by: Michael Tremer >> --- >> lfs/haproxy | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >>=20 >> diff --git a/lfs/haproxy b/lfs/haproxy >> index d326a090a..62a1c4d10 100644 >> --- a/lfs/haproxy >> +++ b/lfs/haproxy >> @@ -24,7 +24,7 @@ >>=20 >> include Config >>=20 >> -VER =3D 2.1.3 >> +VER =3D 2.1.4 >>=20 >> THISAPP =3D haproxy-$(VER) >> DL_FILE =3D $(THISAPP).tar.gz >> @@ -32,7 +32,7 @@ DL_FROM =3D $(URL_IPFIRE) >> DIR_APP =3D $(DIR_SRC)/$(THISAPP) >> TARGET =3D $(DIR_INFO)/$(THISAPP) >> PROG =3D haproxy >> -PAK_VER =3D 13 >> +PAK_VER =3D 14 >>=20 >> DEPS =3D >>=20 >> @@ -48,7 +48,7 @@ objects =3D $(DL_FILE) >>=20 >> $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) >>=20 >> -$(DL_FILE)_MD5 =3D bea4726d8c99f5d9bac0e62906a1f2d0 >> +$(DL_FILE)_MD5 =3D 100cccf98aaf3ba80b5fd070866ad115 >>=20 >> install : $(TARGET) >>=20 >=20 --===============4594598668986250342==--