From owner-freebsd-ports@FreeBSD.ORG Mon Mar 25 11:31:02 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6490E27B for ; Mon, 25 Mar 2013 11:31:02 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.31.98]) by mx1.freebsd.org (Postfix) with ESMTP id EFC4F640 for ; Mon, 25 Mar 2013 11:31:01 +0000 (UTC) Received: from [87.79.250.190] (helo=fabiankeil.de) by smtprelay05.ispgateway.de with esmtpsa (SSLv3:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1UK5c7-0004ne-96 for freebsd-ports@freebsd.org; Mon, 25 Mar 2013 12:30:55 +0100 Date: Mon, 25 Mar 2013 12:28:26 +0100 From: Fabian Keil To: freebsd-ports@freebsd.org Subject: Re: LEGAL variable to capture generic issues Message-ID: <20130325122826.49e622d1@fabiankeil.de> In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/hYHBAi0Y2rVIo4Ow6Ce2HrF"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 11:31:02 -0000 --Sig_/hYHBAi0Y2rVIo4Ow6Ce2HrF Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Eitan Adler wrote: > I have been trying to capture the differences between LEGAL and the ports= tree. > At this point I am convinced we need a new variable to capture in a > machine usable way issues such as "special permission granted to > distribute under the GPL" or "No license -- see > http://cr.yp.to/softwarelaw.html". Furthermore some ports define > NO_PACKAGE for reasons of legality (GPL issues) and others defined it > for other reasons (the package becomes too big). We have no method to > differentiate between these two reasons. >=20 > I'd like to add a global "meta" variable that captures this > relationship. This would add the ability to mark per port special > text to be included in LEGAL even if it doesn't affect the ports tee > behavior. >=20 > The patch below would require a little bit of additional work (ports > which defined NO_PACKAGE for reasons other than legality would also > need to define LEGAL_PACKAGE=3D yes). This would make it much easier to > autogenerate LEGAL from the tree. >=20 > Thoughts? >=20 >=20 > Index: Mk/bsd.port.mk > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- Mk/bsd.port.mk (revision 315169) > +++ Mk/bsd.port.mk (working copy) > @@ -161,6 +161,9 @@ FreeBSD_MAINTAINER=3D portmgr@FreeBSD.org > # but distfiles can be put on ftp sites and CDROMs. > # FORBIDDEN - Package build should not be attempted because of > # security vulnerabilities. > +# LEGAL_TEXT - Port has legal issues (e.g., special > +# permission to distribute, lacks a license). > +# LEGAL_PACKAGE - Port has no legal issues but defines NO_PACKAGE As a ports maintainer I'm neither willing nor able to guarantee that my ports have no "legal issues". In fact some of my ports are (according to the upstream) licensed under the GPLv2 which is partly invalid in my jurisdiction. Would this "legal issue" require a LEGAL_TEXT? Fabian --Sig_/hYHBAi0Y2rVIo4Ow6Ce2HrF Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFQNN8ACgkQBYqIVf93VJ2LLwCfaZO+4fRc7QBO3Y3CS+QQm51c LhQAn2RhBbSsqjC69gaPmXByvwdmZ2tA =Hsym -----END PGP SIGNATURE----- --Sig_/hYHBAi0Y2rVIo4Ow6Ce2HrF--