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 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 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 +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 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 + + +