Compare with Previous | Blame | View Log
## spec file for package: vpnc## This file and all modifications and additions to the pristine# package are under the same license as the package itself.## includes module(s):#%include Solaris.incName: vpncVersion: 0.5.3Summary: Client for Cisco VPN ConcentratorLicense: GPLv2/BSDDistribution: OpenSolarisVendor: OpenSolaris CommunityUrl: http://www.unix-ag.uni-kl.de/~massar/vpnc/SUNW_Basedir: /SUNW_Copyright: %{name}.copyrightSource0: http://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-%{version}.tar.gzSource1: http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-scriptPatch0: vpnc-00-openlog.diffPatch1: vpnc-01-sysdep.diffPatch2: vpnc-02-vpnc-script.diff%include default-depend.incBuildRequires: SUNWgccBuildRequires: SUNWgmakeBuildRequires: SUNWgnu-coreutilsBuildRequires: SUNWopenssl-includeBuildRequires: SUNWlibgcrypt-develBuildRequires: tuntapRequires: SUNWopenssl-librariesRequires: SUNWlibgcryptRequires: tuntapMeta(info.maintainer): James Lee <jlee@thestaticvoid.com>Meta(info.upstream): Maurice Massar <vpnc@unix-ag.uni-kl.de>Meta(info.upstream_url): http://www.unix-ag.uni-kl.de/~massar/vpnc/Meta(info.classification): org.opensolaris.category.2008:Applications/Internet%descriptionvpnc is a VPN client compatible with cisco3000 VPN Concentrator (also known asCisco's EasyVPN equipment). vpnc runs entirely in userspace and does notrequire kernel modules except of the tun driver to communicate with the networklayer.It supports most of the features needed to establish connection to the VPNconcentrator: MD5 and SHA1 hashes, 3DES and AES ciphers, PFS and various IKE DHgroup settings.%prep%setup -q%patch0%patch1cp %{SOURCE1} vpnc-script%patch2# Compile with OpenSSL support for handling certificates# and force using ginstall instead of installsed 's/^#\(OPENSSL.*\)/\1/; s/install/ginstall/g' Makefile > Makefile.newmv -f Makefile.new Makefile%buildgmake PREFIX=%{_prefix}%installrm -rf $RPM_BUILD_ROOTgmake PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT ginstall# Install a vpnc-script which supports Solaris# from http://www.infradead.org/openconnect.htmlcp vpnc-script $RPM_BUILD_ROOT%{_sysconfdir}/vpnc/vpnc-script%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,bin)%attr(-,root,sys) %dir %{_prefix}%{_bindir}/cisco-decrypt%{_bindir}/pcf2vpnc%{_sbindir}/vpnc%{_sbindir}/vpnc-disconnect%attr(-,root,sys) %dir %{_datadir}%attr(-,root,other) %dir %{_docdir}%{_docdir}/vpnc/COPYING%{_mandir}/man1/cisco-decrypt.1%{_mandir}/man1/pcf2vpnc.1%{_mandir}/man8/vpnc.8%defattr(-,root,sys)%{_sysconfdir}/vpnc/default.conf%{_sysconfdir}/vpnc/vpnc-script%changelog* Thu Jul 22 2010 - jlee@thestaticvoid.com- Add Kazuyoshi's changes to the tun_open and tun_close functions.- Don't add or remove a vpn gateway route if it's the same as thedefault route.* Fri Jan 29 2010 - jlee@thestaticvoid.com- Initial version