[omd-commits] OMD Git: omd: Added build support for Ubuntu 16.04

git version control git at mathias-kettner.de
Fri Apr 22 10:32:27 CEST 2016


Module:   omd
Branch:   master
Commit:   3e13f28ac1deaaa0e7017542d0406074229dcfe5
URL:      http://omdistro.org/projects/omd/repository/revisions/3e13f28ac1deaaa0e7017542d0406074229dcfe5

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Fri Apr 22 10:31:03 2016 +0200
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Fri Apr 22 10:32:26 2016 +0200

Added build support for Ubuntu 16.04

---

 Changelog                     |    1 +
 distros/Makefile.UBUNTU_16.04 |   96 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/Changelog b/Changelog
index 132b9ed..0fb27e9 100644
--- a/Changelog
+++ b/Changelog
@@ -36,6 +36,7 @@ This file documents the revision history for the Open Monitoring Distribution
             - Phantomjs: Update to 2.1.1
           - Added build support for SLES 12 SP1
           - Added build support for Fedora 23
+          - Added build support for Ubuntu 16.04
           - nsca: Update to 2.9.1
 
 1.30     Oct 01 2015
diff --git a/distros/Makefile.UBUNTU_16.04 b/distros/Makefile.UBUNTU_16.04
new file mode 100644
index 0000000..51cd54d
--- /dev/null
+++ b/distros/Makefile.UBUNTU_16.04
@@ -0,0 +1,96 @@
+DISTRO_CODE     = xenial
+BUILD_PACKAGES  =
+BUILD_PACKAGES += build-essential
+BUILD_PACKAGES += devscripts
+BUILD_PACKAGES += dpatch
+BUILD_PACKAGES += dnsutils
+BUILD_PACKAGES += fping
+BUILD_PACKAGES += smbclient # otherwise missing path in util.pm
+BUILD_PACKAGES += git-buildpackage
+BUILD_PACKAGES += libboost-all-dev
+BUILD_PACKAGES += libcloog-ppl1
+BUILD_PACKAGES += libcurl4-openssl-dev # needed by perl modules / thruk
+BUILD_PACKAGES += libevent-dev
+BUILD_PACKAGES += libgd-dev
+BUILD_PACKAGES += libglib2.0-dev
+BUILD_PACKAGES += libgnutls-dev
+BUILD_PACKAGES += libldap2-dev
+BUILD_PACKAGES += libltdl-dev
+BUILD_PACKAGES += libmcrypt-dev
+BUILD_PACKAGES += libmysqlclient-dev
+BUILD_PACKAGES += libpq-dev
+BUILD_PACKAGES += libpango1.0-dev
+BUILD_PACKAGES += libperl-dev
+BUILD_PACKAGES += libreadline-dev
+BUILD_PACKAGES += libssl-dev
+BUILD_PACKAGES += libxml2-dev
+BUILD_PACKAGES += patch
+BUILD_PACKAGES += rsync
+BUILD_PACKAGES += python-dev
+BUILD_PACKAGES += python-setuptools
+BUILD_PACKAGES += uuid-dev
+BUILD_PACKAGES += snmp
+BUILD_PACKAGES += apache2-dev  # compiling mod_python
+BUILD_PACKAGES += apache2      # compiling mod_python
+BUILD_PACKAGES += libncurses5-dev # compiling mod-gearman
+BUILD_PACKAGES += libpcap-dev # needed for CMC
+BUILD_PACKAGES += gettext # needed for german l10n
+BUILD_PACKAGES += libfreeradius-dev
+OS_PACKAGES     =
+OS_PACKAGES    += time # needed for mk-job
+OS_PACKAGES    += traceroute # needed for Check_MK parent scan
+OS_PACKAGES    += libsnmp-python # needed for Check_MK inline SNMP
+OS_PACKAGES    += curl
+OS_PACKAGES    += dialog
+OS_PACKAGES    += dnsutils
+OS_PACKAGES    += fping
+OS_PACKAGES    += graphviz
+OS_PACKAGES    += libapache2-mod-fcgid
+OS_PACKAGES    += apache2
+OS_PACKAGES    += apache2-utils # contains htpasswd2
+OS_PACKAGES    += libboost-program-options1.58.0
+OS_PACKAGES    += libboost-system1.58.0
+OS_PACKAGES    += libdbi1
+OS_PACKAGES    += libevent-1.4-2
+OS_PACKAGES    += libltdl7
+OS_PACKAGES    += libnet-snmp-perl
+OS_PACKAGES    += libpango1.0-0
+OS_PACKAGES    += libperl5.22
+OS_PACKAGES    += libreadline5
+OS_PACKAGES    += libsnmp-perl
+OS_PACKAGES    += libuuid1
+OS_PACKAGES    += libxml2
+OS_PACKAGES    += mysql-server
+OS_PACKAGES    += patch
+OS_PACKAGES    += php-cli
+OS_PACKAGES    += php-cgi
+OS_PACKAGES    += php-gd
+OS_PACKAGES    += php-mcrypt
+OS_PACKAGES    += php-pear
+OS_PACKAGES    += pyro
+OS_PACKAGES    += rsync
+OS_PACKAGES    += smbclient
+OS_PACKAGES    += snmp
+OS_PACKAGES    += unzip
+OS_PACKAGES    += xinetd
+OS_PACKAGES    += python-ldap # needed for ldap support in multisite
+OS_PACKAGES    += freeradius-utils
+USERADD_OPTIONS   =
+ADD_USER_TO_GROUP = gpasswd -a %(user)s %(group)s
+PACKAGE_INSTALL   = aptitude -y update ; aptitude -y install
+ACTIVATE_INITSCRIPT = update-rc.d %s defaults
+APACHE_CONF_DIR   = /etc/apache2/conf.d
+APACHE_INIT_NAME  = apache2
+APACHE_USER       = www-data
+APACHE_GROUP      = www-data
+APACHE_BIN        = /usr/sbin/apache2
+APACHE_CTL        = /usr/sbin/apache2ctl
+APACHE_MODULE_DIR = /usr/lib/apache2/modules
+APACHE_MODULE_DIR_64 = /usr/lib/apache2/modules
+APACHE_FCGID_MODULE = mod_fcgid.so
+APACHE_ENMOD      = a2enmod %s
+PHP_FCGI_BIN      = /usr/bin/php5-cgi
+BECOME_ROOT       = sudo su -c
+ARCH              = $(shell dpkg --print-architecture)
+MOUNT_OPTIONS     =
+INIT_CMD          = /etc/init.d/%(name)s %(action)s



More information about the omd-commits mailing list