commit ff97dd92b5a56e03d3da3508fa0778eb0980ee95a25cd692b1171735a3434409 Author: Vincent Untz Date: Mon Dec 6 13:44:14 2010 +0000 Accepting request 53752 from home:BinLi:branches:GNOME:Factory thanks OBS-URL: https://build.opensuse.org/request/show/53752 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/NetworkManager-strongswan?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/NetworkManager-strongswan-1.1.2.tar.bz2 b/NetworkManager-strongswan-1.1.2.tar.bz2 new file mode 100644 index 0000000..6deefe3 --- /dev/null +++ b/NetworkManager-strongswan-1.1.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c18c96ea463ac8aeb21759a6b29a94150f6cd30cf6a967e4d0c30ce214238c93 +size 261081 diff --git a/NetworkManager-strongswan.changes b/NetworkManager-strongswan.changes new file mode 100644 index 0000000..b60d565 --- /dev/null +++ b/NetworkManager-strongswan.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Nov 19 09:03:07 UTC 2010 - binli@opensuse.org + +- Add the 1.1.2's package. + diff --git a/NetworkManager-strongswan.spec b/NetworkManager-strongswan.spec new file mode 100644 index 0000000..24020af --- /dev/null +++ b/NetworkManager-strongswan.spec @@ -0,0 +1,94 @@ +# +# spec file for package NetworkManager-strongswan (Version 1.1.2) +# +# Copyright (c) 2010 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/ +# + + + +Name: NetworkManager-strongswan +Version: 1.1.2 +Release: 1 +License: GPLv2+ +Summary: NetworkManager VPN support for strongSwan +Url: http://www.gnome.org/projects/NetworkManager +Group: Productivity/Networking/System +Source0: %{name}-%{version}.tar.bz2 +Source1: README +# Dismiss the rpmlint warning for 'send_interface' - binli@opensuse.org +Patch0: nm-strongswan-service-conf.patch +BuildRequires: NetworkManager-devel +BuildRequires: NetworkManager-gnome +BuildRequires: intltool +BuildRequires: libglade2-devel +BuildRequires: libgnomeui-devel +BuildRequires: libgudev-1_0-devel +BuildRequires: perl-XML-Parser +BuildRequires: update-desktop-files +Requires: %{name}-frontend +Requires: NetworkManager >= 0.7.0.r4274 +Requires: strongswan >= 4.1.13 +Recommends: %{name}-lang +BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExcludeArch: s390 s390x + +%description +NetworkManager-strongswan provides VPN support to NetworkManager for +strongSwan. + +%package gnome +License: GPLv2+ +Summary: NetworkManager VPN support for strongSwan +Group: Productivity/Networking/System +Requires: %{name} = %{version} +Requires: NetworkManager-gnome >= 0.5.1 +Provides: %{name}-frontend + +%description gnome +NetworkManager-strongswan provides VPN support to NetworkManager for +strongSwan. + +%lang_package +%prep +%setup -q +%patch0 -p1 + +%build +%configure\ + --disable-static +%__make %{?_smp_flags} + +%install +%makeinstall +%find_lang %{name} +find %{buildroot}%{_libdir} -name '*.la' -delete -print + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%dir %{_sysconfdir}/NetworkManager/VPN +%config %{_sysconfdir}/NetworkManager/VPN/nm-strongswan-service.name +%config %{_sysconfdir}/dbus-1/system.d/nm-strongswan-service.conf + +%files gnome +%defattr(-,root,root,-) +%{_libdir}/NetworkManager/libnm-strongswan-properties.so +%{_libexecdir}/nm-strongswan-auth-dialog +%{_datadir}/gnome-vpn-properties + +%files lang -f %{name}.lang + +%changelog diff --git a/README b/README new file mode 100644 index 0000000..f5ddae4 --- /dev/null +++ b/README @@ -0,0 +1,29 @@ +NetworkManager allows configuration and control of VPN daemons through +a plugin interface. +We provide such a plugin for NetworkManager to configure road warrior +clients for the most common setups. + +NetworkManager uses DBUS to communicate with a plugin loaded by the +IKEv2 charon daemon. + +The plugin uses a certificate for gateway authentication and supports +EAP and RSA authentication for client authentication. +PSK is not supported, as it is considered insecure if the secrets are +not strong enough. + +You can use any password based EAP method supported by strongSwan +(MD5/GTC/MSCHAPv2) or private key authentication. Private keys are +either stored in a file or accessed through your ready-to-use ssh-agent. +You'll need a certificate matching that key. +Starting with strongSwan 4.4.2 / NetworkManager-strongswan 1.2.0, +private keys and certificates on a smartcard can be used. + +If you configure the gateway certificate directly on the clients, there +are no requirements to the certificate. If you deploy CA certificates +(supported in 4.3.1+), the gateway certificate will need a subjectAltName +including the Hostname of the gateway (the same you enter in the clients +configuration). Starting with version 4.3.5, you can also use preinstalled +root CA certificates of your distribution, using the --with-nm-ca-dir +configure option. Just don't specify any gateway/CA certificate to use +preinstalled root certificates. +CA certificates on a smartcard are automatically used. diff --git a/nm-strongswan-service-conf.patch b/nm-strongswan-service-conf.patch new file mode 100644 index 0000000..04ae80c --- /dev/null +++ b/nm-strongswan-service-conf.patch @@ -0,0 +1,17 @@ +Index: NetworkManager-strongswan-1.1.2/nm-strongswan-service.conf +=================================================================== +--- NetworkManager-strongswan-1.1.2.orig/nm-strongswan-service.conf ++++ NetworkManager-strongswan-1.1.2/nm-strongswan-service.conf +@@ -5,12 +5,10 @@ + + + +- + + + + +- + + +