From owner-freebsd-ports@freebsd.org Mon Oct 8 10:24:52 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CBE210BA52F for ; Mon, 8 Oct 2018 10:24:52 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Received: from mail4.protonmail.ch (mail4.protonmail.ch [185.70.40.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "QuoVadis Global SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AEB6383EFA for ; Mon, 8 Oct 2018 10:24:51 +0000 (UTC) (envelope-from phascolarctos@protonmail.ch) Date: Mon, 08 Oct 2018 10:24:34 +0000 To: FreeBSD Ports From: Lorenzo Salvadore Reply-To: Lorenzo Salvadore Subject: Re: How to exclude some sparse files from LICENSE_DISTFILES Message-ID: In-Reply-To: <20181008095347.nss7babndpmpjzf7@atuin.in.mat.cc> References: <8nNsBOTunmQcKpoxKMFPhOWPm7kXXRjEaurvCK5Wusg5eR7sdHkXB-XG49j5jHQSl9yImRA_njYwu1Pv3OKSCEu5DK55t3k7nkFDCd5UbPE=@protonmail.ch> <20181008095347.nss7babndpmpjzf7@atuin.in.mat.cc> Feedback-ID: X6az_D2smWSR8MT5MHqXnWF0upxehDyHia7Id1cbayHNBUkRu3CIeusDsZHiivIIjmaKB1_OofpALrRUYjNz3w==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.protonmail.ch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2018 10:24:52 -0000 > On Sun, Oct 07, 2018 at 12:24:54PM +0000, Lorenzo Salvadore via freebsd-p= orts wrote: > > > Hello. > > I am trying to adopt and update a port which has no license specified. > > Almost all files are under public domain, but there are some exceptions= , not all > > in the same directories, so I would need to assign to LICENSE_DISTFILES= _PD > > a value that means "all files are under public domain unless otherwise = stated". > > I thought I could use something like LICENSE_DISTFILES_PD!=3D$(find ...= ), but I know > > that !=3D is discouraged ( https://lists.freebsd.org/pipermail/freebsd-= ports/2008-July/049777.html ). > > Is there some nice solution to this problem? Maybe just not defining LI= CENSE_DISTFILES_PD? > > Defining an ALMOSTPD license? > > LICENSE_DISTFILES* is about distfiles, the things in > /usr/ports/distfiles, not about the files in the work directory. You > can say "this tar.gz is PD, and this tar.gz is GPL" but not more than tha= t. > > What you want is > > LICENSE=3D PD OTHER > LICENSE_COMB=3D multi > > (Note if the other license is not defined, you have to define it > further.) Thank you very much. Indeed, I had misunderstood the documentation: now everything is clear (and I have some new ports to correct). Lorenzo Salvadore.