debian: don't strip the agent_modbus binary. (makes arm build fail)
[omd.git] / distros / Makefile.CENTOS_7
blob39e5f0b5afde0beb31aaeaf3d62313ab529fa48c
1 DISTRO_CODE       = el7
2 BUILD_PACKAGES    =
3 BUILD_PACKAGES   += boost-devel
4 BUILD_PACKAGES   += curl-devel     # needed by perl modules / thruk
5 BUILD_PACKAGES   += expat-devel
6 BUILD_PACKAGES   += fping
7 BUILD_PACKAGES   += bind-utils
8 BUILD_PACKAGES   += gcc
9 BUILD_PACKAGES   += gcc-c++
10 BUILD_PACKAGES   += libevent-devel         # RHEL Server Optional
11 BUILD_PACKAGES   += libtool-ltdl-devel     # RHEL Server Optional 
12 BUILD_PACKAGES   += libtool-ltdl           # needed by libtool-ltdl-devel
13 BUILD_PACKAGES   += gd-devel               # RHEL Server Optional
14 BUILD_PACKAGES   += libXpm-devel           # needed by gd-devel
15 BUILD_PACKAGES   += libjpeg-devel          # needed by gd-devel
16 BUILD_PACKAGES   += httpd-devel
17 BUILD_PACKAGES   += libmcrypt-devel        # MISSING
18 BUILD_PACKAGES   += libxml2-devel
19 BUILD_PACKAGES   += mariadb-devel
20 BUILD_PACKAGES   += postgresql-devel
21 BUILD_PACKAGES   += ncurses-devel
22 BUILD_PACKAGES   += net-snmp
23 BUILD_PACKAGES   += net-snmp-utils
24 BUILD_PACKAGES   += openssl-devel
25 BUILD_PACKAGES   += pango-devel
26 BUILD_PACKAGES   += patch
27 BUILD_PACKAGES   += php
28 BUILD_PACKAGES   += python-devel
29 BUILD_PACKAGES   += readline-devel
30 BUILD_PACKAGES   += rpm-build
31 BUILD_PACKAGES   += samba-client # needed for samba monitoring-plugins
32 BUILD_PACKAGES   += libuuid-devel
33 BUILD_PACKAGES   += which
34 BUILD_PACKAGES   += perl-devel
35 BUILD_PACKAGES   += perl-ExtUtils-Embed
36 BUILD_PACKAGES   += perl-Time-HiRes
37 BUILD_PACKAGES   += perl-Locale-Maketext-Simple
38 BUILD_PACKAGES   += perl-IO-Zlib
39 BUILD_PACKAGES   += rsync
40 BUILD_PACKAGES   += freeradius-devel
41 OS_PACKAGES       =
42 OS_PACKAGES      += time # needed for mk-job
43 OS_PACKAGES      += traceroute # needed for Check_MK parent scan
44 OS_PACKAGES      += boost-program-options
45 OS_PACKAGES      += curl
46 OS_PACKAGES      += dialog
47 OS_PACKAGES      += expat
48 OS_PACKAGES      += fping
49 OS_PACKAGES      += graphviz
50 OS_PACKAGES      += graphviz-gd
51 OS_PACKAGES      += httpd
52 OS_PACKAGES      += libevent
53 OS_PACKAGES      += libdbi
54 OS_PACKAGES      += libmcrypt
55 OS_PACKAGES      += libtool-ltdl
56 OS_PACKAGES      += mod_fcgid
57 OS_PACKAGES      += mariadb-server
58 OS_PACKAGES      += net-snmp
59 OS_PACKAGES      += net-snmp-utils
60 OS_PACKAGES      += pango
61 OS_PACKAGES      += patch
62 OS_PACKAGES      += perl-Net-SNMP
63 OS_PACKAGES      += perl-Locale-Maketext-Simple
64 OS_PACKAGES      += perl-IO-Zlib
65 OS_PACKAGES      += php
66 OS_PACKAGES      += php-mbstring
67 OS_PACKAGES      += php-pdo
68 OS_PACKAGES      += php-gd
69 OS_PACKAGES      += readline
70 OS_PACKAGES      += rsync
71 OS_PACKAGES      += uuid
72 OS_PACKAGES      += xinetd
73 OS_PACKAGES      += cronie
74 OS_PACKAGES      += python-ldap # needed for ldap support in multisite
75 OS_PACKAGES      += freeradius-utils
76 USERADD_OPTIONS   = -M
77 ADD_USER_TO_GROUP = gpasswd -a %(user)s %(group)s
78 PACKAGE_INSTALL   = yum -y makecache ; yum -y install
79 ACTIVATE_INITSCRIPT = chkconfig --add %s && chkconfig %s on
80 APACHE_CONF_DIR   = /etc/httpd/conf.d
81 APACHE_INIT_NAME  = httpd
82 APACHE_USER       = apache
83 APACHE_GROUP      = apache
84 APACHE_BIN        = /usr/sbin/httpd
85 APACHE_CTL        = /usr/sbin/apachectl
86 APACHE_MODULE_DIR = /usr/lib/httpd/modules
87 APACHE_MODULE_DIR_64 = /usr/lib64/httpd/modules
88 APACHE_FCGID_MODULE = mod_fcgid.so
89 PHP_FCGI_BIN      = /usr/bin/php-cgi
90 APACHE_ENMOD      = true %s
91 BECOME_ROOT       = su -c
92 MOUNT_OPTIONS     =
93 INIT_CMD          = /usr/bin/systemctl %(action)s %(name)s.service