4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.illumos.org/license/CDDL.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2015, Predrag Zecevic. All rights reserved.
22 # Copyright (c) 2023, Niklas Poslovski
25 include ..
/..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_VERSION
= 1.4.0
30 COMPONENT_SUMMARY
= Mosh
(mobile
shell) - Remote terminal application that allows roaming
, supports intermittent connectivity
, and provides intelligent local echo and line editing of user keystrokes
(replacement for SSH
).
31 COMPONENT_PROJECT_URL
= https
://mosh.org
32 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
34 COMPONENT_ARCHIVE_HASH
= sha256
:ae581fbddf038730af9eee4d319a483288395a0722d0c94c7efb7fdbdbb0dbac
35 COMPONENT_ARCHIVE_URL
= https
://github.com
/mobile-shell
/$(COMPONENT_NAME
)/archive
/refs
/tags/$(COMPONENT_ARCHIVE
)
36 COMPONENT_FMRI
= service
/network
/$(COMPONENT_NAME
)
37 COMPONENT_CLASSIFICATION
=System
/Security
38 COMPONENT_LICENSE
= GPLv3
+
39 COMPONENT_LICENSE_FILE
= COPYING
41 TEST_TARGET
= $(NO_TESTS
)
42 include $(WS_MAKE_RULES
)/common.mk
44 # The archive contains an uncommon base folder name, fix it:
45 COMPONENT_POST_UNPACK_ACTION
= ( $(MV
) $(COMPONENT_NAME
)-$(COMPONENT_SRC
) $(COMPONENT_SRC
) )
47 COMPONENT_PREP_ACTION
= ( cd
$(@D
); sh autogen.sh
)
49 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
50 CONFIGURE_OPTIONS
+= --enable-examples
51 CONFIGURE_OPTIONS
+= --enable-completion
52 CONFIGURE_OPTIONS
+= --with-utempter
54 # Manually added build dependencies
55 REQUIRED_PACKAGES
+= utility
/bash-completion
57 # Auto-generated dependencies
58 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
59 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
60 REQUIRED_PACKAGES
+= SUNWcs
61 REQUIRED_PACKAGES
+= library
/c
++/abseil-cpp
62 REQUIRED_PACKAGES
+= library
/c
++/protobuf
63 REQUIRED_PACKAGES
+= library
/ncurses
64 REQUIRED_PACKAGES
+= library
/security
/openssl-31
65 REQUIRED_PACKAGES
+= library
/zlib
66 REQUIRED_PACKAGES
+= system
/library
67 REQUIRED_PACKAGES
+= system
/library
/libutempter
68 REQUIRED_PACKAGES
+= system
/library
/math