Module: check_mk
Branch: master
Commit: 2d1685bce05c3e4e7da2956607a9944abca181ae
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2d1685bce05c3e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 28 10:10:23 2017 +0200
Include build artefacts in dist tarball (aclocal.m4, config.h.in, configure)
Change-Id: Id8168a701d05f9faeae6da1ec501b871b78ba5e1
---
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 9233c29..daa490c 100644
--- a/Makefile
+++ b/Makefile
@@ -190,12 +190,14 @@ check-version:
# is currently not used by most distros
# Would also use --exclude-vcs, but this is also not available
# And --transform is also missing ...
-dist: mk-livestatus-$(VERSION).tar.gz
+dist: mk-livestatus-$(VERSION).tar.gz config.h.in configure
@EXCLUDES= ; \
if [ -d .git ]; then \
git rev-parse --short HEAD > COMMIT ; \
for X in $$(git ls-files --directory --others -i --exclude-standard) ; do \
- EXCLUDES+=" --exclude $${X%*/}" ; \
+ if [[ $$X != aclocal.m4 && $$X != config.h.in && $$X != configure ]]; then \
+ EXCLUDES+=" --exclude $${X%*/}" ; \
+ fi ; \
done ; \
fi ; \
if [ -d check-mk-$(EDITION)-$(OMD_VERSION) ]; then \
Module: check_mk
Branch: master
Commit: 9f83a65869d995d1b895b99fbf18814dc41d3c8d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9f83a65869d995…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 28 08:31:56 2017 +0200
make dist target compatible with older distros
Change-Id: I77955cc2a209f528affcd569a62dbe373e25a56a
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 002ec10..4f90c08 100644
--- a/Makefile
+++ b/Makefile
@@ -188,6 +188,7 @@ check-version:
# Would use --exclude-vcs-ignores but that's available from tar 1.29 which
# is currently not used by most distros
+# Would also use --exclude-vcs, but this is also not available
dist: mk-livestatus-$(VERSION).tar.gz
@EXCLUDES= ; \
if [ -d .git ]; then \
@@ -197,7 +198,10 @@ dist: mk-livestatus-$(VERSION).tar.gz
done ; \
fi ; \
tar -cz --wildcards -f $(DIST_ARCHIVE) \
- --exclude-vcs \
+ --exclude .git \
+ --exclude .gitignore \
+ --exclude .gitmodules \
+ --exclude .gitattributes \
--exclude $(DIST_ARCHIVE) \
$$EXCLUDES \
--transform 's|^|check-mk-$(EDITION)-$(OMD_VERSION)/|gS' \
Module: check_mk
Branch: master
Commit: 715f76a40d3746f00150b55f9708cb795d7feece
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=715f76a40d3746…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jul 27 17:04:24 2017 +0200
Moved OMD site configuration WATO plugin to regular WATO plugin directory
Change-Id: I863a4ae6e6c2aa53640eb390c57e882a3244c41e
---
omd/packages/maintenance/Makefile | 2 --
.../plugins/wato/omd_configuration.py | 28 +++++++++++-----------
2 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/omd/packages/maintenance/Makefile b/omd/packages/maintenance/Makefile
index 7255e6a..14c3c90 100644
--- a/omd/packages/maintenance/Makefile
+++ b/omd/packages/maintenance/Makefile
@@ -14,8 +14,6 @@ install:
# Create directory for the diskspace plugin
mkdir -p $(DESTDIR)$(OMD_ROOT)/share/diskspace
-
- install -m 644 wato_omd_configuration.py $(DESTDIR)$(OMD_ROOT)/share/check_mk/web/plugins/wato/omd_configuration.py
skel:
diff --git a/omd/packages/maintenance/wato_omd_configuration.py b/web/plugins/wato/omd_configuration.py
similarity index 87%
rename from omd/packages/maintenance/wato_omd_configuration.py
rename to web/plugins/wato/omd_configuration.py
index 4dff906..1069342 100644
--- a/omd/packages/maintenance/wato_omd_configuration.py
+++ b/web/plugins/wato/omd_configuration.py
@@ -1,25 +1,25 @@
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
-# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
+# +------------------------------------------------------------------+
+# | ____ _ _ __ __ _ __ |
+# | / ___| |__ ___ ___| | __ | \/ | |/ / |
+# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
+# | | |___| | | | __/ (__| < | | | | . \ |
+# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
+# | |
+# | Copyright Mathias Kettner 2014 mk(a)mathias-kettner.de |
+# +------------------------------------------------------------------+
#
-# U ___ u __ __ ____
-# \/"_ \/U|' \/ '|u| _"\
-# | | | |\| |\/| |/| | | |
-# .-,_| |_| | | | | |U| |_| |\
-# \_)-\___/ |_| |_| |____/ u
-# \\ <<,-,,-. |||_
-# (__) (./ \.) (__)_)
+# This file is part of Check_MK.
+# The official homepage is at http://mathias-kettner.de/check_mk.
#
-# This file is part of OMD - The Open Monitoring Distribution.
-# The official homepage is at <http://omdistro.org>.
-#
-# OMD is free software; you can redistribute it and/or modify it
+# 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. OMD is distributed
+# 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
+# tails. 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.