[omd-commits] OMD Git: omd: SLES: Added support for SLES 11 SP4

git version control git at mathias-kettner.de
Fri Oct 2 10:26:44 CEST 2015


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

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Fri Oct  2 10:26:34 2015 +0200
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Fri Oct  2 10:26:34 2015 +0200

SLES: Added support for SLES 11 SP4

---

 Changelog                   |    2 +-
 distro                      |    8 ++--
 distros/Makefile.SLES_11SP4 |   89 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 94 insertions(+), 5 deletions(-)

diff --git a/Changelog b/Changelog
index 5298ace..b79f922 100644
--- a/Changelog
+++ b/Changelog
@@ -52,7 +52,7 @@ This file documents the revision history for the Open Monitoring Distribution
           - Check_MK:
             - Update to 1.2.6p12
             - moved log dir to var/log
-          - Added build support for SLES 12
+          - Added build support for SLES 12, 11 SP4
           - Added build support for Ubuntu 14.10, 15.04, 15.10
           - Added build support for Debian 8
           - RedHat / CentOS: Builds are now only dedicated to the major
diff --git a/distro b/distro
index c9a376d..5785673 100755
--- a/distro
+++ b/distro
@@ -74,14 +74,14 @@ then
     then
         echo "SLES$SEP${VERSION}SP2"
         exit 0
-    elif [ "$VERSION" = 10 -a "$SP" = 1 ] 
-    then
-        echo "SLES$SEP${VERSION}SP1"
-        exit 0
     elif [ "$VERSION" = 11 -a "$SP" = 3 ] 
     then
         echo "SLES$SEP${VERSION}SP3"
         exit 0
+    elif [ "$VERSION" = 11 -a "$SP" = 4 ]
+    then
+        echo "SLES$SEP${VERSION}SP4"
+        exit 0
     elif [ "$VERSION" = 10 -a "$SP" = 1 ] 
     then
         echo "SLES$SEP${VERSION}SP1"
diff --git a/distros/Makefile.SLES_11SP4 b/distros/Makefile.SLES_11SP4
new file mode 100644
index 0000000..ea25457
--- /dev/null
+++ b/distros/Makefile.SLES_11SP4
@@ -0,0 +1,89 @@
+DISTRO_CODE     = sles11sp4
+BUILD_PACKAGES  =
+BUILD_PACKAGES += boost-devel
+BUILD_PACKAGES += fping
+BUILD_PACKAGES += samba-client # otherwise path to smblient missing in util.pm
+BUILD_PACKAGES += freetype2-devel
+BUILD_PACKAGES += gcc
+BUILD_PACKAGES += gcc-c++
+BUILD_PACKAGES += gd-devel
+BUILD_PACKAGES += git
+BUILD_PACKAGES += glib-devel
+BUILD_PACKAGES += libcurl-devel   # needed by perl modules / thruk
+BUILD_PACKAGES += libexpat-devel
+BUILD_PACKAGES += libevent-devel
+BUILD_PACKAGES += libgnutls-devel
+BUILD_PACKAGES += libjpeg-devel
+BUILD_PACKAGES += libmcrypt-devel
+BUILD_PACKAGES += libmysqlclient-devel
+BUILD_PACKAGES += postgresql94-devel
+BUILD_PACKAGES += libopenssl-devel
+BUILD_PACKAGES += libpng-devel
+BUILD_PACKAGES += libuuid-devel
+BUILD_PACKAGES += libxml2-devel
+BUILD_PACKAGES += make
+BUILD_PACKAGES += net-snmp
+BUILD_PACKAGES += openldap2-devel
+BUILD_PACKAGES += pango-devel
+BUILD_PACKAGES += patch
+BUILD_PACKAGES += python
+BUILD_PACKAGES += python-devel
+BUILD_PACKAGES += readline-devel
+BUILD_PACKAGES += apache2-devel
+BUILD_PACKAGES += freeradius-client-devel
+BUILD_PACKAGES += libtool # needed for gearman
+OS_PACKAGES     =
+OS_PACKAGES      += net-tools # traceroute is needed for Check_MK parent scan
+OS_PACKAGES    += apache2
+OS_PACKAGES    += bind-utils
+OS_PACKAGES    += curl
+OS_PACKAGES    += dialog
+OS_PACKAGES    += fping
+OS_PACKAGES    += gd
+OS_PACKAGES    += graphviz
+OS_PACKAGES    += libboost_program_options1_36_0
+OS_PACKAGES    += libpng12-0
+OS_PACKAGES    += libevent-1_4-2
+OS_PACKAGES    += libltdl7
+OS_PACKAGES    += libreadline5
+OS_PACKAGES    += libuuid1
+OS_PACKAGES    += mysql
+OS_PACKAGES    += net-snmp
+OS_PACKAGES    += pango
+OS_PACKAGES    += patch
+OS_PACKAGES    += perl-Net-SNMP
+OS_PACKAGES    += perl-SNMP
+OS_PACKAGES    += php53-fastcgi
+OS_PACKAGES    += php53-gd
+OS_PACKAGES    += php53-iconv
+OS_PACKAGES    += php53-mbstring
+OS_PACKAGES    += php53-mcrypt
+OS_PACKAGES    += php53-pear
+OS_PACKAGES    += php53-sockets
+OS_PACKAGES    += php53-sqlite
+OS_PACKAGES    += rsync
+OS_PACKAGES    += samba-client
+OS_PACKAGES    += unzip
+OS_PACKAGES    += xinetd
+OS_PACKAGES    += xorg-x11-fonts # used for thruks pdf generator
+OS_PACKAGES    += xorg-x11-server-extra # used for thruks pdf generator
+OS_PACKAGES    += python-ldap # needed for ldap support in multisite
+OS_PACKAGES    += freeradius-client-libs
+USERADD_OPTIONS   = -M
+ADD_USER_TO_GROUP = groupmod -A %(user)s %(group)s
+PACKAGE_INSTALL   = zypper -n refresh ; zypper -n install
+ACTIVATE_INITSCRIPT = chkconfig --add %s
+APACHE_CONF_DIR   = /etc/apache2/conf.d
+APACHE_INIT_NAME  = apache2
+APACHE_USER       = wwwrun
+APACHE_GROUP      = www
+APACHE_BIN        = /usr/sbin/httpd2-prefork
+APACHE_CTL        = /usr/sbin/apache2ctl
+APACHE_MODULE_DIR = /usr/lib/apache2-prefork
+APACHE_MODULE_DIR_64 = /usr/lib64/apache2-prefork
+APACHE_FCGID_MODULE = mod_fcgid.so
+PHP_FCGI_BIN	  = /usr/bin/php-cgi
+APACHE_ENMOD      = a2enmod %s
+BECOME_ROOT       = su -c
+MOUNT_OPTIONS     =
+INIT_CMD          = /etc/init.d/%(name)s %(action)s



More information about the omd-commits mailing list