[Bug 198869] USE_GITHUB doesn't set WRKSRC correctly.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 24 16:34:47 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198869

--- Comment #7 from Bryan Drewery <bdrewery at FreeBSD.org> ---
The only change was us using the main URL. Github has magic in there to
determine their own filename (and extraction dir). It is in the response header
as the filename, but we ignore that and use our own.

~/svn/ports/games/freeblocks # curl -LI
'https://codeload.github.com/dorkster/freeblocks/tar.gz/v0.5'
HTTP/1.1 200 OK
Content-Length: 7914439
Access-Control-Allow-Origin: https://render.githubusercontent.com
Content-Security-Policy: default-src 'none'
X-XSS-Protection: 1; mode=block
X-Frame-Options: deny
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000
Vary: Authorization,Accept-Encoding
ETag: "3c58e62370b81d11696acf566b2a984f9837b836"
Content-Type: application/x-gzip
Content-Disposition: attachment; filename=freeblocks-0.5.tar.gz
Date: Tue, 24 Mar 2015 16:33:42 GMT


For now I will just make a GH_TAGNAME_EXTRACT and we'll maintain that as we
discover other replacements they are doing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list