From owner-freebsd-ports@freebsd.org Mon Oct 16 04:19:35 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CEC22E2D79A for ; Mon, 16 Oct 2017 04:19:35 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E30F6BD71 for ; Mon, 16 Oct 2017 04:19:35 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x233.google.com with SMTP id j17so14673820iod.5 for ; Sun, 15 Oct 2017 21:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BRVaLpdVtsqcfoxDmMlkoqMiqZWEc8ofv6Ai7NXZd3E=; b=aqHCTYoCEbAq7RXREHz9b7gPulCIfb0yREWr3Q/BYKBHSnVcqiApNeBV7hVWhDAxjE hmtUHGNk9ba4Hli6PVKR8Oh9J15men9Dt+Z0pCJHAvc8HMo/uzvh09mejgdAaW6iD813 UBBr4zSJUpWkQgc66/cWjmdBAwbHSlflzrTXdwj+I9vAgRaBjh8/nKSwKpB2luCbBlB2 w+OF+JFyJpCNFrcu/Z/w0p9c4eVJiFNAz/SUzB5b2/2g9vqtWJYjxlvwnPoEGLzZWwEr Gz6JaG1dhXcHVqqkdNj2bjozLOwyOOeJTFgUW6wkLm+KnStqTUO7BZfoyE2ZfJKEGFA3 R0pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BRVaLpdVtsqcfoxDmMlkoqMiqZWEc8ofv6Ai7NXZd3E=; b=AbGpzqPLdEzyFylKAPt1U6ZrKhOqx7t7nc5e2HQd0uK9/Ni7IRx4dxOVD5EJGpOV7f LkWBiPYoYEAvnAvuuCUsdxp6EhXu3W+7/EctDhwOBRhFfArKIMFaLB57Olqgg6QcHTcA /YvknhDlDoY97ST+cZ7RcIYx3uC67iKFAIU7cpH9RiadHVHqwKbjUExNb81I8sBInAIA D2Q0sPZI2feoVYFAufFkOoVkVfPSZ9T4wZ50mUhN1Z9JV5YQfm23GY939Z1wkiQNYlBx nevS50Cm8CWbZvkLIwNqweA3cVquH3XASlAYCzxuvGI37F140KPErxJOO4JqCcA+JHQk 2UKw== X-Gm-Message-State: AMCzsaXg6zMSA/VnrcPr83j8WorwdNVgxMQFkRhdu+KlWIbSY4i1SO5U 6x3L755Lc6xoXXWPGK/X9RSClDDHmbi+ObdXmVs= X-Google-Smtp-Source: AOwi7QDWbkDeznEP5VSz7g1mxkm1YJz8ET05cm4vUn78EGRzxzd/QxmsGKdwoqVrZ4HnUKg/c/wgpe3hVfDo0Y3FURc= X-Received: by 10.107.114.5 with SMTP id n5mr11773780ioc.291.1508127574795; Sun, 15 Oct 2017 21:19:34 -0700 (PDT) MIME-Version: 1.0 References: <20171015211940.44065925@thor.intern.walstatt.dynvpn.de> <19aa7f0a-3b52-5d34-cf80-136ef3fe489b@rawbw.com> <20171015214725.68e32dd9@thor.intern.walstatt.dynvpn.de> <130d6a72-ca4b-d948-68f6-69f8e7ac1f7e@rawbw.com> In-Reply-To: <130d6a72-ca4b-d948-68f6-69f8e7ac1f7e@rawbw.com> From: blubee blubeeme Date: Mon, 16 Oct 2017 04:19:24 +0000 Message-ID: Subject: Re: [ports]: GH_TAGNAME: how to figure out this tagname on downloadable archives? To: Yuri Cc: "O. Hartmann" , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2017 04:19:35 -0000 I just ran into this issue yesterday myself. To find the tagname I went to the project in githib, looked at their committed files and found the one with the latest date. Click on that file, then you'll see three buttons in the upper right hand side; raw, blame, history. Click on history and you'll see the tagnames on the right have column. Copy that to your GH_TAGNAME in the makefile and you should be fine. There are ways to get the tagname from git but that's if you've cloned the repo locally which I didn't want to bother doing. Best On Mon, Oct 16, 2017, 04:58 Yuri wrote: > On 10/15/17 12:47, O. Hartmann wrote: > > all right, that is what I picked up from the porter's handbook, but I > must have > > overlooked the note (if there is anything like that) regarding the > sufficient first 7 > > digits. > > If you look at other ports, most use 7 digits. > > > I tried this earlier (yes, and I do also a make makesum ;-))), but I get > a complete > > different "structure" right now - no tarball which contains exactly > OpenCL 2.1 or OpenCL > > 2.2 (the one I'd like to download), but a complete hierarchie of the CL > sources, starting > > from OpenCL 1.0 to OpenCL 2.2. Either, there has been a change in the > way OpenCL headers > > are provided, or there is a magic trick to download, depending on the > GH_TAGNAME, a > > tarball ending in "*_GH0.tar.xz" > > > The version downloaded using GH_TAGNAME should have the same structure > as releases, unless the project structure itself has been radically > changed between releases. The top folder name is going to be different > for GH_TAGNAME. A release is just an alpa-numeric tag in a sequence of > commits, nothing more. > > > Yuri > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >