From owner-freebsd-ports@freebsd.org Mon Oct 8 09:53: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 AB0FB10B9A57 for ; Mon, 8 Oct 2018 09:53:52 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BDC482F47; Mon, 8 Oct 2018 09:53:52 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (unknown [IPv6:2a01:678:42:ffff:3e15:c2ff:fec4:452e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A594718062; Mon, 8 Oct 2018 09:53:51 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Mon, 8 Oct 2018 11:53:47 +0200 From: Mathieu Arnold To: Lorenzo Salvadore Cc: FreeBSD Ports Subject: Re: How to exclude some sparse files from LICENSE_DISTFILES Message-ID: <20181008095347.nss7babndpmpjzf7@atuin.in.mat.cc> References: <8nNsBOTunmQcKpoxKMFPhOWPm7kXXRjEaurvCK5Wusg5eR7sdHkXB-XG49j5jHQSl9yImRA_njYwu1Pv3OKSCEu5DK55t3k7nkFDCd5UbPE=@protonmail.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="utqa7vnvfzo7g4k6" Content-Disposition: inline In-Reply-To: <8nNsBOTunmQcKpoxKMFPhOWPm7kXXRjEaurvCK5Wusg5eR7sdHkXB-XG49j5jHQSl9yImRA_njYwu1Pv3OKSCEu5DK55t3k7nkFDCd5UbPE=@protonmail.ch> User-Agent: NeoMutt/20180716 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 09:53:52 -0000 --utqa7vnvfzo7g4k6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 07, 2018 at 12:24:54PM +0000, Lorenzo Salvadore via freebsd-por= ts wrote: > Hello. >=20 > 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 st= ated". >=20 > 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-po= rts/2008-July/049777.html ). >=20 > Is there some nice solution to this problem? Maybe just not defining LICE= NSE_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 that. 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.) --=20 Mathieu Arnold --utqa7vnvfzo7g4k6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlu7KStfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkg1zA//XvFawVby5WY/ZwcHCgoBi1T/1+kJlKZ8K/qrWoU2wdNSoif3ecDaajag rnkkrm19QiuLTH6TXSMkhbZY5hP78wW6o+NhQL6VChKtDXJ1UY58REKc+6P9HLwJ QBAWXZZMCgiW1cpM7rWOZE9qZm12HyGaRZCh+Gw4BGtlVq1kMSpRMeyhj+7SFAcB FpsZUADGwUgIPq0lbTnE9+WNxLsjIVMxu/bQ9c0ZIT24140YTIvVCg5/wxaaJFBY eNeCdqW4gCkdOAZXDsY31sRvePNVvoOGoAktcC98Lrx230NghegHwRfRtUXxp1e0 dMILUYgE4O3sxQrRtVIAY+mxYY4y0/nHPwZReXVuqUfY9Q9a5tKj9jBjnQgqWpHj ESdfjZODT9lmED8CnQnrHYZswFK9nJVvtXVUEkXPKUHa80M9TKnt0CqIEY7vV7tK d09zv6MLO1NMpQu7tYTVvI/zGhEqWZeJrhi2V4iQQPnWJhPce2E3oYbYq6ZEMMUP jWCCvtzbEX56lG7eRr+t0ugbZRLk2cAwmILYdYytzUa2V0WKv4eDbZ2VgivZ8cQ9 MyEBLR59VJvdkGqw4u/7ZH/9nHDM8Q/4fmnMPUTgGZd8Yvj1TmXLPToSQlDMsv4m JFiNbpIsHNMZwKvZto9UhbImch31Zn2bYW9BlqgE+196zQDyuJk= =li/W -----END PGP SIGNATURE----- --utqa7vnvfzo7g4k6--