{"id":24422471,"url":"https://github.com/alonsobsd/wazuh-agent-openbsd","last_synced_at":"2026-05-18T22:35:04.353Z","repository":{"id":267065467,"uuid":"900127698","full_name":"alonsobsd/wazuh-agent-openbsd","owner":"alonsobsd","description":"Wazuh agent port for OpenBSD","archived":false,"fork":false,"pushed_at":"2025-01-19T07:33:33.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-19T08:26:31.150Z","etag":null,"topics":["agent","openbsd","wazuh"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alonsobsd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-07T23:45:41.000Z","updated_at":"2025-01-19T07:33:35.000Z","dependencies_parsed_at":"2024-12-08T04:24:07.707Z","dependency_job_id":"a015316b-98aa-4b4d-83f5-c251426c3882","html_url":"https://github.com/alonsobsd/wazuh-agent-openbsd","commit_stats":null,"previous_names":["alonsobsd/wazuh-agent-openbsd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alonsobsd%2Fwazuh-agent-openbsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alonsobsd%2Fwazuh-agent-openbsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alonsobsd%2Fwazuh-agent-openbsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alonsobsd%2Fwazuh-agent-openbsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alonsobsd","download_url":"https://codeload.github.com/alonsobsd/wazuh-agent-openbsd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243419582,"owners_count":20287913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","openbsd","wazuh"],"created_at":"2025-01-20T10:14:18.643Z","updated_at":"2025-12-29T22:47:10.411Z","avatar_url":"https://github.com/alonsobsd.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wazuh-agent-openbsd\nThis is a initial try to port Wazuh agent to OpenBSD. It needs testing because it could not work correctly yet. I hope it helps another users or developers interested on test wazuh on OpenBSD.\n\n![image](https://github.com/user-attachments/assets/c36b7d10-aec8-4a33-bd5a-bac60e4cb6f6)\n\n## How can test it?\n\n### Pre-installation tasks\n\nInstall wazuh-agent dependencies from packages\n```sh\npkg_add cmake gmake libinotify sqlite3 nghttp2\n```\nExtract ports tree to **/usr** directory\n```sh\ncd /usr/ports \u0026\u0026 ftp https://cdn.openbsd.org/pub/OpenBSD/snapshots/ports.tar.gz\n```\n```sh\ncd /usr/ports \u0026\u0026 tar xvfz ports.tar.gz \u0026\u0026 rm ports.tar.gz\n```\nCopy **wazuh-agent** directory to **/usr/ports/security**\n\n```sh\ncd ~/ \u0026\u0026 ftp https://github.com/alonsobsd/wazuh-agent-openbsd/archive/refs/heads/main.tar.gz\n```\n```sh\ncd ~/ \u0026\u0026 tar main.tar.gz \u0026\u0026 cp -rf ~/wazuh-agent-openbsd/wazuh-agent /usr/ports/security/\n```\n\nEdit **user.list** from ports tree\n\n```sh\nvi /usr/ports/infrastructure/db/user.list\n```\nAdd the following entry to end of file\n\n```sh\n900 _wazuh\t\t_wazuh\t\tsecurity/wazuh-agent\n```\nIf an entry with id 900 exists, use other number (901, 902, etc). Don't forget change the user id into **/usr/ports/security/wazuh-agent/pkg/PLIST**\n\n```sh\n@newgroup _wazuh:900\n@newuser _wazuh:900:_wazuh::Wazuh Owner:/var/ossec:/sbin/nologin\n```\nFinally, add inotify library path to shared library cache\n\n```sh\nvi /etc/rc.conf.local\n```\n```sh\nshlib_dirs=\"/usr/local/lib/inotify\"\n```\n\n### Compiling and installing\n\n```sh\ncd /usr/ports/security/wazuh-agent \u0026\u0026 make install clean\n```\n### Notes\n\nIf you want change default ports paths to test it from another ports directory, you can set the following:\n\n```sh\nvi /etc/mk.conf\n```\n```sh\nPORTSDIR=/home/user/ports\nWRKOBJDIR=/home/user/ports/obj/ports\nDISTDIR=/home/user/ports/distfiles\nPACKAGE_REPOSITORY=/home/user/ports/packages\n```\n**Wazuh agent version: 4.10.1**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falonsobsd%2Fwazuh-agent-openbsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falonsobsd%2Fwazuh-agent-openbsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falonsobsd%2Fwazuh-agent-openbsd/lists"}