From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 24 16:34:47 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81A41815 for ; Tue, 24 Mar 2015 16:34:47 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67719101 for ; Tue, 24 Mar 2015 16:34:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2OGYlaj072365 for ; Tue, 24 Mar 2015 16:34:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198869] USE_GITHUB doesn't set WRKSRC correctly. Date: Tue, 24 Mar 2015 16:34:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bdrewery@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bdrewery@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 16:34:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198869 --- Comment #7 from Bryan Drewery --- 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.