FreeBSD Ports

net-mgmt/semaphore 2.19.16_2

Open Source alternative to Ansible Tower

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
f84baf7c53
License
MIT
Categories
net-mgmt
Package size
12467.2 KiB, 47531.3 KiB installed

Description

Open Source alternative to Ansible Tower, Semaphore is a modern UI for Ansible.

It lets you easily run Ansible playbooks, get notifications about fails, control access to deployment system.

Install

As a binary package — by origin, or by package name:

pkg install net-mgmt/semaphore
pkg install semaphore

From the ports tree:

cd /usr/ports/net-mgmt/semaphore/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	semaphore>0:net-mgmt/semaphore

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.19.7_42.19.16-2.9.2_15-
FreeBSD:14:quarterly2.19.7_32.19.7_3n/a2.9.2_13-
FreeBSD:15:latest2.19.162.19.16n/a-2.9.2_15
FreeBSD:15:quarterly2.19.7_32.19.7_3n/an/an/a
FreeBSD:16:latest2.19.7_22.19.16n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

The full lists below include those, and their dependencies in turn.

All build dependencies 1
All run dependencies 33

No port depends on this one.

Configuration

No options to configure.

USES
go:modules python:env
Service scripts
semaphore

Message after installing

Semaphore 2.19 dropped BoltDB support; the supported dialects are now mysql,
postgres and sqlite.  If your configuration still contains "dialect": "bolt",
the service will not start.

Do NOT simply change the dialect: semaphore would create an empty database
and all projects, templates, access keys and the task history would appear to
be gone.  The data is still in the BoltDB file and can be imported, but the
import tool only exists up to Semaphore 2.18:

  service semaphore stop
  cp /var/db/semaphore/database.boltdb /var/db/semaphore/database.boltdb.bak

  fetch -o /tmp/sem218.tar.gz https://github.com/semaphoreui/semaphore/releases/download/v2.18.29/semaphore_community_2.18.29_freebsd_amd64.tar.gz
  tar -xzf /tmp/sem218.tar.gz -C /tmp semaphore

Then set "dialect" to sqlite (or mysql/postgres) in
/usr/local/etc/semaphore/semaphore_config.json; a minimal example is installed
as /usr/local/etc/semaphore/config.json.sample.  The BoltDB file is only read
by the import, not modified:

  /tmp/semaphore migrate --from-boltdb /var/db/semaphore/database.boltdb --config /usr/local/etc/semaphore/semaphore_config.json
  semaphore migrate --config /usr/local/etc/semaphore/semaphore_config.json
  service semaphore start
  rm /tmp/semaphore

This update also restores the bundled web interface; earlier versions of the
port installed the API server only, so every UI route returned 404.

See the ports UPDATING entry of 20260826 for the same instructions, and
https://semaphoreui.com/docs/admin-guide/cli/migrations for the upstream
documentation of the import.

Files

pkg-plist 3
  • bin/semaphore
  • @sample(,semaphore,0640) etc/semaphore/config.json.sample
  • @dir(semaphore,semaphore,0750) /var/db/semaphore
distinfo 71
FileSizeSHA256
semaphore-webui-2.19.16.tar.gz8.381099e+06f6561da85cde54000c3d0847271fb70e1f0650ef2025da9b4021c6fd7ce9a7ff
semaphore-provendor-2.19.16.tar.gz839242e7390e9afd2fd14de86f62eb6a52235f5dd0c3449a272c67f1e3dc6562c5dc
semaphoreui-semaphore-v2.19.16_GH0.tar.gz4.798384e+06718ab8143c5747de476bb2e7a1a20d0d0abbf478b122f9cbe15ebb9806c115a9
Azure-go-ntlmssp-v0.1.1_GH0.tar.gz322699c4d159972a7bde756522e008484e8aa352007151d19baea9db4598f95be628c
FiloSottile-edwards25519-v1.2.0_GH0.tar.gz46969f77655cabfb1b5e599f32fc81459540c20743613c687961a173efe4e9f6c917f
Masterminds-squirrel-v1.5.4_GH0.tar.gz31412a2683a1ad3166987f6d67906d155ad53135e3c72f52ade0fc532397545092a3a
Microsoft-go-winio-v0.6.2_GH0.tar.gz1141450bf0aedbb0a38c494fda60804679e270fe98ca05dc9c2659584df1e3e1e0bd17
ProtonMail-go-crypto-v1.4.1_GH0.tar.gz51482131c4f92d34e4c92632e97a4fd69a4334b41fb44247c782c78f285f9ce00a84db
boombuler-barcode-v1.1.0_GH0.tar.gz64764c4f1730194afc9ebe2636b3a069c6795b863619003ea6394c6b1978af9ce6326
cloudflare-circl-v1.6.3_GH0.tar.gz4.8312379e+071bf5a8618060d189780981675ef41fadf80da00069e80fa85c79554ed339d955
coreos-go-oidc-v3.19.0_GH0.tar.gz42702db77bcac6c0836575fc11ca5a2e2bcd323230e7833c07ad92527fc63f8123a85
creack-pty-v1.1.24_GH0.tar.gz2108576c93cd32c148c6ab86c7f8ddfeb000083ebf4852af62731e3f1aecb7c22c782
cyphar-filepath-securejoin-v0.6.1_GH0.tar.gz879893afa713f591b60e27e27e053e4ceba5c78657fbcf7bd1afc33f54436409a0f2e
davecgh-go-spew-d8f796af33cc_GH0.tar.gz4218321505c2cb5cb4e2b8ae3007f3f6db6edb9f1c28511f98975b6b0dedf0e3fa24e
dustin-go-humanize-v1.0.1_GH0.tar.gz17692ac3a0d8d0eef07c75d12eddce775a8e8306dfb9783a45312597c34ff643793d8
emirpasic-gods-v1.18.1_GH0.tar.gz103448741fb139fc74b20c0e5eae63a0a5ee0646019953b15955ac4505f1dd5dded104
felixge-httpsnoop-v1.1.0_GH0.tar.gz50220767c50ae2aed966409a2f6bb1db15ee4ab5938345a5170c6d783b164cdf62503
go-asn1-ber-asn1-ber-29230038a667_GH0.tar.gz19462a821c2648e104394e187654c4ed5e476e7d350a0ef98a5cc1510daad73914f05
go-git-gcfg-3a3c6141e376_GH0.tar.gz292558886a299e568a466bcdb8b9a172a9a3c62c1c8e06669b6f1136601e70dde1e5c
go-git-go-billy-v5.9.0_GH0.tar.gz50511461cf078556b9cf73efb96e99a94c474b82f726a5c160b6d700c43b561828b09
Master sites 1
  • https://github.com/joneum/FreeBSD-Semaphore/releases/download/semaphore-2.19.16/:webui

Commit history 13

DateCommitCreditsLog message
f84baf7c53 Jochen Neumeister net-mgmt/semaphore: run as a dedicated user
Semaphore runs Ansible playbooks and holds the SSH keys for the hosts it manages, so it should not run as root. Reserve uid/gid 524 and start the daemon with daemon(8) -u; semaphore_uname in rc.conf overrides the user. The data directory changes owner on upgrade, the files in it do not, so the pkg-message asks for a one-time chown. PR: 298817 Sponsored by: Netzkommune GmbH
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
09e2d5c7e4 Jochen Neumeister net-mgmt/semaphore: Update to 2.19.16, take maintainership
Bug fixes only since 2.19.7, among them a fix for the SQLite migration. Runners can now be given a check interval instead of polling the server every second. Release notes: https://github.com/semaphoreui/semaphore/releases/tag/v2.19.16 Sponsored by: Netzkommune GmbH
13f10bafc3 Jochen Neumeister net-mgmt/semaphore: reset maintainer
egypcio@ has not responded to any port issue for over three months. His last ports commit is from 2026-03-10, and 22 bugs assigned to him are open, the oldest from 2024-02-25. Three PRs for this port went without a maintainer reply: 297378, 298453 and 298817. Sponsored by: Netzkommune GmbH
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports

The latest 5 of 13 in the history this site was built from.