[omd-commits] OMD Git: omd: Added distro file for building omd on REDHAT 6.0

git version control git at mathias-kettner.de
Mon Apr 18 09:39:13 CEST 2011


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

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Mon Apr 18 09:36:59 2011 +0200
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Mon Apr 18 09:36:59 2011 +0200

Added distro file for building omd on REDHAT 6.0

---

 distro                      |    4 ++
 distros/Makefile.REDHAT_6.0 |   71 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+), 0 deletions(-)

diff --git a/distro b/distro
index 68d8faf..027f2f5 100755
--- a/distro
+++ b/distro
@@ -38,6 +38,10 @@ then
         REL=${REL%% *}
         echo "CENTOS$SEP$REL"
         exit 0
+    elif [ "${VERSION:0:43}" = "Red Hat Enterprise Linux Server release 6.0" ]
+    then
+	echo "REDHAT${SEP}6.0"
+	exit 0
     fi
 fi
 
diff --git a/distros/Makefile.REDHAT_6.0 b/distros/Makefile.REDHAT_6.0
new file mode 100644
index 0000000..b8e741b
--- /dev/null
+++ b/distros/Makefile.REDHAT_6.0
@@ -0,0 +1,71 @@
+DISTRO_CODE       = rh60
+BUILD_PACKAGES    =
+BUILD_PACKAGES   += cairo-devel
+BUILD_PACKAGES   += expat-devel
+BUILD_PACKAGES   += gcc
+BUILD_PACKAGES   += gcc-c++
+BUILD_PACKAGES   += libevent-devel
+BUILD_PACKAGES   += libtool-ltdl-devel
+BUILD_PACKAGES   += gd-devel
+BUILD_PACKAGES   += httpd-devel
+BUILD_PACKAGES   += libmcrypt-devel
+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   += perl-Net-SNMP
+BUILD_PACKAGES   += python-devel
+BUILD_PACKAGES   += readline-devel
+BUILD_PACKAGES   += compat-readline5
+BUILD_PACKAGES   += rpm-build
+BUILD_PACKAGES   += samba-client
+BUILD_PACKAGES   += uuid-devel
+BUILD_PACKAGES   += libuuid-devel
+BUILD_PACKAGES   += which
+BUILD_PACKAGES   += perl-devel
+BUILD_PACKAGES   += perl-ExtUtils-Embed
+BUILD_PACKAGES   += perl-Time-HiRes
+BUILD_PACKAGES   += rsync
+OS_PACKAGES       =
+OS_PACKAGES      += curl
+OS_PACKAGES      += dialog
+OS_PACKAGES      += expat
+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      += mod_python
+OS_PACKAGES      += mysql-server
+OS_PACKAGES      += pango
+OS_PACKAGES      += patch
+OS_PACKAGES      += php
+OS_PACKAGES      += php-mbstring
+OS_PACKAGES      += php-pdo
+OS_PACKAGES      += php-gd
+OS_PACKAGES      += readline
+OS_PACKAGES      += rsync
+OS_PACKAGES      += uuid
+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       = /etc/init.d/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_PYTHON_MODULE = mod_python.so
+APACHE_FCGID_MODULE = mod_fcgid.so
+PHP_FCGI_BIN	  = /usr/bin/php-cgi
+APACHE_ENMOD      = true %s
+BECOME_ROOT       = su -c



More information about the omd-commits mailing list