Re: Defining license for a NetBSD program

From: Lorenzo Salvadore <developer_at_lorenzosalvadore.it>
Date: Sun, 09 Apr 2023 20:14:52 UTC


------- Original Message -------
On Sunday, April 9th, 2023 at 10:12 PM, Nuno Teixeira <eduardo@freebsd.org> wrote:


> (...)
> 
> ok, I've looked at src code and it seams that 2 and 3 clause is present.
> Should we use a comb:
> 
> Multiple Licenses
> When part of a port has one license, and another part has a different license, use multi:
> 
> LICENSE= BSD2CLAUSE BSD3CLAUSE
> LICENSE_COMB= multi
> LICENSE_FILE=${WRKSRC}/COPYING
> 
> ?

I think this should work.

(But I am not a lawyer and, as many probably know, licenses are one of the topics that most confuse
me in the ports tree.)

Cheers,

Lorenzo Salvadore

> Nuno Teixeira <eduardo@freebsd.org> escreveu no dia domingo, 9/04/2023 à(s) 21:00:
> 
> > Hello Lorenzo,
> > 
> > For what I understand, COPYING file includes a BSD2CLAUSE license and a addenda
> > "This product also contains software developed by other people, etc" and both are
> > defined in port by LICENSE definition and LICENSE_FILE that adds additional info to license.
> > 
> > LICENSE= BSD2CLAUSE
> > LICENSE_FILE= ${WRKSRC}/COPYING
> > 
> > Am I wrong?
> > 
> > Lorenzo Salvadore <developer@lorenzosalvadore.it> escreveu no dia domingo, 9/04/2023 à(s) 20:35:
> > 
> > > ------- Original Message -------
> > > On Sunday, April 9th, 2023 at 9:25 PM, Rodrigo Osorio <ros@bebik.net> wrote:
> > > 
> > > 
> > > > Looks like a clause 2 licence
> > > >
> > > > https://opensource.org/license/bsd-2-clause/
> > > 
> > > I agree, but since
> > > "[t]his product also contains software developed by other people, and you
> > > are advised to read the various source files to read the full details
> > > of the other licenses", I think you should also add more license as well using
> > > LICENSE_COMB:
> > > https://docs.freebsd.org/en/books/porters-handbook/makefiles/#licenses-license_comb
> > > 
> > > And maybe also add one more custom license file to include the acknowledgements
> > > required by those additional licenses (or include them in some other way).
> > > 
> > > Cheers,
> > > 
> > > Lorenzo Salvadore
> > > 
> > > 
> > > > On 09/04/23 20:29, Nuno Teixeira wrote:
> > > >
> > > > > Hello to all,
> > > > >
> > > > > I'd like to define a license for ftp/tnftp from NetBSD and not sure if BSDnCLAUSE applies here.
> > > > >
> > > > > Any help is welcome.
> > > > >
> > > > > COPYRIGHT (from README):
> > > > > ---------
> > > > > tnftp is covered by a BSD-style copyright notice.
> > > > > Please refer to the file `COPYING' for more information.
> > > > >
> > > > > COPYING:
> > > > >
> > > > > Copyright (c) 2001-2023 The NetBSD Foundation, Inc.
> > > > > All rights reserved.
> > > > >
> > > > > This code is derived from software contributed to The NetBSD Foundation
> > > > > by Simon Burge, Luke Mewburn, and Christos Zoulas.
> > > > >
> > > > > Redistribution and use in source and binary forms, with or without
> > > > > modification, are permitted provided that the following conditions
> > > > > are met:
> > > > > 1. Redistributions of source code must retain the above copyright
> > > > > notice, this list of conditions and the following disclaimer.
> > > > > 2. Redistributions in binary form must reproduce the above copyright
> > > > > notice, this list of conditions and the following disclaimer in the
> > > > > documentation and/or other materials provided with the distribution.
> > > > >
> > > > > THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
> > > > > ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
> > > > > TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
> > > > > PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
> > > > > BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> > > > > CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> > > > > SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> > > > > INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> > > > > CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> > > > > ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> > > > > POSSIBILITY OF SUCH DAMAGE.
> > > > >
> > > > >
> > > > > This product also contains software developed by other people, and you
> > > > > are advised to read the various source files to read the full details
> > > > > of the other licenses. Those licenses also require the following
> > > > > acknowledgements:
> > > > >
> > > > > This product includes software developed by the NetBSD Foundation,
> > > > > Inc. and its contributors. Those contributors include:
> > > > > - Simon Burge
> > > > > - Jaromir Dolecek
> > > > > - Klaus Klein
> > > > > - Luke Mewburn
> > > > > - Jason R. Thorpe of the Numerical Aerospace Simulation
> > > > > Facility, NASA Ames Research Center.
> > > > > - Christos Zoulas
> > > > >
> > > > > This product includes software developed by the University of
> > > > > California, Berkeley and its contributors. Those contributors include:
> > > > > - Christos Zoulas of Cornell University.
> > > > > - Guido van Rossum.
> > > > >
> > > > > This product includes software developed by Christos Zoulas.
> > > > >
> > > > > --
> > > > > Nuno Teixeira
> > > > > FreeBSD Committer (ports)
> > > >
> > > >
> > 
> > 
> > 
> > --
> > Nuno Teixeira
> > FreeBSD Committer (ports)
> 
> 
> 
> --
> Nuno Teixeira
> FreeBSD Committer (ports)