[omd-commits] OMD Git: omd: Added support for CentOS 6.6

git version control git at mathias-kettner.de
Thu Oct 30 14:43:36 CET 2014


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

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Thu Oct 30 14:43:33 2014 +0100
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Thu Oct 30 14:43:33 2014 +0100

Added support for CentOS 6.6

---

 Changelog                   |    1 +
 distros/Makefile.CENTOS_6.6 |   91 +++++++++++++++++++++++++++++++++++++++++++
 distros/Makefile.REDHAT_6.6 |    1 +
 3 files changed, 93 insertions(+)

diff --git a/Changelog b/Changelog
index 4e7fbad..8ccf7c7 100644
--- a/Changelog
+++ b/Changelog
@@ -16,6 +16,7 @@ This file documents the revision history for the Open Monitoring Distribution
 	      version to version 0.52 or older, you will again need to care
 	      about these files manually.
           - Added build support for SLES 12
+          - Added build support for CentOS 6.6
 
 1.20     Aug 25 2014
           - apache: Changed order of apache daemon startup/stopping
diff --git a/distros/Makefile.CENTOS_6.6 b/distros/Makefile.CENTOS_6.6
new file mode 100644
index 0000000..b792955
--- /dev/null
+++ b/distros/Makefile.CENTOS_6.6
@@ -0,0 +1,91 @@
+DISTRO_CODE       = rh66
+BUILD_PACKAGES    =
+BUILD_PACKAGES   += boost-devel
+BUILD_PACKAGES   += cairo-devel
+BUILD_PACKAGES   += curl-devel     # needed by perl modules / thruk
+BUILD_PACKAGES   += expat-devel
+BUILD_PACKAGES   += fping
+BUILD_PACKAGES   += bind-utils
+BUILD_PACKAGES   += gcc
+BUILD_PACKAGES   += gcc-c++
+BUILD_PACKAGES   += libevent-devel         # RHEL Server Optional
+BUILD_PACKAGES   += libtool-ltdl-devel     # RHEL Server Optional 
+BUILD_PACKAGES   += libtool-ltdl           # needed by libtool-ltdl-devel
+BUILD_PACKAGES   += gd-devel               # RHEL Server Optional
+BUILD_PACKAGES   += libXpm-devel           # needed by gd-devel
+BUILD_PACKAGES   += libjpeg-devel          # needed by gd-devel
+BUILD_PACKAGES   += httpd-devel
+BUILD_PACKAGES   += libmcrypt-devel        # MISSING
+BUILD_PACKAGES   += libxml2-devel
+BUILD_PACKAGES   += mysql-devel
+BUILD_PACKAGES   += ncurses-devel
+BUILD_PACKAGES   += net-snmp
+BUILD_PACKAGES   += net-snmp-utils
+BUILD_PACKAGES   += openssl-devel
+BUILD_PACKAGES   += pango-devel
+BUILD_PACKAGES   += patch
+BUILD_PACKAGES   += php
+BUILD_PACKAGES   += python-devel
+BUILD_PACKAGES   += readline-devel
+BUILD_PACKAGES   += compat-readline5
+BUILD_PACKAGES   += rpm-build
+BUILD_PACKAGES   += samba-client
+BUILD_PACKAGES   += libuuid-devel
+BUILD_PACKAGES   += which
+BUILD_PACKAGES   += perl-devel
+BUILD_PACKAGES   += perl-ExtUtils-Embed
+BUILD_PACKAGES   += perl-Time-HiRes
+BUILD_PACKAGES   += rsync
+BUILD_PACKAGES   += freeradius-devel
+BUILD_PACKAGES   += groff                  # Is needed by rrdtool docs
+OS_PACKAGES       =
+OS_PACKAGES      += time # needed for mk-job
+OS_PACKAGES      += traceroute # needed for Check_MK parent scan
+OS_PACKAGES      += boost-program-options
+OS_PACKAGES      += curl
+OS_PACKAGES      += dialog
+OS_PACKAGES      += expat
+OS_PACKAGES      += fping
+OS_PACKAGES      += graphviz
+OS_PACKAGES      += graphviz-gd
+OS_PACKAGES      += httpd
+OS_PACKAGES      += libevent
+OS_PACKAGES      += libmcrypt
+OS_PACKAGES      += libtool-ltdl
+OS_PACKAGES      += mod_fcgid
+OS_PACKAGES      += mysql-server
+OS_PACKAGES      += net-snmp
+OS_PACKAGES      += net-snmp-utils
+OS_PACKAGES      += pango
+OS_PACKAGES      += patch
+OS_PACKAGES      += perl-Net-SNMP
+OS_PACKAGES      += php
+OS_PACKAGES      += php-mbstring
+OS_PACKAGES      += php-pdo
+OS_PACKAGES      += php-gd
+OS_PACKAGES      += readline
+OS_PACKAGES      += rsync
+OS_PACKAGES      += uuid
+OS_PACKAGES      += xinetd
+OS_PACKAGES      += xorg-x11-server-Xvfb
+OS_PACKAGES      += cronie
+OS_PACKAGES      += python-ldap # needed for ldap support in multisite
+OS_PACKAGES      += freeradius-utils
+USERADD_OPTIONS   = -M
+ADD_USER_TO_GROUP = gpasswd -a %(user)s %(group)s
+PACKAGE_INSTALL   = yum -y makecache ; yum -y install
+ACTIVATE_INITSCRIPT = chkconfig --add %s && chkconfig %s on
+APACHE_CONF_DIR   = /etc/httpd/conf.d
+APACHE_INIT_NAME  = httpd
+APACHE_USER       = apache
+APACHE_GROUP      = apache
+APACHE_BIN        = /usr/sbin/httpd
+APACHE_CTL        = /usr/sbin/apachectl
+APACHE_MODULE_DIR = /usr/lib/httpd/modules
+APACHE_MODULE_DIR_64 = /usr/lib64/httpd/modules
+APACHE_FCGID_MODULE = mod_fcgid.so
+PHP_FCGI_BIN      = /usr/bin/php-cgi
+APACHE_ENMOD      = true %s
+BECOME_ROOT       = su -c
+MOUNT_OPTIONS     =
+INIT_CMD          = /etc/init.d/%(name)s %(action)s
diff --git a/distros/Makefile.REDHAT_6.6 b/distros/Makefile.REDHAT_6.6
new file mode 120000
index 0000000..5dd91a6
--- /dev/null
+++ b/distros/Makefile.REDHAT_6.6
@@ -0,0 +1 @@
+Makefile.CENTOS_6.6
\ No newline at end of file



More information about the omd-commits mailing list