update var patch for 2.1.2
-diff -Naur ndoutils-2.0.0.old/config/ndo2db.cfg-sample.in ndoutils-2.0.0/config/ndo2db.cfg-sample.in
---- ndoutils-2.0.0.old/config/ndo2db.cfg-sample.in 2014-04-16 11:30:01.808975064 +0200
-+++ ndoutils-2.0.0/config/ndo2db.cfg-sample.in 2014-04-16 12:01:34.520376575 +0200
+--- ndoutils-2.1.2/config/ndo2db.cfg-sample.in 2016-11-14 11:23:05.000000000 -0800
++++ ndoutils-2.1.2.patch/config/ndo2db.cfg-sample.in 2017-04-04 13:53:02.000000000 -0700
# This is the lockfile that NDO2DB will use to store its PID number
# in when it is running in daemon mode.
--lock_file=@localstatedir@/ndo2db.lock
+-lock_file=@localstatedir@/ndo2db.pid
+lock_file=@localstatedir@/run/ndoutils/ndo2db.pid
@@ -15,11 +14,11 @@ diff -Naur ndoutils-2.0.0.old/config/ndo2db.cfg-sample.in ndoutils-2.0.0/config/
# is "unix".
-socket_name=@localstatedir@/ndo.sock
-+socket_name=@localstatedir@/run/ndoutils/ndo2db.sock
++socket_name=@localstatedir@/run/ndoutils/ndo.sock
-@@ -191,7 +191,7 @@
+@@ -203,7 +203,7 @@
# DEBUG FILE
# This option determines where the daemon should write debugging information.
@@ -28,9 +27,8 @@ diff -Naur ndoutils-2.0.0.old/config/ndo2db.cfg-sample.in ndoutils-2.0.0/config/
-diff -Naur ndoutils-2.0.0.old/config/ndomod.cfg-sample.in ndoutils-2.0.0/config/ndomod.cfg-sample.in
---- ndoutils-2.0.0.old/config/ndomod.cfg-sample.in 2014-04-16 11:30:01.808975064 +0200
-+++ ndoutils-2.0.0/config/ndomod.cfg-sample.in 2014-04-16 12:01:49.224247619 +0200
+--- ndoutils-2.1.2/config/ndomod.cfg-sample.in 2016-11-14 11:23:05.000000000 -0800
++++ ndoutils-2.1.2.patch/config/ndomod.cfg-sample.in 2017-04-04 13:55:22.000000000 -0700
# of fully qualified domain name of the host that the module should
# connect to for sending output.
