Search
j0ke.net Open Build Service
>
Projects
>
home:sheid
>
haproxy
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 66
[-]
[+]
Changed
haproxy.spec
@@ -1,3 +1,5 @@ +%define openssl_version 1.0.2h + Summary: HA-Proxy is a TCP/HTTP reverse proxy for high availability environments Name: haproxy Version: 1.5.14 @@ -5,9 +7,10 @@ License: GPL Group: System Environment/Daemons URL: http://www.haproxy.org/ -Source0: http://www.haproxy.org/download/1.5/src/haproxy-1.5.14.tar.gz +Source0: http://www.haproxy.org/download/1.5/src/haproxy-%{version}.tar.gz +Source1: openssl-%{openssl_version}h.tar.gz BuildRoot: %{_tmppath}/haproxy-root -BuildRequires: pcre-devel, openssl-devel +BuildRequires: pcre-devel, openssl-devel, zlib-devel Requires: /sbin/chkconfig, /sbin/service %description @@ -27,13 +30,14 @@ risking the system's stability. %prep -%setup -n %{name}-1.5.14 +%setup -n %{name}-%{version} +%{__tar} zxvf %{SOURCE1} # We don't want any perl dependecies in this RPM: %define __perl_requires /bin/true %build -%{__make} USE_PCRE=1 USE_OPENSSL=1 DEBUG="" ARCH=%{_target_cpu} TARGET=linux26 +%{__make} USE_PCRE=1 USE_ZLIB=1 USE_OPENSSL=1 SSL_LIB=%{_builddir}/haproxy-%{version}/openssl-%{openssl_version} DEBUG="" ARCH=%{_target_cpu} TARGET=linux26 %install [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
Added
openssl-1.0.2h.tar.gz
^