# # spec file for package vpnc # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: vpnc Group: Productivity/Networking/Security BuildRequires: libgcrypt-devel BuildRequires: gnutls libgnutls-devel pkg-config Version: 0.5.3r449 Release: 12 License: BSD3c(or similar) ; GPLv2+ AutoReqProv: on Summary: A Client for Cisco VPN concentrator Requires: /usr/bin/sed /sbin/ip Source: %{name}-%{version}.tar.bz2 Patch0: bugfix.diff Patch1: vpnc-no-build-dates.patch Patch2: work-with-netconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A VPN client compatible with Cisco's EasyVPN equipment. Cisco 3000, IOS routers, PIX/ASA Zecurity Appliances, and Juniper/Netscreen as well as Nortel Contivity (experimental). Supported Authentications: Pre-Shared-Key + XAUTH, Pre-Shared-Key Supported IKE DH-Groups: dh1 dh2 dh5 Supported Hash Algo (IKE/IPSEC): md5 sha1 Supported Encryptions (IKE/IPSEC): (null) (1des) 3des aes128 aes192 aes256 Perfect Forward Secrecy: nopfs dh1 dh2 dh5 It runs entirely in userspace and uses the TUN/TAP driver for access. Authors: -------- Maurice Massar Eduard Bloch %prep %setup -n %{name} %patch0 -p0 %patch1 %patch2 -p0 %build export CFLAGS="%optflags -fno-strict-aliasing" make PREFIX=/usr %install mkdir -p \ ${RPM_BUILD_ROOT}/%{_localstatedir}/run/vpnc %{__make} install \ DESTDIR=${RPM_BUILD_ROOT} \ PREFIX=/usr rm -rfv ${RPM_BUILD_ROOT}/usr/share/doc/vpnc %clean rm -rf %{buildroot} %files %defattr(-,root,root) %attr(0600,root,root) %config(noreplace) %ghost %{_sysconfdir}/vpnc/default.conf %dir %{_sysconfdir}/vpnc %{_sysconfdir}/vpnc/vpnc-script %{_sbindir}/vpnc %{_sbindir}/vpnc-disconnect %{_bindir}/cisco-decrypt %{_bindir}/pcf2vpnc %{_mandir}/man1/cisco-decrypt.1.* %{_mandir}/man1/pcf2vpnc.1.* %{_mandir}/man8/vpnc.8.* %doc ChangeLog COPYING README TODO VERSION %changelog