|
|
@ -1,5 +1,5 @@
|
|
|
|
#% define gitcount 211
|
|
|
|
# % define gitcount 227
|
|
|
|
#% define gitrev 584c84f
|
|
|
|
# % define gitrev a03e4bf
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?gitcount} > 0
|
|
|
|
%if 0%{?gitcount} > 0
|
|
|
|
%define gitsuffix -%{gitcount}-g%{gitrev}
|
|
|
|
%define gitsuffix -%{gitcount}-g%{gitrev}
|
|
|
@ -19,11 +19,18 @@
|
|
|
|
%define use_tokens 1
|
|
|
|
%define use_tokens 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fedora has tss2-sys from F29 onwards
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 29
|
|
|
|
|
|
|
|
%define use_tss2_esys 1
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%define use_tss2_esys 0
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
|
|
|
|
|
|
|
Name: openconnect
|
|
|
|
Name: openconnect
|
|
|
|
Version: 7.08
|
|
|
|
Version: 8.00
|
|
|
|
Release: 10%{?relsuffix}%{?dist}
|
|
|
|
Release: 1%{?relsuffix}%{?dist}
|
|
|
|
Summary: Open client for Cisco AnyConnect VPN
|
|
|
|
Summary: Open client for Cisco AnyConnect VPN
|
|
|
|
|
|
|
|
|
|
|
|
Group: Applications/Internet
|
|
|
|
Group: Applications/Internet
|
|
|
@ -39,7 +46,7 @@ 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) softhsm python2
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
|
|
Obsoletes: openconnect-lib-compat < %{version}-%{release}
|
|
|
|
Obsoletes: openconnect-lib-compat < %{version}-%{release}
|
|
|
|
Requires: vpnc-script
|
|
|
|
Requires: vpnc-script
|
|
|
@ -47,8 +54,13 @@ Requires: vpnc-script
|
|
|
|
Requires: vpnc
|
|
|
|
Requires: vpnc
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 30
|
|
|
|
|
|
|
|
BuildRequires: glibc-langpack-cs
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%if %{use_gnutls}
|
|
|
|
%if %{use_gnutls}
|
|
|
|
BuildRequires: pkgconfig(gnutls) trousers-devel
|
|
|
|
BuildRequires: pkgconfig(gnutls) trousers-devel
|
|
|
|
|
|
|
|
# Anywhere we use GnuTLS ,there should be an ocserv package too
|
|
|
|
|
|
|
|
BuildRequires: ocserv
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig(openssl) pkgconfig(libp11) pkgconfig(p11-kit-1)
|
|
|
|
BuildRequires: pkgconfig(openssl) pkgconfig(libp11) pkgconfig(p11-kit-1)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -58,10 +70,15 @@ BuildRequires: pkgconfig(libproxy-1.0)
|
|
|
|
%if %{use_tokens}
|
|
|
|
%if %{use_tokens}
|
|
|
|
BuildRequires: pkgconfig(stoken) pkgconfig(libpskc)
|
|
|
|
BuildRequires: pkgconfig(stoken) pkgconfig(libpskc)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{use_tss2_esys}
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1638961
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(tss2-esys) libgcrypt-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This package provides a client for the Cisco AnyConnect VPN protocol, which
|
|
|
|
This package provides a multiprotocol VPN client for Cisco AnyConnect,
|
|
|
|
is based on HTTPS and DTLS.
|
|
|
|
Juniper SSL VPN / Pulse Connect Secure, and Palo Alto Networks GlobalProtect
|
|
|
|
|
|
|
|
SSL VPN.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for OpenConnect VPN authentication tools
|
|
|
|
Summary: Development package for OpenConnect VPN authentication tools
|
|
|
@ -87,8 +104,10 @@ for NetworkManager etc.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --with-vpnc-script=/etc/vpnc/vpnc-script \
|
|
|
|
%configure --with-vpnc-script=/etc/vpnc/vpnc-script \
|
|
|
|
|
|
|
|
--disable-dsa-tests \
|
|
|
|
|
|
|
|
%if %{use_gnutls}
|
|
|
|
--with-default-gnutls-priority="@OPENCONNECT,SYSTEM" \
|
|
|
|
--with-default-gnutls-priority="@OPENCONNECT,SYSTEM" \
|
|
|
|
%if !%{use_gnutls}
|
|
|
|
%else
|
|
|
|
--with-openssl --without-openssl-version-check \
|
|
|
|
--with-openssl --without-openssl-version-check \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
--htmldir=%{_pkgdocdir}
|
|
|
|
--htmldir=%{_pkgdocdir}
|
|
|
@ -102,13 +121,14 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libopenconnect.la
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
make VERBOSE=1 check
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%{_libdir}/libopenconnect.so.5*
|
|
|
|
%{_libdir}/libopenconnect.so.5*
|
|
|
|
%{_sbindir}/openconnect
|
|
|
|
%{_sbindir}/openconnect
|
|
|
|
|
|
|
|
%{_libexecdir}/openconnect/
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%doc TODO COPYING.LGPL
|
|
|
|
%doc TODO COPYING.LGPL
|
|
|
|
%doc %{_pkgdocdir}
|
|
|
|
%doc %{_pkgdocdir}
|
|
|
@ -119,6 +139,9 @@ make check
|
|
|
|
%{_libdir}/pkgconfig/openconnect.pc
|
|
|
|
%{_libdir}/pkgconfig/openconnect.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jan 05 2019 David Woodhouse <dwmw2@infradead.org> - 8.00-1
|
|
|
|
|
|
|
|
- Update to 8.00 release
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 07 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 7.08-9
|
|
|
|
* Wed Nov 07 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 7.08-9
|
|
|
|
- Corrected typo in the @OPENCONNECT priority string
|
|
|
|
- Corrected typo in the @OPENCONNECT priority string
|
|
|
|
|
|
|
|
|
|
|
|