That download link won’t work in a recipe (points to a webpage), the latest source release (or packages) on their gitlab page doesn’t provide the Haiku sources.
Having said that, building with the upstream patch included (just a small one to add Haiku to the OS list) works ok (doesn’t seem to contain a make install rule in the Makefile), and the binary seems to be fine.
I think because they’ll redirect you to a mirror. This is similar on SF.net, OSDN.net, GitHub, etc. pp.
(you probably don’t want to deep-link to a specific mirror either, because those URLs may expire)
Works for me with the “official” download link, if you add -L
option to curl:
$ curl -vL -o outfile.tar.gz https://osdn.net/projects/slunkcrypt/downloads/77195/slunkcrypt.2022-04-26.haiku.tar.gz/
* Trying 35.163.187.31:443...
* Connected to osdn.net (35.163.187.31) port 443 (#0)
> GET /projects/slunkcrypt/downloads/77195/slunkcrypt.2022-04-26.haiku.tar.gz/ HTTP/1.1
> Host: osdn.net
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Date: Wed, 27 Apr 2022 09:14:21 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Server: Apache/2.4.25 (Debian)
< Cache-Control: no-cache, no-store, max-age=0
< X-Frame-Options: SAMEORIGIN
< Content-Language: en
< Strict-Transport-Security: max-age=31536000
< Location: https://osdn.net/frs/redir.php?m=gigenet&f=slunkcrypt%2F77195%2Fslunkcrypt.2022-04-26.haiku.tar.gz
<
* Ignoring the response-body
* Connection #0 to host osdn.net left intact
* Issue another request to this URL: 'https://osdn.net/frs/redir.php?m=gigenet&f=slunkcrypt%2F77195%2Fslunkcrypt.2022-04-26.haiku.tar.gz'
* Found bundle for host osdn.net: 0x1dc6a72df30 [serially]
* Re-using existing connection! (#0) with host osdn.net
* Connected to osdn.net (35.163.187.31) port 443 (#0)
> GET /frs/redir.php?m=gigenet&f=slunkcrypt%2F77195%2Fslunkcrypt.2022-04-26.haiku.tar.gz HTTP/1.1
> Host: osdn.net
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Date: Wed, 27 Apr 2022 09:14:22 GMT
< Content-Type: text/html; charset=UTF-8
< Content-Length: 0
< Connection: keep-alive
< Server: Apache/2.4.25 (Debian)
< Strict-Transport-Security: max-age=31536000
< Location: https://mirrors.gigenet.com/OSDN//slunkcrypt/77195/slunkcrypt.2022-04-26.haiku.tar.gz
<
* Connection #0 to host osdn.net left intact
* Issue another request to this URL: 'https://mirrors.gigenet.com/OSDN//slunkcrypt/77195/slunkcrypt.2022-04-26.haiku.tar.gz'
* Trying 69.65.16.171:443...
* Connected to mirrors.gigenet.com (69.65.16.171) port 443 (#1)
> GET /OSDN//slunkcrypt/77195/slunkcrypt.2022-04-26.haiku.tar.gz HTTP/1.1
> Host: mirrors.gigenet.com
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: nginx/1.20.2
< Date: Wed, 27 Apr 2022 09:14:22 GMT
< Content-Type: application/octet-stream
< Content-Length: 575739
< Last-Modified: Tue, 26 Apr 2022 20:49:20 GMT
< Connection: keep-alive
< ETag: "62685ad0-8c8fb"
< Accept-Ranges: bytes
<
2 562k 2 16126 0 0 7886 0 0:01:13 0:00:02 0:01:11 7886*
100 562k 100 562k 0 0 229k 0 0:00:02 0:00:02 --:--:-- 1346k
* Connection #1 to host mirrors.gigenet.com left intact
Thanks, already got a base for the recipe with the source from latest release on gitlab. Will post later when it’s finished
EDIT build completed on the buildmaster for 32bit and 64bit, enjoy
FWIW, version 1.2.1 is available now