[Pkg-swan-devel] [strongswan] 04/14: Install /etc/strongswan.d/charon-systemd.conf with charon-systemd package

Yves-Alexis Perez corsac at moszumanska.debian.org
Sun Sep 3 13:23:47 UTC 2017


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

corsac pushed a commit to branch master
in repository strongswan.

commit 784751a50713ae63faeb9aac3b0d77581324e70e
Author: Yves-Alexis Perez <corsac at corsac.net>
Date:   Fri Jun 30 13:44:16 2017 +0200

    Install /etc/strongswan.d/charon-systemd.conf with charon-systemd package
    
    * debian/patches:
      - 02_configure-Install-charon-systemd.conf added, cherry-picked from
      upstream to install configuration to output logging information to the
      journal.
    * debian/charon-systemd.install:
      - install charon-systemd.conf files, thanks Gerald Tuner.     closes: #866325
---
 debian/changelog                                   |  6 ++++++
 debian/charon-systemd.install                      |  2 ++
 .../02_configure-Install-charon-systemd.conf.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 4 files changed, 34 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 86c772a..885fa76 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,12 @@ strongswan (5.5.3-3) UNRELEASED; urgency=medium
   * debian/strongswan-swanctl.install:
     - install the whole /etc/swanctl folder, including (empty) subfolders.
                                                                 closes: #866324
+  * debian/patches:
+    - 02_configure-Install-charon-systemd.conf added, cherry-picked from
+    upstream to install configuration to output logging information to the
+    journal.
+  * debian/charon-systemd.install:
+    - install charon-systemd.conf files, thanks Gerald Tuner.   closes: #866325
 
  -- Yves-Alexis Perez <corsac at debian.org>  Wed, 28 Jun 2017 22:57:48 +0200
 
diff --git a/debian/charon-systemd.install b/debian/charon-systemd.install
index 3b62aad..6ab3af8 100644
--- a/debian/charon-systemd.install
+++ b/debian/charon-systemd.install
@@ -1,2 +1,4 @@
+etc/strongswan.d/charon-systemd.conf
 lib/systemd/system/strongswan-swanctl.service
 usr/sbin/charon-systemd
+usr/share/strongswan/templates/config/strongswan.d/charon-systemd.conf
diff --git a/debian/patches/02_configure-Install-charon-systemd.conf.patch b/debian/patches/02_configure-Install-charon-systemd.conf.patch
new file mode 100644
index 0000000..80e0d06
--- /dev/null
+++ b/debian/patches/02_configure-Install-charon-systemd.conf.patch
@@ -0,0 +1,25 @@
+From 45f45fed1edee3fec951e72ba3d5b826ccdc47f2 Mon Sep 17 00:00:00 2001
+From: Tobias Brunner <tobias at strongswan.org>
+Date: Thu, 29 Jun 2017 08:36:50 +0200
+Subject: [PATCH] configure: Install charon-systemd.conf
+
+Fixes #2370.
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index f01631474..21563f7f3 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1724,6 +1724,7 @@ AM_COND_IF([USE_MEDSRV], [strongswan_options=${strongswan_options}" medsrv"])
+ AM_COND_IF([USE_SCEPCLIENT], [strongswan_options=${strongswan_options}" scepclient"])
+ AM_COND_IF([USE_PKI], [strongswan_options=${strongswan_options}" pki"])
+ AM_COND_IF([USE_SWANCTL], [strongswan_options=${strongswan_options}" swanctl"])
++AM_COND_IF([USE_SYSTEMD], [strongswan_options=${strongswan_options}" charon-systemd"])
+ 
+ AC_SUBST(strongswan_options)
+ 
+-- 
+2.13.2
+
diff --git a/debian/patches/series b/debian/patches/series
index 6d7cc1d..6fe6217 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01_fix-manpages.patch
+02_configure-Install-charon-systemd.conf.patch
 03_systemd-service.patch
 04_disable-libtls-tests.patch

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