From 4123e73f5013adb03aa5bbb435ca5a5306c559b6 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 23 Jul 2025 13:01:22 -0400 Subject: [PATCH 1/2] add openssl dev dependency --- bbot/core/helpers/depsinstaller/installer.py | 38 ++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/bbot/core/helpers/depsinstaller/installer.py b/bbot/core/helpers/depsinstaller/installer.py index ffb7e2fb12..35d9652552 100644 --- a/bbot/core/helpers/depsinstaller/installer.py +++ b/bbot/core/helpers/depsinstaller/installer.py @@ -53,6 +53,44 @@ class DepsInstaller: "when": "ansible_facts['distribution'] == 'Fedora'", }, ], + # to compile just about any tool, we need the openssl dev headers + "openssl": [ + { + "name": "Install OpenSSL library and development headers (Debian/Ubuntu)", + "package": {"name": ["libssl-dev", "openssl"], "state": "present"}, + "become": True, + "when": "ansible_facts['os_family'] == 'Debian'", + "ignore_errors": True, + }, + { + "name": "Install OpenSSL library and development headers (RedHat/CentOS/Fedora)", + "package": {"name": ["openssl", "openssl-devel"], "state": "present"}, + "become": True, + "when": "ansible_facts['os_family'] == 'RedHat' or ansible_facts['os_family'] == 'Suse' ", + "ignore_errors": True, + }, + { + "name": "Install OpenSSL library and development headers (Arch)", + "package": {"name": ["openssl"], "state": "present"}, + "become": True, + "when": "ansible_facts['os_family'] == 'Archlinux'", + "ignore_errors": True, + }, + { + "name": "Install OpenSSL library and development headers (Alpine)", + "package": {"name": ["openssl", "openssl-dev"], "state": "present"}, + "become": True, + "when": "ansible_facts['os_family'] == 'Alpine'", + "ignore_errors": True, + }, + { + "name": "Install OpenSSL library and development headers (FreeBSD)", + "package": {"name": ["openssl"], "state": "present"}, + "become": True, + "when": "ansible_facts['os_family'] == 'FreeBSD'", + "ignore_errors": True, + }, + ], } def __init__(self, parent_helper): From 43ac113d91cd1e06b26da5300006fc3ec50baa03 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 23 Jul 2025 13:47:38 -0400 Subject: [PATCH 2/2] add xz --- bbot/core/helpers/depsinstaller/installer.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bbot/core/helpers/depsinstaller/installer.py b/bbot/core/helpers/depsinstaller/installer.py index 35d9652552..f5aac02d03 100644 --- a/bbot/core/helpers/depsinstaller/installer.py +++ b/bbot/core/helpers/depsinstaller/installer.py @@ -32,6 +32,20 @@ class DepsInstaller: "bash": "bash", "which": "which", "tar": "tar", + "xz": [ + { + "name": "Install xz-utils (Debian)", + "package": {"name": ["xz-utils"], "state": "present"}, + "become": True, + "when": "ansible_facts['os_family'] == 'Debian'", + }, + { + "name": "Install xz (Non-Debian)", + "package": {"name": ["xz"], "state": "present"}, + "become": True, + "when": "ansible_facts['os_family'] != 'Debian'", + }, + ], # debian why are you like this "7z": [ {