- Update to version 1.1.12:
* docs: the servers are by comma instead of colon (#462) * Bump S6 overlay and fix env warnings (#472) * remove useless KEY_FOR_API * reuse port, and revert hbbr `-k` OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/rustdesk-server?expand=0&rev=7
This commit is contained in:
commit
30d690c74e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
20
_service
Normal file
20
_service
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/rustdesk/rustdesk-server.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">refs/tags/1.1.12</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="changesgenerate">disable</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual" />
|
||||||
|
<service name="tar" mode="buildtime" />
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
<service name="cargo_vendor" mode="manual">
|
||||||
|
<param name="srcdir">rustdesk-server</param>
|
||||||
|
<param name="update">true</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/rustdesk/rustdesk-server.git</param>
|
||||||
|
<param name="changesrevision">6f18a97644cc3176b923ce5a6aad88bec41d6046</param></service></servicedata>
|
13
hbbr.service
Normal file
13
hbbr.service
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=hbbr service for rustdesk-server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/hbbr
|
||||||
|
WorkingDirectory=/var/lib/rustdesk-server/
|
||||||
|
Restart=always
|
||||||
|
RestartSec=10
|
||||||
|
User=rustdesk
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
13
hbbs.service
Normal file
13
hbbs.service
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=hbbs service for rustdesk-server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/usr/bin/bash -c 'hbbs -r 127.0.0.1'
|
||||||
|
WorkingDirectory=/var/lib/rustdesk-server/
|
||||||
|
Restart=always
|
||||||
|
RestartSec=10
|
||||||
|
User=rustdesk
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
3
rustdesk-server-1.1.111.tar.gz
Normal file
3
rustdesk-server-1.1.111.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:36d9276ee3f18d7bfd68bbc767f4955d6ceab60a48ab22f68523f62c76a79b2c
|
||||||
|
size 632330
|
3
rustdesk-server-1.1.12.obscpio
Normal file
3
rustdesk-server-1.1.12.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:142d28e670731b030218226e8c177daec1226046bacb5b6e7e9490bc38760d9c
|
||||||
|
size 1363980
|
32
rustdesk-server.changes
Normal file
32
rustdesk-server.changes
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 07 09:02:03 UTC 2024 - rrahl0@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.1.12:
|
||||||
|
* docs: the servers are by comma instead of colon (#462)
|
||||||
|
* Bump S6 overlay and fix env warnings (#472)
|
||||||
|
* remove useless KEY_FOR_API
|
||||||
|
* reuse port, and revert hbbr `-k`
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 24 16:32:17 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
|
||||||
|
|
||||||
|
- update to 1.1.11-1:
|
||||||
|
* set reuse port to make restart friendly
|
||||||
|
* revert hbbr -k to not ruin back-compatibility
|
||||||
|
|
||||||
|
- update to 1.1.11:
|
||||||
|
* Change default value of -k option to -
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 20 15:53:19 UTC 2024 - Richard Rahl <rrahl0@proton.me>
|
||||||
|
|
||||||
|
- add minimum version 1.70 for rust
|
||||||
|
- update to 1.1.10-3
|
||||||
|
* fix trailing issue in private key file
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 10 12:15:56 UTC 2024 - Richard Rahl <rrahl0@proton.me>
|
||||||
|
|
||||||
|
- initial packaging of version 1.1.9
|
4
rustdesk-server.obsinfo
Normal file
4
rustdesk-server.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: rustdesk-server
|
||||||
|
version: 1.1.12
|
||||||
|
mtime: 1728289296
|
||||||
|
commit: 6f18a97644cc3176b923ce5a6aad88bec41d6046
|
130
rustdesk-server.spec
Normal file
130
rustdesk-server.spec
Normal file
@ -0,0 +1,130 @@
|
|||||||
|
#
|
||||||
|
# spec file for package rustdesk-server
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: rustdesk-server
|
||||||
|
Version: 1.1.12
|
||||||
|
Release: 0
|
||||||
|
Summary: RustDesk Server Program
|
||||||
|
License: AGPL-3.0-only
|
||||||
|
URL: https://github.com/rustdesk/rustdesk-server
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: vendor.tar.zst
|
||||||
|
Source2: rustdesk-server.sysusers
|
||||||
|
Source3: hbbr.service
|
||||||
|
Source4: hbbs.service
|
||||||
|
BuildRequires: cargo-packaging
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: rust >= 1.70
|
||||||
|
BuildRequires: sysuser-tools
|
||||||
|
Requires: %{name}-hbbr == %{version}
|
||||||
|
Requires: %{name}-hbbs == %{version}
|
||||||
|
Requires: %{name}-utils == %{version}
|
||||||
|
Requires: system-user-rustdesk == %{version}
|
||||||
|
|
||||||
|
%package -n system-user-rustdesk
|
||||||
|
Summary: System user for rustdesk-server
|
||||||
|
BuildArch: noarch
|
||||||
|
%{sysusers_requires}
|
||||||
|
|
||||||
|
%description -n system-user-rustdesk
|
||||||
|
%summary.
|
||||||
|
|
||||||
|
%package hbbr
|
||||||
|
Summary: Relay Server for Rustdesk
|
||||||
|
Requires: system-user-rustdesk == %{version}
|
||||||
|
|
||||||
|
%description hbbr
|
||||||
|
This package only contains the Relay Server part.
|
||||||
|
|
||||||
|
%package hbbs
|
||||||
|
Summary: Signal Server for Rustdesk
|
||||||
|
Requires: system-user-rustdesk == %{version}
|
||||||
|
|
||||||
|
%description hbbs
|
||||||
|
This package only contains the Signal Server part.
|
||||||
|
|
||||||
|
%package utils
|
||||||
|
Summary: Utilities for Rustdesk
|
||||||
|
|
||||||
|
%description utils
|
||||||
|
the utilities for Rustdesk Server
|
||||||
|
|
||||||
|
%description
|
||||||
|
Self-host your own RustDesk server.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -a1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%sysusers_generate_pre %{SOURCE2} system-user-rustdesk system-user-rustdesk.conf
|
||||||
|
%{cargo_build}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{cargo_install} --frozen
|
||||||
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/system-user-rustdesk.conf
|
||||||
|
install -D -m 0644 %{SOURCE3} %{buildroot}/%{_unitdir}/hbbr.service
|
||||||
|
install -D -m 0644 %{SOURCE4} %{buildroot}/%{_unitdir}/hbbs.service
|
||||||
|
mkdir -p %{buildroot}/var/lib/%{name}
|
||||||
|
|
||||||
|
%pre -n system-user-rustdesk -f system-user-rustdesk.pre
|
||||||
|
|
||||||
|
%pre hbbr
|
||||||
|
%service_add_pre hbbr.service
|
||||||
|
|
||||||
|
%pre hbbs
|
||||||
|
%service_add_pre hbbs.service
|
||||||
|
|
||||||
|
%post hbbr
|
||||||
|
%service_add_post hbbr.service
|
||||||
|
|
||||||
|
%post hbbs
|
||||||
|
%service_add_post hbbs.service
|
||||||
|
|
||||||
|
%preun hbbr
|
||||||
|
%systemd_preun hbbr.service
|
||||||
|
|
||||||
|
%preun hbbs
|
||||||
|
%systemd_preun hbbs.service
|
||||||
|
|
||||||
|
%postun hbbr
|
||||||
|
%service_del_postun_with_restart hbbr.service
|
||||||
|
|
||||||
|
%postun hbbs
|
||||||
|
%service_del_postun_with_restart hbbs.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md README-DE.md README-NL.md
|
||||||
|
|
||||||
|
%files -n system-user-rustdesk
|
||||||
|
%{_sysusersdir}/system-user-rustdesk.conf
|
||||||
|
%defattr(644,rustdesk,rustdesk,775)
|
||||||
|
%{_sharedstatedir}/%{name}
|
||||||
|
|
||||||
|
%files hbbr
|
||||||
|
%{_bindir}/hbbr
|
||||||
|
%{_unitdir}/hbbr.service
|
||||||
|
|
||||||
|
%files hbbs
|
||||||
|
%{_bindir}/hbbs
|
||||||
|
%{_unitdir}/hbbs.service
|
||||||
|
|
||||||
|
%files utils
|
||||||
|
%{_bindir}/rustdesk-utils
|
||||||
|
|
||||||
|
%changelog
|
4
rustdesk-server.sysusers
Normal file
4
rustdesk-server.sysusers
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#Type Name ID GECOS Home directory Shell
|
||||||
|
u rustdesk - "user for rustdesk-server" /var/lib/rustdesk-server
|
||||||
|
g rustdesk -
|
||||||
|
m rustdesk rustdesk
|
3
vendor.tar.zst
Normal file
3
vendor.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2f49e9e065caab769ec6b97dab0925d4bfe03b401b69146d4f0e6832fe16b7ea
|
||||||
|
size 43421996
|
Loading…
Reference in New Issue
Block a user