summaryrefslogtreecommitdiffstats
path: root/packaging/installer/install-required-packages.sh
AgeCommit message (Collapse)Author
2020-07-01Add first class support for FreeBSD (#9413)James Mills
* Add FreeBSD system detection and package manager support * Add suitable package selections for FreeBSD * Add non-interactive mode for pkg * Use gmake to buiold on FreeBSD and --disable-dependency-tracking
2020-06-08Added support for macOS/Homebrew in `install-required-packages.sh`. (#8286)Austin S. Hemmelgarn
* Add basic macOS support to install-required-packages.sh This uses Homebrew for the package installs, and skips anything that macOS already has as part of the base system. * Use Python 3 on macOS. Homebrew defaults to python 3, just use that because it makes life easier for users. * Disable running as EUID=0 on macOS. Homebrew only works properly for regular users. * Use macOS's native version of zlib. * Assorted fixes. * Fix typos in package mappings.
2020-05-27Fix error > emerge openssl-devel (#9141)Javier Pastor
* Fix error > emerge openssl-devel Add the correct package name for gentoo linux. Issue #9140 * Add missing package names for linux gentoo. * fix name package gentoo lm-sensors * add in workflows gentoo fix name package sys-apps/lm-sensors
2020-05-26Added required bundle for libuuid on ClearLinux. (#9060)Austin S. Hemmelgarn
* Added required bundle for libuuid on ClearLinux. * Add ClearLinux to build checks.
2020-05-25Fix incorrect issue link URL in install-required-packages.sh (#8911)James Mills
2020-04-21Added JSON-C dependency handling to instlal and packaging. (#8776)Austin S. Hemmelgarn
* Add JSON-C dependency handling to instlal and packaging. * Update build failure message.
2020-04-13Revert "Revert changes since v1.21 in pereparation for hotfix release."Austin S. Hemmelgarn
This reverts commit e2874320fc027f7ab51ab3e115d5b1889b8fd747.
2020-04-13Revert changes since v1.21 in pereparation for hotfix release.Austin S. Hemmelgarn
2020-04-06packaging: fix errors during install-requred-packages (#8606)Ilya Mashchenko
* packaging: update install-requred-packages.sh: add `manjaro` to the list of known OSes of get_os_release func and sort the list alphabetically * packaging: fix `validate_package_trees` func exists before executing it
2020-04-03Ensure we only enable jessie-backports for Debian 8 (jessie) once (#8593)James Mills
2020-04-03Fix Debian 8 (jessie) support (#8590)James Mills
2020-03-26Fix install-required-packages script to self-update apt (#8491)James Mills
* Fix our install-required-packages script to automatically run apt-get update on systems (almost every other package manager self-updates anyway) * Add -o Acquire::Check-Valid-Until=false for Debian 8 (jessie)
2020-03-10Fix cosmetic error checking for CentOS 8 version in ↵James Mills
install-required-packages (#8339) * Fix cosmetic error checking for CentOS 8 version in install-required-packages * Fix CentOS 8 regex to count for lone 8
2020-03-09Added various fixes and improvements to the installers. (#8315)Austin S. Hemmelgarn
* Don't rotate old Netdata config dirs in static installer. This should have been removed when we stopped shipping stock configs in `/etc/netdata`. * Use a single invocation of the package manager to install dependencies. This slightly improves the efficiency of the code in question, and also eliminates a few dozen potential cases of prompting the user if they want to install specific packages. * Add correct package name for ulogd on arch. * Properly finish conversion to Python 3 defaults.
2020-03-06Fixed dependency names for Arch Linux. (#8334)Austin S. Hemmelgarn
* Fix package names for Archlinux. * Use a specific implementation of netcat on Arch. * Use install-required-pacakges.sh from local branch instead of master. * Use local copy of kickstart.sh instead of downloading it.
2020-03-06Switch to pulling in Python 3 by default instead of Python 2. (#8318)James Mills
Most distros have Python 3, and some are already looking at dropping Python 2 in upcomming releases. All of our code works correctly on Python 3, so just use it by default for platforms that have it.
2020-03-04Fix RHEL / CentOS 8.x dependencies for Judy-devel and others (#8202)James Mills
2020-03-02Fix misspelling of openSUSE and SUSE (#8233)Martin Rey
2020-02-27Adding support for ACLK build-configuration (#8223)Andrew Moss
* Fixes for issues not caught at review in #8144. (#8211) * Properly scrub build environment for external dependencies. * Remove LWS from our system-level dependencies. We've decided to just always bundle it in the installer. * Add missing dependency for Docker build process. * Use static-build of LWS library created by installer (#8157) * link static lib of LWS * only use static LWS by installer * handle -lcap * fix problem on debian without lcap * fix lws check Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com> Co-authored-by: Timo <6674623+underhood@users.noreply.github.com>
2020-02-25Added libwebsockets bundling code to netdata-installer.sh (#8144)Austin S. Hemmelgarn
* Generalize handling of fetch and verification of archives. This generalizes the logic used for fetching and verifying source archives for external dependencies that we potentially bundle as part of our regular build. It also slightly improves the error handling for the bundling of libmosquitto. * Add code to bundle libwebsockets during install. This gets used when building on a system without libwebsockets3. Due to how the libwebsockets build system works, this adds cmake as an installer dependency on systems that do not have libwebsockets3. * Add libwebsockets-dev to install-required-packages.sh * Fix error caused by resolving merge conflict incorrectly. * Unconditionally bunlde libwebsockets if cloud is enabled on install. As discussed with the product team, we're taking this approach to ensure SOCKS5 proxy support.
2020-02-22Added support for Clear Linux in `install-required-packages.sh`. (#8154)Austin S. Hemmelgarn
* Disable shellcheck 2034 due to computed variable names. This particular check throws a large number of false positives in this file because it cannot see us using the mappings from packages to per-distro package names since we're accessign them through computed variable names. * Add Clear Linux support to install-required-packages.sh This adds preliminary support for Clear Linux to the install-required-packages script, which allows users to use the regular kickstart install script there. As of right now, this has a significant limitation in that Clear Linux does not provide a package for libJudy, meaning that users will not be able to use the dbengine.
2020-02-05Adds GHA Workflow to actually Build the Agent across all the OS/Distro(s) we ↵James Mills
support today (#7969) * Fixed shellcheck warnings/errors and some legitimate bugs in ./packaging/installer/install-required-packages.sh * Fixed erroneous \ * Removed accidentally committed test.sh :D * Remove redundant redirection on grep commands * Fixed erroneous trailing gon search/replace expression * Fixed incorrect expansion of in apt-get invocation * Fixed incorrect expanasion of on other package managers too * Fixed insistent prompt search/replace (adding space) :D * Fixed (properly) handling of opts to pakage managers using a proper array and array expansion * Re-fixed: echo * Bah humbug :D * Rebased on master * Fixed erroneous \ * Added support for CentOS 8.x * Removed extra space * Rebased on centos8_deps_2 * Added GHA workflor for testing install-required-packages * Rebased on centos8_deps_3 * Only test on archlinux:latest * Add Ubuntu 16.04 and 19.04 to the matrix * Remove test.sh :) * Added GHA Workflow to actually Build the Agent across all the OS/Distro(s) we support today * Added option --netdta-all which seems to tell install-required-pacakges to install all dependencies * Fixed the netdata-all argument * Disable centos:8 for now * Use all argument * Fix version check for CentOS 8.x * Automatically install Okay repo for CentOS 6.x * Disable opensuse (for now) * Fixed CentOS 6.x version dtection * Remove Debian jessie (unsupported) Added Debian bullseye
2020-02-04Fixes static builds and nightlies (#7971)James Mills
* Fixed the shebang for building self-extracting static builds * Fixed shellcheck errors/warnings * Fix require_cmd() function too and redirect both stderr/stdout of command -v in conditional
2020-02-04Adds a GHA workflow to test install-required-packages (#7949)James Mills
* Fixed shellcheck warnings/errors and some legitimate bugs in ./packaging/installer/install-required-packages.sh * Fixed erroneous \ * Removed accidentally committed test.sh :D * Remove redundant redirection on grep commands * Fixed erroneous trailing gon search/replace expression * Fixed incorrect expansion of in apt-get invocation * Fixed incorrect expanasion of on other package managers too * Fixed insistent prompt search/replace (adding space) :D * Fixed (properly) handling of opts to pakage managers using a proper array and array expansion * Re-fixed: echo * Bah humbug :D * Rebased on master * Fixed erroneous \ * Added support for CentOS 8.x * Removed extra space * Rebased on centos8_deps_2 * Added GHA workflor for testing install-required-packages * Rebased on centos8_deps_3 * Only test on archlinux:latest * Add Ubuntu 16.04 and 19.04 to the matrix * Remove test.sh :)
2020-02-04Reformats ./packaging/installer/install-required-packages.sh with: shfmt -w ↵James Mills
-i 2 -ci -sr (#7915) * Re-format with: shfmt -w -i 2 -ci -sr * Fixed erroneous \ * Removed accidentally committed test.sh :D
2020-01-16Move the script for installing required packages into the main repo. (#7563)Austin S. Hemmelgarn
* Move the script for installing required packages into the main repo. Based on discussion with Costa. Most of what this script is actually used for directly is in the main repo anyway, so it makes more sense to have it there so that any changes get reviewed properly. * Fix typo in RPM package build setup.