Upstream published an RC. Among other things, mosh now uses pledge(2).
The client seems to still work fine against an old (1.2.4) mosh-server,
but I haven't done much tests. Feedback welcome.
Index: Makefile
===================================================================
RCS file: /d/cvs/ports/net/mosh/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 14 Dec 2016 12:29:06 -0000 1.9
+++ Makefile 10 Mar 2017 17:08:43 -0000
@@ -2,8 +2,7 @@
COMMENT = mobile shell
-DISTNAME = mosh-1.2.6
-REVISION = 0
+DISTNAME = mosh-1.3.0-rc2
CATEGORIES = net
@@ -14,10 +13,11 @@ MAINTAINER = Jeremie Courreges-Anglas <
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
+# uses pledge()
WANTLIB += c crypto m ncursesw protobuf pthread ssl stdc++ util
WANTLIB += z
-MASTER_SITES = ${HOMEPAGE}
+MASTER_SITES =
https://github.com/mobile-shell/mosh/releases/download/${DISTNAME}/
LIB_DEPENDS = devel/protobuf
Index: distinfo
===================================================================
RCS file: /d/cvs/ports/net/mosh/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo 20 Aug 2016 19:05:25 -0000 1.4
+++ distinfo 10 Mar 2017 17:00:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (mosh-1.2.6.tar.gz) = foK3+/zGmMcPWEO7lg2tuOe9esHU0hUcnZeTcuqFDoU=
-SIZE (mosh-1.2.6.tar.gz) = 347185
+SHA256 (mosh-1.3.0-rc2.tar.gz) = i2v/M8RpzOoEOId8aHdKay3tb8zZmx2xgCItqC8GVK4=
+SIZE (mosh-1.3.0-rc2.tar.gz) = 361100
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE