Module: check_mk
Branch: master
Commit: cfc94c6b4ab9b388aeaf431652ff094597167c5b
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cfc94c6b4ab9b3…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Feb 12 14:52:45 2013 +0100
mknotifyd: replace VERSION text, GPL header for mknotifyd
---
Makefile | 1 +
doc/treasures/mknotifyd | 25 +++++++++++++++++++++++--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 7473356..1019346 100644
--- a/Makefile
+++ b/Makefile
@@ -132,6 +132,7 @@ setversion:
sed -i 's/!define CHECK_MK_VERSION .*/!define CHECK_MK_VERSION "'$(NEW_VERSION)'"/' agents/windows/installer.nsi ; \
sed -i 's/^AC_INIT.*/AC_INIT([MK Livestatus], ['"$(NEW_VERSION)"'], [mk(a)mathias-kettner.de])/' livestatus/configure.ac ; \
sed -i 's/^VERSION=".*/VERSION="$(NEW_VERSION)"/' mkeventd/bin/mkeventd ; \
+ sed -i 's/^VERSION=".*/VERSION="$(NEW_VERSION)"/' doc/treasures/mknotifyd ; \
sed -i 's/^VERSION=.*/VERSION='"$(NEW_VERSION)"'/' scripts/setup.sh ; \
echo 'check-mk_$(NEW_VERSION)-1_all.deb net optional' > debian/files ; \
cd agents/windows ; rm *.exe ; make ; cd ../.. ; \
diff --git a/doc/treasures/mknotifyd b/doc/treasures/mknotifyd
index 87b7353..042cce2 100755
--- a/doc/treasures/mknotifyd
+++ b/doc/treasures/mknotifyd
@@ -1,7 +1,28 @@
#!/usr/bin/python
# encoding: utf-8
-
-# TODO: GPL HEADER / mkeventd??
+# +------------------------------------------------------------------+
+# | ____ _ _ __ __ _ __ |
+# | / ___| |__ ___ ___| | __ | \/ | |/ / |
+# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
+# | | |___| | | | __/ (__| < | | | | . \ |
+# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
+# | |
+# | Copyright Mathias Kettner 2012 mk(a)mathias-kettner.de |
+# +------------------------------------------------------------------+
+#
+# This file is part of Check_MK.
+# The official homepage is at http://mathias-kettner.de/check_mk.
+#
+# check_mk is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation in version 2. check_mk is distributed
+# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
+# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE. See the GNU General Public License for more de-
+# ails. You should have received a copy of the GNU General Public
+# License along with GNU Make; see the file COPYING. If not, write
+# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+# Boston, MA 02110-1301 USA.
import socket, os, time, sys, getopt, signal, thread, pprint, re, select, subprocess, stat, pickle, uuid