summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2014-01-14 14:51:01 +0100
committerYves-Alexis Perez <corsac@debian.org>2014-01-17 12:42:41 +0100
commit0080830d0419f8ca8cbe6b20df89b81ed0e2228d (patch)
tree85ea0700a606fab6a419371e87c01ad52b88b9f4 /debian/patches
parentf9f82c46d2308d94f8cccccf680563f790aa33c9 (diff)
downloadvyos-strongswan-0080830d0419f8ca8cbe6b20df89b81ed0e2228d.tar.gz
vyos-strongswan-0080830d0419f8ca8cbe6b20df89b81ed0e2228d.zip
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
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/02_include-strongswan.conf.d.patch10
-rw-r--r--debian/patches/series1
2 files changed, 11 insertions, 0 deletions
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 000000000..45d95fbac
--- /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 2cf256b6c..a004656ee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01_fix-manpages.patch
+02_include-strongswan.conf.d.patch