[omd-commits] OMD Git: omd: Started adding support for SLES 12

git version control git at mathias-kettner.de
Tue Oct 28 12:09:17 CET 2014


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

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Tue Oct 28 12:08:58 2014 +0100
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Tue Oct 28 12:08:58 2014 +0100

Started adding support for SLES 12

---

 Changelog                           |    1 +
 distro                              |    4 ++
 distros/Makefile.SLES_12            |   88 +++++++++++++++++++++++++++++++++++
 packages/omd/{omd => omd.irgendwas} |    0
 4 files changed, 93 insertions(+)

diff --git a/Changelog b/Changelog
index e12f842..4e7fbad 100644
--- a/Changelog
+++ b/Changelog
@@ -15,6 +15,7 @@ This file documents the revision history for the Open Monitoring Distribution
 	      Note: If you decide to downgrade from this or a following
 	      version to version 0.52 or older, you will again need to care
 	      about these files manually.
+          - Added build support for SLES 12
 
 1.20     Aug 25 2014
           - apache: Changed order of apache daemon startup/stopping
diff --git a/distro b/distro
index ce12f7b..051cd35 100755
--- a/distro
+++ b/distro
@@ -116,6 +116,10 @@ then
     then
         echo "SLES$SEP${VERSION}"
         exit 0
+    elif [ "$VERSION" = 12 ]
+    then
+        echo "SLES$SEP${VERSION}"
+        exit 0
     elif [ "$VERSION" = 12.1 ]
     then
         echo "OPENSUSE$SEP${VERSION}"
diff --git a/distros/Makefile.SLES_12 b/distros/Makefile.SLES_12
new file mode 100644
index 0000000..fe5b43e
--- /dev/null
+++ b/distros/Makefile.SLES_12
@@ -0,0 +1,88 @@
+DISTRO_CODE     = sles12
+BUILD_PACKAGES  =
+BUILD_PACKAGES += boost-devel
+BUILD_PACKAGES += cairo-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 += 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
+OS_PACKAGES     =
+OS_PACKAGES      += net-tools # traceroute is needed for Check_MK parent scan
+OS_PACKAGES    += apache2
+OS_PACKAGES    += apache2-mod_fcgid
+OS_PACKAGES    += bind-utils
+OS_PACKAGES    += curl
+OS_PACKAGES    += dialog
+OS_PACKAGES    += fping
+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 = ../apache2/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
diff --git a/packages/omd/omd b/packages/omd/omd.irgendwas
similarity index 100%
rename from packages/omd/omd
rename to packages/omd/omd.irgendwas



More information about the omd-commits mailing list