From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15290 invoked by uid 1002); 18 Jul 2003 00:30:19 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 793 invoked from network); 18 Jul 2003 00:30:19 -0000 From: Brandon Hale To: gentoo-dev@gentoo.org Content-Type: text/plain Message-Id: <1058505300.8186.12.camel@y0shi> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 18 Jul 2003 01:15:00 -0400 Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] chroot USE flag? X-Archives-Salt: e6780363-2bf1-4d3b-8703-fcabe3088f31 X-Archives-Hash: ca12e3a20ecae95ee9f5cc5c1dfe898b I propose a new USE flag for a few key services that would install the package in a chroot "out of the box." This idea was inspired by a conversation between Greg Fitzgerald (gregf) and myself on applying ideas from OpenBSD to Gentoo. Another source of inspiration is the excelent pkg_config code in the latest bind9 ebuilds. I further discussed this idea w/ memebers of the gentoo-hardened team and further crystalized the workings of such a flag. I would propose that the ebuild include two conditional install proceedures keyed on the chroot USE flag. The only possible problem I forsee is building devices inside the sandbox, which could be accomplished in pkg_postinstall as a last resort. I would be happy for any feedback or further development of this idea. Brandon Hale -- gentoo-dev@gentoo.org mailing list