From owner-freebsd-ports@freebsd.org Thu Dec 14 23:08:17 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 C1A9AE92FFD for ; Thu, 14 Dec 2017 23:08:17 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (prod2.absolight.net [79.143.243.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 694177DD84 for ; Thu, 14 Dec 2017 23:08:17 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 3AE69BDD25; Fri, 15 Dec 2017 00:08:14 +0100 (CET) Received: from atuin.in.mat.cc (atuin.in.mat.cc [79.143.241.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by prod2.absolight.net (Postfix) with ESMTPSA id 83C7ABDD1E; Fri, 15 Dec 2017 00:08:13 +0100 (CET) Subject: Re: github: handmade vs autogenerated distibution To: Sergei Vyhenski , freebsd-ports@freebsd.org References: From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <5b22d3de-4625-0047-4c96-3f10d751ff2d@FreeBSD.org> Date: Fri, 15 Dec 2017 00:08:08 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7dEXwsOrFcrq6LhvQ0gGmjr5RKSBOeaho" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2017 23:08:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7dEXwsOrFcrq6LhvQ0gGmjr5RKSBOeaho Content-Type: multipart/mixed; boundary="nppP3HKdkM149lkdU0NmURjuNItoE9Q4O"; protected-headers="v1" From: Mathieu Arnold To: Sergei Vyhenski , freebsd-ports@freebsd.org Message-ID: <5b22d3de-4625-0047-4c96-3f10d751ff2d@FreeBSD.org> Subject: Re: github: handmade vs autogenerated distibution References: In-Reply-To: --nppP3HKdkM149lkdU0NmURjuNItoE9Q4O Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US Le 14/12/2017 =C3=A0 21:43, Sergei Vyhenski a =C3=A9crit=C2=A0: > Playing with GH_* variables, I was able to fetch A-tarball within > guidelines of > bsd.sites.mk. Or you could have read the Porter's Handbook's section on it: https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.= html#makefile-master_sites-github It would probably have been faster that trying to reverse engineer what is being done in there. > PORTNAME=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 expat > PORTVERSION=3D=C2=A0=C2=A0=C2=A0 2.2.5 > MASTER_SITES=3D > https://github.com/libexpat/libexpat/releases/download/R_${PORTVERSION:= S|.|_|g}/ > > Also, this project has declared that it moves from SF to GH. It still > publishes H-tarballs on SF. But it seems that switching of the FreeBSD > port to take distribution from GH is inevitable. > > Do you think that explicit MASTER_SITES instead of USE_GITHUB (thus > using H-tarball) here contradicts to some rules of good stile? No. > Do you think that fighting with A-tarball is always necessary?=20 You should always use released tarballs, if they are available, people go through much efforts to make them so that people can build their software more easily. The git archive you get from USE_GITHUB should only be used if nothing else is available. --=20 Mathieu Arnold --nppP3HKdkM149lkdU0NmURjuNItoE9Q4O-- --7dEXwsOrFcrq6LhvQ0gGmjr5RKSBOeaho Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJaMwRZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IwjgP/A99LoC8yucwvACrzcAG15L5 +39bOgnKdYxwmNTJxQWjTifwWqAwiDx/tmXE3lvGUbPUrFJPrl/hpBcL9DnAgd2h apVxyK2JAeRVcUS/SQZdTmmG6JtVB1p9bsBR9xZII73d/AyIpvQ9XwgwBBfx4TkN CNR39aId80vACtMnnREv0g/oymAdhwtc8tkJIPAzFGIB+vZ+y4HYJfihsokOnReY B8bsAXyUS4VKpQtXRzl+EDFXR4C9tRQy63EiWiVLv0LblPBCMEbLpfIhbktrvhjg H75R9MgGfwP59l3yHDW5si3HKT5teOydvgsXrI4ZI29RR1Pp2nLYihu5KwqDF2IQ lmB6FuXh6i3S/74K3POmrLEh9R4Zs7xKIKaEYPTgW+YOo/b9dwbXPPd541W4s+0N mak+A9EKI/mMG6VsAQYNydmoG6n/c2rGM8+uKsJKvtvCrBwBFB/D0WOnXCppZOOb aK1wHHHQsS/aXfNfTLBJxx4V4rACAb6LJuHX0eoG2nj9NfH5b9JEsP7/bfpTaUEV ILkGcrXShdS/V26W6TV9vOb1ak3rRLUMbgI0dzmScyns1pIDzDVRoCEVGpyEfque aMimqlMgsoOVRpsy6/18UUE5oYhVRwKPm6NPALGtZDPq0QdyS2y1mMFEb5zEngEl yx+LirWi27X1E72GmIy1 =zSpt -----END PGP SIGNATURE----- --7dEXwsOrFcrq6LhvQ0gGmjr5RKSBOeaho--