From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38CB7C4320A for ; Fri, 6 Aug 2021 08:32:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 19DE26103B for ; Fri, 6 Aug 2021 08:32:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242484AbhHFIct (ORCPT ); Fri, 6 Aug 2021 04:32:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:35790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242206AbhHFIcq (ORCPT ); Fri, 6 Aug 2021 04:32:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5C66F611F0; Fri, 6 Aug 2021 08:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628238751; bh=pkduKxG75bOFS7Mu9r1UK0lVa8oyh2IcVqJAW1oD38s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dGusvExKQOxVinelJT9LtZvAg4xNc0/hRVU/2BYA2p3BpT7LmUV5wWZ6T2awGg9SJ 6cK5OYtH36E/mO1u+Gj2qh8qIR/W6M9cK13yrl7KV0iRaZCjU/GrdFc2lY+zVB8tdw ONUCv7J/6DzIlC7mo/ZIStjB0qdg7nfii+Zyu9gMYZFZTX/qwi/vPnfu7uI5zdP/BI SlAbJlwB/km6eEgJJXXTMOXbVHNsNTc+SYQT+VWbiOrzMy1WTUfpk/GHfmGByppjV8 +wEkxHCX/z8AM12L5AohYnCkUi7qeBd8Eyo5jj8bZv09mWuOQy2erSwpYR4ZtirqyS 73PPKZZTyGp0g== Received: by pali.im (Postfix) id 93E75768; Fri, 6 Aug 2021 10:32:28 +0200 (CEST) Date: Fri, 6 Aug 2021 10:32:28 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: "Alejandro Colomar (man-pages)" Cc: Greg Kroah-Hartman , Michael Kerrisk , Marek =?utf-8?B?QmVow7pu?= , libc-alpha@sourceware.org, "G. Branden Robinson" , linux-man@vger.kernel.org, linux-serial@vger.kernel.org, Walter Harms , Andres Brouwer Subject: Re: Licensing example programs in man-pages (was [PATCH v3] ioctl_tty.2: Add example how to get or set baudrate on the serial port) Message-ID: <20210806083228.vja7jqnophuomg73@pali> References: <20210805082243.qciylqnt5g74if7i@pali> <20210805084410.sb5lybdri6r7t2da@pali> <20210805095100.n2qkm3kdiucwt6jd@pali> <418a281b-441d-66fc-6929-5d29fafc459b@gmail.com> <4757a0c3-896f-a402-acb1-7e7fcadaa907@gmail.com> <40ed8a18-cf49-f807-9227-201e994e9a5a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40ed8a18-cf49-f807-9227-201e994e9a5a@gmail.com> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Friday 06 August 2021 09:22:59 Alejandro Colomar (man-pages) wrote: > Hi Greg, Pali, > > Hi GregOn 8/5/21 7:54 PM, Greg Kroah-Hartman wrote: > > > > What is the license of this page? > > > > > > .../linux/man-pages$ head -n8 man2/ioctl_tty.2 > > > .\" Copyright 2002 Walter Harms > > > .\" and Andries Brouwer . > > > .\" > > > .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE) > > > .\" Distributed under GPL > > > > What version of GPL? > > I don't know :/ > Maybe v1... > > > > > > .\" %%%LICENSE_END > > > .\" > > > .TH IOCTL_TTY 2 2021-03-22 "Linux" "Linux Programmer's Manual" > > > > > > I'm don't know what GPL_NOVERSION_ONLINE is at all. > > > > I would recommend adding proper SPDX markings to all of these files. > > Even better, work to make the whole repo REUSE compliant which means > > that there is no ambuiguity here. > > > > Agree. If Michael has no problems with that, I'll add it to my TODO list. > > > But, the above license does not show up on the code in the original > > example here, and that needs to be present if anyone wants this to be > > used. > > Yup. > > > > > > Still, if the code is going to have a different license than the rest of the > > > page, it could perfectly have an SPDX comment in the first line of the > > > example program. > > > > Even if it is different, it should still be present as no one can see > > the license of a man page "easily" when reading the documentation > > through normal tools. > > Yup. > > > > > thanks, > > > > greg k-h > > > > Pali, > > If you want to specify a specific license for your code, add 2 SPDX lines > according to REUSE . If not, I'll assume that you > don't care, and when I fix the pages to show the license (which in this case > I'm not sure which one will be, maybe GPLv1) your code will use that same > license. I'll take care of any necessary adjustments such as providing the > license text in the repository; you don't need to do that. Just do not complicate it and use same license as for other manpages or examples. > > Cheers, > > Alex > > > -- > Alejandro Colomar > Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ > http://www.alejandro-colomar.es/