From nobody Tue Feb 11 19:48:37 2025 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YssSs4WByz5mcFW for ; Tue, 11 Feb 2025 19:48:45 +0000 (UTC) (envelope-from nxjoseph@protonmail.com) Received: from mail-10696.protonmail.ch (mail-10696.protonmail.ch [79.135.106.96]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YssSs2LXtz3TYy for ; Tue, 11 Feb 2025 19:48:45 +0000 (UTC) (envelope-from nxjoseph@protonmail.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1739303322; x=1739562522; bh=M9ko928nn71m32fdXxJ//24jwISzyLRR9mPmaCR4gXw=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=S7LZg6RSbfHAXtpFmZ4WRaY/LHnaC8knhvnegcMizAdbf+wBzRbtUCeQ57rPZn9jB f4+EYNbwjQcPqp8Waddan0NXWcFCr9wwTIm3El2o7/UoXm8CUH0L/Jr5Nxs+NXIOuR mXJSZ3RB/ewAgKXjUg84VjCFJYunUp+YO0mMhbYMNpdWAvfGPATRdSgvOghcfDC7hK rSSJlrVFeqBHgD5ODY/O1LBIGvRHJ4UnMMmaCq5NG5/X9jvopJQMHG2p25f0jOKU6x X0JuLuaRvJSRI6osLlHBCo2uxzV/wSla4hyxhR6oBvRzp3r/zT7e9elCWn4fJ1Xg/i ykB0yjEZbH65A== Date: Tue, 11 Feb 2025 19:48:37 +0000 To: list_freebsd@bluerosetech.com, freebsd-ports@freebsd.org From: Yusuf Yaman Subject: Re: How do I specify and attribute multiple licenses? Message-ID: <33f0c59f-d544-4da1-a8e8-ef5b066e97e7@protonmail.com> In-Reply-To: <57ce3279-00d5-3a92-38a8-42007ab2b0a8@bluerosetech.com> References: <57ce3279-00d5-3a92-38a8-42007ab2b0a8@bluerosetech.com> Feedback-ID: 21989843:user:proton X-Pm-Message-ID: ee9bc36c3c564185558d005414427123da3b1e15 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4YssSs2LXtz3TYy X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Hi, Can you see Porter's Handbook 5.8.7 LICENSE_DISTFILES and=20 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=20 example, one has a code license, and another has some artwork that cannot be redistributed: MASTER_SITES=3D=C2=A0=C2=A0 SF/some-game DISTFILES=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ${DISTNAME}${EXTRACT_SUFX} artwo= rk.zip LICENSE=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 BSD3CLAUSE ARTWORK LICENSE_COMB=3D=C2=A0=C2=A0 dual LICENSE_NAME_ARTWORK=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The game artwork lice= nse LICENSE_TEXT_ARTWORK=3D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 The README says that = the files cannot be=20 redistributed LICENSE_PERMS_ARTWORK=3D=C2=A0=C2=A0=C2=A0=C2=A0 pkg-mirror pkg-sell auto-a= ccept LICENSE_DISTFILES_BSD3CLAUSE=3D=C2=A0=C2=A0 ${DISTNAME}${EXTRACT_SUFX} LICENSE_DISTFILES_ARTWORK=3D artwork.zip On 2/11/25 22:43, list_freebsd@bluerosetech.com wrote: > I'm porting a PHP applicaton that, when fully installed, is actually 10 > different components: the main application and 9 dependencies installed > using Composer. To make the user's life easier, I want to distribute a > tarball of the vendor files. Easy enough, but now I have to disclose > all the licenses. I've already identified the licenses involved: > > - BSD 2-Clause "Simplified" License (BSD2CLAUSE) > - GNU General Public License v2.0 (GPLv2) > - GNU Lesser General Public License Version 3.0 (LGPL3) > - MIT License (MIT) > > All of them should let me do this kind of bundling and distributing, but > I'm unsure how to disclose them to the end user. I've figured out I can > do the license acceptance bit in the Makefile: > > LICENSE=3D=09GPLv2+ BSD2CLAUSE LGPL3+ MIT > LICENSE_COMB=3D=09multi > > But it's 10 different softwares, not 4. > > How do I attribute each component's license? > > Do get a copy of each license file and name those something specific > under PREFIX/share/licenses? > > Is it sufficient to list which license is used by which in pkg-message? >