From owner-freebsd-ports@freebsd.org Thu Dec 21 06:05:58 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 5AEDEEA46B5 for ; Thu, 21 Dec 2017 06:05:58 +0000 (UTC) (envelope-from fjwcash@gmail.com) 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 36012774AC for ; Thu, 21 Dec 2017 06:05:58 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3343DEA46B4; Thu, 21 Dec 2017 06:05:58 +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 32E79EA46B3 for ; Thu, 21 Dec 2017 06:05:58 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 AF69C774A8 for ; Thu, 21 Dec 2017 06:05:57 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-lf0-x22d.google.com with SMTP id r143so26531609lfe.13 for ; Wed, 20 Dec 2017 22:05:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=A4EkN2mNN32QJnDmKWQbpOx8eyg48a4qtziUrx/SCBg=; b=jTRT0Qu1z+2WniHF6yGGWQrR4feJAuDVfchEdGwu5NijGoDdHtAuACluh1zSz5pnM9 I29t7m3FqIAwPiOrUqWwNpjAkzM6dcMe5PRG7cjftvWkYgMuaKszQJ+X9nY3ISu9xRGo 8HpJo2HMhnRki+1lsKJhTDeqDXH9ujgSBjAjGoj8oh2SiNY2x0LrHjutO0QapGu0VeMk gKBcgWgTKU5mGYR4oso8G/KcfzFeC2sI06VJ9V5qLHXKP4ZNKIJRnjD4p7ZKeRft595O PfchcwWGRarzz7o7MPiyLfkOSXrain1BBOAq8y3RDiDQgzljdLyt4m6KXY0KGE/td9Se Oy5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=A4EkN2mNN32QJnDmKWQbpOx8eyg48a4qtziUrx/SCBg=; b=s2r+WihO8KR0JQakCyo1O6M3HWLQ66DoFLeV2ukz1/eKD3fDKxoTLD8wtGvt3uoIGT Z5QG69JBy9hdVc0CL4OwJH4CRx7ixEs9TRFVeplf2U4+8F9+n2zt3kvs9+wg6onlsYru v2rpotJPCWS2BViIBlm3S/A6sKXJf+MQhBBkSv/x6Hbep+5TD6PgWHM5jSyr/J3uGiGf DigUEHHVi/CA+W6BJ3rQRunrLksyVOgGM78gdWMP+7ooXwXnYBFAaayujsVb99PGpxHi UdBrrYzNY7Mi/ZxW5Y+srpe0CJRSbltKxkJgbQK6o+VJKqphFXFdSiRO0mUqOosD2yk2 yyPA== X-Gm-Message-State: AKGB3mLvmUxnc3GzwYJxHMOVn7zv5yogWZxDq/UOY6FLEWmU/fQwroYR X0aaoqiuYQ9YHqSfxotlYFAIOOqAWbZlAykwuaBoAg== X-Google-Smtp-Source: ACJfBotTFDTdwGZzMo9BKDVqwhbrLeLiB3BmIY4tWwM6E6B2TSlbM8tuDIKoPRzaf+WmIrXtWQl8N8wFkAPKgPWELP4= X-Received: by 10.25.15.217 with SMTP id 86mr6082896lfp.67.1513836355388; Wed, 20 Dec 2017 22:05:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.163.145 with HTTP; Wed, 20 Dec 2017 22:05:54 -0800 (PST) Received: by 10.25.163.145 with HTTP; Wed, 20 Dec 2017 22:05:54 -0800 (PST) In-Reply-To: <85f87eb1-ab21-e802-866c-93d7edbfb92a@rawbw.com> References: <85f87eb1-ab21-e802-866c-93d7edbfb92a@rawbw.com> From: Freddie Cash Date: Wed, 20 Dec 2017 22:05:54 -0800 Message-ID: Subject: Re: Again, flavors or options? To: Yuri Cc: FreeBSD Ports Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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, 21 Dec 2017 06:05:58 -0000 On Dec 20, 2017 6:16 PM, "Yuri" wrote: I have the port for the digital currency. It has 3 parts that install non-intersecting file sets: daemon, cli, qt-ui. The commonality: same repository, same build options, same license, mostly same port options. I am attracted to the idea to use flavors to let users choose which part do they want: FLAVORS=default daemon qt cli "default" will install all of them, others will install individual parts. Option list will be slightly different for each flavor. One alternative: only have port options. Then some options can't be conditional on which parts are built. Another alternative: 3 slave ports. I don't like this idea at all. Do you think flavors are a good fit for this task? Sounds like a textbook example of sub-packages. Until then, slave ports would be the next-best thing as that provides separate packages that can be installed. Cheers, Freddie