git: 548701f13608 - main - sysutils/orch: update to 0.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Sep 2024 04:40:02 UTC
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/ports/commit/?id=548701f13608d567e3292708cdf78d0fc5c88617 commit 548701f13608d567e3292708cdf78d0fc5c88617 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2024-09-27 02:24:21 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2024-09-27 04:30:37 +0000 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. --- MOVED | 1 + sysutils/Makefile | 2 +- sysutils/orch/distinfo | 3 --- sysutils/orch/pkg-plist | 7 ------- sysutils/{orch => porch}/Makefile | 10 +++++----- sysutils/porch/distinfo | 3 +++ sysutils/{orch => porch}/pkg-descr | 4 ++-- sysutils/porch/pkg-plist | 14 ++++++++++++++ 8 files changed, 26 insertions(+), 18 deletions(-) diff --git a/MOVED b/MOVED index 0e28030c875a..32bb132479aa 100644 --- a/MOVED +++ b/MOVED @@ -3485,3 +3485,4 @@ databases/ldb21||2024-09-22|Has expired: Outdated and not necessary for any supp graphics/gstreamer1-plugins-qt|x11-toolkits/gstreamer1-plugins-qt5|2024-09-22|Rename with versioned suffix and move to a more fitting category with the addition of its Qt6 counterpart devel/rubygem-sidekiq71|devel/rubygem-sidekiq72|2024-09-23|Has expired: use devel/rubygem-sidekiq72 instead devel/xtensa-esp32-elf|devel/xtensa-esp-elf|2024-09-23|Upstream was renamed +sysutils/orch|sysutils/porch|2024-09-26|Upstream was renamed 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 similarity index 76% rename from sysutils/orch/Makefile rename to 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 similarity index 55% rename from sysutils/orch/pkg-descr rename to 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