diff options
Diffstat (limited to 'tools/ci-install.sh')
-rwxr-xr-x | tools/ci-install.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/ci-install.sh b/tools/ci-install.sh index 790e7a93..c507ea3c 100755 --- a/tools/ci-install.sh +++ b/tools/ci-install.sh @@ -305,6 +305,28 @@ case "$ci_distro" in chmod 0440 /etc/sudoers.d/nopasswd fi ;; + + (freebsd*) + $sudo pkg update + $sudo pkg upgrade -y + packages=( + autoconf + autoconf-archive + automake + bash + cmake + docbook-xml + docbook-xsl + expat + glib + git + libtool + libX11 + libxslt + xmlto + ) + $sudo pkg install -y "${packages[@]}" + ;; esac # @@ -324,6 +346,14 @@ case "$ci_distro" in $sudo getent group bin >/dev/null || /usr/sbin/groupadd -r bin ;; + (freebsd*) + + # Make sure we have a messagebus user, even if the dbus package + # isn't installed (using the same UID/GID as the dbus package). + pw groupshow messagebus || $sudo pw groupadd -n messagebus -g 556 + pw usershow messagebus || $sudo pw useradd -n messagebus -u 556 -c "D-BUS Daemon User" -d /nonexistent -s /usr/sbin/nologin -g 556 + ;; + (*) echo "Don't know how to set up ${ci_distro}" >&2 exit 1 |