Thanks!
FWIW, I recommend testing new ports in /usr/ports/mystuff, i.e. in this case in
/usr/ports/mystuff/wayland/wl-clipboard/ and you can install the result with
"make install", which will handle doas'ing the privileged bits of installing the
package for you.
On 3/1/26 8:00 AM, [email protected] wrote:
På lørdag 28. februar 2026 kl. 18:56, skrev Volker Schlecht
<[email protected]>:
Description
wl-clipboard provides two command-line Wayland clipboard utilities,
wl-copy and wl-paste, that let you easily copy data between the
clipboard and Unix pipes, sockets, files and so on.
WWW: https://github.com/bugaevc/wl-clipboard
Maintainer
The OpenBSD ports mailing-list
I'm intentionally pulling in the latest commit, because it contains a
fix for a buffer overflow and the option to mark clipboard contents as
sensitive (i.e. for password managers). Builds and works fine on amd64. ok?
Tested and built on current/amd64 with niri using foot.
Privsep:
cp -Rv /tmp/wl-clipboard /usr/ports/wayland/
cd /usr/ports/wayland/wl-clipboard/ && make clean=all clean && make test
port-lib-depends-check package clean
Root:
TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all pkg_add -Dsnap -Dinstalled -r
wl-clipboard-2.2.1pl20251124.tgz
I don't see any formating and syntax problems. Didn't have
regression tests. port-lib-depends-check was silent too.
Test example/output:
$ wl-copy I am a silly goose.
$ wl-paste
I am a silly goose.
--
The text was also paste-ble with ctrl+v into kate and firefox wayland
native and also into mpv's menu and arianna in xwayland-satallite.
I say this looks fine.
Hope this helps! May you all have a good one.
--
yaydn