Date: Tue, 24 Mar 2015 16:34:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198869] USE_GITHUB doesn't set WRKSRC correctly. Message-ID: <bug-198869-13-kMYKDW7yM4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-198869-13@https.bugs.freebsd.org/bugzilla/> References: <bug-198869-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198869 --- Comment #7 from Bryan Drewery <bdrewery@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198869-13-kMYKDW7yM4>