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