diff options
author | James Mills <prologic@shortcircuit.net.au> | 2020-08-07 15:00:14 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 15:00:14 +1000 |
commit | 49e417b33701037b82c17dca7731b41a6bed5869 (patch) | |
tree | b3406d1262728a8df60c593fa67bd2869a2239b9 | |
parent | 7f393520f42c830fa12d7e006d5e6949af286149 (diff) |
Add support for DEB packages for Ubuntu 20.04 (focal) (#9592)
* Add support for Ubuntu 20.04 DEB packages
* Add Travis config to also build the DEB packages for Ubuntu 20.04 (focal)
-rw-r--r-- | .travis.yml | 8 | ||||
-rwxr-xr-x | .travis/package_management/configure_deb_lxc_environment.py | 4 | ||||
-rw-r--r-- | contrib/debian/control.focal | 73 |
3 files changed, 85 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 94674fe9c1..e8d2dd793f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -278,6 +278,14 @@ jobs: - PACKAGE_TYPE="deb" REPO_TOOL="apt-get" - ALLOW_SOFT_FAILURE_HERE=true + - name: "Build & Publish DEB package for ubuntu/focal" + <<: *DEB_TEMPLATE + if: commit_message =~ /\[Package (amd64|arm64|i386) DEB( Ubuntu)?\]/ + env: + - BUILDER_NAME="builder" BUILD_DISTRO="ubuntu" BUILD_RELEASE="focal" BUILD_STRING="ubuntu/focal" + - PACKAGE_TYPE="deb" REPO_TOOL="apt-get" + - ALLOW_SOFT_FAILURE_HERE=true + - name: "Build & Publish DEB package for debian/buster" <<: *DEB_TEMPLATE if: commit_message =~ /\[Package (amd64|arm64|i386) DEB( Debian)?\]/ diff --git a/.travis/package_management/configure_deb_lxc_environment.py b/.travis/package_management/configure_deb_lxc_environment.py index 7606e292e2..4151c4f1af 100755 --- a/.travis/package_management/configure_deb_lxc_environment.py +++ b/.travis/package_management/configure_deb_lxc_environment.py @@ -91,6 +91,10 @@ if str(os.environ["BUILD_STRING"]).count("debian/buster") == 1: common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.buster', 'contrib/debian/control']) ### Ubuntu +if str(os.environ["BUILD_STRING"]).count("ubuntu/focal") == 1: + print("5.1 We are building for Xenial, adjusting control file") + common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control']) + common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.focal', 'contrib/debian/control']) if str(os.environ["BUILD_STRING"]).count("ubuntu/xenial") == 1: print("5.1 We are building for Xenial, adjusting control file") common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control']) diff --git a/contrib/debian/control.focal b/contrib/debian/control.focal new file mode 100644 index 0000000000..d50458e650 --- /dev/null +++ b/contrib/debian/control.focal @@ -0,0 +1,73 @@ +Source: netdata +Build-Depends: debhelper (>= 9), + dh-autoreconf, + dh-systemd (>= 1.5), + dpkg-dev (>= 1.13.19), + zlib1g-dev, + uuid-dev, + libuv1-dev, + liblz4-dev, + libjudy-dev, + libssl-dev, + libmnl-dev, + libjson-c-dev, + libcups2-dev, + libipmimonitoring-dev, + libnetfilter-acct-dev, + libsnappy-dev, + libprotobuf-dev, + libprotoc-dev, + cmake, + autogen, + autoconf, + automake, + pkg-config, + curl, + gcc, + g++ +Section: net +Priority: optional +Maintainer: Netdata Builder <bot@netdata.cloud> +Standards-Version: 3.9.6 +Homepage: https://netdata.cloud + +Package: netdata +Architecture: any +Depends: adduser, + libcap2-bin (>= 1:2.0), + lsb-base (>= 3.1-23.2), + zlib1g, + libuuid1, + libuv1, + liblz4-1, + libjudydebian1, + openssl, + libmnl0, + libjson-c4, + libnetfilter-acct1, + libprotobuf-c1, + libsnappy1v5, + libprotoc17, + ${misc:Depends}, + ${shlibs:Depends} +Pre-Depends: dpkg (>= 1.17.14) +Description: real-time charts for system monitoring + Netdata is a daemon that collects data in realtime (per second) + and presents a web site to view and analyze them. The presentation + is also real-time and full of interactive charts that precisely + render all collected values. + +Package: netdata-plugin-cups +Architecture: any +Depends: cups, + netdata (>= ${source:Version}) +Description: The Common Unix Printing System plugin for metrics collection from cupsd + +Package: netdata-plugin-freeipmi +Architecture: any +Depends: freeipmi, + netdata (= ${source:Version}) +Description: FreeIPMI - The Intelligent Platform Management System. + The IPMI specification defines a set of interfaces for platform management. + It is implemented by a number vendors for system management. The features of IPMI that most users will be interested in + are sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL). |