[PR #48] [MERGED] feat: add FreeBSD in the automated tests #193

Closed
opened 2026-05-07 00:19:45 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/ovh/the-bastion/pull/48
Author: @speed47
Created: 11/17/2020
Status: Merged
Merged: 11/17/2020
Merged by: @speed47

Base: masterHead: freebsd


📝 Commits (10+)

  • 140da2f chore: ghactions: change order of tests.yml
  • 4105c10 fix: freebsd: replace 'root' by '0' so that it works even if uid0's name is not root
  • 09bd6df fix: freebsd: add md5sum_compat()
  • 234dd07 feat: freebsd: add specific FreeBSD ssh config templates
  • 9f1a8b9 enh: install: better handling of non-Linux standard paths
  • 7ee203a enh: install-ttyrec.h: error msg for non-supported OSes
  • ee81bd4 enh: packages-check.sh: better handling of FreeBSD packagees
  • 60cea89 enh: osh.pl: replace harcoded selfMFASetupPassword logic by configuration
  • 7085b2d fix: osh.pl: fix pamtester use under FreeBSD
  • 0b02009 enh: sudoers: support per-OS templates, add one for FreeBSD

📊 Changes

44 files changed (+619 additions, -235 deletions)

View changed files

.github/workflows/freebsd.yml (+37 -0)
📝 .github/workflows/tests.yml (+11 -11)
📝 bin/admin/check-consistency.pl (+9 -6)
📝 bin/admin/install (+44 -33)
📝 bin/admin/packages-check.sh (+11 -1)
📝 bin/helper/osh-accountAddGroupServer (+1 -1)
📝 bin/helper/osh-accountCreate (+1 -1)
📝 bin/helper/osh-accountDelete (+1 -1)
📝 bin/helper/osh-accountGeneratePassword (+1 -1)
📝 bin/helper/osh-accountGetPasswordInfo (+1 -1)
📝 bin/helper/osh-accountListEgressKeys (+1 -1)
📝 bin/helper/osh-accountListIngressKeys (+1 -1)
📝 bin/helper/osh-accountListPasswords (+1 -1)
📝 bin/helper/osh-accountMFAResetPassword (+1 -1)
📝 bin/helper/osh-accountMFAResetTOTP (+1 -1)
📝 bin/helper/osh-accountModify (+1 -1)
📝 bin/helper/osh-accountModifyCommand (+1 -1)
📝 bin/helper/osh-accountModifyPersonalAccess (+4 -4)
📝 bin/helper/osh-accountPIV (+1 -1)
📝 bin/helper/osh-accountUnexpire (+1 -1)

...and 24 more files

📄 Description

and a couple changes here and there to be more FreeBSD-friendly


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ovh/the-bastion/pull/48 **Author:** [@speed47](https://github.com/speed47) **Created:** 11/17/2020 **Status:** ✅ Merged **Merged:** 11/17/2020 **Merged by:** [@speed47](https://github.com/speed47) **Base:** `master` ← **Head:** `freebsd` --- ### 📝 Commits (10+) - [`140da2f`](https://github.com/ovh/the-bastion/commit/140da2f1786428a775cd2ae090de9b47c3b6db9e) chore: ghactions: change order of tests.yml - [`4105c10`](https://github.com/ovh/the-bastion/commit/4105c10193acb12484b28c572f982e623b8eea3b) fix: freebsd: replace 'root' by '0' so that it works even if uid0's name is not root - [`09bd6df`](https://github.com/ovh/the-bastion/commit/09bd6dffd92b0e9735e4885882fa411348b4d01d) fix: freebsd: add md5sum_compat() - [`234dd07`](https://github.com/ovh/the-bastion/commit/234dd0768a7c3319421abc46b7c162dc578599a6) feat: freebsd: add specific FreeBSD ssh config templates - [`9f1a8b9`](https://github.com/ovh/the-bastion/commit/9f1a8b925e0ca10d111d3f54e1b763c46c8a79ad) enh: install: better handling of non-Linux standard paths - [`7ee203a`](https://github.com/ovh/the-bastion/commit/7ee203aa717bb2fa0f2f050e7beff17aca15fcaa) enh: install-ttyrec.h: error msg for non-supported OSes - [`ee81bd4`](https://github.com/ovh/the-bastion/commit/ee81bd407091bf9df439f32ca9ee9e0d3515c04f) enh: packages-check.sh: better handling of FreeBSD packagees - [`60cea89`](https://github.com/ovh/the-bastion/commit/60cea897f8b7c3f5d476995e0e981c2211b63c35) enh: osh.pl: replace harcoded selfMFASetupPassword logic by configuration - [`7085b2d`](https://github.com/ovh/the-bastion/commit/7085b2d09172e460ab9efad7789a1027d024aa95) fix: osh.pl: fix pamtester use under FreeBSD - [`0b02009`](https://github.com/ovh/the-bastion/commit/0b0200951e4fa3c2a53bd21f05162832a533204c) enh: sudoers: support per-OS templates, add one for FreeBSD ### 📊 Changes **44 files changed** (+619 additions, -235 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/freebsd.yml` (+37 -0) 📝 `.github/workflows/tests.yml` (+11 -11) 📝 `bin/admin/check-consistency.pl` (+9 -6) 📝 `bin/admin/install` (+44 -33) 📝 `bin/admin/packages-check.sh` (+11 -1) 📝 `bin/helper/osh-accountAddGroupServer` (+1 -1) 📝 `bin/helper/osh-accountCreate` (+1 -1) 📝 `bin/helper/osh-accountDelete` (+1 -1) 📝 `bin/helper/osh-accountGeneratePassword` (+1 -1) 📝 `bin/helper/osh-accountGetPasswordInfo` (+1 -1) 📝 `bin/helper/osh-accountListEgressKeys` (+1 -1) 📝 `bin/helper/osh-accountListIngressKeys` (+1 -1) 📝 `bin/helper/osh-accountListPasswords` (+1 -1) 📝 `bin/helper/osh-accountMFAResetPassword` (+1 -1) 📝 `bin/helper/osh-accountMFAResetTOTP` (+1 -1) 📝 `bin/helper/osh-accountModify` (+1 -1) 📝 `bin/helper/osh-accountModifyCommand` (+1 -1) 📝 `bin/helper/osh-accountModifyPersonalAccess` (+4 -4) 📝 `bin/helper/osh-accountPIV` (+1 -1) 📝 `bin/helper/osh-accountUnexpire` (+1 -1) _...and 24 more files_ </details> ### 📄 Description and a couple changes here and there to be more FreeBSD-friendly --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:19:45 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#193
No description provided.