From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5C5431F8C6 for ; Fri, 6 Aug 2021 08:32:56 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 83B3E399F40A for ; Fri, 6 Aug 2021 08:32:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83B3E399F40A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1628238775; bh=LPm2V89pZtua0I3MHh1gng6PqGnnZ7orFTZfNpPLTz0=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=GDByKXIKLvw72lXGt6DGM9W1x+FoKH7eSzx2tonwIIzsC/spFI4B0zxN09TtBNsC1 3xz0vD666ZG4TjGx7XXLohsk1i6NYlwb9LDbetMR+Fa9kwbrUhJ7lW7lYqhg4RhnIB Tp8kSeldb6aaqUG5DMjdlX/dSiMqbQEMh66+joh4= Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by sourceware.org (Postfix) with ESMTPS id 757BE385EC54 for ; Fri, 6 Aug 2021 08:32:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 757BE385EC54 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5C66F611F0; Fri, 6 Aug 2021 08:32:31 +0000 (UTC) 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 To: "Alejandro Colomar (man-pages)" 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Pali_Roh=C3=A1r_via_Libc-alpha?= Reply-To: Pali =?utf-8?B?Um9ow6Fy?= Cc: Marek =?utf-8?B?QmVow7pu?= , linux-man@vger.kernel.org, libc-alpha@sourceware.org, Greg Kroah-Hartman , Michael Kerrisk , linux-serial@vger.kernel.org, Andres Brouwer , "G. Branden Robinson" , Walter Harms Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" 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/