From owner-freebsd-ports Mon Mar 17 7:20:35 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D944E37B401 for ; Mon, 17 Mar 2003 07:20:33 -0800 (PST) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC4344029 for ; Mon, 17 Mar 2003 07:19:41 -0800 (PST) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from [128.131.111.52] (naos [128.131.111.52]) by vexpert.dbai.tuwien.ac.at (8.12.8/8.12.8) with ESMTP id h2HFJcxi028125; Mon, 17 Mar 2003 16:19:38 +0100 (CET) Date: Mon, 17 Mar 2003 16:19:36 +0100 (CET) From: Gerald Pfeifer To: ports@freebsd.org Cc: Kris Kennaway Subject: Re: ports/Mk/bsd.port.mk -- installing ports as non-root In-Reply-To: <20030316225446.GB19051@rot13.obsecurity.org> Message-ID: References: <20030316225446.GB19051@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 16 Mar 2003, Kris Kennaway wrote: >> The patch below tries to address this; or did I miss anything? > It looks reasonable. Is this the only occurrence of this? I believe so, yes. Thanks for looking at that patchlet! How shall we proceed? May I commit this after the ports freeze is over, or are you going to take care of it, or should I file a PR and send you the number? > Of course, a lot of ports still can't be installed as non-root because > they use an internal install script. It might be interesting to have an > idea of how many are in this class. I haven't done extensive testing, but I'm afraid the number is high. :-( One thing I noticed, for example with textproc/sgmlformat, is that this port uses /usr/share/mk/ to build and install, and the Makefiles there lack the "intelligence" of the ports collection Makefiles (which avoid chown if not run as root), so you have to manually set BINOWN, BINGRP, MANOWN, MANGRP, etc. Would you consider accepting a patch that tries to avoid that also in case of /usr/share/mk? Gerald (gerald@FreeBSD.org) -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.pfeifer.com/gerald/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message