!16 添加gcc依赖, 解决gcc command not found.
From: @shine_ Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
a640755429
13
openvpn.spec
13
openvpn.spec
@ -6,9 +6,9 @@ License: GPLv2 and OpenSSL and SSLeay
|
||||
URL: https://community.openvpn.net/openvpn
|
||||
Source0: https://swupdate.openvpn.org/community/releases/openvpn-%{version}.tar.gz
|
||||
Patch0000: CVE-2020-11810.patch
|
||||
Patch0001: CVE-2020-15078.patch
|
||||
BuildRequires: openssl-devel lz4-devel systemd-devel lzo-devel
|
||||
BuildRequires: iproute pam-devel pkcs11-helper-devel >= 1.11
|
||||
|
||||
BuildRequires: gcc openssl-devel lz4-devel systemd-devel lzo-devel
|
||||
BuildRequires: iproute pam-devel pkcs11-helper-devel >= 1.11
|
||||
|
||||
Requires: iproute
|
||||
Requires(pre): /usr/sbin/useradd
|
||||
@ -36,7 +36,8 @@ User guide and other related documents for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0000 -p1
|
||||
|
||||
%build
|
||||
%configure --enable-x509-alt-username --enable-iproute2 --with-crypto-library=openssl --enable-pkcs11 --enable-selinux --enable-systemd SYSTEMD_UNIT_DIR=%{_unitdir} TMPFILES_DIR=%{_tmpfilesdir} IPROUTE=/sbin/ip
|
||||
@ -123,8 +124,8 @@ fi
|
||||
%{_mandir}/man8/%{name}.8*
|
||||
|
||||
%changelog
|
||||
* Tue May 25 2021 wangyue <wangyue92@huawei.com> - 2.4.8-5
|
||||
- fix CVE-2020-15078
|
||||
* Web 02 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 2.4.8-5
|
||||
- fixs faileds: /bin/sh: gcc: command not found.
|
||||
|
||||
* Thu Feb 04 2021 wangyue <wangyue92@huawei.com> 2.4.8-4
|
||||
- fix CVE-2020-11810
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user