Re: Any way to prevent do-extract chmod and chown?

2018-07-03 Thread Joseph Ward
On 07/02/2018 16:50, Chris H wrote: > On Fri, 29 Jun 2018 00:05:59 +0200 "Mathieu Arnold" > said > >> On Thu, Jun 28, 2018 at 01:43:41PM -0400, Joseph Ward wrote: >> > Thank you.  I found that to be the case; even though changing the >> > "do-extract" target successfully staged the files and

Re: Any way to prevent do-extract chmod and chown?

2018-07-02 Thread Chris H
On Fri, 29 Jun 2018 00:05:59 +0200 "Mathieu Arnold" said On Thu, Jun 28, 2018 at 01:43:41PM -0400, Joseph Ward wrote: > Thank you.  I found that to be the case; even though changing the > "do-extract" target successfully staged the files and directories with > the original permissions, pkg

Re: Any way to prevent do-extract chmod and chown?

2018-07-01 Thread Joseph Ward
On 06/29/2018 09:51, Joseph Ward wrote: > Thank you, I'll look into that tool and will reply back (for future > seekers) if it does what I need. > > -Joseph > > > On 06/28/2018 19:00, Freddie Cash wrote: >> On Thu, Jun 28, 2018, 3:06 PM Mathieu Arnold, wrote: >> >>> On Thu, Jun 28, 2018 at

Re: Any way to prevent do-extract chmod and chown?

2018-06-28 Thread Freddie Cash
On Thu, Jun 28, 2018, 3:06 PM Mathieu Arnold, wrote: > On Thu, Jun 28, 2018 at 01:43:41PM -0400, Joseph Ward wrote: > > Thank you. I found that to be the case; even though changing the > > "do-extract" target successfully staged the files and directories with > > the original permissions, pkg

Re: Any way to prevent do-extract chmod and chown?

2018-06-28 Thread Mathieu Arnold
On Thu, Jun 28, 2018 at 01:43:41PM -0400, Joseph Ward wrote: > Thank you.  I found that to be the case; even though changing the > "do-extract" target successfully staged the files and directories with > the original permissions, pkg create seems to strip them out again > without the pkg-plist

Re: Any way to prevent do-extract chmod and chown?

2018-06-28 Thread Joseph Ward
Thank you.  I found that to be the case; even though changing the "do-extract" target successfully staged the files and directories with the original permissions, pkg create seems to strip them out again without the pkg-plist additions. Are you aware of an easy/already existing command to create

Re: Any way to prevent do-extract chmod and chown?

2018-06-28 Thread Mathieu Arnold
On Wed, Jun 27, 2018 at 07:06:44PM -0400, Joseph Ward wrote: > Hi everyone, > > I'm creating some internal-only ports and I'm trying to maintain the > permissions and owners of the files present in the distfile.tar.gz when > they get packaged up for install. > > When I "make extract", the

Re: Any way to prevent do-extract chmod and chown?

2018-06-27 Thread Joseph Ward
Overriding the do-extract target is exactly what I was looking for.  Something I didn't know I could do.  It worked perfectly, thanks!  Unfortunately there are way too many files with various owners to try and fix the permissions afterwards or in the pkg-plist.  (I did consider creating a script

Re: Any way to prevent do-extract chmod and chown?

2018-06-27 Thread Adam Weinberger
On Wed, Jun 27, 2018 at 5:09 PM Joseph Ward wrote: > > Hi everyone, > > I'm creating some internal-only ports and I'm trying to maintain the > permissions and owners of the files present in the distfile.tar.gz when > they get packaged up for install. > > When I "make extract", the "do-extract"

Re: Any way to prevent do-extract chmod and chown?

2018-06-27 Thread Bob Eager
On Wed, 27 Jun 2018 19:06:44 -0400 Joseph Ward 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

Any way to prevent do-extract chmod and chown?

2018-06-27 Thread Joseph Ward
Hi everyone, I'm creating some internal-only ports and I'm trying to maintain the permissions and owners of the files present in the distfile.tar.gz when they get packaged up for install. When I "make extract", the "do-extract" target is performing a chmod and chown on everything, as seen from