mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/ugetty: new package
Minimal getty implementation with optional ppp and ssh multiplexing support. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
356c092389
commit
8b2b857b1f
@@ -2711,6 +2711,7 @@ F: package/rnnoise/
|
||||
F: package/sedutil/
|
||||
F: package/tpm2-totp/
|
||||
F: package/triggerhappy/
|
||||
F: package/ugetty/
|
||||
F: package/wireguard-linux-compat/
|
||||
F: package/wireguard-tools/
|
||||
F: support/testing/tests/package/test_docker_compose.py
|
||||
|
||||
@@ -2895,6 +2895,7 @@ menu "System tools"
|
||||
source "package/tpm2-abrmd/Config.in"
|
||||
source "package/tpm2-tools/Config.in"
|
||||
source "package/tpm2-totp/Config.in"
|
||||
source "package/ugetty/Config.in"
|
||||
source "package/unscd/Config.in"
|
||||
source "package/util-linux/Config.in"
|
||||
source "package/watchdog/Config.in"
|
||||
|
||||
@@ -72,6 +72,7 @@ BUSYBOX_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_TAR),tar) \
|
||||
$(if $(BR2_PACKAGE_TFTPD),tftpd) \
|
||||
$(if $(BR2_PACKAGE_TRACEROUTE),traceroute) \
|
||||
$(if $(BR2_PACKAGE_UGETTY),ugetty) \
|
||||
$(if $(BR2_PACKAGE_UNZIP),unzip) \
|
||||
$(if $(BR2_PACKAGE_USBUTILS),usbutils) \
|
||||
$(if $(BR2_PACKAGE_UTIL_LINUX),util-linux) \
|
||||
|
||||
10
package/ugetty/Config.in
Normal file
10
package/ugetty/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_UGETTY
|
||||
bool "ugetty"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # std=c17
|
||||
help
|
||||
A minimal getty for embedded Linux that auto-detects the
|
||||
client and dispatches incoming serial connections to a login
|
||||
prompt, a PPP session, or the local SSH server as
|
||||
appropriate.
|
||||
|
||||
https://github.com/ryancdotorg/ugetty
|
||||
6
package/ugetty/ugetty.hash
Normal file
6
package/ugetty/ugetty.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally calculated
|
||||
sha256 302fe8a41eb8a752d08c82779f3c71b4b3060ddc48749a019135b0e649cde84c ugetty-f1b7858778800b7256e9874f266c1d16ced22a6e.tar.gz
|
||||
sha256 26738bf10eec3fef6ee16c1dadc9279444552d9a86ff96122809af0529a8fec7 LICENSE
|
||||
sha256 a3290942cbf3fc43da5569318ccaa1e7fc601c30f81e32e51a55f5157a030ae3 LICENSE.0BSD
|
||||
sha256 15efcf4646d41aabd27e0cba3cb205e28acf5159b905c028ebed883f64fbefea LICENSE.CC0
|
||||
sha256 0b230d23f22b80ffefcf65015f6e2308c2199dfaece79878b3ab13ad2577e685 LICENSE.MIT-0
|
||||
23
package/ugetty/ugetty.mk
Normal file
23
package/ugetty/ugetty.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# ugetty
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UGETTY_VERSION = f1b7858778800b7256e9874f266c1d16ced22a6e
|
||||
UGETTY_SITE = $(call github,ryancdotorg,ugetty,$(UGETTY_VERSION))
|
||||
UGETTY_LICENSE = BSD-0-Clause or MIT or CC0-1.0
|
||||
UGETTY_LICENSE_FILES = LICENSE LICENSE.0BSD LICENSE.CC0 LICENSE.MIT-0
|
||||
|
||||
define UGETTY_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) bin/ugetty
|
||||
endef
|
||||
|
||||
# Install ugetty->getty symlink to ensure ugetty is used
|
||||
define UGETTY_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/bin/ugetty \
|
||||
$(TARGET_DIR)/sbin/ugetty
|
||||
ln -snf ugetty $(TARGET_DIR)/sbin/getty
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user