[omd-commits] OMD Git: omd: Python: OMD is now shipping with own Python 2.7.11 interpreter

git version control git at mathias-kettner.de
Sat Jun 4 19:36:40 CEST 2016


Module:   omd
Branch:   master
Commit:   cf668ed8200ce6f5a7dff9bd50eaddcf518c0cde
URL:      http://omdistro.org/projects/omd/repository/revisions/cf668ed8200ce6f5a7dff9bd50eaddcf518c0cde

Author:   Lars Michelsen <lm at larsmichelsen.com>
Date:     Sat May 21 21:11:45 2016 +0200
Commiter: Lars Michelsen <lm at larsmichelsen.com>
Date:     Sat Jun  4 15:10:14 2016 +0200

Python: OMD is now shipping with own Python 2.7.11 interpreter

This step has been made to make Python based components, like Check_MK,
be able to rely on one single Python version independent of the
distibution OMD is being installed on.

Python scripts/programs should use "#!/usr/bin/env python" as shebang
to be working within OMD sites without change. Something like
"#!/usr/bin/python" would not use the interpreter shipped with OMD.
Components that are executed not only as site use, like "omd" itself,
have to hard code the path to the interpreter shipped with the current
version "#!/omd/versions/[version]/bin/python" to use the interpreter
even when being executed as root user.

---

 Changelog                                          |    7 ++++
 Makefile                                           |    1 +
 distros/Makefile.CENTOS_5                          |    3 --
 distros/Makefile.CENTOS_6                          |    2 -
 distros/Makefile.CENTOS_7                          |    2 -
 distros/Makefile.DEBIAN_5                          |    2 -
 distros/Makefile.DEBIAN_6                          |    3 --
 distros/Makefile.DEBIAN_7                          |    3 --
 distros/Makefile.DEBIAN_8                          |    3 --
 distros/Makefile.FEDORA_21                         |    2 -
 distros/Makefile.FEDORA_22                         |    2 -
 distros/Makefile.FEDORA_23                         |    2 -
 distros/Makefile.OPENSUSE_12.1                     |    4 --
 distros/Makefile.SLES_11                           |    3 --
 distros/Makefile.SLES_11SP1                        |    3 --
 distros/Makefile.SLES_11SP2                        |    3 --
 distros/Makefile.SLES_11SP3                        |    3 --
 distros/Makefile.SLES_11SP4                        |    3 --
 distros/Makefile.SLES_12                           |    3 --
 distros/Makefile.SLES_12SP1                        |    3 --
 distros/Makefile.UBUNTU_10.04                      |    3 --
 distros/Makefile.UBUNTU_10.10                      |    3 --
 distros/Makefile.UBUNTU_11.04                      |    3 --
 distros/Makefile.UBUNTU_11.10                      |    3 --
 distros/Makefile.UBUNTU_12.04                      |    3 --
 distros/Makefile.UBUNTU_12.10                      |    3 --
 distros/Makefile.UBUNTU_13.04                      |    3 --
 distros/Makefile.UBUNTU_13.10                      |    4 --
 distros/Makefile.UBUNTU_14.04                      |    4 --
 distros/Makefile.UBUNTU_14.10                      |    4 --
 distros/Makefile.UBUNTU_15.04                      |    4 --
 distros/Makefile.UBUNTU_15.10                      |    4 --
 distros/Makefile.UBUNTU_16.04                      |    4 --
 packages/maintenance/diskspace                     |    2 +-
 packages/maintenance/merge-crontabs                |    2 +-
 packages/mod_python/.f12                           |    2 +-
 packages/mod_python/Makefile                       |   13 ++++---
 packages/nagios/merge-nagios-config                |    2 +-
 packages/omd/.f12                                  |    1 +
 packages/omd/Makefile                              |    1 +
 packages/omd/index.py                              |    2 -
 packages/omd/omd                                   |    2 +-
 packages/python-modules/.f12                       |    2 +
 packages/python-modules/Makefile                   |   33 ++++++++++++----
 .../patches/0001-python-ldap-disable-sasl.dif      |   11 ++++++
 packages/python-modules/src/download               |    9 +++++
 .../python-modules/src/python-ldap-2.4.25.tar.gz   |  Bin 0 -> 121573 bytes
 .../python-modules/src/setuptools-22.0.5.tar.gz    |  Bin 0 -> 676083 bytes
 packages/python/.f12                               |    2 +
 packages/python/.gitignore                         |    2 +
 packages/python/Makefile                           |   40 ++++++++++++++++++++
 packages/python/Python-2.7.11.tgz                  |  Bin 0 -> 16856409 bytes
 packages/rrdtool/Makefile                          |   22 ++++++-----
 packages/shinken/Makefile                          |   19 +++++-----
 54 files changed, 138 insertions(+), 131 deletions(-)

Diff:   http://omdistro.org/projects/omd/repository/diff/?rev=cf668ed8200ce6f5a7dff9bd50eaddcf518c0cde


More information about the omd-commits mailing list