[Pkg-swan-devel] [strongswan] 01/02: split charon-cmd to a standalone package.

Yves-Alexis Perez corsac at moszumanska.debian.org
Sun Feb 2 19:21:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

corsac pushed a commit to branch split-plugins
in repository strongswan.

commit c4f8572c895447aaff9de350630e6baf96ceffbd
Author: Yves-Alexis Perez <corsac at debian.org>
Date:   Sat Feb 1 14:02:39 2014 +0100

    split charon-cmd to a standalone package.
---
 debian/changelog                    |  3 +++
 debian/charon-cmd.install           |  2 ++
 debian/charon-cmd.lintian-overrides |  3 +++
 debian/control                      | 12 ++++++++++++
 debian/strongswan-ike.install       |  2 --
 5 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 428912e..597c606 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,11 @@ strongswan (5.1.1-2) UNRELEASED; urgency=medium
 
   * debian/control:
     - drop dependency on host, inherited from openSwan.         closes: #736661
+    - split charon-cmd to a standalone package.
   * debian/po:
     - sv.po updated, thanks Martin Bagge.                       closes: #725667
+  * debian/charon-cmd.lintian-overrides: override lintian error about
+    charon-cmd rpath.
 
  -- Yves-Alexis Perez <corsac at debian.org>  Sun, 26 Jan 2014 10:33:42 +0100
 
diff --git a/debian/charon-cmd.install b/debian/charon-cmd.install
new file mode 100644
index 0000000..1db1527
--- /dev/null
+++ b/debian/charon-cmd.install
@@ -0,0 +1,2 @@
+usr/sbin/charon-cmd
+usr/share/man/man8/charon-cmd.8
diff --git a/debian/charon-cmd.lintian-overrides b/debian/charon-cmd.lintian-overrides
new file mode 100644
index 0000000..26be392
--- /dev/null
+++ b/debian/charon-cmd.lintian-overrides
@@ -0,0 +1,3 @@
+# strongswan libraries are installed in /usr/lib/ipsec because they are private
+# to the strongSwan project. We still want to split multiple binaries from the lib
+charon-cmd: binary-or-shlib-defines-rpath usr/sbin/charon-cmd /usr/lib/ipsec
diff --git a/debian/control b/debian/control
index af9b60c..2d590ce 100644
--- a/debian/control
+++ b/debian/control
@@ -122,3 +122,15 @@ Description: strongSwan IKEv2 daemon, transitional package
  This package used to install the charon daemon, implementing the IKEv2
  protocol. It has been replaced the strongswan-ike package, so it can be safely
  removed.
+
+Package: charon-cmd
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libstrongswan (= ${binary:Version})
+Breaks: strongswan-ike (<= 5.1.1-1)
+Replaces: strongswan-ike (<= 5.1.1-1)
+Description: standalone IPsec client
+ The strongSwan VPN suite uses the native IPsec stack in the standard
+ Linux kernel. It supports both the IKEv1 and IKEv2 protocols.
+ .
+ This package contains the charon-cmd command, which can be used as a client to
+ connect to a remote IKE daemon.
diff --git a/debian/strongswan-ike.install b/debian/strongswan-ike.install
index 2b94a3c..e00deaa 100644
--- a/debian/strongswan-ike.install
+++ b/debian/strongswan-ike.install
@@ -1,5 +1,3 @@
-usr/sbin/charon-cmd
-usr/share/man/man8/charon-cmd.8
 usr/lib/ipsec/libcharon.so*
 usr/lib/ipsec/charon
 usr/lib/ipsec/lookip

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-swan/strongswan.git



More information about the Pkg-swan-devel mailing list