Skip to content

Commit

Permalink
Updated openconnect to version 3.15.
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Saukko <marko.saukko@gmail.com>
  • Loading branch information
saukko committed Mar 19, 2012
1 parent bfa949d commit 1d24c71
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 29 deletions.
Binary file removed openconnect-3.02.tar.gz
Binary file not shown.
Binary file added openconnect-3.15.tar.gz
Binary file not shown.
5 changes: 5 additions & 0 deletions openconnect.changes
@@ -1,3 +1,8 @@
* Thu Mar 15 2012 Marko Saukko <marko.saukko@gmail.com> - 3.15
- Update to version 3.15
- Added .yaml for spectacle
- Added docs subpackage.

* Mon May 09 2011 David Woodhouse <David.Woodhouse@intel.com> - 3.02
- Update to 3.02 to export libopenconnect for GUI authentication

Expand Down
119 changes: 90 additions & 29 deletions openconnect.spec
@@ -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

40 changes: 40 additions & 0 deletions openconnect.yaml
@@ -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.

0 comments on commit 1d24c71

Please sign in to comment.