From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by sourceware.org (Postfix) with ESMTPS id 7FAE83858D35 for ; Fri, 7 Aug 2020 07:45:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7FAE83858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=towo.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo@towo.net Received: from [192.168.178.45] ([95.90.245.244]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M5wTt-1k6S2y3c2V-007TYq for ; Fri, 07 Aug 2020 09:45:39 +0200 Subject: Re: cygport: Request a new feature in order to set owner/group names in packaged tarballs. To: cygwin-apps@cygwin.com References: <20200804215404.5C96.50F79699@gmail.com> <20200805053448.9C87.50F79699@gmail.com> From: Thomas Wolff X-Tagtoolbar-Keys: D20200807094534040 Message-ID: Date: Fri, 7 Aug 2020 09:45:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200805053448.9C87.50F79699@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:sIagQJA7u+57C7rj0upBe4Dgitg1IiHnxCurh5xN9Asg16nNMOC JeGPa28cSy9V9EUde6ojVB7zgUCTrAS0RGEjl7AwVWe5gqfn7t0ylUBUBdOGBxigcvd8L/4 rp5bNL/UZ79FePj/co+sNzW7ag3tl6cvHS75FR4IIdmnzKW2O1IHShYqac3o1W28rPZonhR xPfqkWrsJ/l4BLKo1dTUA== X-UI-Out-Filterresults: notjunk:1;V03:K0:5QVWmp3GFrg=:vDq7M2EdDuF5ehDBPgQs/J 97KOoTW8b51+PoXkfdpt5+60Dsx89IgzA3M+nvtCSoRvxh34mBAVZdhKGK/Yof5EwkV1Jw9Pj IuCxuC2ALXL0v1NbHUxWGPFaJ8f0ZqtTBuQGnRwCN6aX2+eqshBnxTwjmgnOYbuiN8XCZm1Lo 3JQ+ZtjC96Qy5O7fdzQnM05VCvMA+CzQ03xsJGQcwLu8FNBquxhLjKVZGYipuhg+XhfZuuan7 5gTQE22OvnCBZuqIfDwPBgRs1tlws9v/r43uhuwh1Q/VleGaqTjrgBf4CUXtcm8bTLytFEGU+ kpuSnac/xQvsONcK3Hu669ixgpUXXviN1LakgYrvcPXGnaCKJbodb9ow9QXdCC5Zg9sVBemny yw1O0PWNEHoq7AMUfiPYJ4qH2ulR3rMscx9nHP5j4h80+dJGrWezKgNRRa3aE6yrFbqNib2jP m7qfH5wMnk75cDEGs6a6V0ykEwxBggAtZqgjq3Ko04kSGKb5tax75VdeXT1trEtjnR1tKRSo7 FQnINC/oyB/15lBVkYJXdfg04MaHIW9NO99AyVZ9FBUqeXTzyIOwMC13cS0qyJU3vqoZCUUZd DuL34jYUpfbfuficNtaJmzvq3ABi9Hg0F9sOr3cZao8h9pkGexK41qLGEVGkh2YZMxV5aUZcv gCh68eel+kqsyVr5pl8e4FNAhmCm914wYNZKB99AicF7DpitaDoS99O6SVT8WCMA3FHdYJoi7 UvXKjX4D6BBxDKxF3CNszuCQqYszKJ3Dpv3efVcjiwA7HdJzPEOLyCN1t1m6oGBztGLl1Yb7t ogm+zTFQpyB62IN2pB//F6JfuvYJQ59c8WRrobsoayCRK4l2WIGRsTR09b2c8qpVzzDq/mc X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 07:45:45 -0000 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 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 you to do the same thing some time ago, but it has >>>> not been reviewed yet. >>>> >>>> https://repo.or.cz/cygport/rpm-style.git/commitdiff/c6af2ca23aae5da3e99c70cf2b704430b929f431 >>>> >>> Nice. >>> >>> Then, how about a commit following yours. >> It is much less than obvious in that older patch that you can trick the owner/group information into that option. >> I'd appreciate a simple explicit option for that. > All right. > > I've simplified options to Simplify options to CYGPORT_TAR_OPTS and > CYGPORT_TAR_EXT. > > https://github.com/cygwin-lem/cygport/commit/5a502cc84b8db0b47eae8b3571d363d106e74160 > > > This will work: > > 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 baz.cygport package > > CYGPORT_TAR_OPTS="--owner=foo --group=bar" CYGPORT_TAR_EXT=".tar.zst" cygport baz.cygport package I'd like to suggest, additionally to an explicit option, to set user and group by default, as it is also a privacy issue to spread the packager's user name out to the world in the tar archive. In that case I'd use the project name (no version) for the user name and "cygwin" for the group name. Thomas