Re: HAProxy 2.0.10 and 2.1.0 RPM's
On 16 Dec 15:00, Ryan O'Hara wrote: > On Tue, Nov 26, 2019 at 2:40 PM Russell Eason wrote: > > > Hello, > > > > Fedora upstream added it > > https://src.fedoraproject.org/rpms/haproxy/c/45c57ba71174f308a5f59569bac0598bb31ef767 > > , and can be seen as far back as F24 here > > https://src.fedoraproject.org/rpms/haproxy/blob/f24/f/haproxy.spec . LUA > > support is in the RHEL 8 version of HAProxy, but not in 7 (yet?). > > > > Sorry for the late reply. I believe the reason that RHEL7 lacks LUA support > is because the required version of LUA is not available in RHEL7. Enabling > LUA support in haproxy at build time is easy, but if the underlying bits > aren't available, there is nothing I can do. Cheers. > > Ryan Alternatively I have updated https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ to 2.1.1 In ELEL7 it uses https://copr.fedorainfracloud.org/coprs/roidelapluie/lua/ which is the LUA for RHEL8 compiled for RHEL7. We statically compile it within haproxy. -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu signature.asc Description: PGP signature
Re: HAProxy 2.0.10 and 2.1.0 RPM's
On Tue, Nov 26, 2019 at 9:20 PM Willy Tarreau wrote: > > Indeed that looks good. We'll need to include Ryan in this discussion, > he's the maintainer of the official RPMs for RHEL. I'm purposely not CCing > him as I know he's very busy this week, but I sense that we're starting to > see the light at the end of the tunnel here. > Indeed, I have been busy. Then on vacation. Then back in time for another deadline. I'm always open to hear feedback on the RHEL and Fedora packages (I maintain Fedora packages as well as RHEL). Thanks to Julien for creating those copr builds. That makes my life so much easier! A couple items about Fedora/RHEL packages. For Fedora, I try to be responsive for CVEs, minor release rebases, and enabling features (eg. Prometheus support). Lesser things like minor spec file changes usually get a much lower priority. Note that we do not rebase to a new, major release within a stable release. For example, if Fedora 31 has haproxy-2.0.x, it will never have haproxy-2.1.x. That is what copr is for. For RHEL, it is even more restrictive. I don't make the rules, just wanted to explain this since I get a lot of email asking about these things. Cheers. Ryan
Re: HAProxy 2.0.10 and 2.1.0 RPM's
On Tue, Nov 26, 2019 at 2:40 PM Russell Eason wrote: > Hello, > > Fedora upstream added it > https://src.fedoraproject.org/rpms/haproxy/c/45c57ba71174f308a5f59569bac0598bb31ef767 > , and can be seen as far back as F24 here > https://src.fedoraproject.org/rpms/haproxy/blob/f24/f/haproxy.spec . LUA > support is in the RHEL 8 version of HAProxy, but not in 7 (yet?). > Sorry for the late reply. I believe the reason that RHEL7 lacks LUA support is because the required version of LUA is not available in RHEL7. Enabling LUA support in haproxy at build time is easy, but if the underlying bits aren't available, there is nothing I can do. Cheers. Ryan
Re: HAProxy 2.0.10 and 2.1.0 RPM's
Hi, just wanted to add to this thread that I found the IUS repo builds 2.0.10 with LUA support and can be seen here https://github.com/iusrepo/haproxy20/blob/master/haproxy20.spec Thanks, Russell On Thu, Nov 28, 2019 at 7:24 AM Julien Pivotto wrote: > On 28 Nov 12:09, Julien Pivotto wrote: > > On 27 Nov 01:15, Илья Шипицин wrote: > > > ср, 27 нояб. 2019 г. в 01:10, Russell Eason : > > > > > > > Hello, > > > > > > > > Fedora upstream added it > > > > > https://src.fedoraproject.org/rpms/haproxy/c/45c57ba71174f308a5f59569bac0598bb31ef767 > > > > , and can be seen as far back as F24 here > > > > https://src.fedoraproject.org/rpms/haproxy/blob/f24/f/haproxy.spec > . LUA > > > > support is in the RHEL 8 version of HAProxy, but not in 7 (yet?). > > > > > > > > > > I really stuck on that. > > > haproxy needs Lua-5.3, there's no good for CentOS 7 > > > > I have published 2.1.0-7 rpm's which use LUA: > > > > - in EL7 it is statically linked (from > > https://copr.fedorainfracloud.org/coprs/roidelapluie/lua/) so it does > > not depend on any centos lua package. As trade off I needed to disable > > PIE: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_pie. > > Use with care. > > - in EL8 is is dynamically linked > > 2.1.0-8 is out, where I successfully enabled PIE again, which is really > a good thing (needed to enable PIE on lua too). Please test and send > feedback: > > 2.1.0-8 EL7 : HAProxy with LUA statically linked > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo > > 2.1.0-8 EL8 : HAProxy with LUA dynamically linked > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-8/roidelapluie-haproxy-epel-8.repo > > > > > I also cherry-picked fa137e3b5c994508370e0cd2396ece081a1316c4 as it is a > > bug that affects me (being totally selfish here ...) > > > > Regards, > > > > -- > > (o-Julien Pivotto > > //\Open-Source Consultant > > V_/_ Inuits - https://www.inuits.eu > > > > -- > (o-Julien Pivotto > //\Open-Source Consultant > V_/_ Inuits - https://www.inuits.eu >
Re: HAProxy 2.0.10 and 2.1.0 RPM's
On 28 Nov 12:09, Julien Pivotto wrote: > On 27 Nov 01:15, Илья Шипицин wrote: > > ср, 27 нояб. 2019 г. в 01:10, Russell Eason : > > > > > Hello, > > > > > > Fedora upstream added it > > > https://src.fedoraproject.org/rpms/haproxy/c/45c57ba71174f308a5f59569bac0598bb31ef767 > > > , and can be seen as far back as F24 here > > > https://src.fedoraproject.org/rpms/haproxy/blob/f24/f/haproxy.spec . LUA > > > support is in the RHEL 8 version of HAProxy, but not in 7 (yet?). > > > > > > > I really stuck on that. > > haproxy needs Lua-5.3, there's no good for CentOS 7 > > I have published 2.1.0-7 rpm's which use LUA: > > - in EL7 it is statically linked (from > https://copr.fedorainfracloud.org/coprs/roidelapluie/lua/) so it does > not depend on any centos lua package. As trade off I needed to disable > PIE: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_pie. > Use with care. > - in EL8 is is dynamically linked 2.1.0-8 is out, where I successfully enabled PIE again, which is really a good thing (needed to enable PIE on lua too). Please test and send feedback: 2.1.0-8 EL7 : HAProxy with LUA statically linked https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo 2.1.0-8 EL8 : HAProxy with LUA dynamically linked https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-8/roidelapluie-haproxy-epel-8.repo > > I also cherry-picked fa137e3b5c994508370e0cd2396ece081a1316c4 as it is a > bug that affects me (being totally selfish here ...) > > Regards, > > -- > (o-Julien Pivotto > //\Open-Source Consultant > V_/_ Inuits - https://www.inuits.eu -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu signature.asc Description: PGP signature
Re: HAProxy 2.0.10 and 2.1.0 RPM's
On 27 Nov 01:15, Илья Шипицин wrote: > ср, 27 нояб. 2019 г. в 01:10, Russell Eason : > > > Hello, > > > > Fedora upstream added it > > https://src.fedoraproject.org/rpms/haproxy/c/45c57ba71174f308a5f59569bac0598bb31ef767 > > , and can be seen as far back as F24 here > > https://src.fedoraproject.org/rpms/haproxy/blob/f24/f/haproxy.spec . LUA > > support is in the RHEL 8 version of HAProxy, but not in 7 (yet?). > > > > I really stuck on that. > haproxy needs Lua-5.3, there's no good for CentOS 7 I have published 2.1.0-7 rpm's which use LUA: - in EL7 it is statically linked (from https://copr.fedorainfracloud.org/coprs/roidelapluie/lua/) so it does not depend on any centos lua package. As trade off I needed to disable PIE: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_pie. Use with care. - in EL8 is is dynamically linked I also cherry-picked fa137e3b5c994508370e0cd2396ece081a1316c4 as it is a bug that affects me (being totally selfish here ...) Regards, -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu signature.asc Description: PGP signature
RE: HAProxy 2.0.10 and 2.1.0 RPM's
[1] is a project I've contributed to because I needed to compile RPMs for Amazon Linux and the RHEL/CentOS versions didn't quite work correctly. I liked it because it made the process super simple and took care of most of the dependencies. It also includes support for RHEL8 and Amazon Linux 2 and has branches for HAProxy 1.6-2.0. Guess it's time to submit a 2.1 branch PR... [1] https://github.com/DBezemer/rpm-haproxy -Original Message- From: Willy Tarreau Sent: Wednesday, November 27, 2019 2:33 AM To: Julien Pivotto Cc: William Lallemand ; haproxy@formilux.org Subject: Re: HAProxy 2.0.10 and 2.1.0 RPM's On Wed, Nov 27, 2019 at 08:21:44AM +0100, Julien Pivotto wrote: > On 27 Nov 04:00, Willy Tarreau wrote: > > Hi guys, > > > > Regarding Lua, it is among the packages which don't move fast and > > which present very little long-term risk, so it can very well be > > included as a static dependency if not supported in certain distros. > > I've already been wondering whether or not we should include a local > > copy of it into the haproxy source code, but I really hate doing > > this. I'd rather help packagers build it locally in fact. > > > > Thanks, > > Willy > > Willy, > > What is the flag to build lua statically? is there a flag yet? Normally you just need to have your Lua lib built statically. Willy
Re: HAProxy 2.0.10 and 2.1.0 RPM's
On Wed, Nov 27, 2019 at 08:21:44AM +0100, Julien Pivotto wrote: > On 27 Nov 04:00, Willy Tarreau wrote: > > Hi guys, > > > > Regarding Lua, it is among the packages which don't move fast and which > > present very little long-term risk, so it can very well be included as > > a static dependency if not supported in certain distros. I've already > > been wondering whether or not we should include a local copy of it into > > the haproxy source code, but I really hate doing this. I'd rather help > > packagers build it locally in fact. > > > > Thanks, > > Willy > > Willy, > > What is the flag to build lua statically? is there a flag yet? Normally you just need to have your Lua lib built statically. Willy
Re: HAProxy 2.0.10 and 2.1.0 RPM's
On 27 Nov 04:00, Willy Tarreau wrote: > Hi guys, > > Regarding Lua, it is among the packages which don't move fast and which > present very little long-term risk, so it can very well be included as > a static dependency if not supported in certain distros. I've already > been wondering whether or not we should include a local copy of it into > the haproxy source code, but I really hate doing this. I'd rather help > packagers build it locally in fact. > > Thanks, > Willy Willy, What is the flag to build lua statically? is there a flag yet? -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu signature.asc Description: PGP signature
Re: HAProxy 2.0.10 and 2.1.0 RPM's
Hi guys, On Tue, Nov 26, 2019 at 09:01:17PM +0100, William Lallemand wrote: > On Tue, Nov 26, 2019 at 08:33:41PM +0100, Julien Pivotto wrote: > > Dear HAProxy Community, > > > > I have started building HAProxy 2.x packages for CentOS. > > > > It includes HAProxy 2.0.10 and 2.1.0. > > > > You can find them here: > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ > > > > https://github.com/roidelapluie/haproxy-rpm > > which is based on https://git.centos.org/rpms/rh-haproxy18-haproxy > > > > Repo config: > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo > > > > Copr is the Fedora public tool to build packages. Build logs are public, > > as well as source RPM's etc. So you are free to review it. > > > > Hi Julien, > > Thanks for your work, we really lack up-to-date packages for centos/rhel, > that's a relief people are still trying to update them. :-) > > We don't really have an official rhel/centos package for HAProxy, but there > are > multiple ones. I think it could be really great if people interested in > HAProxy > for redhat-based distribution could work together to maintain one "official" > repository like we have for debian/ubuntu. (http://haproxy.debian.net) > > We already knew about these ones: > > - http://haproxy.hongens.nl/ > - https://repo.ius.io/7/x86_64/packages/h/ > > But none of them are up to date with the latest version of their branches . > > I didn't knew about Copr, it looks like a PPA-like for redhat from what I can > see, it could be a really great platform to do that. Indeed that looks good. We'll need to include Ryan in this discussion, he's the maintainer of the official RPMs for RHEL. I'm purposely not CCing him as I know he's very busy this week, but I sense that we're starting to see the light at the end of the tunnel here. Regarding Lua, it is among the packages which don't move fast and which present very little long-term risk, so it can very well be included as a static dependency if not supported in certain distros. I've already been wondering whether or not we should include a local copy of it into the haproxy source code, but I really hate doing this. I'd rather help packagers build it locally in fact. Thanks, Willy
Re: HAProxy 2.0.10 and 2.1.0 RPM's
ср, 27 нояб. 2019 г. в 01:10, Russell Eason : > Hello, > > Fedora upstream added it > https://src.fedoraproject.org/rpms/haproxy/c/45c57ba71174f308a5f59569bac0598bb31ef767 > , and can be seen as far back as F24 here > https://src.fedoraproject.org/rpms/haproxy/blob/f24/f/haproxy.spec . LUA > support is in the RHEL 8 version of HAProxy, but not in 7 (yet?). > I really stuck on that. haproxy needs Lua-5.3, there's no good for CentOS 7 > > Russell > > On Tue, Nov 26, 2019 at 3:02 PM William Lallemand > wrote: > >> On Tue, Nov 26, 2019 at 08:33:41PM +0100, Julien Pivotto wrote: >> > Dear HAProxy Community, >> > >> > I have started building HAProxy 2.x packages for CentOS. >> > >> > It includes HAProxy 2.0.10 and 2.1.0. >> > >> > You can find them here: >> > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ >> > >> > https://github.com/roidelapluie/haproxy-rpm >> > which is based on https://git.centos.org/rpms/rh-haproxy18-haproxy >> > >> > Repo config: >> > >> https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo >> > >> > Copr is the Fedora public tool to build packages. Build logs are public, >> > as well as source RPM's etc. So you are free to review it. >> > >> >> Hi Julien, >> >> Thanks for your work, we really lack up-to-date packages for centos/rhel, >> that's a relief people are still trying to update them. :-) >> >> We don't really have an official rhel/centos package for HAProxy, but >> there are >> multiple ones. I think it could be really great if people interested in >> HAProxy >> for redhat-based distribution could work together to maintain one >> "official" >> repository like we have for debian/ubuntu. (http://haproxy.debian.net) >> >> We already knew about these ones: >> >> - http://haproxy.hongens.nl/ >> - https://repo.ius.io/7/x86_64/packages/h/ >> >> But none of them are up to date with the latest version of their branches >> . >> >> I didn't knew about Copr, it looks like a PPA-like for redhat from what I >> can >> see, it could be a really great platform to do that. >> >> Thanks, >> >> -- >> William Lallemand >> >>
Re: HAProxy 2.0.10 and 2.1.0 RPM's
ср, 27 нояб. 2019 г. в 01:03, William Lallemand : > On Tue, Nov 26, 2019 at 08:33:41PM +0100, Julien Pivotto wrote: > > Dear HAProxy Community, > > > > I have started building HAProxy 2.x packages for CentOS. > > > > It includes HAProxy 2.0.10 and 2.1.0. > > > > You can find them here: > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ > > > > https://github.com/roidelapluie/haproxy-rpm > > which is based on https://git.centos.org/rpms/rh-haproxy18-haproxy > > > > Repo config: > > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo > > > > Copr is the Fedora public tool to build packages. Build logs are public, > > as well as source RPM's etc. So you are free to review it. > > > > Hi Julien, > > Thanks for your work, we really lack up-to-date packages for centos/rhel, > that's a relief people are still trying to update them. :-) > > We don't really have an official rhel/centos package for HAProxy, but > there are > multiple ones. I think it could be really great if people interested in > HAProxy > for redhat-based distribution could work together to maintain one > "official" > repository like we have for debian/ubuntu. (http://haproxy.debian.net) > > We already knew about these ones: > > - http://haproxy.hongens.nl/ > - https://repo.ius.io/7/x86_64/packages/h/ > > But none of them are up to date with the latest version of their branches . > > I didn't knew about Copr, it looks like a PPA-like for redhat from what I > can > see, it could be a really great platform to do that. > exactly > > Thanks, > > -- > William Lallemand > >
Re: HAProxy 2.0.10 and 2.1.0 RPM's
Hello, Fedora upstream added it https://src.fedoraproject.org/rpms/haproxy/c/45c57ba71174f308a5f59569bac0598bb31ef767 , and can be seen as far back as F24 here https://src.fedoraproject.org/rpms/haproxy/blob/f24/f/haproxy.spec . LUA support is in the RHEL 8 version of HAProxy, but not in 7 (yet?). Russell On Tue, Nov 26, 2019 at 3:02 PM William Lallemand wrote: > On Tue, Nov 26, 2019 at 08:33:41PM +0100, Julien Pivotto wrote: > > Dear HAProxy Community, > > > > I have started building HAProxy 2.x packages for CentOS. > > > > It includes HAProxy 2.0.10 and 2.1.0. > > > > You can find them here: > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ > > > > https://github.com/roidelapluie/haproxy-rpm > > which is based on https://git.centos.org/rpms/rh-haproxy18-haproxy > > > > Repo config: > > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo > > > > Copr is the Fedora public tool to build packages. Build logs are public, > > as well as source RPM's etc. So you are free to review it. > > > > Hi Julien, > > Thanks for your work, we really lack up-to-date packages for centos/rhel, > that's a relief people are still trying to update them. :-) > > We don't really have an official rhel/centos package for HAProxy, but > there are > multiple ones. I think it could be really great if people interested in > HAProxy > for redhat-based distribution could work together to maintain one > "official" > repository like we have for debian/ubuntu. (http://haproxy.debian.net) > > We already knew about these ones: > > - http://haproxy.hongens.nl/ > - https://repo.ius.io/7/x86_64/packages/h/ > > But none of them are up to date with the latest version of their branches . > > I didn't knew about Copr, it looks like a PPA-like for redhat from what I > can > see, it could be a really great platform to do that. > > Thanks, > > -- > William Lallemand > >
Re: HAProxy 2.0.10 and 2.1.0 RPM's
On Tue, Nov 26, 2019 at 08:33:41PM +0100, Julien Pivotto wrote: > Dear HAProxy Community, > > I have started building HAProxy 2.x packages for CentOS. > > It includes HAProxy 2.0.10 and 2.1.0. > > You can find them here: > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ > > https://github.com/roidelapluie/haproxy-rpm > which is based on https://git.centos.org/rpms/rh-haproxy18-haproxy > > Repo config: > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo > > Copr is the Fedora public tool to build packages. Build logs are public, > as well as source RPM's etc. So you are free to review it. > Hi Julien, Thanks for your work, we really lack up-to-date packages for centos/rhel, that's a relief people are still trying to update them. :-) We don't really have an official rhel/centos package for HAProxy, but there are multiple ones. I think it could be really great if people interested in HAProxy for redhat-based distribution could work together to maintain one "official" repository like we have for debian/ubuntu. (http://haproxy.debian.net) We already knew about these ones: - http://haproxy.hongens.nl/ - https://repo.ius.io/7/x86_64/packages/h/ But none of them are up to date with the latest version of their branches . I didn't knew about Copr, it looks like a PPA-like for redhat from what I can see, it could be a really great platform to do that. Thanks, -- William Lallemand
Re: HAProxy 2.0.10 and 2.1.0 RPM's
On 27 Nov 00:51, Илья Шипицин wrote: > thank for the rpm > > it was faster than I did )) > > any plans to add Lua ? Hello, It is not in the upstream spec file that I use, and I personnaly do not use lua yet. If there is interest I can have a look at that. > > ср, 27 нояб. 2019 г. в 00:36, Julien Pivotto : > > > Dear HAProxy Community, > > > > I have started building HAProxy 2.x packages for CentOS. > > > > It includes HAProxy 2.0.10 and 2.1.0. > > > > You can find them here: > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ > > > > https://github.com/roidelapluie/haproxy-rpm > > which is based on https://git.centos.org/rpms/rh-haproxy18-haproxy > > > > Repo config: > > > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo > > > > Copr is the Fedora public tool to build packages. Build logs are public, > > as well as source RPM's etc. So you are free to review it. > > > > -- > > (o-Julien Pivotto > > //\Open-Source Consultant > > V_/_ Inuits - https://www.inuits.eu > > -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu signature.asc Description: PGP signature
Re: HAProxy 2.0.10 and 2.1.0 RPM's
thank for the rpm it was faster than I did )) any plans to add Lua ? ср, 27 нояб. 2019 г. в 00:36, Julien Pivotto : > Dear HAProxy Community, > > I have started building HAProxy 2.x packages for CentOS. > > It includes HAProxy 2.0.10 and 2.1.0. > > You can find them here: > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ > > https://github.com/roidelapluie/haproxy-rpm > which is based on https://git.centos.org/rpms/rh-haproxy18-haproxy > > Repo config: > > https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo > > Copr is the Fedora public tool to build packages. Build logs are public, > as well as source RPM's etc. So you are free to review it. > > -- > (o-Julien Pivotto > //\Open-Source Consultant > V_/_ Inuits - https://www.inuits.eu >
HAProxy 2.0.10 and 2.1.0 RPM's
Dear HAProxy Community, I have started building HAProxy 2.x packages for CentOS. It includes HAProxy 2.0.10 and 2.1.0. You can find them here: https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/ https://github.com/roidelapluie/haproxy-rpm which is based on https://git.centos.org/rpms/rh-haproxy18-haproxy Repo config: https://copr.fedorainfracloud.org/coprs/roidelapluie/haproxy/repo/epel-7/roidelapluie-haproxy-epel-7.repo Copr is the Fedora public tool to build packages. Build logs are public, as well as source RPM's etc. So you are free to review it. -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu signature.asc Description: PGP signature