[RFC] Remove @owner and @user from package list

John Baldwin jhb at freebsd.org
Mon Apr 12 13:56:03 UTC 2010


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 <yanefbsd at 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.

Yes. I have used this to build 3rd party packages at a previous employer.

-- 
John Baldwin


More information about the freebsd-arch mailing list