Date: Sat, 20 Aug 2011 14:52:03 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Glen Barber <gjb@freebsd.org> Cc: ports@freebsd.org Subject: Re: [Request for Comments] Adding a JAILED meta-variable to bsd.port.mk Message-ID: <20110820115203.GH17489@deviant.kiev.zoral.com.ua> In-Reply-To: <4E4F95FD.907@FreeBSD.org> References: <4E4F95FD.907@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--CxlMVwprXkXvo17J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 20, 2011 at 07:09:49AM -0400, Glen Barber wrote: > Hi, >=20 > I would like to propose a change to bsd.port.mk which, similarly to > obtaining the OSVERSION, checks if the system on which a port is being > built is a jailed environment. >=20 > This change can allow port maintainers to mark ports that do not run in > jailed environments as IGNORE, or adjust PKG_MESSAGE to inform the user > of special conditions or changes that will be needed to run a port from > within a jail. One particular example of the latter is > databases/postgresql*-server, where the user must enable > security.jail.sysvipc_allowed. I am sure this feature could expand to > other cases I have not considered yet, as well. I do not think this is good idea. The machine or environment where the port is built sometimes (or, in my setups, quite often) is not the same as where it is run. Your proposal gives a tool to tightly tie the ports to build environments, that is detrimental for some setups, and also diminish the value of packaging. IMHO. --CxlMVwprXkXvo17J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk5Pn+IACgkQC3+MBN1Mb4jrTgCfd5krJMLW8UODZIpKK+FHZppu zT8An0MJDnhIPyHxDzyXn3PGQF0Q38rE =QwZ5 -----END PGP SIGNATURE----- --CxlMVwprXkXvo17J--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110820115203.GH17489>