Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 00:22:27 +0100
From:      Bob Eager <rde@tavi.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: Any way to prevent do-extract chmod and chown?
Message-ID:  <20180628002227.6a829860@raksha.tavi.co.uk>
In-Reply-To: <dbfc8dbc-547c-74d9-e2dc-3cb3367293e1@hilltopgroup.com>
References:  <dbfc8dbc-547c-74d9-e2dc-3cb3367293e1@hilltopgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Jun 2018 19:06:44 -0400
Joseph Ward <jbwlists@hilltopgroup.com> wrote:

> When I "make extract", the "do-extract" target is performing a chmod
> and chown on everything, as seen from the following excerpt from the
> bsd.port.mk file:

 .
 .
 .

> Short of commenting those lines out (which I really don't want to do
> because I have 0 idea why it's there or what I'd break with other
> ports) is there any way at all to maintain the ownership of the
> files?=A0

If the ownership is well defined and not complex, you could add a
post-extract: target in your Makefile and fix up the ownerships then.

Or, you could override the do-extract: target with your own, and
extract the files as you want (probably replicating part of the real
do-extract: target).



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