|
|
@ -29,8 +29,8 @@
|
|
|
|
%define use_softhsm 1
|
|
|
|
%define use_softhsm 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Fedora has tss2-sys from F29 onwards
|
|
|
|
# Fedora has tss2-sys from F29 onwards, and RHEL from 8 onwards
|
|
|
|
%if 0%{?fedora} >= 29
|
|
|
|
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
|
|
|
|
%define use_tss2_esys 1
|
|
|
|
%define use_tss2_esys 1
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%define use_tss2_esys 0
|
|
|
|
%define use_tss2_esys 0
|
|
|
@ -39,7 +39,7 @@
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
|
|
Name: openconnect
|
|
|
|
Name: openconnect
|
|
|
|
Version: 8.05
|
|
|
|
Version: 8.10
|
|
|
|
Release: 1%{?relsuffix}%{?dist}
|
|
|
|
Release: 1%{?relsuffix}%{?dist}
|
|
|
|
Summary: Open client for Cisco AnyConnect VPN, Juniper Network Connect/Pulse, PAN GlobalProtect
|
|
|
|
Summary: Open client for Cisco AnyConnect VPN, Juniper Network Connect/Pulse, PAN GlobalProtect
|
|
|
|
|
|
|
|
|
|
|
@ -52,7 +52,6 @@ Source1: ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}%{?gitsuf
|
|
|
|
Source2: gpgkey-BE07D9FD54809AB2C4B0FF5F63762CDA67E2F359.asc
|
|
|
|
Source2: gpgkey-BE07D9FD54809AB2C4B0FF5F63762CDA67E2F359.asc
|
|
|
|
Source3: macros.gpg
|
|
|
|
Source3: macros.gpg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0) pkgconfig(libpcsclite) krb5-devel gnupg2
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0) pkgconfig(libpcsclite) krb5-devel gnupg2
|
|
|
|
BuildRequires: autoconf automake libtool gettext pkgconfig(liblz4)
|
|
|
|
BuildRequires: autoconf automake libtool gettext pkgconfig(liblz4)
|
|
|
|
BuildRequires: pkgconfig(uid_wrapper) pkgconfig(socket_wrapper)
|
|
|
|
BuildRequires: pkgconfig(uid_wrapper) pkgconfig(socket_wrapper)
|
|
|
@ -113,13 +112,14 @@ for NetworkManager etc.
|
|
|
|
%gpg_verify
|
|
|
|
%gpg_verify
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%autosetup -n openconnect-%{version}%{?gitsuffix}
|
|
|
|
%autosetup -n openconnect-%{version}%{?gitsuffix} -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --with-vpnc-script=/etc/vpnc/vpnc-script \
|
|
|
|
%configure --with-vpnc-script=/etc/vpnc/vpnc-script \
|
|
|
|
--disable-dsa-tests \
|
|
|
|
--disable-dsa-tests \
|
|
|
|
%if %{use_gnutls}
|
|
|
|
%if %{use_gnutls}
|
|
|
|
--with-default-gnutls-priority="@OPENCONNECT,SYSTEM" \
|
|
|
|
--with-default-gnutls-priority="@OPENCONNECT,SYSTEM" \
|
|
|
|
|
|
|
|
--without-gnutls-version-check \
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
--with-openssl --without-openssl-version-check \
|
|
|
|
--with-openssl --without-openssl-version-check \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -145,6 +145,7 @@ make VERBOSE=1 check
|
|
|
|
%{_sbindir}/openconnect
|
|
|
|
%{_sbindir}/openconnect
|
|
|
|
%{_libexecdir}/openconnect/
|
|
|
|
%{_libexecdir}/openconnect/
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
%{_datadir}/bash-completion/completions/openconnect
|
|
|
|
%doc TODO COPYING.LGPL
|
|
|
|
%doc TODO COPYING.LGPL
|
|
|
|
%doc %{_pkgdocdir}
|
|
|
|
%doc %{_pkgdocdir}
|
|
|
|
|
|
|
|
|
|
|
@ -154,6 +155,9 @@ make VERBOSE=1 check
|
|
|
|
%{_libdir}/pkgconfig/openconnect.pc
|
|
|
|
%{_libdir}/pkgconfig/openconnect.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri May 22 2020 Nikos Mavrogiannopoulos <nmav@redhat.com> - 8.10-1
|
|
|
|
|
|
|
|
- Update to 8.10 release (CVE-2020-12823)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 12 2019 David Woodhouse <dwmw2@infradead.org> - 8.05-1
|
|
|
|
* Thu Sep 12 2019 David Woodhouse <dwmw2@infradead.org> - 8.05-1
|
|
|
|
- Update to 8.05 release (CVE-2019-16239)
|
|
|
|
- Update to 8.05 release (CVE-2019-16239)
|
|
|
|
|
|
|
|
|
|
|
|