Default location for runtime data files has been changed from
/var/run/rustdesk-server to /var/db/rustedesk-server.
If you want to preserve the old data, please move it over.
The old /var/run/rustdesk-server should be removed afterwards.
If upgrading from < 1.1.16_4:
The server does access data in $HOME, but the port was distributed
without an home set for the default user.
Please edit your passwd file and verify the rustdesk user has home
directory set to "/var/db/rustdesk-server"
Reason:
Rustdesk-server requires the HOME environment variable to point to its
DB directory to store configuration.
In port versions lower than 1.1.16_4 the user created by the port was
missing such home directory setting.
If you install the port with no existing rustdesk user, now the user
will be created with the appropriate setting.
If you are updating or installing on a system where the rustdesk user
already exists, please modify your passwd file and add
"/var/db/rustdesk-server" as the home directory for the user.
net/rustdesk-server: Fix port user definition
The rustdesk software requires a home directory pointing to its DB
directory.
- Fix the user in UIDS
- Add update message to port
- Bump portrevision to force creating updated package
- Add warning in UPDATING
Reported by: Glenn Gregorec <hgic@geekazoid.com> (via email)
net/rustdesk-server: Add missing dependency zstd
Add the missing libzstd to LIB_DEPENDS: upstream requires zstd,
which was only pulled in indirectly through lang/rust.
PR: 300523
Approved by: no maintainer
Approved by: osa, vvd (mentors, implicit)
MFH: 2026Q4
net/rustdesk-server: Update to 1.1.15
- Patch version in Cargo.toml file, distribution has old version number
- Update dependencies in Cargo.lock, distribution is missing updates
*/*: remove STRIP_CMD calls in rust based ports
This is not needed after bc4fedc1fec0d359365c04d43be9e32bf101a50e
PR: 246993
Differential Revision: https://reviews.freebsd.org/D46503
net/rustdesk-server: Correct location of runtime database files
Fix rustdesk-server startup scripts to use /var/db/rustdesk-server
by default to store its files. These files need to be preserved
across reboots, so /var/run is the wrong place.
Added pkg-message to inform users.
While here, fix some issues with comments referencing a different
software and update the declared defaults.
Reported by: Victor Tschetter <tschetter.victor@gmail.com>
https://github.com/rustdesk/rustdesk-server/issues/288
MFH: 2023Q3
net/rustdesk-server: Update patch
Modify patch, needed to avoid crashes on startup, to improved one,
discussed in upstream PR.
Adding the "dont_minimize_extra_stacks" option to the flexi_logger
avoids the stack overflow causing the startup crashes.
Obtained
from: https://github.com/rustdesk/rustdesk-server/pull/232#issuecomment-1491347232