Date: Sat, 10 Apr 2010 17:32:15 -0700 From: Tim Kientzle <kientzle@freebsd.org> To: Garrett Cooper <yanefbsd@gmail.com> Cc: FreeBSD Arch <arch@freebsd.org>, portmgr@freebsd.org Subject: Re: [RFC] Remove @owner and @user from package list Message-ID: <4BC1188F.3060001@freebsd.org> In-Reply-To: <l2z7d6fde3d1004101708o3946d155pfe2f9644daff329c@mail.gmail.com> References: <x2j7d6fde3d1004101552u1b60ee9etb8ed15183fc1f26f@mail.gmail.com> <h2y7d6fde3d1004101557r12ba49ffva56a00ea42053c51@mail.gmail.com> <l2z7d6fde3d1004101708o3946d155pfe2f9644daff329c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper wrote: > On Sat, Apr 10, 2010 at 3:57 PM, Garrett Cooper <yanefbsd@gmail.com> 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. Of course, we could also do this from the mtree description at either package creation time (reading the mtree description and using it to set file properties in the tarball) or package install time (using the mtree description to set the final file properties on disk). Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BC1188F.3060001>