summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pocock <daniel@pocock.pro>2014-03-06 08:42:09 +0000
committerMichael Biebl <biebl@debian.org>2014-03-11 19:04:46 +0100
commit4b4f8969548bc1589f60dd6494ca094bd9378044 (patch)
tree821f79e90dadea983d05ac1788499fface4190d7
parent36b9fff72c3479034dfde91343b349e366f8bf20 (diff)
downloadrsyslog-4b4f8969548bc1589f60dd6494ca094bd9378044.tar.gz
mongo template not mandatory (upstream 18eaa5cc5c325e1f4c531dd03b463997c7fde1b4)
-rw-r--r--debian/patches/02-mongo-template-not-mandatory.patch11
-rw-r--r--debian/patches/series1
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/02-mongo-template-not-mandatory.patch b/debian/patches/02-mongo-template-not-mandatory.patch
new file mode 100644
index 0000000..023bfce
--- /dev/null
+++ b/debian/patches/02-mongo-template-not-mandatory.patch
@@ -0,0 +1,11 @@
+--- a/plugins/ommongodb/ommongodb.c
++++ b/plugins/ommongodb/ommongodb.c
+@@ -81,7 +81,7 @@ static struct cnfparamdescr actpdescr[] = {
+ { "collection", eCmdHdlrGetWord, 0 },
+ { "uid", eCmdHdlrGetWord, 0 },
+ { "pwd", eCmdHdlrGetWord, 0 },
+- { "template", eCmdHdlrGetWord, 1 }
++ { "template", eCmdHdlrGetWord, 0 }
+ };
+ static struct cnfparamblk actpblk =
+ { CNFPARAMBLK_VERSION,
diff --git a/debian/patches/series b/debian/patches/series
index 2113a56..eeb8ce3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
# Debian patches for rsyslog
01-dont_create_db.patch
+02-mongo-template-not-mandatory.patch