Update to 8.00

f38
David Woodhouse 6 years ago
parent c14fe5f0b9
commit e94eb8d497

2
.gitignore vendored

@ -47,3 +47,5 @@ openconnect-2.25.tar.gz
/openconnect-7.07.tar.gz.asc /openconnect-7.07.tar.gz.asc
/openconnect-7.08.tar.gz /openconnect-7.08.tar.gz
/openconnect-7.08.tar.gz.asc /openconnect-7.08.tar.gz.asc
/openconnect-8.00.tar.gz
/openconnect-8.00.tar.gz.asc

@ -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

@ -1,2 +1,2 @@
SHA512 (openconnect-7.08.tar.gz) = 22f9b0bd4bd17e2ab91ff42b2464c89abba035fe705c037ba4d1042ace460c8738e20481783a1edc3b7dd6503fe9fcc7fdd188552811fb1525310e25a4c2f400 SHA512 (openconnect-8.00.tar.gz) = c8d104d001fbecf482499814d7a77d02f6a50dfdd7bda36f10b053ae0bf8cd6eb7a88773f12a582e63e82339592d40f34d154c43bc118957930f73ef09def9a3
SHA512 (openconnect-7.08.tar.gz.asc) = 71225434890bdc9f4ae1f6aaf38037418766f39d8dc549da1ae95b12676c47bd503c7c01a5ccb387a1d36c114aad690ddf01682ec7b24d23fbec7e2d628b0a25 SHA512 (openconnect-8.00.tar.gz.asc) = 4693e8ec5ed84727aa18d9f8ffed8093f78956555fc42ce027cff9e87952dd914184350855742dd07a08c98ce5c7482f4d37c19589935dd54e1279b3719cc2c9

Loading…
Cancel
Save