initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_TCPING
|
||||
bool "tcping"
|
||||
help
|
||||
tcping does a TCP connect to the given ip/port
|
||||
combination. The user can specify a timeout in seconds. This
|
||||
is useful in shell scripts running in firewalled
|
||||
environments. Often SYNs are just being dropped by
|
||||
firewalls, thus connection establishment will be retried
|
||||
several times (for minutes) until a TCP timeout is
|
||||
reached. With tcping it is possible to check first if the
|
||||
desired port is reachable and then start connection
|
||||
establishment.
|
||||
|
||||
https://github.com/mkirchner/tcping
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 a731f0e48ff931d7b2a0e896e4db40867043740fe901dd225780f2164fdbdcf3 tcping-1.3.6.tar.gz
|
||||
sha256 4a35620e27ddb8de27898e4206c8f93633d877c1e128e98e95a035f760d94428 LICENSE
|
||||
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# tcping
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TCPING_VERSION = 1.3.6
|
||||
TCPING_SITE = $(call github,mkirchner,tcping,$(TCPING_VERSION))
|
||||
TCPING_LICENSE = MIT
|
||||
TCPING_LICENSE_FILES = LICENSE
|
||||
|
||||
define TCPING_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CCFLAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
||||
-C $(@D) tcping.linux
|
||||
endef
|
||||
|
||||
define TCPING_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/tcping $(TARGET_DIR)/usr/bin/tcping
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user