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
This commit is contained in:
commit
ff97dd92b5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
NetworkManager-strongswan-1.1.2.tar.bz2
Normal file
3
NetworkManager-strongswan-1.1.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c18c96ea463ac8aeb21759a6b29a94150f6cd30cf6a967e4d0c30ce214238c93
|
||||||
|
size 261081
|
5
NetworkManager-strongswan.changes
Normal file
5
NetworkManager-strongswan.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 19 09:03:07 UTC 2010 - binli@opensuse.org
|
||||||
|
|
||||||
|
- Add the 1.1.2's package.
|
||||||
|
|
94
NetworkManager-strongswan.spec
Normal file
94
NetworkManager-strongswan.spec
Normal file
@ -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
|
29
README
Normal file
29
README
Normal file
@ -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.
|
17
nm-strongswan-service-conf.patch
Normal file
17
nm-strongswan-service-conf.patch
Normal file
@ -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 @@
|
||||||
|
<policy user="root">
|
||||||
|
<allow own="org.freedesktop.NetworkManager.strongswan"/>
|
||||||
|
<allow send_destination="org.freedesktop.NetworkManager.strongswan"/>
|
||||||
|
- <allow send_interface="org.freedesktop.NetworkManager.strongswan"/>
|
||||||
|
</policy>
|
||||||
|
<policy context="default">
|
||||||
|
<deny own="org.freedesktop.NetworkManager.strongswan"/>
|
||||||
|
<deny send_destination="org.freedesktop.NetworkManager.strongswan"/>
|
||||||
|
- <deny send_interface="org.freedesktop.NetworkManager.strongswan"/>
|
||||||
|
</policy>
|
||||||
|
</busconfig>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user