From owner-freebsd-arch@FreeBSD.ORG Mon Apr 12 13:56:03 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A009E1065673; Mon, 12 Apr 2010 13:56:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6FA3E8FC0A; Mon, 12 Apr 2010 13:56:03 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 2121346B6C; Mon, 12 Apr 2010 09:56:03 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 1D63D8A01F; Mon, 12 Apr 2010 09:56:00 -0400 (EDT) From: John Baldwin To: freebsd-arch@freebsd.org Date: Mon, 12 Apr 2010 09:31:36 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <4BC1188F.3060001@freebsd.org> In-Reply-To: <4BC1188F.3060001@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004120931.36907.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 12 Apr 2010 09:56:00 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Garrett Cooper , Tim Kientzle , portmgr@freebsd.org, FreeBSD Arch Subject: Re: [RFC] Remove @owner and @user from package list X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 13:56:03 -0000 On Saturday 10 April 2010 8:32:15 pm Tim Kientzle wrote: > Garrett Cooper wrote: > > On Sat, Apr 10, 2010 at 3:57 PM, Garrett Cooper wrote: > >>> When doing some research, it appears that while functionality in > >>> theory exists for @owner and @user in the package list, it isn't > >>> actually used in the pkg_install code at all, adding unnecessary bloat > >>> to package lists; > > > > Doing some more digging, there are a handful of ports that I don't > > have installed that implement this functionality: > > @mode ... > > @owner ... > > @group ... > > I would certainly shed no tears if these went away. > > OTOH, I can see a use for them in pkg_create, to > set the mode/owner/group in the resulting tarball. > This would be good when building a package from a > port while running as non-root user. Yes. I have used this to build 3rd party packages at a previous employer. -- John Baldwin