Packages: enabled OpenSSL support.
This commit is contained in:
@@ -37,9 +37,9 @@ BUILD_DEPENDS_unit += system-rpm-config
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed sles))
|
||||
BUILD_DEPENDS_unit += libxml2-tools libxslt1
|
||||
BUILD_DEPENDS_unit += libxml2-tools libxslt1 libopenssl-devel
|
||||
else
|
||||
BUILD_DEPENDS_unit += libxml2 libxslt
|
||||
BUILD_DEPENDS_unit += libxml2 libxslt openssl-devel
|
||||
endif
|
||||
|
||||
BUILD_DEPENDS = $(BUILD_DEPENDS_unit)
|
||||
@@ -101,7 +101,8 @@ CONFIGURE_ARGS=\
|
||||
--control="unix:/var/run/control.unit.sock" \
|
||||
--pid=/var/run/unit.pid \
|
||||
--log=/var/log/unit.log \
|
||||
--tests
|
||||
--tests \
|
||||
--openssl
|
||||
|
||||
export CR=\\n
|
||||
|
||||
|
||||
@@ -5,19 +5,22 @@
|
||||
|
||||
%if ( 0%{?rhel} == 5 || 0%{?rhel} == 6 )
|
||||
Requires: initscripts >= 8.36
|
||||
BuildRequires: openssl-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} == 7
|
||||
Requires: systemd
|
||||
BuildRequires: systemd-units
|
||||
BuildRequires: openssl-devel
|
||||
%if 0%{?amzn} == 0
|
||||
%define dist .el7
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} == 1315
|
||||
%if 0%{?suse_version} >= 1315
|
||||
BuildRequires: systemd
|
||||
Requires: systemd
|
||||
BuildRequires: libopenssl-devel
|
||||
%endif
|
||||
|
||||
%define CC_OPT %{optflags} -fPIC
|
||||
|
||||
Reference in New Issue
Block a user