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: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-5.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 90B7A1F8C6 for ; Fri, 6 Aug 2021 07:23:24 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ACE75383B412 for ; Fri, 6 Aug 2021 07:23:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACE75383B412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1628234602; bh=XuFVVa+IMMyIjGvlQhvPPAoGBz5/jLQa04J04GCQSYI=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=OHegE1xDInufTmgiI5NddoAYhjP/tMsAl459gxTEMOCNiFk0qk5ED/lg1M19dqGjN MYvhCk3togy7/Iz9+HRHGz1dUJjeffI8EuUy5+9aRXn0zGNp35CF+c5KDeVi4O0Mt2 dXaFIU19skU3csTri7SUQGQUhhHmuaK5raWy6U/I= Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id 9F176384801C for ; Fri, 6 Aug 2021 07:23:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9F176384801C Received: by mail-wm1-x329.google.com with SMTP id n12-20020a05600c3b8cb029025a67bbd40aso8170123wms.0 for ; Fri, 06 Aug 2021 00:23:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XuFVVa+IMMyIjGvlQhvPPAoGBz5/jLQa04J04GCQSYI=; b=k/iUqEKB2W8EKZ2wYGnnJqtjPFDjhJpNNVrI4hDLAerI5Zey++OWiDho5OZUa0e3N6 peK5hq6sodvv1a70/+eZR8ZhjPZL7wD4xyYRiH3ZYttVaXYD687NhsYuDKHH5FfQOLCc 1ExWJKYXHU/YzFe92EmA3sLWtXw8I5K50BUTJ8u0+38YM/oEdGeNETc7A9yCenL42gig espOGUWKWUFEo8m42qtWR0bpKgLNAaPYfz0pXPDo//GY4l8gpv4KbjdKSxlBRNAuhrLh de8LOERnET1uKJxElCip2Zscl5Z6E8xuLTxAjsK1V4FNh46O3pTNxUqjs2dnVgxPLoYO dpbw== X-Gm-Message-State: AOAM533xVVhmp9E8yCPfjJTz0vbpJadv/gsmprCzIASiH2M5P2576DII sVqfK8CsfNEGQcvnJ9SK/DQ= X-Google-Smtp-Source: ABdhPJwgJQjv/NbyE304lE5CEG8PAxWAXeHwIHnZWvsmkPXHi/AwUbxMuFcNACq2ntz5ADN8NmciaA== X-Received: by 2002:a1c:4409:: with SMTP id r9mr1779947wma.150.1628234581727; Fri, 06 Aug 2021 00:23:01 -0700 (PDT) Received: from [10.8.0.10] ([195.53.121.100]) by smtp.gmail.com with ESMTPSA id z3sm11314317wmf.6.2021.08.06.00.23.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Aug 2021 00:23:01 -0700 (PDT) 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) To: Greg Kroah-Hartman , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Michael Kerrisk References: <20210804220808.cetleob6dldpfnjk@pali> <20210805082243.qciylqnt5g74if7i@pali> <20210805084410.sb5lybdri6r7t2da@pali> <20210805095100.n2qkm3kdiucwt6jd@pali> <418a281b-441d-66fc-6929-5d29fafc459b@gmail.com> <4757a0c3-896f-a402-acb1-7e7fcadaa907@gmail.com> Message-ID: <40ed8a18-cf49-f807-9227-201e994e9a5a@gmail.com> Date: Fri, 6 Aug 2021 09:22:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: "Alejandro Colomar \(man-pages\) via Libc-alpha" Reply-To: "Alejandro Colomar \(man-pages\)" Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , linux-man@vger.kernel.org, libc-alpha@sourceware.org, 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" 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. Cheers, Alex -- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/