[-]
[+]
|
Added |
mosh.spec
|
|
[-]
[+]
|
Added |
99-mosh-firewall.conf
^
|
@@ -0,0 +1,6 @@
+[wifi]
+
+# Allow mosh connections on wifi
+
+IPv4.INPUT.RULES = -p udp -m udp --dports 60000:61000 -j ACCEPT
+IPv6.INPUT.RULES = -p udp -m udp --dports 60000:61000 -j ACCEPT
|
|
Added |
mosh-1.4.0.tar.gz
^
|
[-]
[+]
|
Added |
mosh-rpmlintrc
^
|
@@ -0,0 +1,5 @@
+from Config import *
+addFilter("summary-too-long")
+addFilter("description-line-too-long")
+addFilter("no-changelogname-tag")
+addFilter("invalid-url")
|
[-]
[+]
|
Added |
mosh.yaml
^
|
@@ -0,0 +1,96 @@
+Name: mosh
+Summary: Mobile Shell
+Version: 1.4.0
+Release: 0
+Group: Applications
+License: GPLv3
+URL: https://mosh.org/
+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
+ - intelligent local echo and line editing to reduce the effects
+ of "network lag" on high-latency connections.
+
+ %if "%{?vendor}" == "chum"
+ Type: console-application
+ PackagedBy: nephros
+ Categories:
+ - Shell
+ - 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
+
+#SetupOptions: -q -n %{name}-%{version}/upstream
+RpmLintIgnore:
+ - 'summary-too-long'
+ - 'description-line-too-long'
+ - 'no-changelogname-tag'
+ - 'invalid-url'
+#Macros:
+#Patches:
+# - 'baz'
+Requires:
+ - openssh-clients
+ - openssl
+ - perl(IO::Socket::IP)
+PkgBR:
+ - protobuf-compiler
+ - protobuf-devel
+ - libutempter-devel
+PkgConfigBR:
+ - openssl
+ - ncursesw
+ - zlib
+Configure: reconfigure
+ConfigOptions:
+ - --enable-client
+ - --enable-server
+ - --enable-completion
+
+Files:
+ - '%license COPYING'
+ - '%doc README.md'
+ - '%{_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'
|