From cd7b422c5217f7b759a3ca26b7f7a18f4ab28fe6 Mon Sep 17 00:00:00 2001 From: small_leek Date: Mon, 7 Jun 2021 20:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80=20'Pull=20Request=20!16=20:?= =?UTF-8?q?=20=E6=B7=BB=E5=8A=A0gcc=E4=BE=9D=E8=B5=96,=20=E8=A7=A3?= =?UTF-8?q?=E5=86=B3gcc=20command=20not=20found.'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openvpn.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/openvpn.spec b/openvpn.spec index 437f814..d7f7265 100644 --- a/openvpn.spec +++ b/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 - -BuildRequires: gcc openssl-devel lz4-devel systemd-devel lzo-devel -BuildRequires: iproute pam-devel pkcs11-helper-devel >= 1.11 +Patch0001: CVE-2020-15078.patch +BuildRequires: 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,8 +36,7 @@ User guide and other related documents for %{name}. %prep -%setup -q -n %{name}-%{version} -%patch0000 -p1 +%autosetup -n %{name}-%{version} -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 @@ -124,8 +123,8 @@ fi %{_mandir}/man8/%{name}.8* %changelog -* Web 02 Jun 2021 zhaoyao - 2.4.8-5 -- fixs faileds: /bin/sh: gcc: command not found. +* Tue May 25 2021 wangyue - 2.4.8-5 +- fix CVE-2020-15078 * Thu Feb 04 2021 wangyue 2.4.8-4 - fix CVE-2020-11810 -- Gitee