- Modified import and export interfaces to import_from_file and export_to_file, respectively,
due to changes in NMVpnPluginUiInterface struct in NM (bz 631159).
This commit is contained in:
parent
90fce4b267
commit
2ab1bc02f8
@ -6,7 +6,7 @@
|
|||||||
Summary: NetworkManager VPN plug-in for openswan
|
Summary: NetworkManager VPN plug-in for openswan
|
||||||
Name: NetworkManager-openswan
|
Name: NetworkManager-openswan
|
||||||
Version: 0.8.0
|
Version: 0.8.0
|
||||||
Release: 5%{snapshot}%{?dist}
|
Release: 6%{snapshot}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://people.redhat.com/avagarwa/files/NetworkManager-openswan/
|
URL: http://people.redhat.com/avagarwa/files/NetworkManager-openswan/
|
||||||
@ -17,9 +17,9 @@ URL: http://people.redhat.com/avagarwa/files/NetworkManager-openswan/
|
|||||||
Source0: http://people.redhat.com/avagarwa/files/%{name}/%{name}-%{realversion}.tar.gz
|
Source0: http://people.redhat.com/avagarwa/files/%{name}/%{name}-%{realversion}.tar.gz
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
|
|
||||||
Patch1: nm-secret-whack.patch
|
Patch1: nm-secret-whack.patch
|
||||||
Patch2: nm-616910.patch
|
Patch2: nm-616910.patch
|
||||||
|
Patch3: nm-changes.patch
|
||||||
|
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
#BuildRequires: dbus-devel
|
#BuildRequires: dbus-devel
|
||||||
@ -34,7 +34,6 @@ Requires: NetworkManager
|
|||||||
Requires: gnome-keyring
|
Requires: gnome-keyring
|
||||||
Requires: openswan >= %{openswan_version}
|
Requires: openswan >= %{openswan_version}
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains software for integrating the openswan VPN software
|
This package contains software for integrating the openswan VPN software
|
||||||
with NetworkManager and the GNOME desktop
|
with NetworkManager and the GNOME desktop
|
||||||
@ -44,6 +43,7 @@ with NetworkManager and the GNOME desktop
|
|||||||
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-more-warnings=yes
|
%configure --disable-static --enable-more-warnings=yes
|
||||||
@ -61,7 +61,6 @@ rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-, root, root,-)
|
%defattr(-, root, root,-)
|
||||||
%config /etc/NetworkManager/VPN/nm-openswan-service.name
|
%config /etc/NetworkManager/VPN/nm-openswan-service.name
|
||||||
@ -78,6 +77,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%dir %{_datadir}/gnome-vpn-properties/openswan
|
%dir %{_datadir}/gnome-vpn-properties/openswan
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 7 2010 Avesh Agarwal <avagarwa@redhat.com> - 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 <avagarwa@redhat.com> - 0.8.0-5.20100411git
|
* Mon Jul 26 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-5.20100411git
|
||||||
Resolves: #616910
|
Resolves: #616910
|
||||||
- Support for reading phase1 and phase2 algorithms through GUI
|
- Support for reading phase1 and phase2 algorithms through GUI
|
||||||
|
14
nm-changes.patch
Normal file
14
nm-changes.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -urNp NetworkManager-openswan-0.8-cvs-patched/properties/nm-openswan.c NetworkManager-openswan-0.8-current/properties/nm-openswan.c
|
||||||
|
--- NetworkManager-openswan-0.8-cvs-patched/properties/nm-openswan.c 2010-09-07 14:21:00.719407075 -0400
|
||||||
|
+++ NetworkManager-openswan-0.8-current/properties/nm-openswan.c 2010-09-07 14:51:04.925157229 -0400
|
||||||
|
@@ -850,8 +850,8 @@ openswan_plugin_ui_interface_init (NMVpn
|
||||||
|
/* interface implementation */
|
||||||
|
iface_class->ui_factory = ui_factory;
|
||||||
|
iface_class->get_capabilities = get_capabilities;
|
||||||
|
- iface_class->import = NULL;
|
||||||
|
- iface_class->export = NULL;
|
||||||
|
+ iface_class->import_from_file = NULL;
|
||||||
|
+ iface_class->export_to_file = NULL;
|
||||||
|
iface_class->get_suggested_name = NULL;
|
||||||
|
iface_class->delete_connection = delete_connection;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user