From nobody Fri Sep 27 04:40:02 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XFHnZ5pDyz5XTJm; Fri, 27 Sep 2024 04:40:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XFHnZ5H1sz429m; Fri, 27 Sep 2024 04:40:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727412002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MVhK/atFY/4FhykanUEyW7WTfGrWTunRAPoBtPecJrg=; b=XhDxlR+Vvmk1dLBfdesBtNcd9DcPiwVgd5IHMM/fxLYvf+D1JchO4vQiP6AeLhQ1t/wUGh qzOsw6B51tIY0X+YlDBmyQQenK8MBr9aYLjUxaDTIgc2SqJpjxYnPyHJEneHN1X3cq39Tu fx6nXw1ZIPVpup1XiztGQ6W3iRuuWuZHhBaipTmJdHcgM5Qelo8h08bPcL2E/zThjFZWDq bZH/Pts6QRJwRlJAuO8WFcoGaDMBO52J2MEdbAu3ZyPf5+mNTO8Mfxr6XplTfjspYKIaDB 4ZgyGz4QRI3HjncYq1iWv+kofoSkIY3Bhf6qGLSZ0cLvjbJYlTtgzAb2VQ3pOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727412002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MVhK/atFY/4FhykanUEyW7WTfGrWTunRAPoBtPecJrg=; b=u5FT4HjDh5fmwReH25VLkDrws7M84blMvMxC+b1smyKvgUayS4bgGycIwFu38kT9xs9hl8 cWD8uMUWNjgRIZmzVLLH2caFAbuTDFwTt/btlaCI1NuTU6fitwcBgK2CyyHtOZobwkzW6g AXh6zewXs4PRq3LUg6/cl1w/XmAdCuDdz0lUg3ewNV9SLZBe60gh/KekzyZb4bCOkYARkW lU2Q8SOBrPzGZRxuRXbnc66IIZpLfe6GdiPbBcp+OM8qP1Vs0YWjM7gF3n07wBGnJiWq+m Bb0+5mvbEbEK93DhV+IBydsU/yh/iWkzJxfMKVHiqQGFJw/gm/iTEkH/Z3aDnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727412002; a=rsa-sha256; cv=none; b=uUhGz9MorGdVkbl83aeYZxqXpxZpT8tCh8OrMzEWIxYErYkx3zjMVVD+TDxjHxQCYKJ6MO 76ovdMUHpDSH9qQb/STIbzhPVko4Ozzc48gy8sQPHxlm2qLv1hr9aU0fS9JPg3d4CGZtPi /YxauXbjrc91Ld5ayJzVAq0coIcvXiawo/dCMhUkIXW1K+0ymUsNTUVsy5obTGjcVLT76n gIBfoRyxE6N3iCzRX/g9f2qDZ2M4PeOekRFglpi2LTMiePPaBbBDeF9HN5Kan6y/n3kp1y xGcbeB1vPvr3XvX6Kiy+LBzdlsRnHK9DWeSRGY2oWjivqQgAtImbjVx8Qkb1mw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XFHnZ4stTzQnB; Fri, 27 Sep 2024 04:40:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48R4e2uq044465; Fri, 27 Sep 2024 04:40:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48R4e2sx044459; Fri, 27 Sep 2024 04:40:02 GMT (envelope-from git) Date: Fri, 27 Sep 2024 04:40:02 GMT Message-Id: <202409270440.48R4e2sx044459@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kyle Evans Subject: git: 548701f13608 - main - sysutils/orch: update to 0.4 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 548701f13608d567e3292708cdf78d0fc5c88617 Auto-Submitted: auto-generated The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/ports/commit/?id=548701f13608d567e3292708cdf78d0fc5c88617 commit 548701f13608d567e3292708cdf78d0fc5c88617 Author: Kyle Evans AuthorDate: 2024-09-27 02:24:21 +0000 Commit: Kyle Evans 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 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