[omd-commits] OMD Git: omd: shinken: back to pymongo 2.1.1 for Centos 5.x

git version control git at mathias-kettner.de
Mon Jun 3 00:20:46 CEST 2013


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

Author:   Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Mon Jun  3 00:19:39 2013 +0200
Commiter: Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Mon Jun  3 00:19:39 2013 +0200

shinken: back to pymongo 2.1.1 for Centos 5.x

---

 packages/shinken/Makefile             |   10 +++++++++-
 packages/shinken/pymongo-2.1.1.tar.gz |  Bin 0 -> 199974 bytes
 packages/shinken/pymongo-2.5.1.tar.gz |  Bin 302926 -> 0 bytes
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/packages/shinken/Makefile b/packages/shinken/Makefile
index 0bf78f9..9b3d3ed 100644
--- a/packages/shinken/Makefile
+++ b/packages/shinken/Makefile
@@ -68,7 +68,15 @@ MONGODB_FILE=$(MONGODB).tgz
 MONGODB_URL=http://fastdl.mongodb.org/linux/$(MONGODB_FILE)
 #
 # Python bindings for MongoDB
-PYMONGO=pymongo-2.5.1
+ifeq ($(DISTRO_NAME),CENTOS)
+  ifeq ($(DISTRO_VERSION),$(filter $(DISTRO_VERSION),5.4 5.5 5.6 5.7 5.8 5.9))
+    PYMONGO=pymongo-2.1.1
+  else
+    PYMONGO=pymongo-2.5.1
+  endif
+else
+  PYMONGO=pymongo-2.5.1
+endif
 PYMONGO_FILE=$(PYMONGO).tar.gz
 PYMONGO_URL=http://pypi.python.org/packages/source/p/pymongo/$(PYMONGO_FILE)
 #
diff --git a/packages/shinken/pymongo-2.1.1.tar.gz b/packages/shinken/pymongo-2.1.1.tar.gz
new file mode 100644
index 0000000..68c1db2
Binary files /dev/null and b/packages/shinken/pymongo-2.1.1.tar.gz differ
diff --git a/packages/shinken/pymongo-2.5.1.tar.gz b/packages/shinken/pymongo-2.5.1.tar.gz
deleted file mode 100644
index c83ab81..0000000
Binary files a/packages/shinken/pymongo-2.5.1.tar.gz and /dev/null differ



More information about the omd-commits mailing list