wazuh / wazuh-agent

The Wazuh agent for endpoints.
https://wazuh.com
GNU Affero General Public License v3.0
33 stars 19 forks source link

Integrate external dependencies as vcpkg managed dependencies and remove vcpkg from submodule #173

Open mjcr99 opened 2 months ago

mjcr99 commented 2 months ago

Related Issues

Description

After the development carried on here https://github.com/wazuh/wazuh-agent/issues/65, many OS dependencies related to librpm are being added as seen in this workflow:

https://github.com/wazuh/wazuh-agent/blob/56a3571dc27119147a1d227d78cbba1367d6384a/.github/workflows/build_and_test_component.yml#L25-L32

This can be avoided by letting vcpkg manage these dependencies, this way the amount of external dependencies managed by the OS will be reduced.

In addition, we are going to adapt the build to be able to remove the vcpkg code as a submodule, as this recommendation was deprecated and there are other ways to adapt the project to avoid having vcpkg as a submodule.

Tasks

cborla commented 1 month ago

Note that some OSes already have libbz2-dev and others do not, being required for librpm.