Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated openconnect to version 3.15.
Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
- Loading branch information
Showing
5 changed files
with
135 additions
and
29 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,118 @@ | ||
Name: openconnect | ||
Version: 3.02 | ||
Release: 1 | ||
Summary: Open client for Cisco AnyConnect VPN | ||
# | ||
# Do NOT Edit the Auto-generated Part! | ||
# Generated by: spectacle version 0.23 | ||
# | ||
# >> macros | ||
# << macros | ||
%define keepstatic 1 | ||
|
||
Group: Applications/Internet | ||
License: LGPLv2+ | ||
URL: http://www.infradead.org/openconnect.html | ||
Source0: ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
Name: openconnect | ||
Summary: Open client for Cisco AnyConnect VPN | ||
Version: 3.15 | ||
Release: 1 | ||
Group: Applications/Internet | ||
License: LGPLv2+ | ||
URL: http://www.infradead.org/openconnect.html | ||
Source0: ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz | ||
Source100: openconnect.yaml | ||
Requires: vpnc | ||
Requires(post): /sbin/ldconfig | ||
Requires(postun): /sbin/ldconfig | ||
BuildRequires: pkgconfig(libxml-2.0) | ||
BuildRequires: pkgconfig(openssl) | ||
BuildRequires: libproxy-devel | ||
BuildRequires: gettext | ||
|
||
BuildRequires: openssl-devel libxml2-devel | ||
BuildRequires: libproxy-devel | ||
Requires: vpnc | ||
|
||
%description | ||
This package provides a client for Cisco's "AnyConnect" VPN, which uses | ||
HTTPS and DTLS protocols. | ||
|
||
|
||
|
||
%package devel | ||
Provides: openconnect-devel-static = %{version}-%{release} | ||
Summary: Development package for OpenConnect VPN authentication tools | ||
Group: Applications/Internet | ||
Summary: Development package for OpenConnect VPN authentication tools | ||
Group: Applications/Internet | ||
Requires: %{name} = %{version}-%{release} | ||
Provides: openconnect-devel-static = %{version}-%{release} | ||
|
||
%description devel | ||
This package provides the core HTTP and authentication support from | ||
the OpenConnect VPN client, to be used by GUI authentication dialogs | ||
for NetworkManager etc. | ||
|
||
|
||
%package docs | ||
Summary: Documentation package for OpenConnect VPN authentication tools | ||
Group: Applications/Internet | ||
Requires: %{name} = %{version}-%{release} | ||
|
||
%description docs | ||
This package provides documentation for openconnect, such as man pages. | ||
|
||
|
||
|
||
%prep | ||
%setup -q | ||
%setup -q -n %{name}-%{version} | ||
|
||
# >> setup | ||
# << setup | ||
|
||
%build | ||
make %{?_smp_mflags} | ||
# >> build pre | ||
autoreconf -f -i | ||
# << build pre | ||
|
||
%configure | ||
make %{?jobs:-j%jobs} | ||
|
||
# >> build post | ||
# << build post | ||
%install | ||
rm -rf $RPM_BUILD_ROOT | ||
make install DESTDIR=$RPM_BUILD_ROOT | ||
make install-lib LIBDIR=%{_libdir} DESTDIR=$RPM_BUILD_ROOT | ||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 | ||
install -m0644 openconnect.8 $RPM_BUILD_ROOT/%{_mandir}/man8 | ||
rm -rf %{buildroot} | ||
# >> install pre | ||
# << install pre | ||
%make_install | ||
|
||
# >> install post | ||
# << install post | ||
%find_lang %{name} | ||
|
||
|
||
|
||
%post -p /sbin/ldconfig | ||
|
||
%postun -p /sbin/ldconfig | ||
|
||
%clean | ||
rm -rf $RPM_BUILD_ROOT | ||
|
||
%files | ||
|
||
|
||
|
||
|
||
|
||
|
||
%files -f %{name}.lang | ||
%defattr(-,root,root,-) | ||
%{_bindir}/openconnect | ||
%{_mandir}/man8/* | ||
%doc TODO COPYING.LGPL openconnect.html | ||
# >> files | ||
%{_libdir}/libopenconnect.so.* | ||
%{_sbindir}/openconnect | ||
%doc COPYING.LGPL | ||
# << files | ||
|
||
|
||
%files devel | ||
%defattr(-,root,root,-) | ||
# >> files devel | ||
%doc TODO openconnect.html | ||
%{_libdir}/libopenconnect.so | ||
%{_libdir}/libopenconnect.a | ||
/usr/include/openconnect.h | ||
%{_includedir}/openconnect.h | ||
%{_libdir}/pkgconfig/openconnect.pc | ||
# << files devel | ||
|
||
%files docs | ||
%defattr(-,root,root,-) | ||
# >> files docs | ||
%{_mandir}/man8/* | ||
# << files docs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Name: openconnect | ||
Summary: Open client for Cisco AnyConnect VPN | ||
Version: 3.15 | ||
Release: 1 | ||
Group: Applications/Internet | ||
License: LGPLv2+ | ||
URL: http://www.infradead.org/openconnect.html | ||
Sources: | ||
- ftp://ftp.infradead.org/pub/openconnect/openconnect-%{version}.tar.gz | ||
Description: | | ||
This package provides a client for Cisco's "AnyConnect" VPN, which uses | ||
HTTPS and DTLS protocols. | ||
Requires: | ||
- vpnc | ||
PkgBR: | ||
- libproxy-devel | ||
- gettext | ||
PkgConfigBR: | ||
- libxml-2.0 | ||
- openssl | ||
Configure: configure | ||
Builder: make | ||
LocaleName: "%{name}" | ||
SubPackages: | ||
- Name: devel | ||
Summary: Development package for OpenConnect VPN authentication tools | ||
Group: Applications/Internet | ||
Description: | | ||
This package provides the core HTTP and authentication support from | ||
the OpenConnect VPN client, to be used by GUI authentication dialogs | ||
for NetworkManager etc. | ||
Provides: | ||
- openconnect-devel-static = %{version}-%{release} | ||
|
||
- Name: docs | ||
Summary: Documentation package for OpenConnect VPN authentication tools | ||
Group: Applications/Internet | ||
Description: | | ||
This package provides documentation for openconnect, such as man pages. |