notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2026Q1
swaylock Screen locker for Wayland
1.8.5 x11 on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.8.5Version of this port present on the latest quarterly branch.
Maintainer: jbeich@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-03-09 19:09:07
Last Update: 2026-03-09 19:07:57
Commit Hash: efcf86e
Also Listed In: wayland
License: MIT
WWW:
https://github.com/swaywm/swaylock
Description:
swaylock is a screen locking utility for Wayland compositors. It is compatible with any Wayland compositor which implements the following Wayland protocols: - wlr-layer-shell - wlr-input-inhibitor - xdg-output - xdg-shell
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. bin/swaylock
  2. etc/pam.d/swaylock
  3. share/bash-completion/completions/swaylock
  4. share/fish/vendor_completions.d/swaylock.fish
  5. share/zsh/site-functions/_swaylock
  6. share/man/man1/swaylock.1.gz
  7. /usr/local/share/licenses/swaylock-1.8.5/catalog.mk
  8. /usr/local/share/licenses/swaylock-1.8.5/LICENSE
  9. /usr/local/share/licenses/swaylock-1.8.5/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • swaylock>0:x11/swaylock
Conflicts:
CONFLICTS_INSTALL:
  • swaylock-*
To install the port:
cd /usr/ports/x11/swaylock/ && make install clean
To add the package, run one of these commands:
  • pkg install x11/swaylock
  • pkg install swaylock
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: swaylock
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1773075643 SHA256 (swaywm-swaylock-v1.8.5_GH0.tar.gz) = a13f9de319f3a498b89a027fd46a93310505615956dfb4b40b5cfdb986fb6b58 SIZE (swaywm-swaylock-v1.8.5_GH0.tar.gz) = 34125

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Slave ports:
  1. x11/swaylock-effects
  2. x11/swaylock-plugin
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. wayland-protocols>=1.25 : graphics/wayland-protocols
  2. scdoc : textproc/scdoc
  3. meson : devel/meson
  4. ninja : devel/ninja
  5. pkgconf>=1.3.0_1 : devel/pkgconf
Runtime dependencies:
  1. unix-selfauth-helper>0 : security/unix-selfauth-helper
Library dependencies:
  1. libwayland-client.so : graphics/wayland
  2. libxkbcommon.so : x11/libxkbcommon
  3. libcairo.so : graphics/cairo
  4. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  5. libglib-2.0.so : devel/glib20
  6. libintl.so : devel/gettext-runtime
  7. libharfbuzz.so : print/harfbuzz
  8. libpango-1.0.so : x11-toolkits/pango
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for swaylock-1.8.5: MANPAGES=on: Build and/or install manual pages PIXBUF=on: GDK-PixBuf library support ===> Use 'make config' to modify these settings
Options name:
x11_swaylock
USES:
compiler:c11 cpe gnome meson pkgconfig
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/swaywm/swaylock/tar.gz/v1.8.5?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.8.5
09 Mar 2026 19:07:57
commit hash: efcf86e0920e2d4d772c8b482b7f2e950b0ec1a9commit hash: efcf86e0920e2d4d772c8b482b7f2e950b0ec1a9commit hash: efcf86e0920e2d4d772c8b482b7f2e950b0ec1a9commit hash: efcf86e0920e2d4d772c8b482b7f2e950b0ec1a9 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
x11/swaylock: update to 1.8.5

Changes:	https://github.com/swaywm/swaylock/releases/tag/v1.8.5
Reported by:	GitHub (watch releases)

(cherry picked from commit 718bfeb3381eb5c3b955b587a07c952578a1f9c5)

Number of commits found: 1