pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mosh: Work on Darwin support in net/mosh



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Fri Nov 10 06:05:47 2023 -0600
Changeset:	dbc63067f66023ae6cac4bdbfbbfa10457a64d97

Modified Files:
	Makefile
Added Files:
	mosh/DESCR
	mosh/Makefile
	mosh/PLIST
	mosh/distinfo

Log Message:
mosh: Work on Darwin support in net/mosh

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=dbc63067f66023ae6cac4bdbfbbfa10457a64d97

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile      |  1 +
 mosh/DESCR    |  6 ++++++
 mosh/Makefile | 38 ++++++++++++++++++++++++++++++++++++++
 mosh/PLIST    |  7 +++++++
 mosh/distinfo |  5 +++++
 5 files changed, 57 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 635a3f7165..44ce7f479b 100644
--- a/Makefile
+++ b/Makefile
@@ -2246,6 +2246,7 @@ SUBDIR+=	mopac
 SUBDIR+=	mopac7
 SUBDIR+=	moregroupware
 SUBDIR+=	morse
+SUBDIR+=	mosh
 SUBDIR+=	mothur
 SUBDIR+=	motion
 SUBDIR+=	motti
diff --git a/mosh/DESCR b/mosh/DESCR
new file mode 100644
index 0000000000..66196acdc4
--- /dev/null
+++ b/mosh/DESCR
@@ -0,0 +1,6 @@
+Mosh is a Remote terminal application that allows roaming, supports
+intermittent connectivity, and provides intelligent local echo and
+line editing of user keystrokes.
+
+Mosh is a replacement for SSH.  It's more robust and responsive,
+especially over Wi-Fi, cellular, and long-distance links.
diff --git a/mosh/Makefile b/mosh/Makefile
new file mode 100644
index 0000000000..03b1fa033d
--- /dev/null
+++ b/mosh/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.36 2023/11/02 14:43:05 wiz Exp $
+
+DISTNAME=	mosh-1.4.0
+CATEGORIES=	net
+MASTER_SITES=	https://mosh.org/
+
+MAINTAINER=	agc%NetBSD.org@localhost
+HOMEPAGE=	https://mosh.org/
+COMMENT=	Remote terminal application which allows roaming
+LICENSE=	gnu-gpl-v3
+
+GNU_CONFIGURE=		yes
+USE_TOOLS+=		gmake perl:run pkg-config
+USE_LANGUAGES+=		c c++
+USE_GCC_RUNTIME=	yes
+
+USE_CXX_FEATURES+=	c++14
+
+# USE_CXX_FEATURES does not affect configure phase, but is needed there
+CXXFLAGS+=	-std=c++14
+
+REPLACE_PERL+=	scripts/mosh.pl
+REPLACE_PERL+=	src/tests/genbase64.pl
+REPLACE_PERL+=	src/tests/hold-stdin
+REPLACE_PERL+=	src/tests/print-exitstatus
+
+TEST_TARGET=	check
+
+.include "../../devel/protobuf/buildlink3.mk"
+BUILDLINK_API_DEPENDS.zlib+=    zlib>=1.2.0.4
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/libexecinfo/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/terminfo.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mosh/PLIST b/mosh/PLIST
new file mode 100644
index 0000000000..4f44a9996a
--- /dev/null
+++ b/mosh/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/07/20 03:15:29 agc Exp $
+bin/mosh
+bin/mosh-client
+bin/mosh-server
+man/man1/mosh-client.1
+man/man1/mosh-server.1
+man/man1/mosh.1
diff --git a/mosh/distinfo b/mosh/distinfo
new file mode 100644
index 0000000000..aad6197aa3
--- /dev/null
+++ b/mosh/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.13 2023/11/02 14:43:05 wiz Exp $
+
+BLAKE2s (mosh-1.4.0.tar.gz) = 2500ffd34e8a1c2d29f52726de9adfbbe9547e858ae269fd9a35ca521ea6c96c
+SHA512 (mosh-1.4.0.tar.gz) = 38c11f52ff1e42965b50a22bf6de80b0fa8ebbff841d825e760abf69c788a2bf5f34e6f7fc047574d595118334eef9edf8da5520b52cdde3ac1a79d7ad70312e
+Size (mosh-1.4.0.tar.gz) = 393465 bytes


Home | Main Index | Thread Index | Old Index