[omd-commits] OMD Git: omd: shinken: Pyro3 for Centos 5.x

git version control git at mathias-kettner.de
Sat Jun 1 16:19:26 CEST 2013


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

Author:   Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Sat Jun  1 16:16:26 2013 +0200
Commiter: Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Sat Jun  1 16:16:26 2013 +0200

shinken: Pyro3 for Centos 5.x

---

 packages/shinken/Makefile         |   21 +++++++++++++++++----
 packages/shinken/Pyro-3.16.tar.gz |  Bin 0 -> 298769 bytes
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/packages/shinken/Makefile b/packages/shinken/Makefile
index 94c28b1..504b285 100644
--- a/packages/shinken/Makefile
+++ b/packages/shinken/Makefile
@@ -6,9 +6,21 @@ SHINKEN_FILE=$(SHINKEN).tar.gz
 SHINKEN_URL=http://shinken-monitoring.org/pub/$(SHINKEN).tar.gz
 #
 # Python Remote Objects
-PYRO=Pyro4-4.18
-PYRO_FILE=$(PYRO).tar.gz
-PYRO_URL=https://pypi.python.org/packages/source/P/Pyro4/$(PYRO_FILE)
+ifeq ($(DISTRO_NAME),CENTOS)
+  ifeq ($(DISTRO_VERSION),$(filter $(DISTRO_VERSION),5.4 5.5 5.6 5.7 5.8 5.9))
+    PYRO=Pyro-3.16
+    PYRO_FILE=$(PYRO).tar.gz
+    PYRO_URL=https://pypi.python.org/packages/source/P/Pyro/$(PYRO_FILE)
+  else
+    PYRO=Pyro4-4.18
+    PYRO_FILE=$(PYRO).tar.gz
+    PYRO_URL=https://pypi.python.org/packages/source/P/Pyro4/$(PYRO_FILE)
+  endif
+else
+    PYRO=Pyro4-4.18
+    PYRO_FILE=$(PYRO).tar.gz
+    PYRO_URL=https://pypi.python.org/packages/source/P/Pyro4/$(PYRO_FILE)
+endif
 #
 # Python Multiprocessing
 MP=multiprocessing-2.6.2.1
@@ -96,7 +108,8 @@ build:
 		$(DISTRO_VERSION) = "5.5" -o \
 		$(DISTRO_VERSION) = "5.6" -o\
 		$(DISTRO_VERSION) = "5.7" -o \
-		$(DISTRO_VERSION) = "5.8" ]; then \
+		$(DISTRO_VERSION) = "5.8" -o \
+		$(DISTRO_VERSION) = "5.9" ]; then \
 		echo it is a centos 5; \
 		echo which has python 2.4; \
 		echo we need to remove the shinken webui; \
diff --git a/packages/shinken/Pyro-3.16.tar.gz b/packages/shinken/Pyro-3.16.tar.gz
new file mode 100644
index 0000000..c017ffc
Binary files /dev/null and b/packages/shinken/Pyro-3.16.tar.gz differ



More information about the omd-commits mailing list