Your message dated Sun, 26 Jan 2014 23:30:17 +0100
with message-id <[email protected]>
and subject line Re: Bug#735292: libstrongswan: configuring strongswan.conf 
with file snippets (aka strongswan.conf.d)
has caused the Debian Bug report #735292,
regarding libstrongswan: configuring strongswan.conf with file snippets (aka 
strongswan.conf.d)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
735292: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735292
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libstrongswan
Severity: wishlist
Tags: patch

Hi,

Would you please consider creating a directory where configuration
snippets can be dropped to extend strongswan.conf? The idea being a)
easier configuration management by splitting the config, b) allowing
something (a package or a configuration management system) to drop a
file to modify the configuration without touching the main
strongswan.conf

LTDR: Please consider git-am'ing the attached mbox.

Thanks!

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
From a281d077254db5fd86001896300d3fa356f0f6ca Mon Sep 17 00:00:00 2001
From: Raphael Geissert <[email protected]>
Date: Tue, 14 Jan 2014 14:51:01 +0100
Subject: [PATCH] Support configuration via /etc/strongswan.conf.d/

Upstream's position on this is that packages should ship this
configuration, instead of modifying it upstream. See:
https://wiki.strongswan.org/issues/475
---
 debian/changelog                                  |    5 +++++
 debian/libstrongswan.dirs                         |    1 +
 debian/patches/02_include-strongswan.conf.d.patch |   10 ++++++++++
 debian/patches/series                             |    1 +
 4 files changed, 17 insertions(+)
 create mode 100644 debian/patches/02_include-strongswan.conf.d.patch

diff --git a/debian/changelog b/debian/changelog
index 50412cf..11f417e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 strongswan (5.0.2-1) UNRELEASED; urgency=low
 
+  [ Yves-Alexis Perez ]
   * New upstream release.
   * debian/patches:
     - 01_fix-manpages refreshed.
@@ -30,6 +31,10 @@ strongswan (5.0.2-1) UNRELEASED; urgency=low
   * debian/strongswan-starter.* remove references to pluto.
   * debian/po: update potfiles for new phrasing.
 
+  [ Raphael Geissert ]
+  * Allow the configuration of strongswan.conf to be stored in snippets
+    in /etc/strongswan.conf.d/
+
  -- Yves-Alexis Perez <[email protected]>  Thu, 07 Feb 2013 13:27:53 +0100
 
 strongswan (4.6.4-6) unstable; urgency=low
diff --git a/debian/libstrongswan.dirs b/debian/libstrongswan.dirs
index 3550fea..ed957af 100644
--- a/debian/libstrongswan.dirs
+++ b/debian/libstrongswan.dirs
@@ -2,5 +2,6 @@
 /etc/logcheck/ignore.d.server
 /etc/logcheck/ignore.d.workstation
 /etc/logcheck/violations.ignore.d
+/etc/strongswan.conf.d
 /usr/share/lintian/overrides
 /usr/lib/ipsec/plugins
diff --git a/debian/patches/02_include-strongswan.conf.d.patch b/debian/patches/02_include-strongswan.conf.d.patch
new file mode 100644
index 0000000..45d95fb
--- /dev/null
+++ b/debian/patches/02_include-strongswan.conf.d.patch
@@ -0,0 +1,10 @@
+Index: strongswan/src/strongswan.conf
+===================================================================
+--- strongswan.orig/src/strongswan.conf	2014-01-14 13:45:31.898298701 +0100
++++ strongswan/src/strongswan.conf	2014-01-14 14:43:30.936346911 +0100
+@@ -32,3 +32,5 @@
+ 	#  set to no, the DH exponent size is optimized
+ 	#  dh_exponent_ansi_x9_42 = no
+ }
++
++include /etc/strongswan.conf.d/*.conf
diff --git a/debian/patches/series b/debian/patches/series
index 2cf256b..a004656 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_fix-manpages.patch
+02_include-strongswan.conf.d.patch
-- 
1.7.10.4


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Version: 5.1.1-1
On Tue, Jan 14, 2014 at 02:54:23PM +0100, Raphael Geissert wrote:
> Package: libstrongswan
> Severity: wishlist
> Tags: patch
> 
> Hi,
> 
> Would you please consider creating a directory where configuration
> snippets can be dropped to extend strongswan.conf? The idea being a)
> easier configuration management by splitting the config, b) allowing
> something (a package or a configuration management system) to drop a
> file to modify the configuration without touching the main
> strongswan.conf
> 
> LTDR: Please consider git-am'ing the attached mbox.

I somehow forgot to put this bug in the changelog entry, so closing now…
- -- 
Yves-Alexis Perez
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBCgAGBQJS5Yx1AAoJEG3bU/KmdcClaL8IAJbGccEwQ50wFXSj2lWDKgXI
eJiX4yg99xyRBPID4lsncS3OTYjnYjWEDSzqqWGyeeU7W/SOBFtGGD7YWtb4HFBB
0ZJL9NpHobnM3QDVhl4itKJ7Y21pj6XJDURUySO1/jpi17NhWoo5htetY/2c0shU
IkxQk+G7a1KwwhvL6x5GQDSchJ+EVAeNY0Bb3Ig/JJ07dSBvHguFDGjXGPdxn4nL
c3zxFRhPIJ0TLKvcVfpkSftT7mdMUKEXznWs55GjWL21h7ShBDZ/75O/EV2Fl1gQ
YFm8DvLdR12WTzNe5qTWPDYLs0EvhvraHs+t1lRXhplr54n5l0CruqMotMCe9xc=
=nrn1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to