2012-03-02 23:35:40 +00:00
|
|
|
%define nm_version 1:0.9.2
|
2010-07-13 23:11:02 +00:00
|
|
|
%define openswan_version 2.6.27-1
|
2010-06-15 15:29:43 +00:00
|
|
|
|
2012-03-02 23:35:40 +00:00
|
|
|
%define snapshot .git20120302
|
|
|
|
%define realversion 0.9.3.995
|
2010-06-15 15:29:43 +00:00
|
|
|
|
|
|
|
Summary: NetworkManager VPN plug-in for openswan
|
|
|
|
Name: NetworkManager-openswan
|
2012-03-02 23:35:40 +00:00
|
|
|
Version: 0.9.3.995
|
2012-04-27 19:38:03 +00:00
|
|
|
Release: 2%{snapshot}%{?dist}
|
2010-06-15 15:29:43 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Group: System Environment/Base
|
2012-03-02 23:35:40 +00:00
|
|
|
URL: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openswan/0.9/
|
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openswan/0.9/%{name}-%{realversion}%{snapshot}.tar.bz2
|
2010-06-15 15:29:43 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
|
2012-04-27 19:38:03 +00:00
|
|
|
Patch1: nm-openswan-changes.patch
|
|
|
|
|
2011-05-04 05:19:07 +00:00
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: dbus-devel
|
2012-03-02 23:35:40 +00:00
|
|
|
BuildRequires: NetworkManager-devel >= %{nm_version}
|
|
|
|
BuildRequires: NetworkManager-glib-devel >= %{nm_version}
|
|
|
|
%if 0%{?fedora} > 16
|
|
|
|
BuildRequires: libgnome-keyring-devel
|
|
|
|
%else
|
2010-06-15 15:29:43 +00:00
|
|
|
BuildRequires: gnome-keyring-devel
|
2012-03-02 23:35:40 +00:00
|
|
|
%endif
|
2010-06-15 15:29:43 +00:00
|
|
|
BuildRequires: intltool gettext
|
|
|
|
|
2012-03-02 23:35:40 +00:00
|
|
|
Requires: NetworkManager >= %{nm_version}
|
2010-06-15 15:29:43 +00:00
|
|
|
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}
|
|
|
|
|
2012-04-27 19:38:03 +00:00
|
|
|
%patch1 -p1
|
|
|
|
|
2010-06-15 15:29:43 +00:00
|
|
|
%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
|
2011-05-04 05:19:07 +00:00
|
|
|
%{_datadir}/gnome-vpn-properties/openswan/nm-openswan-dialog.ui
|
2010-06-15 15:29:43 +00:00
|
|
|
%dir %{_datadir}/gnome-vpn-properties/openswan
|
|
|
|
|
|
|
|
%changelog
|
2012-04-27 19:38:03 +00:00
|
|
|
* Fri Apr 27 2012 Avesh Agarwal <avagarwa@redhat.com> - 0.9.3.995-2
|
|
|
|
- Ported changes from rhel to fedora
|
|
|
|
|
2012-03-02 23:35:40 +00:00
|
|
|
* Fri Mar 2 2012 Dan Williams <dcbw@redhat.com> - 0.9.3.995-1
|
|
|
|
- Update to 0.9.3.995 (0.9.4-beta1)
|
|
|
|
- ui: add support for external UI mode, eg GNOME Shell
|
|
|
|
|
2012-01-12 20:26:10 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-06 05:31:52 +00:00
|
|
|
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.9.0-2
|
|
|
|
- Rebuild for new libpng
|
|
|
|
|
2011-08-26 19:15:45 +00:00
|
|
|
* Fri Aug 26 2011 Dan Williams <dcbw@redhat.com> - 0.9.0-1
|
|
|
|
- Update to 0.9.0
|
|
|
|
- ui: translation fixes
|
|
|
|
|
2011-07-21 15:38:02 +00:00
|
|
|
* Thu Jul 21 2011 Dan Williams <dcbw@redhat.com> - 0.8.999-2.git20110721
|
|
|
|
- Update to git snapshot
|
|
|
|
- Fixes for secrets handling and saving
|
|
|
|
|
2011-05-04 05:19:07 +00:00
|
|
|
* Tue May 03 2011 Dan Williams <dcbw@redhat.com> - 0.8.999-1
|
|
|
|
- Update to 0.8.999 (0.9-rc2)
|
|
|
|
- Port to GTK 3.0 and GtkBuilder
|
|
|
|
- Fix some issues with secrets storage
|
|
|
|
|
2011-03-28 01:02:23 +00:00
|
|
|
* Sun Mar 27 2011 Christopher Aillon <caillon@redhat.com> - 0.8.0-9.20100411git
|
|
|
|
- Rebuild against NetworkManager 0.9
|
|
|
|
|
2011-02-16 17:53:54 +00:00
|
|
|
* Wed Feb 16 2011 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-8.20100411git
|
|
|
|
- fixes for compile time errors
|
|
|
|
|
2011-02-08 00:00:06 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-7.20100411git
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-09-07 19:00:07 +00:00
|
|
|
* 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).
|
|
|
|
|
2010-07-26 14:39:42 +00:00
|
|
|
* Mon Jul 26 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-5.20100411git
|
|
|
|
Resolves: #616910
|
|
|
|
- Support for reading phase1 and phase2 algorithms through GUI
|
|
|
|
|
2010-07-13 23:11:02 +00:00
|
|
|
* Tue Jul 13 2010 Avesh Agarwal <avagarwa@redhat.com> - 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
|
|
|
|
|
2010-07-08 20:14:15 +00:00
|
|
|
* Thu Jul 8 2010 Avesh Agarwal <avagarwa@redhat.com> - 0.8.0-3.20100411git
|
|
|
|
- Modified the patch so that it does not pass user password to
|
|
|
|
"ipsec whack" command.
|
|
|
|
|
2010-07-08 16:41:03 +00:00
|
|
|
* Thu Jul 8 2010 Avesh Agarwal <avagarwa@redhat.com> - 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 <avagarwa@redhat.com> - 0.8.0-1.20100411git
|
2010-06-15 15:29:43 +00:00
|
|
|
- Initial build
|