From owner-freebsd-ports@freebsd.org Mon Dec 18 21:51:04 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 0A7F9E8B29C for ; Mon, 18 Dec 2017 21:51:04 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DC44F71F1A for ; Mon, 18 Dec 2017 21:51:03 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id D89F0E8B29B; Mon, 18 Dec 2017 21:51:03 +0000 (UTC) Delivered-To: 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 D611AE8B29A for ; Mon, 18 Dec 2017 21:51:03 +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 9573571F19 for ; Mon, 18 Dec 2017 21:51:03 +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 8A58BBDD31; Mon, 18 Dec 2017 22:51:01 +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 0F4BDBDD2D; Mon, 18 Dec 2017 22:51:01 +0100 (CET) Subject: Re: Option vs. flavor? To: Adam Weinberger , Yuri Cc: "ports@freebsd.org" References: <0CE3611A-F100-4443-93B4-68A0A83F162B@adamw.org> From: Mathieu Arnold Organization: Absolight / The FreeBSD Foundation Message-ID: <8d13e1fd-bcba-d907-8737-ec8084c76014@FreeBSD.org> Date: Mon, 18 Dec 2017 22:50:58 +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: <0CE3611A-F100-4443-93B4-68A0A83F162B@adamw.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0BPRersiE6PHBBfuujfsiCrSOwKxfJIxg" 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: Mon, 18 Dec 2017 21:51:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0BPRersiE6PHBBfuujfsiCrSOwKxfJIxg Content-Type: multipart/mixed; boundary="O1eV2NJnbW30aD2GGJtHavKiQ22SffOWD"; protected-headers="v1" From: Mathieu Arnold To: Adam Weinberger , Yuri Cc: "ports@freebsd.org" Message-ID: <8d13e1fd-bcba-d907-8737-ec8084c76014@FreeBSD.org> Subject: Re: Option vs. flavor? References: <0CE3611A-F100-4443-93B4-68A0A83F162B@adamw.org> In-Reply-To: <0CE3611A-F100-4443-93B4-68A0A83F162B@adamw.org> --O1eV2NJnbW30aD2GGJtHavKiQ22SffOWD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: fr Le 17/12/2017 =C3=A0 15:32, Adam Weinberger a =C3=A9crit=C2=A0: >> On 17 Dec, 2017, at 1:48, Yuri wrote: >> >> On 12/16/17 22:06, Adam Weinberger wrote: >>> Is the port of any use without the data file? If everybody who uses >>> the port needs the data file, I wouldn't make it an option at all. >>> The precedent is that ports with huge data files are marked >>> NO_PACKAGE, so there's no impact on the package builders. Make it >>> non-optional, mark it as NO_PACKAGE, and then the port works for all >>> users. >>> >>> If, however, the port IS real-world usable without the data files, >>> I'd turn the data file into a second port. That way, package people >>> can very easily install the NO_BUILD slave and still install the >>> main program by pkg. >> >> >> Hi Adam, >> >> >> It is usable without data. Portions of the data are recommended to be >> downloaded into the specific directory for particular functions. Of >> course, it's more convenient to just a have all of it installed, and >> users will need all of it for all functions. >> >> This is the large physics package called Geant4 for simulation of the >> passage of particles through matter. https://reviews.freebsd.org/D1350= 4 > > Ah okay. Then I'd say, make a slave port that just > fetches/extracts/installs the data files, and an option in the Geant4 > master port that defaults to off. Set the slave port to NO_PACKAGE. I do not really see any reason to set NO_PACKAGE. There already are big packages in our repositories: -rw-r--r--=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0 1,0G 10 d=C3=A9c.=C2=A0 0= 5:49 ufoai-data-2.5.txz -rw-r--r--=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0 1,1G 14 d=C3=A9c.=C2=A0 1= 0:06 texlive-docs-20150523.txz -rw-r--r--=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0 1,3G 10 d=C3=A9c.=C2=A0 1= 5:30 flightgear-data-2017.3.1.txz -rw-r--r--=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0 1,5G 14 d=C3=A9c.=C2=A0 2= 0:24 diaspora-1.1.1_1.txz -rw-r--r--=C2=A0 2 root=C2=A0 wheel=C2=A0=C2=A0 1,7G 10 d=C3=A9c.=C2=A0 0= 5:20 urbanterror-data-4.2.023.txz --=20 Mathieu Arnold --O1eV2NJnbW30aD2GGJtHavKiQ22SffOWD-- --0BPRersiE6PHBBfuujfsiCrSOwKxfJIxg 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 iQJ8BAEBCgBmBQJaODhEXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Ia0IP/iLfFmUpBzPNhlqdqkIHMp6q zYvBHLp/YbQiyx/HMaRDrZ8OvE07bIOgWB2BWVzrqAzmrRZUPWWW5oCvlsqSskBs Z36UvrtA394uizlb5qeq0xqxY/VfbNIuuyfbYAanF9ZPa3o51Br+TY14YAmpSkQJ udDp7TWXuWqWpjOCoTkFpZ2DhQNhBSf73ijCmgWaZwLPySzH5H+g15kDT+HYBVE5 NafSIo+yKy9FC3ChU20zcUJC4qwyeGAWnTnHp/5YnhpmcEqUxT+yHjptFczyvGD6 /VIPts0BHdzXVpJN5oTIi5k3iXDUrSoRmtvNIUHqdWd5QEJozoFPjZHdseB5KT5S bdq4V0ks9quTLRAPIAjeaBiLDsE01ovwHBaDQjyL/n/e+A2LLQPvn+oGiC+F2dhE PuwEpiT/OVGl42TLofpX2p++IuQE4VodzQlq44pncSQHHMaLRLuT91TZJGnCk9SD LdjdUOxXOkQwueP8CRr1bBj1fAMQ0VI2Hpr9WtuZl1Dl6Cd+tbJj4Qiyy3xYBD3G Ojs0GdIDLfzuw7TIa8FsqDNKATsmAf+NbL+y6c6dOGxJJdc5nEodKa3U9BFt4DiF DaZ/oAlt00gzjJhZzUrS71hs3ROmNfv/aQ3girFX/xRviuEqdVtlwhkztlqjBYOj uD7eRPjQJCZtmrKhdP5T =sgoR -----END PGP SIGNATURE----- --0BPRersiE6PHBBfuujfsiCrSOwKxfJIxg--