|
@@ -8,8 +8,8 @@
SCM: https://github.com/mobile-shell/mosh
Sources:
- https://github.com/mobile-shell/mosh/releases/download/v%{version}/%{name}-%{version}.tar.gz
+ - 99-mosh-firewall.conf
Description: |
-
Mosh is a remote terminal application that supports:
- intermittent network connectivity,
- roaming to different IP address without dropping the connection, and
@@ -21,7 +21,7 @@
PackagedBy: nephros
Categories:
- Shell
- - System
+ - RemoteAccess
Custom:
Repo: https://github.com/mobile-shell/mosh
PackageIcon: https://raw.githubusercontent.com/mobile-shell/mobile-shell.github.io/master/mosh-chrome.png
@@ -53,11 +53,44 @@
Configure: reconfigure
ConfigOptions:
- --enable-client
- - --disable-server
+ - --enable-server
- --enable-completion
Files:
- '%license COPYING'
- '%doc README.md'
- - '%{_bindir}/%{name}*'
+ - '%{_bindir}/%{name}'
+ - '%{_bindir}/%{name}-client'
- '%config %{_sysconfdir}/bash_completion.d/%{name}*'
+
+SubPackages:
+ - Name: server
+ Summary: Mobile Shell Server
+ Group: Applications
+ AutoDepend: false
+ Description: |
+ NOTE: This will install a firewall rule that allows incoming connections on wifii on ports 60001-60999!
+
+ Mosh is a remote terminal application that supports:
+ - intermittent network connectivity,
+ - roaming to different IP address without dropping the connection, and
+ - intelligent local echo and line editing to reduce the effects
+ of "network lag" on high-latency connections.
+
+ %if "%{?vendor}" == "chum"
+ Title: mosh Server
+ PackagedBy: nephros
+ Categories:
+ - System
+ - Shell
+ - Network
+ - RemoteAccess
+ Custom:
+ Repo: https://github.com/mobile-shell/mosh
+ PackageIcon: https://raw.githubusercontent.com/mobile-shell/mobile-shell.github.io/master/mosh-chrome.png
+ Screenshots:
+ - https://raw.githubusercontent.com/mobile-shell/mobile-shell.github.io/master/mosh.png
+ %endif
+ Files:
+ - '%{_bindir}/%{name}-server'
+ - '%config(noreplace) %{_sysconfdir}/connman/firewall.d/99-mosh-firewall.conf'
|