aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/nm
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-05-19 14:00:23 +0200
committerMartin Willi <martin@strongswan.org>2009-05-19 14:01:40 +0200
commitc6c842e9ad9691f7b4bc891bcccd276ba9efe154 (patch)
treea81394cbf7953e5ee99eabe2394734c7a66cdf3b /src/charon/plugins/nm
parentbf9e1d44449cc9016c4d078b18a8f933aa185438 (diff)
downloadstrongswan-c6c842e9ad9691f7b4bc891bcccd276ba9efe154.tar.bz2
strongswan-c6c842e9ad9691f7b4bc891bcccd276ba9efe154.tar.xz
added Debian specific packaging files to NM applet
Diffstat (limited to 'src/charon/plugins/nm')
-rw-r--r--src/charon/plugins/nm/gnome/debian/changelog17
-rw-r--r--src/charon/plugins/nm/gnome/debian/compat1
-rw-r--r--src/charon/plugins/nm/gnome/debian/control29
-rw-r--r--src/charon/plugins/nm/gnome/debian/copyright7
-rw-r--r--src/charon/plugins/nm/gnome/debian/docs0
-rw-r--r--src/charon/plugins/nm/gnome/debian/network-manager-strongswan.postinst19
-rwxr-xr-xsrc/charon/plugins/nm/gnome/debian/rules15
7 files changed, 88 insertions, 0 deletions
diff --git a/src/charon/plugins/nm/gnome/debian/changelog b/src/charon/plugins/nm/gnome/debian/changelog
new file mode 100644
index 000000000..c6632d165
--- /dev/null
+++ b/src/charon/plugins/nm/gnome/debian/changelog
@@ -0,0 +1,17 @@
+network-manager-strongswan (1.1.1-1) unstable; urgency=low
+
+ * New upstream release fixing a crasher when saving connections
+ * Fix "Wrong path to network-manager initscript in postinst"
+ Reload dbus instead of network-manager, as other VPN plugins do.
+ (Closes: #529189)
+ * Fix "FTBFS: No package 'libnm-util' found"
+ added dependencies to libnm-util-dev and libnm-glib-vpn-dev
+ (Closes: #528977)
+
+ -- Martin Willi <martin@strongswan.org> Tue, 19 May 2009 13:16:51 +0200
+
+network-manager-strongswan (1.1.0-1) unstable; urgency=low
+
+ * Initial Debian packaging of NetworkManager plugin for strongSwan
+
+ -- Martin Willi <martin@strongswan.org> Wed, 25 Mar 2009 09:07:05 +0100
diff --git a/src/charon/plugins/nm/gnome/debian/compat b/src/charon/plugins/nm/gnome/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/src/charon/plugins/nm/gnome/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/src/charon/plugins/nm/gnome/debian/control b/src/charon/plugins/nm/gnome/debian/control
new file mode 100644
index 000000000..8f171d582
--- /dev/null
+++ b/src/charon/plugins/nm/gnome/debian/control
@@ -0,0 +1,29 @@
+Source: network-manager-strongswan
+Section: net
+Priority: extra
+Maintainer: Martin Willi <martin@strongswan.org>
+Build-Depends: cdbs,
+ debhelper (>= 7),
+ network-manager-dev (>= 0.7),
+ libnm-util-dev (>= 0.7),
+ libnm-glib-dev (>= 0.7),
+ libnm-glib-vpn-dev (>= 0.7),
+ libdbus-glib-1-dev,
+ libglade2-dev,
+ libgnomeui-dev,
+ automake1.9,
+ gnome-common,
+Standards-Version: 3.8.0
+
+Package: network-manager-strongswan
+Architecture: any
+Depends: strongswan-nm, network-manager
+Description: network management framework (strongSwan plugin)
+ NetworkManager attempts to keep an active network connection available at
+ all times. It is intended primarily for laptops where it allows easy
+ switching betwen local wireless networks, it's also useful on desktops
+ with a selection of different interfaces to use. It is not intended for
+ usage on servers.
+ .
+ This package provides a VPN plugin for strongSwan, providing easy access to
+ IKEv2 IPSec VPN's.
diff --git a/src/charon/plugins/nm/gnome/debian/copyright b/src/charon/plugins/nm/gnome/debian/copyright
new file mode 100644
index 000000000..0a83b4f96
--- /dev/null
+++ b/src/charon/plugins/nm/gnome/debian/copyright
@@ -0,0 +1,7 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=437
+Upstream-Name: NetworkManager-strongswan
+Upstream-Source: http://download.strongswan.org/NetworkManager
+Files: *
+License: GPL-2
+ On Debian systems the full text of the GNU General Public License can be found
+ in the `/usr/share/common-licenses/GPL-2' file.
diff --git a/src/charon/plugins/nm/gnome/debian/docs b/src/charon/plugins/nm/gnome/debian/docs
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/src/charon/plugins/nm/gnome/debian/docs
diff --git a/src/charon/plugins/nm/gnome/debian/network-manager-strongswan.postinst b/src/charon/plugins/nm/gnome/debian/network-manager-strongswan.postinst
new file mode 100644
index 000000000..37718b3c1
--- /dev/null
+++ b/src/charon/plugins/nm/gnome/debian/network-manager-strongswan.postinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ if [ -x "/etc/init.d/dbus" ]; then
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d dbus force-reload || true
+ else
+ /etc/init.d/dbus force-reload || true
+ fi
+ fi
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/src/charon/plugins/nm/gnome/debian/rules b/src/charon/plugins/nm/gnome/debian/rules
new file mode 100755
index 000000000..0f723246e
--- /dev/null
+++ b/src/charon/plugins/nm/gnome/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS := --with-charon=/usr/lib/ipsec/charon
+
+DEB_CONFIGURE_LIBEXECDIR := "\$$(prefix)/lib/NetworkManager"
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -X/usr/lib/NetworkManager/
+
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+
+
+