2026-04-07T19:25:13+0200 Theo Buehler <[email protected]>:
> > 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} \

Attachment: zizmor-1.23.1.tgz
Description: application/tar-gz

Reply via email to