[Bug 297687] security/cyberchef: update to 11.4.0 has problems fetching the right tarball from Github

[email protected]
Newsgroups gmane.os.freebsd.devel.ports.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297687

            Bug ID: 297687
           Summary: security/cyberchef: update to 11.4.0 has problems
                    fetching the right tarball from Github
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 273934
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273934&action=edit
where I stopped

I've been struggling with this for a few hours. Normally this update should
take 10 minutes. It's time to consult the hive.

Starting with 11.1.0, the Cyberchef project changed their release file names.
[1]

It was:

CyberChef_v11.0.0.zip

It is now:

CyberChef_49d1a5634a67a3b806c6db0fdca7dcecb41a776c.zip

The port has always used this zip file and not the tar.gz or the other zip file
(both of which are the source).

Right now, I'd rather not convert it to build from source using Node.js -
mostly because that is time I do not want to spare right now.

I have tried a few different approaches to try and get that correct .zip file
downloaded. I have tried MASTER_SITES= GH etc.  I feel like I'm running in
circles.

A few things I have learned:

* A correct .zip file will contain the modules directory in the top level.
* The .zip will be top-level and there is no top-level subdirectory to cd into
(ie. the install works from WRKDIR not WRKSRC).

I have attached my diff which does not succeed. First, it's grabbing a .tar.gz
file, which does not suit the objectives. Then it fails on testport with:

unzip: Unrecognized archive format
===>  Failed to extract
"/portdistfiles/gchq-CyberChef-v11.4.0-49d1a5634a67a3b806c6db0fdca7dcecb41a776c_GH0.tar.gz".
*** Error code 1

1 - https://github.com/gchq/CyberChef/releases

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.