aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-11-10 01:13:11 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-11-10 01:13:11 +0000
commit01a4df4b180bab86891d15a1105ca118ed6f791a (patch)
tree84974b00852869c91779a670ff0c5b87c1eaf674
parent52468f52a9d7b551b11f373bb4d3c12929b92a69 (diff)
sysutils/waitforssh: New port: Wait for a target to be up and running using SSH
waitforssh is a lightweight utility, written in POSIX shell, that waits for a target to be up and running via SSH and, if so, executes a command.
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/waitforssh/Makefile21
-rw-r--r--sysutils/waitforssh/distinfo3
-rw-r--r--sysutils/waitforssh/pkg-descr3
4 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 1b649c7d0176..48efe2faff7f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1572,6 +1572,7 @@
SUBDIR += vtm
SUBDIR += vttest
SUBDIR += wait_on
+ SUBDIR += waitforssh
SUBDIR += walk
SUBDIR += watchfolder
SUBDIR += watchman
diff --git a/sysutils/waitforssh/Makefile b/sysutils/waitforssh/Makefile
new file mode 100644
index 000000000000..5a952503358d
--- /dev/null
+++ b/sysutils/waitforssh/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= waitforssh
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.0.1
+CATEGORIES= sysutils
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Wait for a target to be up and running using SSH
+WWW= https://github.com/DtxdF/${PORTNAME}
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= DtxdF
+
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/man/man1/${PORTNAME}.1.gz
+
+.include <bsd.port.mk>
diff --git a/sysutils/waitforssh/distinfo b/sysutils/waitforssh/distinfo
new file mode 100644
index 000000000000..6a791b7204c8
--- /dev/null
+++ b/sysutils/waitforssh/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1762736484
+SHA256 (DtxdF-waitforssh-v0.0.1_GH0.tar.gz) = bf5a597c1856e2eed4d6e9d871c9783a643f1b22ca6c55e507be051621e10f8c
+SIZE (DtxdF-waitforssh-v0.0.1_GH0.tar.gz) = 5221
diff --git a/sysutils/waitforssh/pkg-descr b/sysutils/waitforssh/pkg-descr
new file mode 100644
index 000000000000..8dcb442a8ad6
--- /dev/null
+++ b/sysutils/waitforssh/pkg-descr
@@ -0,0 +1,3 @@
+waitforssh is a lightweight utility, written in POSIX shell, that
+waits for a target to be up and running via SSH and, if so, executes
+a command.