From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QF57CT0MCWP7JgAAbAwnHQ (envelope-from ) for ; Fri, 26 Aug 2022 20:09:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ILJgCT0MCWPppwAAauVa8A (envelope-from ) for ; Fri, 26 Aug 2022 20:09:01 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A9ADF15045 for ; Fri, 26 Aug 2022 20:09:00 +0200 (CEST) Received: from localhost ([::1]:54930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRdlL-0004eE-Hf for larch@yhetil.org; Fri, 26 Aug 2022 14:08:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRdl6-0004dr-0b for guix-devel@gnu.org; Fri, 26 Aug 2022 14:08:44 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:64451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRdl3-0001U5-I4 for guix-devel@gnu.org; Fri, 26 Aug 2022 14:08:43 -0400 Date: Fri, 26 Aug 2022 18:08:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1661537319; x=1661796519; bh=OGAkO4wHOlMZzDOU6745VolPOzlMImHwyRFJV20nCxo=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=jwSwWn4hy1kIzhO5cmpozEVGQVs42HXbVBSs7iX+SIOeil8jekYDJJYWrlUb6TTcL i9PbEOXsCBWx13N6ARUfye8N7CS1SQXHTAKLJWY361JaU4wNlBN8LrsZqvEhHU75u5 ByP2Rg5MT1YJCB6BlopQ+BXvdsSRH8WrtAJUKYawAAU4a+D7GT31HRw1A0w1kPvcuI XCz4InZxb3lnOS+herATf+uva6oCEKpJME3q35eQLYDfObx9I3fPD6f3ZbJSAtMM0W lq+CyVEhrTIp4qAjOEd+0k3l0TpayXZF8cI31+TQ+ltGBveF0BhX9Fy7V+YJnbpAd5 B3kuFy9qvKSNw== To: =?utf-8?B?5a6L5paH5q2m?= From: John Kehayias Cc: guix-devel@gnu.org Subject: Re: Clarify the license field of the package Message-ID: <87fshizxlv.fsf@protonmail.com> In-Reply-To: <87a67wabwf.fsf@envs.net> References: <87a67wabwf.fsf@envs.net> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=john.kehayias@protonmail.com; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: John Kehayias Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661537340; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OGAkO4wHOlMZzDOU6745VolPOzlMImHwyRFJV20nCxo=; b=gkh5kGHfBe0IuD1anOO0t8eIKX+855e0h2kT+rUK7xrP4K9Yenv+n2i3+Iq0udBSkEgzFX 324jLFQi4v+iuxohFqXmhPOIlAzyKsSvxCwUmtqY429A+haj9xuKD/RPgf6FhxfmIsRSl8 C1LQ2ADBiFWef9m2BwHcRMTtMRxcBiVGODkeIdH+qwpbHhyQObdNtfzZW8vdsV9MQSne85 YXLJVs9LIbz4emv40NBbqhFad+dcroE7vcUAkAD0Yd1WFzt62LNvwz7FvqAa3aeCn4HIUN FC0+PDSotXbOv6XTFKt9Kc0JtJgjNUO3XZQNfaHfdJVGXx16WbaXbYXLjqwW8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661537340; a=rsa-sha256; cv=none; b=jeqn5IdzS2s8G10n1u1wYomplcUx0xJkgits+DA3X3F80OY8M3CastMImmWBHfduuFSVju +3I+vHKfvqKx0CYFUujNjoRgKo6oHFVz9Ihl9vkoRoLLk8aHxs0m/Xrx1AtNE4/+0D289l mczPuTsjVZ/PP1EVy6rkVk7n4BMdfwY0zS17e6bAWq+IgKfgWV+Q69mA/hplDp4nekui3u 4ldHhv0YiFlxfH+i6SDiis/ptWEpR/+jH1deaijFXtkPXNVSnCPe88bcyY48TK+7YPfXrF xlHkExaQMPgW7ne7Eslf1tMI5/qy0jO2MhRA8Bj0wEkG1QqwvSgJXjaDnuUpPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=jwSwWn4h; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.31 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=jwSwWn4h; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A9ADF15045 X-Spam-Score: -7.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: Khg2eKxZPm35 Hello =E5=AE=8B=E6=96=87=E6=AD=A6, On Mon, Aug 22, 2022 at 05:02 PM, =E5=AE=8B=E6=96=87=E6=AD=A6 wrote: > Hello list, I have some questions about the 'license' of a package, > currently defined as: > > The license of the package; a value from =E2=80=98(guix licenses)= =E2=80=99, or a > list of such values. > > 1. It's the license of source files (guix build -S) or built binary > files? > Not a lawyer by any means, so I'm not sure how it works. For sure it applie= s to the source, but after building the binary output will contain a LICENS= E or COPYING file (always? I would assume). Other than that, I don't know := ) > 2. When its value is a list of multiple licenses, it's files under > different licenses (eg: lib/*.so under LGPL, while bin/* under GPL), > or files under one license select from choices? > In packaging, I have seen this when a package contains multiple sources for= whatever reason, though we do try to unbundle as much as possible. I've al= so seen a few that just have multiple licenses as the source had specified = multiple licenses, whether for different files or for user choice. Often, t= his is commented in the package definition for which license applies to whi= ch files, or why multiple are listed. For example, in the recent haxe package (which I wrote and I believe you pu= shed), the compiler and standard library are packaged together with differe= nt licenses. This is noted in the comments of the license field. While it m= ay be possible to package these separately, I'm not sure if it really makes= sense given how they are used and what upstream intends. > My guess is that the license field is for source files since we can > disable binary substitutes, and list is used for files under different > licenses. > > Does my guess is correct? Thank you! Those are my guesses/experiences above, hope that is helpful. John