From owner-cvs-all@FreeBSD.ORG Sat Sep 2 13:54:54 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC21D16A4DA; Sat, 2 Sep 2006 13:54:54 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70F8743D46; Sat, 2 Sep 2006 13:54:54 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 52BFC1A4D94; Sat, 2 Sep 2006 06:54:54 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EBE075149D; Sat, 2 Sep 2006 09:54:52 -0400 (EDT) Date: Sat, 2 Sep 2006 09:54:52 -0400 From: Kris Kennaway To: Max Khon Message-ID: <20060902135452.GA66538@xor.obsecurity.org> References: <200608041234.k74CYoc1076722@repoman.freebsd.org> <44E389AA.3000003@FreeBSD.org> <44E38E2F.4000005@FreeBSD.org> <44E391AD.3010402@FreeBSD.org> <20060902124553.GA30093@samodelkin.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <20060902124553.GA30093@samodelkin.net> User-Agent: Mutt/1.4.2.2i Cc: Maxim Sobolev , FreeBSD Developers , cvs-all@FreeBSD.org, ports-committers@FreeBSD.org, G??bor K??vesd??n , cvs-ports@FreeBSD.org, Erwin Lansing Subject: Re: cvs commit: ports/Mk bsd.emacs.mk bsd.gnome.mk bsd.mail.mk bsd.openssl.mk bsd.port.mk bsd.port.subdir.mk bsd.python.mk bsd.ruby.mk bsd.scons.mk ports/Tools/scripts security-check.awk ports/databases/p5-DBD-Oracle Makefile ports/databases/p5-sqlrelay ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2006 13:54:54 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 02, 2006 at 07:45:53PM +0700, Max Khon wrote: > Hi! >=20 > On Wed, Aug 16, 2006 at 11:44:13PM +0200, G??bor K??vesd??n wrote: >=20 > > >>I think the solution proposed in PR/100555 is overengineered. Why not= =20 > > >>to build temporary binary package as usually and then use chroot(8)= =20 > > >>(or -C flag for pkg_install) to install it into DESTDIR environment?= =20 > > >>This would be *much* simpler approach and it won't require modifying= =20 > > >>anything but bsd.port.mk. Putting additional load on port maintainers= =20 > > >>on keeping their ports DESTDIR-clean is too much for such a niche=20 > > >>feature. > > > > > >Just to make clean: what I am proposing is the following course of=20 > > >actions when DESTDIR is defined: > > > > > >1. Build port as usually. Install it as usually. > > > > > >2. After usual installation is complete build temporary binary package= =20 > > >out of it and install it into DESTDIR environment. > > > > > >Automating it would require some amount of work, granted, but it would= =20 > > >be one time task, not constant burden on port maintainers. > > > > > >-Maxim > > I don't think it would be good, since: > >=20 > > 1, The package building requires that the package be installed first,= =20 > > and we don't want to make the host environment dirty in such way. >=20 > I think this should be fixed. Nobody else requires package to be installed > first. It's probably an enormous task, but please feel free to work on it. Kris --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE+Y0sWry0BWjoQKURAhXGAKDw+eH+JqOAilpJHzUSqBrn2/rKEACg4ewm L1XDzTgChhTQtSs6m9hS5cQ= =7mH6 -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--