x11-servers/xwayland 24.1.14,1 MidnightBSD
X11 server as Wayland client
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
242e3d8f94- License
- mit
- Categories
- x11-servers
Description
Wayland is a complete window system in itself, but even so, if we're migrating away from X, it makes sense to have a good backwards compatibility story. With a few changes, the Xorg server can be modified to use wayland input devices for input and forward either the root window or individual top-level windows as wayland surfaces. The server still runs the same 2D driver with the same acceleration code as it does when it runs natively. The main difference is that wayland handles presentation of the windows instead of KMS.
In the other systems
The newest version among them is 24.1.14, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | x11-servers/xwayland | 24.1.14,1 newest | no data | - | [email protected] | 2026-10-08 |
| FreeBSD | x11-servers/xwayland | 24.1.14,1 newest | none known | - | [email protected] | 2026-10-08 |
| OpenBSD | wayland/xwayland by name | 24.1.14 newest | no data | - | [email protected] | 2026-10-08 |
| DragonFly | x11-servers/xwayland | 24.1.6,1 behind since 2026-07-08 | 7 known | - | [email protected] | - |
| HardenedBSD | x11-servers/xwayland | 24.1.13,1 behind since 2026-10-08 | no data | - | [email protected] | - |
| GhostBSD | x11-servers/xwayland | 24.1.13,1 behind since 2026-10-08 | no data | - | [email protected] | - |
Version history 2
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
mport install xwayland
From mports:
cd /usr/mports/x11-servers/xwayland && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= xwayland>0:x11-servers/xwayland
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 3
evdev-proto>0: devel/evdev-proto${LOCALBASE}/include/GL/internal/dri_interface.h: graphics/mesa-driwayland-protocols>=1.30: graphics/wayland-protocols
Library 4
libdrm.so: graphics/libdrmlibepoxy.so: graphics/libepoxylibwayland-client.so: graphics/waylandlibxcvt.so: x11/libxcvt
Runtime 3
xkbcomp: x11/xkbcompxkeyboard-config>0: x11/xkeyboard-configgcc14: lang/gcc14
Build dependencies 7
Run dependencies 7
Required by 2
Configuration
Options name: x11-servers_xwayland
| Option | Default | Description |
|---|---|---|
| CSD | on | Client-side decorations via libdecor |
| EI | on | Emulated input via libei |
- USES
- compiler:c11 cpe gl meson pathfix pkgconfig xorg tar:xz
- Service scripts
- none
- Conflicts with
- xwayland-devel
Files
Manual pages 1
- Xwayland(1)
pkg-plist 4
- bin/Xwayland
- libdata/pkgconfig/xwayland.pc
- share/applications/org.freedesktop.Xwayland.desktop
- share/man/man1/Xwayland.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| xwayland-24.1.14.tar.xz | 1.307896e+06 | 4eb6b98d678299a4b96138d886345b294130695760345ef84596225a8224078a |
Master sites 1
- XORG/individual/xserver
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
242e3d8f94 |
Lucas Holt | x11-servers/xwayland: update to 24.1.14 for security fixes (#1760) ## Summary
- Update Xwayland from 24.1.13_1,1 to 24.1.14,1 and refresh the upstream
distfile checksum.
- Include fixes for CVE-2026-88812, CVE-2026-93515 through
CVE-2026-93524, and CVE-2026-93536. CVE-2026-93522 affects Xwayland
specifically.
- Correct existing Makefile whitespace flagged by portlint.
## Validation
- `bmake makesum`, `bmake patch`, `bmake`, `bmake fake`, and `bmake
package`: passed.
- `bmake test`: no tests run (`NO_TEST=yes` in the port).
- `portlint -C`: 0 fatal errors, 3 warnings (desktop-file conditional
check, USES ordering, and maintainer mode).
- `git diff --check`: passed.
- Built package: `/tmp/xwayland-24.1.14,1.mport`.
Upstream release:
https://www.mail-archive.com/[email protected]/msg08353.html
Security advisory:
… |
|
4d717427ab |
Lucas Holt | x11-servers/xwayland: add CPE identifier so mport audit can see it mport audit matches installed packages against sec.midnightbsd.org by CPE
(api/cpe/partial-match). The package was shipping an empty cpe field, so audit
could not report Xwayland vulnerabilities at any version.
NVD tracks Xwayland as cpe:2.3:a:x.org:xwayland, with 16 CVEs recorded
including CVE-2023-6816, CVE-2024-0229 and CVE-2024-0409. The package now
carries cpe:2.3:a:x.org:xwayland:24.1.13:::::midnightbsd4:x64:1.
Found by sweeping the x11 categories for ports without a CPE and checking each
candidate identifier against the audit API. Of 833 such ports only six matched
anything, and five of those were name collisions with unrelated software
(x11/bitmap vs the wernsey/bitmap image library, x11/xcb vs the Rust xcb
… |
|
de6fd85a0d |
Lucas Holt | x11-servers/xwayland: update to 24.1.13 (security) (#625) Updates `x11-servers/xwayland` from 24.1.12 to 24.1.13 to address the
X.Org security advisory of 2026-07-08.
## CVEs fixed
- **CVE-2026-55999** — `glamor_font_get()` font atlas heap buffer
overflow (per-glyph metrics can exceed maxbounds-derived slot). Fix adds
a per-glyph bounds check in `glamor/glamor_font.c`.
- **CVE-2026-56000** — GLX `contextTags` use-after-free in
`CommonMakeCurrent()`. Fix frees the old tag before the realloc that
could move the array (`glx/vndcmds.c`).
Both fixes verified present in the 24.1.13 source.
## Changes
- `PORTVERSION` 24.1.12 → 24.1.13
- Regenerated `distinfo`
## Notes
- Existing MidnightBSD patch still applies cleanly.
- Built and staged (`bmake` + `fake`) on amd64; plist unchanged.
… |