Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Install rpmdevtools from the [EPEL][epel] repository:

## Download haproxy

wget http://www.haproxy.org/download/1.5/src/haproxy-1.5.3.tar.gz
mv haproxy-1.5.3.tar.gz ~/rpmbuild/SOURCES/
wget http://www.haproxy.org/download/1.5/src/haproxy-1.5.14.tar.gz
mv haproxy-1.5.14.tar.gz ~/rpmbuild/SOURCES/

## Get Necessary System-specific Configs

git clone git://github.com/bluerail/haproxy-centos.git
git clone https://github.com/rasputnik/haproxy-centos.git
cp haproxy-centos/conf/* ~/rpmbuild/SOURCES/
cp haproxy-centos/spec/* ~/rpmbuild/SPECS/

Expand Down
11 changes: 7 additions & 4 deletions spec/haproxy.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
%define haproxy_confdir %{_sysconfdir}/haproxy
%define haproxy_datadir %{_datadir}/haproxy

%define version 1.5.3
#%define dev_rel dev25
#%define release 1
%define version 1.5.14
%define release 2


Name: haproxy
Summary: HA-Proxy is a TCP/HTTP reverse proxy for high availability environments
Expand Down Expand Up @@ -65,7 +65,6 @@ make install-bin DESTDIR=%{buildroot} PREFIX=%{_prefix}
make install-man DESTDIR=%{buildroot} PREFIX=%{_prefix}

%{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
%{__install} -p -D -m 0644 %{SOURCE2} %{buildroot}%{haproxy_confdir}/%{name}.cfg
%{__install} -p -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
%{__install} -d -m 0755 %{buildroot}%{haproxy_home}
%{__install} -d -m 0755 %{buildroot}%{haproxy_datadir}
Expand Down Expand Up @@ -121,6 +120,10 @@ fi
%exclude %{_sbindir}/haproxy-systemd-wrapper

%changelog

* Wed Sep 09 2015 Dick Davies <dick@hellooperator.net> - 1.5.14
- Update to 1.5.14 (fix for CVE-2015-3281)

* Wed Aug 20 2014 Alan Ivey <alanivey@gmail.com> - 1.5.3
- Update to haproxy 1.5.3
- Add %{dist} to Release
Expand Down