Index | Thread | Search

From:
Johannes Thyssen Tishman <jtt@openbsd.org>
Subject:
Re: [new] zizmor 1.23.1
To:
Theo Buehler <tb@theobuehler.org>
Cc:
Laurent Cheylus <foxy@free.fr>, ports@openbsd.org
Date:
Wed, 8 Apr 2026 08:52:43 +0000

Download raw body.

Thread
2026-04-07T19:25:13+0200 Theo Buehler <tb@theobuehler.org>:
> > I had also recently packaged this tool and commited it in OpenBSD ports WIP
> > => https://github.com/jasperla/openbsd-wip/tree/master/devel/zizmor
> 
> New tarball with a few fixes and tweaks stolen from Laurent's WIP.
> Happy to add Laurent as a maintainer.

Hi tb. The tagname is missing a 'v' and the generation of shell
completions fails without an absolute path to zizmor's binary. With
those changes (diff below, new tarball attached), the port is ok jtt@.

However, when running zizmor with remote Github repositories
(GH_TOKEN=<my_token> zizmor account/project) it segfaults. Perhaps I'm
doing something wrong? It works with local repositories though.

I also ran tests and all are passing.

diff -rup /tmp/zizmor/Makefile zizmor/Makefile
--- /tmp/zizmor/Makefile	Tue Apr  7 19:01:00 2026
+++ zizmor/Makefile	Wed Apr  8 10:15:46 2026
@@ -2,7 +2,7 @@ COMMENT =		static analysis tool for GitHub Actions
 
 GH_ACCOUNT =		zizmorcore
 GH_PROJECT =		zizmor
-GH_TAGNAME =		1.23.1
+GH_TAGNAME =		v1.23.1
 
 CATEGORIES =		devel
 
@@ -22,9 +22,9 @@ MODCARGO_INSTALL_TARGET_PATHS = crates/zizmor
 SEPARATE_BUILD =	Yes
 
 post-build:
-	zizmor --completions bash > ${WRKBUILD}/zizmor.bash
-	zizmor --completions fish > ${WRKBUILD}/zizmor.fish
-	zizmor --completions zsh > ${WRKBUILD}/zizmor.zsh
+	${MODCARGO_TARGET_DIR}/release/zizmor --completions bash > ${WRKBUILD}/zizmor.bash
+	${MODCARGO_TARGET_DIR}/release/zizmor --completions fish > ${WRKBUILD}/zizmor.fish
+	${MODCARGO_TARGET_DIR}/release/zizmor --completions zsh > ${WRKBUILD}/zizmor.zsh
 
 post-install:
 	${INSTALL_DATA_DIR} \