From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NuVM5-0001VO-FP for garchives@archives.gentoo.org; Wed, 24 Mar 2010 18:31:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F246E09B2; Wed, 24 Mar 2010 18:30:59 +0000 (UTC) Received: from buran.rymdraket.net (buran.rymdraket.net [195.238.77.50]) by pigeon.gentoo.org (Postfix) with ESMTP id F2D26E092A for ; Wed, 24 Mar 2010 18:30:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by buran.rymdraket.net (Postfix) with ESMTP id F4044576E5E for ; Wed, 24 Mar 2010 19:30:55 +0100 (CET) X-Virus-Scanned: amavisd-new at rymdraket.net Received: from buran.rymdraket.net ([127.0.0.1]) by localhost (buran.rymdraket.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MwSNq+JdBAyM for ; Wed, 24 Mar 2010 19:30:55 +0100 (CET) Received: from [192.168.1.80] (liten.csbnet.se [95.80.45.96]) by buran.rymdraket.net (Postfix) with ESMTPA id 124D2576D1D for ; Wed, 24 Mar 2010 19:30:55 +0100 (CET) Subject: [gentoo-dev] when to use a function and an implementation use flag. From: Peter Hjalmarsson To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 24 Mar 2010 19:30:54 +0100 Message-ID: <1269455454.31227.12.camel@lillen> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.29.92.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 905df499-ed32-4f75-9319-f22ee47dae99 X-Archives-Hash: 0673a33fe75961e510872fd2c1044ced I took a look at qemu-kvm and found something I percieve as funny: It had a gnutls use-flag, but no ssl useflag. As I see it is I want ssl/tls support it should be sufficient to enable USE="ssl" and let the maintainer of said ebuild decide which implementation (if more then one) I am better off with and only care about the USE="gnutls openssl nss" if i really think the maintainer is wrong. For qemu-kvm the problem is that there is only one implementation (i.e. gnutls), and if I want to have ssl support I have to enable gnutls for this package. When I wrote a bug about this I got a rather short reply from maintainer about pointing me to the policy about this. Now I know there was a disscussion a while back about this on the mailinglist, but google fails me to find it, looking into the Gentoo Development Guide [1] it fails me too. There is not a _single_ word about how to handle if there is only one implementation, but two use flags for this (one for the function provided - ssl - and one for the actual implementation - gnutls). So I have a question: Is there no policy about this? If there is could someone please point me towards it and also it in that case may be time to update the gentoo development guide. [1] http://devmanual.gentoo.org/general-concepts/use-flags/index.html#conflicting-use-flags