summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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