[omd-commits] OMD Git: omd: added centos 6.0 support
git version control
git at mathias-kettner.de
Mon Jul 11 17:21:11 CEST 2011
Module: omd
Branch: master
Commit: 23b0ea94ed8f11679036d90db2b5a205a043d52c
URL: http://omdistro.org/projects/omd/repository/revisions/23b0ea94ed8f11679036d90db2b5a205a043d52c
Author: Sven Nierlein <sven at nierlein.de>
Date: Mon Jul 11 13:34:58 2011 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date: Mon Jul 11 13:34:58 2011 +0200
added centos 6.0 support
---
distro | 4 ++
distros/Makefile.CENTOS_6.0 | 71 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+), 0 deletions(-)
diff --git a/distro b/distro
index 1c6a08b..2aa3878 100755
--- a/distro
+++ b/distro
@@ -33,6 +33,10 @@ then
VERSION=$(cat /etc/redhat-release)
if [ "${VERSION:0:6}" = CentOS ]
then
+ if [ "${VERSION:0:24}" = "CentOS Linux release 6.0" ]; then
+ echo "CENTOS${SEP}6.0"
+ exit 0
+ fi
REL=${VERSION#* }
REL=${REL#* }
REL=${REL%% *}
diff --git a/distros/Makefile.CENTOS_6.0 b/distros/Makefile.CENTOS_6.0
new file mode 100644
index 0000000..59a5458
--- /dev/null
+++ b/distros/Makefile.CENTOS_6.0
@@ -0,0 +1,71 @@
+DISTRO_CODE = rh60
+BUILD_PACKAGES =
+BUILD_PACKAGES += boost-devel
+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 += 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 += boost-program-options
+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 += mysql-server
+OS_PACKAGES += net-snmp
+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_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