summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@corsac.net>2012-06-28 20:58:00 +0200
committerYves-Alexis Perez <corsac@corsac.net>2012-06-28 20:58:00 +0200
commite012c3d88f8ae777916a62832b51bd06883e0c89 (patch)
treef28d02f377df8743860a68eb3030a909c03c598a /debian/patches
parent13ee30022ea80c58501be232dc1dd1a55f653d65 (diff)
downloadvyos-strongswan-e012c3d88f8ae777916a62832b51bd06883e0c89.tar.gz
vyos-strongswan-e012c3d88f8ae777916a62832b51bd06883e0c89.zip
Import NMU 4.5.2-1.1
* Non-maintainer upload. * debian/strongswan-starter.ipsec.init: Init script should depends on remote_fs instead of local_fs, also provide ipsec instead of vpn as the other ipsec implementations (Closes: #629675) * debian/patches/0001-fix-fprintf-format.patch: Fix FTBFS with gcc 4.6, taken from upstream (Closes: #614486) * debian/control: Tighten dependency version against libstrongswan (Closes: #626170) * debian/strongswan-starter.lintian-overrides, debian/rules: Correctly set restricted permissions on /etc/ipsec.d/private/ and /var/lib/strongswan (Closes: #598827)
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0001-fix-fprintf-format.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0001-fix-fprintf-format.patch b/debian/patches/0001-fix-fprintf-format.patch
new file mode 100644
index 000000000..24ec36a82
--- /dev/null
+++ b/debian/patches/0001-fix-fprintf-format.patch
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with gcc 4.6
+Author: Laurent Bigonville <bigon@debian.org>
+Bug-Debian: http://bugs.debian.org/614486
+
+--- a/src/libcharon/plugins/stroke/stroke_ca.c
++++ b/src/libcharon/plugins/stroke/stroke_ca.c
+@@ -319,7 +319,7 @@
+ {
+ if (first)
+ {
+- fprintf(out, label);
++ fprintf(out, "%s", label);
+ first = FALSE;
+ }
+ else
diff --git a/debian/patches/series b/debian/patches/series
index e69de29bb..00075f1c4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-fix-fprintf-format.patch