From owner-freebsd-ports@FreeBSD.ORG Tue Jun 16 23:54:56 2015 Return-Path: Delivered-To: freebsd-ports@hub.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 DE565C43 for ; Tue, 16 Jun 2015 23:54:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C8153801 for ; Tue, 16 Jun 2015 23:54:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from zeta.ixsystems.com (unknown [12.229.62.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id 870A818F38; Tue, 16 Jun 2015 16:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1434498896; x=1434513296; bh=H6yrKGrltJaIsTf2nKJTqW10pQghNcRluscm0UiMh3M=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=Gdu8BJs6bPS4jT5XpNQQ3C1Rc+l6rDAq2tPFY/QVRuRHbiuuHVyYj6RHxcS4r6OID iCfi1RItjsjtMon4wB0gagKYh5ny7BJgzT6WneFUe1bJ7KNIDNfyyiWyMVR8lZr5Gr YawvfS9GotzVguYAaCbUeWMDDdpcdEBTbk8GVyc4= Message-ID: <5580B750.9000108@delphij.net> Date: Tue, 16 Jun 2015 16:54:56 -0700 From: Xin Li Reply-To: d@delphij.net Organization: The FreeBSD Project MIME-Version: 1.0 To: kpneal@pobox.com, freebsd-ports@freebsd.org Subject: Re: Any ports that download whole trees with git? References: <20150616233346.GA42565@neutralgood.org> In-Reply-To: <20150616233346.GA42565@neutralgood.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 23:54:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 06/16/15 16:33, kpneal@pobox.com wrote: > Are there any ports that download entire source trees using git? > > I'm looking at doing a port, but the only source for the source is > a tree in git. Are there any examples I can crib from? You would have to export the tree and upload it to somewhere that can host it if it's not already done by the Git service provider. For instance, services like github already have download services when a tag or SHA1 hash is specified, see code blocks related to USE_GITHUB in ports/Mk/bsd.sites.mk for additional details. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1.5 (FreeBSD) iQIcBAEBCgAGBQJVgLdPAAoJEJW2GBstM+nsTekP/1dXjiUZKMsNIVbSn3zCXMcP bk0hwOaoxv33uNDt5+q9g9DOv6mPwWJjAsEHFvwqaN40jUP9cPcJfvWjcLMac2RP KHzVJkJhvm1Lcitwb5izWQnyQAOJOYErfirZKoI9/pM6D7ny6q6h84bEPgzY7YNZ ythV4lJ0IahzOoeNxaKfvCohxaI2DOy90ffy/7RwQi/dlPHPuheUMINt42hCGNQe x50Yviydd7cXn+kD+TZkyE/yR7NSXlKk97xTTbNQs398V5dYeePwCYHv+etQWege k/O99cY95iofMZkSwyxNzWOHEEPr8bNwZsdSo9dESkrs13OPMJAKr1frWYfazcU9 Rd/VUWbH5BOqdAiWoATz6KDyV4XTXAEhzF36W9iSYcqIYoiIqEk3/XzKaFLUF85r KWDZwOk0lAIhvtt+i7r0oMe+Ge3BAeaxH3UwbeTac5E6TcnG2A80peOUCNf6bxPz 5LxzVwfwwgSzsMEUxNkWL3mIIkZjtElJL4TYSHaJG1KJwtEY8wZEqEeyWRoi0nkK g2RbuNvDPIimPAbpQEw6aEUH6SXBGnXoQLaIB0ZJ7Taa3zMCATvo6kCRaeddY69Y f8YmBKSBCVKC0Ym8EUqI5nQ47/Ff8Zqo5oEAbp2K13OfgiHJtNFlbNv6AkVllAXm jEdq63B1wmRIuajOK+dQ =AE9K -----END PGP SIGNATURE-----