hoewweken
2023-08-04 5f10a5262f27e16b2c6565e501d18b416933f5b9
commit | author | age
5fd26c 1 #
AL 2 # CDDL HEADER START
3 #
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.
7 #
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.
12 #
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]
18 #
19 # CDDL HEADER END
20 #
21 # Copyright (c) 2015, Predrag Zecevic. All rights reserved.
22 #
2395ea 23 BUILD_BITS=            64
d999a5 24 USE_OPENSSL11=        yes
4efb08 25 include ../../../make-rules/shared-macros.mk
5fd26c 26
AL 27 COMPONENT_NAME=        mosh
420b0c 28 COMPONENT_VERSION=    1.4.0
5f10a5 29 COMPONENT_REVISION= 1
5fd26c 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).
420b0c 31 COMPONENT_PROJECT_URL=    https://mosh.org
AW 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+
5fd26c 39
2395ea 40 TEST_TARGET=        $(NO_TESTS)
AW 41 include $(WS_MAKE_RULES)/common.mk
5fd26c 42
420b0c 43 # The archive contains an uncommon base folder name, fix it:
AW 44 COMPONENT_POST_UNPACK_ACTION= ( $(MV) $(COMPONENT_NAME)-$(COMPONENT_SRC) $(COMPONENT_SRC) )
45
46 COMPONENT_PREP_ACTION= ( cd $(@D); sh autogen.sh )
16fa41 47
5fd26c 48 CONFIGURE_OPTIONS+=    --sysconfdir=/etc
AL 49 CONFIGURE_OPTIONS+=    --enable-examples
50 CONFIGURE_OPTIONS+=    --enable-completion
2395ea 51 CONFIGURE_OPTIONS+=    --with-utempter
5fd26c 52
2395ea 53 # Manually added build dependencies
f1245d 54 REQUIRED_PACKAGES += utility/bash-completion 
2395ea 55
AW 56 # Auto-generated dependencies
57 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
58 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
59 REQUIRED_PACKAGES += SUNWcs
f1245d 60 REQUIRED_PACKAGES += library/c++/protobuf
61 REQUIRED_PACKAGES += library/ncurses
d999a5 62 REQUIRED_PACKAGES += library/security/openssl-11
f1245d 63 REQUIRED_PACKAGES += library/zlib
64 REQUIRED_PACKAGES += system/library
2395ea 65 REQUIRED_PACKAGES += system/library/libutempter
f1245d 66 REQUIRED_PACKAGES += system/library/math