aboutsummaryrefslogtreecommitdiff
path: root/science/hdf5/ssh:/anongit@git.FreeBSD.org/ports.git
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@freebsd.org>2025-12-31 08:26:36 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2025-12-31 08:26:36 +0000
commitff957155fa2a7ee01ceeec45b1fb75d80f856c58 (patch)
tree9c90df8e54ca101ad95db2b961cdad3f62ec1966 /science/hdf5/ssh:/anongit@git.FreeBSD.org/ports.git
parentc86d3fc116b3437ff3351e8e886926175aaec2b1 (diff)
security/wazuh-agent: Reimplement getPackages() using SQLiteHEADmain
- getPackages() is a function used to get a set of information about the packages installed on the system where the manager and agent are installed. To obtain this information, pkg-query(8) was used; however, prior to this commit, it was assumed that pkg(8) was installed on the system, which could be wrong, especially on systems such as jails, where pkg(8) is normally used from the host. With this change, we leverage SQLite to read the pkg(8) database and obtain information about the packages, which is also much more efficient than executing a command. This also fixes the segmentation fault in wazuh-modulesd when this condition occurs. - Bump PORTREVISION
Diffstat (limited to 'science/hdf5/ssh:/anongit@git.FreeBSD.org/ports.git')
0 files changed, 0 insertions, 0 deletions