From owner-freebsd-ports@freebsd.org Mon Jul 18 13:15:49 2016 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 B4A80B9BB37 for ; Mon, 18 Jul 2016 13:15:49 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (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 7D5EB1DB4; Mon, 18 Jul 2016 13:15:49 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf0-x230.google.com with SMTP id h186so13138374pfg.3; Mon, 18 Jul 2016 06:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=mivhr1WyKes5Tn5keLow5KFq0S+iZLwWqycOTPBcLwI=; b=PJIVMdw4Z0t6BOSoQ+IbKNTNT8Rtz6nJcd2Ks71yUYDzRb9iRzmhbcoBwVwADaLNCP xXV2jHbhfOZLyDJpZkTFF1cHoRoOVBCFmuyMh30Mj1qsQCIcma5q39CC6xFJK9/fPaaZ 4rqxVNv6/j5LD46Bx/E6Jx5h3V9XMVCTzkaOivA/J7cALfo05sGhU3C6fPLon0IDOHHZ awfM5s5l+3ghgZYfatM/o+GFL+deGBgmSYJpiPpFscepPCWnQGq/rg4AGFxWOIwR7oHK rGAlo1SWa07e5sfJtjeBQAkhwcwItXIpiXGauS3+ZQGoAVP/PJ0WGyZAh/ycU70hwf/1 +cbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=mivhr1WyKes5Tn5keLow5KFq0S+iZLwWqycOTPBcLwI=; b=chIjqPRnVnd31KHzUCAFvpDjdMbpeDgR0U5KgxSD8sPEWB3l7kTkwwpYzk9faKFTBO azmKE8iiMPUs0fboJfbjnmBC8YgmJtBNbk/2KoAPGsOghYNQgE3/Q3XCqj6hCkBDmJ/e nMi4nviNtbZj28hbHTeUZ9t6ScYwnbrfiV+FLPtXcowtR/6zP4fJTgg/Hpi1eEBrmScb SaxJ0an2SfWeZTW1wHJHK7mPFKGk8lfV0xil2jpoBKtAglXjBgj1pSBokyGCmqGION5s g0Sr4+prupf9eaKLVprYI2o0H0aZxuHYK+yn0hU4XnoC9Ch5VHwGthm3fv+GIzFmX68l tXJw== X-Gm-Message-State: ALyK8tLUwEKlJgecGm+UVJEFlrzf2tnpWeNcmYeBXjS+CEWkpVN7FhQnim+2y44RFKCcwA== X-Received: by 10.98.52.3 with SMTP id b3mr46257576pfa.40.1468847749135; Mon, 18 Jul 2016 06:15:49 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:f985:3c4b:2a0c:8bea? (2001-44b8-31ae-7b01-f985-3c4b-2a0c-8bea.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:f985:3c4b:2a0c:8bea]) by smtp.gmail.com with ESMTPSA id p75sm5212309pfa.71.2016.07.18.06.15.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Jul 2016 06:15:48 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: Porting OpenCPN References: <1569cead-c078-0714-9330-9a3ff19088dd@netfence.it> <074b80c9-1928-b6fd-6019-a48188543945@FreeBSD.org> To: Andrea Venturoli , "freebsd-ports@freebsd.org" Cc: "thierry@freebsd.org" From: Kubilay Kocak Message-ID: <9cc75228-049b-3e21-56e5-476945c95cf3@FreeBSD.org> Date: Mon, 18 Jul 2016 23:15:39 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 13:15:49 -0000 On 18/07/2016 10:52 PM, Andrea Venturoli wrote: > On 07/13/16 11:50, Kubilay Kocak wrote: > >> For GitHub there is ports infrastructure, using USE_GITHUB=yes and GH_* >> variables. For usage, see our Porters Handbook: >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#makefile-master_sites-github-description >> > > Hello and thanks for your answer. > I saw that description, but I really couldn't understand if the port > system will issue a "git clone" or still expect the tarball somewhere. The framework uses the variables provided in the port to construct a URL that obtains a tarball via GitHub's API. It is fetched via /archive/, the same method as the 'download as zip/tar' buttons in the GitHub web interface It is a snapshot of the repository code at that tag, branch or revision, not a clone of the repository. > In any case, as Thierry pointed out (thanks!), the tarball is there, so > this is over. > The distributions in /releases/ are separate and different (and may or may not be the same as the raw/pure sources)