Skip to content

Commit

Permalink
Update for 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thedoc31 committed Mar 16, 2020
1 parent 88732ff commit e373fc3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
HOME=$(shell pwd)
MAINVERSION=2.0
MAINVERSION=2.1
LUA_VERSION=5.3.5
USE_LUA?=0
VERSION=$(shell wget -qO- http://git.haproxy.org/git/haproxy-${MAINVERSION}.git/refs/tags/ | sed -n 's:.*>\(.*\)</a>.*:\1:p' | sed 's/^.//' | sort -rV | head -1)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Perform the following steps on a build box as a regular user.
cd /opt
git clone https://github.com/DBezemer/rpm-haproxy.git
cd ./rpm-haproxy
git checkout 2.0
git checkout 2.1

## Build using makefile
### Without Lua support
Expand Down
5 changes: 4 additions & 1 deletion SPECS/haproxy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Release: %{release}%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://www.haproxy.org/
Source0: http://www.haproxy.org/download/1.8/src/%{name}-%{version}.tar.gz
Source0: http://www.haproxy.org/download/2.1/src/%{name}-%{version}.tar.gz
Source1: %{name}.cfg
%{?el6:Source2: %{name}.init}
%{?amzn1:Source2: %{name}.init}
Expand Down Expand Up @@ -218,6 +218,9 @@ fi
%endif

%changelog
* Tue Feb 25 2020 J. Casalino <[email protected]>
- Add support for HAProxy 2.1.x

* Tue Nov 19 2019 J. Casalino <[email protected]>
- Only reset dist variable with dist.sh script if dist is CentOS/RHEL>6 and not Amazon Linux 2

Expand Down

0 comments on commit e373fc3

Please sign in to comment.