From owner-freebsd-ports@FreeBSD.ORG Sat Aug 20 11:52:08 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADEFB106564A; Sat, 20 Aug 2011 11:52:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF298FC18; Sat, 20 Aug 2011 11:52:07 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p7KBq3oV048720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 20 Aug 2011 14:52:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p7KBq3fS084977; Sat, 20 Aug 2011 14:52:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p7KBq3E0084976; Sat, 20 Aug 2011 14:52:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 20 Aug 2011 14:52:03 +0300 From: Kostik Belousov To: Glen Barber Message-ID: <20110820115203.GH17489@deviant.kiev.zoral.com.ua> References: <4E4F95FD.907@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CxlMVwprXkXvo17J" Content-Disposition: inline In-Reply-To: <4E4F95FD.907@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: ports@freebsd.org Subject: Re: [Request for Comments] Adding a JAILED meta-variable to bsd.port.mk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2011 11:52:08 -0000 --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--