[omd-commits] OMD Git: omd: add makefiles for fedora

git version control git at mathias-kettner.de
Thu Oct 1 16:21:04 CEST 2015


Module:   omd
Branch:   master
Commit:   9a6c4d9ccbebd80087b8c3136e814171174981a2
URL:      http://omdistro.org/projects/omd/repository/revisions/9a6c4d9ccbebd80087b8c3136e814171174981a2

Author:   Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Thu Oct  1 16:13:30 2015 +0200
Commiter: Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Thu Oct  1 16:13:30 2015 +0200

add makefiles for fedora

---

 distros/Makefile.FEDORA_21 |   89 ++++++++++++++++++++++++++++++++++++++++++++
 distros/Makefile.FEDORA_22 |   89 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 178 insertions(+)

diff --git a/distros/Makefile.FEDORA_21 b/distros/Makefile.FEDORA_21
new file mode 100644
index 0000000..27e84f1
--- /dev/null
+++ b/distros/Makefile.FEDORA_21
@@ -0,0 +1,89 @@
+DISTRO_CODE       = fc21
+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   += mariadb-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   += 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
+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      += mariadb-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          = /usr/bin/systemctl %(action)s %(name)s.service
diff --git a/distros/Makefile.FEDORA_22 b/distros/Makefile.FEDORA_22
new file mode 100644
index 0000000..8b79d3d
--- /dev/null
+++ b/distros/Makefile.FEDORA_22
@@ -0,0 +1,89 @@
+DISTRO_CODE       = fc22
+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   += mariadb-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   += 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
+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      += mariadb-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          = /usr/bin/systemctl %(action)s %(name)s.service



More information about the omd-commits mailing list