Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 18:43:20 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Dennis Glatting <freebsd@pki2.com>
Cc:        ports@freebsd.org, "Matthew D. Fuller" <fullermd@over-yonder.net>
Subject:   Re: FreeBSD unmaintained ports which are currently scheduled for deletion
Message-ID:  <20140813164320.GK9400@home.opsec.eu>
In-Reply-To: <1407947824.3895.274.camel@btw.pki2.com>
References:  <20140807153648.GO2644@home.opsec.eu> <1407811941.3895.236.camel@btw.pki2.com> <20140812045801.GC9400@home.opsec.eu> <1407863151.3895.237.camel@btw.pki2.com> <20140812193436.GE9400@home.opsec.eu> <1407891372.3895.266.camel@btw.pki2.com> <20140813041709.GF9400@home.opsec.eu> <1407904268.3895.270.camel@btw.pki2.com> <20140813044253.GA67425@over-yonder.net> <1407947824.3895.274.camel@btw.pki2.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> On Tue, 2014-08-12 at 23:42 -0500, Matthew D. Fuller wrote:
> > On Tue, Aug 12, 2014 at 09:31:08PM -0700 I heard the voice of
> > Dennis Glatting, and lo! it spake thus:
> > > 
> > > do_install in the Makefile does the chown.
> > 
> > Generally you'd want to do something more like using @owner/@group in
> > plist, rather than chown'ing in the stage.  Doing that would break
> > building as non-root, too.
> 
> What's the order? plist cannot change owner/group unless it is defined.
> Or, does plist execution happen /after/ the make process creates the
> owner/group entries?

If you some file bin/myfile1 in the pkg-plist which need to be owned by some
user etc, then:

[...]
bin/myfile0
@owner www
@group www
bin/myfile1
@owner root
@group wheel
bin/myfile2
[...]

should probably work. Can you try it ?

-- 
pi@opsec.eu            +49 171 3101372                         6 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140813164320.GK9400>