summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2024-09-26 21:24:21 -0500
committerKyle Evans <kevans@FreeBSD.org>2024-09-26 23:30:37 -0500
commit548701f13608d567e3292708cdf78d0fc5c88617 (patch)
treea5b9418c89e950661c98814ddd5e199a4d766d11 /sysutils
parentx11-toolkits/py-kivy: resurrect the port and update to version 2.3.0 (diff)
sysutils/orch: update to 0.4
Highlights: - Many bug fixes - Improved ipc interface for more robust program startup - Cleaner lib interface to allow use in lua scripts - Multi-match support within a single match() - Terminal resize support While we're here, orch has been renamed to porch upstream to deconflict with a pre-existing rust framework. The scripts are still called (orch)estration scripts. This change also switches to the new `check-install` target to sanity test our install layout.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile2
-rw-r--r--sysutils/orch/distinfo3
-rw-r--r--sysutils/orch/pkg-plist7
-rw-r--r--sysutils/porch/Makefile (renamed from sysutils/orch/Makefile)10
-rw-r--r--sysutils/porch/distinfo3
-rw-r--r--sysutils/porch/pkg-descr (renamed from sysutils/orch/pkg-descr)4
-rw-r--r--sysutils/porch/pkg-plist14
7 files changed, 25 insertions, 18 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index eb4de93be275..a0a918fa82ef 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -877,7 +877,6 @@
SUBDIR += openupsd
SUBDIR += openzfs
SUBDIR += openzfs-kmod
- SUBDIR += orch
SUBDIR += osinfo-db-tools
SUBDIR += p5-App-Regather
SUBDIR += p5-App-RunCron
@@ -1065,6 +1064,7 @@
SUBDIR += polkit-gnome
SUBDIR += polkit-qt-1
SUBDIR += popeye
+ SUBDIR += porch
SUBDIR += pot
SUBDIR += potnet
SUBDIR += poweralertd
diff --git a/sysutils/orch/distinfo b/sysutils/orch/distinfo
deleted file mode 100644
index c54ce89aa79a..000000000000
--- a/sysutils/orch/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1706157383
-SHA256 (orch-0.2.tar.gz) = f08a375e7d610aad5b6c6fd4321492d546ae74cc27c37bbeeca5fe7268bbf8c9
-SIZE (orch-0.2.tar.gz) = 31909
diff --git a/sysutils/orch/pkg-plist b/sysutils/orch/pkg-plist
deleted file mode 100644
index 1ed8bb0f16b2..000000000000
--- a/sysutils/orch/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/orch
-%%LUA_MODLIBDIR%%/orch/core.so
-%%LUA_MODSHAREDIR%%/orch.lua
-%%EXAMPLES%%%%EXAMPLESDIR%%/cat.orch
-%%EXAMPLES%%%%EXAMPLESDIR%%/nc.orch
-%%MANPAGES%%share/man/man1/orch.1.gz
-%%MANPAGES%%share/man/man5/orch.5.gz
diff --git a/sysutils/orch/Makefile b/sysutils/porch/Makefile
index eafd184730c6..58dc4c24310b 100644
--- a/sysutils/orch/Makefile
+++ b/sysutils/porch/Makefile
@@ -1,14 +1,14 @@
-PORTNAME= orch
-PORTVERSION= 0.2
+PORTNAME= porch
+PORTVERSION= 0.4
CATEGORIES= sysutils
MASTER_SITES= https://git.kevans.dev/kevans/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
PATCH_DIST_STRIP= -p1
-PATCH_SITES= https://git.kevans.dev/kevans/orch/commit/
+PATCH_SITES= https://git.kevans.dev/kevans/porch/commit/
MAINTAINER= kevans@FreeBSD.org
COMMENT= Program orchestration tool scripted with lua
-WWW= https://git.kevans.dev/kevans/orch
+WWW= https://git.kevans.dev/kevans/porch
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -24,6 +24,6 @@ MANPAGES_CMAKE_BOOL= MANPAGES
WRKSRC= ${WRKDIR}/${PORTNAME}
-TEST_TARGET= check
+TEST_TARGET= check-install
.include <bsd.port.mk>
diff --git a/sysutils/porch/distinfo b/sysutils/porch/distinfo
new file mode 100644
index 000000000000..023c16d53036
--- /dev/null
+++ b/sysutils/porch/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1727411422
+SHA256 (porch-0.4.tar.gz) = da8602a97f54cb4fca93db2236452407a20dbc6add3ec2c0fc3d06e6f1118870
+SIZE (porch-0.4.tar.gz) = 41104
diff --git a/sysutils/orch/pkg-descr b/sysutils/porch/pkg-descr
index 19b23204df2e..c39f6d81efc0 100644
--- a/sysutils/orch/pkg-descr
+++ b/sysutils/porch/pkg-descr
@@ -1,5 +1,5 @@
-Orch is a program orchestration tool, inspired by expect(1) but scripted with
+Porch is a program orchestration tool, inspired by expect(1) but scripted with
lua. This utility allows scripted manipulation of programs for, e.g., testing
-or automation purposes. Orch drives spawn processes over a pts(4)
+or automation purposes. Porch drives spawn processes over a pts(4)
pseudo-terminal, which allows for a broader range of interactions with a program
under orchestration.
diff --git a/sysutils/porch/pkg-plist b/sysutils/porch/pkg-plist
new file mode 100644
index 000000000000..67baf5e51484
--- /dev/null
+++ b/sysutils/porch/pkg-plist
@@ -0,0 +1,14 @@
+bin/porch
+%%LUA_MODLIBDIR%%/porch/core.so
+%%LUA_MODSHAREDIR%%/porch.lua
+%%LUA_MODSHAREDIR%%/porch/actions.lua
+%%LUA_MODSHAREDIR%%/porch/context.lua
+%%LUA_MODSHAREDIR%%/porch/direct.lua
+%%LUA_MODSHAREDIR%%/porch/matchers.lua
+%%LUA_MODSHAREDIR%%/porch/process.lua
+%%LUA_MODSHAREDIR%%/porch/scripter.lua
+%%EXAMPLES%%%%EXAMPLESDIR%%/cat.orch
+%%EXAMPLES%%%%EXAMPLESDIR%%/cat-multi.orch
+%%EXAMPLES%%%%EXAMPLESDIR%%/nc.orch
+%%MANPAGES%%share/man/man1/porch.1.gz
+%%MANPAGES%%share/man/man5/orch.5.gz