%define openswan_version 2.6.27-1 %define snapshot .20100411git %define realversion 0.8 Summary: NetworkManager VPN plug-in for openswan Name: NetworkManager-openswan Version: 0.8.0 Release: 9%{snapshot}%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://people.redhat.com/avagarwa/files/NetworkManager-openswan/ # To get source, either download from the above url, or follow these commands # Check out NetworkManager-openswan # "cd" to specfic fedora release # run "make test-srpm" Source0: http://people.redhat.com/avagarwa/files/%{name}/%{name}-%{realversion}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Patch1: nm-secret-whack.patch Patch2: nm-616910.patch Patch3: nm-changes.patch Patch4: compile-errors.patch Patch5: nm09.patch BuildRequires: gtk2-devel #BuildRequires: dbus-devel #BuildRequires: NetworkManager-devel BuildRequires: NetworkManager-glib-devel BuildRequires: GConf2-devel BuildRequires: gnome-keyring-devel BuildRequires: libglade2-devel BuildRequires: intltool gettext Requires: NetworkManager Requires: gnome-keyring Requires: openswan >= %{openswan_version} %description This package contains software for integrating the openswan VPN software with NetworkManager and the GNOME desktop %prep %setup -q -n NetworkManager-openswan-%{realversion} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 -b .nm09 %build %configure --disable-static --enable-more-warnings=yes make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-, root, root,-) %config /etc/NetworkManager/VPN/nm-openswan-service.name %config /etc/dbus-1/system.d/nm-openswan-service.conf %doc AUTHORS ChangeLog COPYING %{_libdir}/NetworkManager/lib*.so* %{_libexecdir}/nm-openswan-auth-dialog %{_sysconfdir}/dbus-1/system.d/nm-openswan-service.conf %{_sysconfdir}/NetworkManager/VPN/nm-openswan-service.name %{_libexecdir}/nm-openswan-service %{_libexecdir}/nm-openswan-service-helper %{_datadir}/gnome-vpn-properties/openswan/nm-openswan-dialog.glade %dir %{_datadir}/gnome-vpn-properties/openswan %changelog * Sun Mar 27 2011 Christopher Aillon - 0.8.0-9.20100411git - Rebuild against NetworkManager 0.9 * Wed Feb 16 2011 Avesh Agarwal - 0.8.0-8.20100411git - fixes for compile time errors * Mon Feb 07 2011 Fedora Release Engineering - 0.8.0-7.20100411git - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Sep 7 2010 Avesh Agarwal - 0.8.0-6.20100411git - Modified import and export interfaces to import_from_file and export_to_file, respectively, due to changes in NMVpnPluginUiInterface struct in NM (bz 631159). * Mon Jul 26 2010 Avesh Agarwal - 0.8.0-5.20100411git Resolves: #616910 - Support for reading phase1 and phase2 algorithms through GUI * Tue Jul 13 2010 Avesh Agarwal - 0.8.0-4.20100411git - Modified fix for the bz 607352 - Fix to read connection configuration from stdin - Fix to read Xauth user password from stdin - Fix to delete the secret file as soon as read by Openswan * Thu Jul 8 2010 Avesh Agarwal - 0.8.0-3.20100411git - Modified the patch so that it does not pass user password to "ipsec whack" command. * Thu Jul 8 2010 Avesh Agarwal - 0.8.0-2.20100411git - Modified to initiate VPN connections with openswan whack interface - Fixed the issue of world readable conf and secret files - Cleaned conf and secret files after VPN connection is stopped - Fixed the issue of storing sensitive information like user password in a file (rhbz# 607352) - Changed PLUTO_SERVERBANNER to PLUTO_PEER_BANNER due to the same change in Openswan - Modifed GUI to remove unused configuration boxes * Tue Jun 15 2010 Avesh Agarwal - 0.8.0-1.20100411git - Initial build