Date: Tue, 11 Feb 2025 12:20:34 -0800 From: list_freebsd@bluerosetech.com To: Yusuf Yaman <nxjoseph@protonmail.com>, freebsd-ports@freebsd.org Subject: Re: How do I specify and attribute multiple licenses? Message-ID: <d2b10ea7-76d4-d0c5-05a1-fac5131085e7@bluerosetech.com> In-Reply-To: <33f0c59f-d544-4da1-a8e8-ef5b066e97e7@protonmail.com> References: <57ce3279-00d5-3a92-38a8-42007ab2b0a8@bluerosetech.com> <33f0c59f-d544-4da1-a8e8-ef5b066e97e7@protonmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2025-02-11 11:48, Yusuf Yaman wrote: > Can you see Porter's Handbook 5.8.7 LICENSE_DISTFILES and > LICENSE_DISTFILES_NAME. > > If you have multiple distribution files, then this maybe work for you. > > Example 38. LICENSE_DISTFILES > Used when the distribution files do not all have the same license. For > example, one has a code > license, and another has some artwork that cannot be redistributed: > MASTER_SITES= SF/some-game > DISTFILES= ${DISTNAME}${EXTRACT_SUFX} artwork.zip > LICENSE= BSD3CLAUSE ARTWORK > LICENSE_COMB= dual > LICENSE_NAME_ARTWORK= The game artwork license > LICENSE_TEXT_ARTWORK= The README says that the files cannot be > redistributed > LICENSE_PERMS_ARTWORK= pkg-mirror pkg-sell auto-accept > LICENSE_DISTFILES_BSD3CLAUSE= ${DISTNAME}${EXTRACT_SUFX} > LICENSE_DISTFILES_ARTWORK= artwork.zip That won't work in this case, because it's not the port that fetches the dependencies, but Composer. The port fetches two distfiles: - the main application distfile - a tarball containing the other distributions I make the second distfile by running `composer install` myself then tarballing the vendor subdirectory. All four licenses apply to its contents.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d2b10ea7-76d4-d0c5-05a1-fac5131085e7>