Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-10 Thread Lemures Lemniscati via Cygwin-apps
On Mon, 10 Aug 2020 21:51:35 +0200, Achim Gratz > Lemures Lemniscati via Cygwin-apps writes: > > [1]: > > https://github.com/cygwin-lem/cygport/commit/7ae236b524fa5f5b27f9773cdf21ee4f6624a53b > > You set the variable CYGPORT_TAR_EXT in pkg_pkg.cygpart, then use it in > pkg_upload-cygport. Have

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-10 Thread Achim Gratz
Lemures Lemniscati via Cygwin-apps writes: > [1]: > https://github.com/cygwin-lem/cygport/commit/7ae236b524fa5f5b27f9773cdf21ee4f6624a53b You set the variable CYGPORT_TAR_EXT in pkg_pkg.cygpart, then use it in pkg_upload-cygport. Have you verified tha the latter will have that definition

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-09 Thread Lemures Lemniscati via Cygwin-apps
On Sat, 08 Aug 2020 20:14:59 +0900, Lemures Lemniscati > On Sat, 08 Aug 2020 06:32:06 +0200, ASSI > > Lemures Lemniscati via Cygwin-apps writes: > > > But I feel uneasy about the usase of CYGPORT_TAR_CMD, because we must > > > specify 'tar' in it. It is a redundancy. > > > > It is also a way to

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-07 Thread ASSI
Lemures Lemniscati via Cygwin-apps writes: > But I feel uneasy about the usase of CYGPORT_TAR_CMD, because we must > specify 'tar' in it. It is a redundancy. It is also a way to do nefarious things, but there are already many more such places. > The following is a thought experiment to avoid

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-07 Thread Lemures Lemniscati via Cygwin-apps
On Fri, 07 Aug 2020 21:09:11 +0200, ASSI > Lemures Lemniscati via Cygwin-apps writes: > >> No, I was talking about things like XZ_OPT or ZSTD_CLEVEL. > > > > I think XZ_OPT or ZSTD_CLEVEL can be passed through environment. > > And this should control xz or zstd.. > > > > XZ_OPT="..." cygport

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-07 Thread ASSI
Lemures Lemniscati via Cygwin-apps writes: >> No, I was talking about things like XZ_OPT or ZSTD_CLEVEL. > > I think XZ_OPT or ZSTD_CLEVEL can be passed through environment. > And this should control xz or zstd.. > > XZ_OPT="..." cygport foo.cygport package > ZSTD_CLEVEL="..." cygport foo.cygport

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-07 Thread Lemures Lemniscati via Cygwin-apps
On Thu, 6 Aug 2020 18:13:52 +0100, Jon Turney > On 05/08/2020 22:50, Lemures Lemniscati via Cygwin-apps wrote: > > On Wed, 5 Aug 2020 20:34:24 +0100, Jon Turney > >> > >> However, I think there is a consistency problem here, as other variables > >> which should only produce a single line in the

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-07 Thread Lemures Lemniscati via Cygwin-apps
On Fri, 7 Aug 2020 09:45:34 +0200, Thomas Wolff > Am 04.08.2020 um 22:34 schrieb Lemures Lemniscati via Cygwin-apps: > > CYGPORT_TAR_OPTS="--owner=foo --group=bar" cygport baz.cygport package > > > > And if you have tar >=1.31, these will also work: > > > > CYGPORT_TAR_EXT=".tar.zst" cygport

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-07 Thread Thomas Wolff
Am 04.08.2020 um 22:34 schrieb Lemures Lemniscati via Cygwin-apps: On Tue, 4 Aug 2020 15:46:13 +0200, Thomas Wolff Am 04.08.2020 um 14:54 schrieb Lemures Lemniscati via Cygwin-apps: Date: Mon, 03 Aug 2020 21:24:11 +0200 From: Achim Gratz Lemures Lemniscati via Cygwin writes: This is another

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-06 Thread ASSI
Lemures Lemniscati via Cygwin-apps writes: > Do you mean controlling with '-I' or '--use-compress-program='? > (And I didn't know these options of tar... oh.) No, I was talking about things like XZ_OPT or ZSTD_CLEVEL. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-06 Thread Jon Turney
On 05/08/2020 22:50, Lemures Lemniscati via Cygwin-apps wrote: On Wed, 5 Aug 2020 20:34:24 +0100, Jon Turney However, I think there is a consistency problem here, as other variables which should only produce a single line in the .hint file (e.g. REQUIRES, etc.) don't get whitespace

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-05 Thread Lemures Lemniscati via Cygwin-apps
On Wed, 5 Aug 2020 20:34:24 +0100, Jon Turney > On 04/08/2020 21:49, Lemures Lemniscati via Cygwin-apps wrote: > > On Tue, 04 Aug 2020 19:02:35 +0200, ASSI > >> Lemures Lemniscati via Cygwin-apps writes: > >>> And a next one is for making BUILD_REQUIRES a single-line list in > >>> *src.hint files.

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-05 Thread Lemures Lemniscati via Cygwin-apps
On Wed, 05 Aug 2020 20:31:33 +0200, ASSI > Lemures Lemniscati via Cygwin-apps writes: > > I've simplified options to Simplify options to CYGPORT_TAR_OPTS and > > CYGPORT_TAR_EXT. > > You've also removed the possibility to invoke tar with a different > environment, which you must do if you want to

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-05 Thread Jon Turney
On 04/08/2020 21:49, Lemures Lemniscati via Cygwin-apps wrote: On Tue, 04 Aug 2020 19:02:35 +0200, ASSI Lemures Lemniscati via Cygwin-apps writes: And a next one is for making BUILD_REQUIRES a single-line list in *src.hint files. … or just don't embed newlines. Since cygport is bash under

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-05 Thread ASSI
Lemures Lemniscati via Cygwin-apps writes: > I've simplified options to Simplify options to CYGPORT_TAR_OPTS and > CYGPORT_TAR_EXT. You've also removed the possibility to invoke tar with a different environment, which you must do if you want to control the compression parameters. You would now

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-04 Thread Lemures Lemniscati via Cygwin-apps
On Tue, 04 Aug 2020 19:02:35 +0200, ASSI > Lemures Lemniscati via Cygwin-apps writes: > > Don't quote email addresses, please. Sorry, I've changed settings of my mailer not to do so. > > > Nice. > > > > Then, how about a commit following yours. > > That's really for Yaakov to say. > > > Now

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-04 Thread Lemures Lemniscati via Cygwin-apps
On Tue, 4 Aug 2020 15:46:13 +0200, Thomas Wolff > Am 04.08.2020 um 14:54 schrieb Lemures Lemniscati via Cygwin-apps: > > Date: Mon, 03 Aug 2020 21:24:11 +0200 > > From: Achim Gratz > > > >> Lemures Lemniscati via Cygwin writes: > >>> This is another patch, so that cygport shall make tarballs with

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-04 Thread ASSI
Lemures Lemniscati via Cygwin-apps writes: Don't quote email addresses, please. > Nice. > > Then, how about a commit following yours. That's really for Yaakov to say. > Now it is suffienct to specify CYGPORT_TAR_EXT as ".tar.zst" in order > use zstd. But it needs tar version >= 1.31. I've

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-04 Thread Thomas Wolff
Am 04.08.2020 um 14:54 schrieb Lemures Lemniscati via Cygwin-apps: Date: Mon, 03 Aug 2020 21:24:11 +0200 From: Achim Gratz Lemures Lemniscati via Cygwin writes: This is another patch, so that cygport shall make tarballs with specified owner and group names. Cygport patches should better

Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs.

2020-08-04 Thread Lemures Lemniscati via Cygwin-apps
Date: Mon, 03 Aug 2020 21:24:11 +0200 From: Achim Gratz > Lemures Lemniscati via Cygwin writes: > > This is another patch, so that cygport shall make tarballs with > > specified owner and group names. > > Cygport patches should better go to cygwin-apps. I've already sent a > patch that allows