From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vsmx009.vodafonemail.xion.oxcs.net (vsmx009.vodafonemail.xion.oxcs.net [153.92.174.87]) by sourceware.org (Postfix) with ESMTPS id A7724385B831 for ; Sun, 5 Apr 2020 18:54:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A7724385B831 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Stromeko@nexgo.de Received: from vsmx001.vodafonemail.xion.oxcs.net (unknown [192.168.75.191]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id 9858E159DCBB for ; Sun, 5 Apr 2020 18:54:47 +0000 (UTC) Received: from Gertrud (unknown [84.160.196.178]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 64E9C159DC46 for ; Sun, 5 Apr 2020 18:54:45 +0000 (UTC) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: cygport patches for consideration Date: Sun, 05 Apr 2020 20:54:37 +0200 Message-ID: <87k12tbw5u.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-VADE-STATUS: LEGIT X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LOTSOFHASH, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, 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-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2020 18:54:51 -0000 I've prepared a branch on top of current master for your perusal: https://repo.or.cz/cygport/rpm-style.git/shortlog/refs/heads/to-upstream As you can see they've been battle-tested by me for quite some time already: commit 779a7dd2fc834d45fb0f46cded647557ece17d8f (to-upstream) Date: Sat Apr 20 20:02:33 2013 +0200 switch submodule gnuconfig to HTTPS protocol =20=20=20=20 Live more easily with stupid firewalls... commit fd17952c457b808e360e5ed75ffae8d9571283ad Date: Sun Dec 6 13:32:38 2015 +0100 lib/pkg_pkg.cygpart: uniquify requirements after the version has been s= tripped off =20=20=20=20 * lib/pkg_pkg.cygpart: Move the "sort -fu" command to after the stripping of the version part. Otherwise some dependencies might get listed twice (perl_base does this sometimes). commit 40296640fdd0951d72ae0c107f2a46bbf8111ca3 Date: Wed Oct 3 08:56:42 2012 +0200 support subdirectories in CPAN download URL =20=20=20=20 * cygclass/perl.cygclass: Allow CPAN_AUTHOR to have an /... suffix. This is necessary for some modules that put the distribution files in some subdirectory. Only upcase the actual author name (up until the first "/") and preserve case for the suffix part. By request of Reini Urban, also add a variable CPAN_DIR that alternately, if set, will be used to concatenate as ${CPAN_AUTHOR}/${CPAN_DIR} before determining the CPAN download URL. Neither variable should have a slash ("/") at the beginning or the end. commit 22b3f22b92c472df80be0fdcfd3854bfd19e16f8 Date: Sun May 18 17:52:10 2014 +0200 pkg_info.cygport: correct search order for Perl dependencies =20=20=20=20 * lib/pkg_info.cygpart: Correct search order for Perl dependencies and suppress auto-generation of Perl dependencies when NO_PERL_DEPS=C2=A0= is defined. =20=20=20=20 Dependency generation for Perl at least is too simplistic and doesn't take into account that some modules required or used might actually be optional. It tends to generate too long dependency lists that vary with the Perl distributions already installed. =20=20=20=20 For starters, the search order should be the reverse of @INC to skip dependencies that are built-in to perl already, but that doesn't pick up those modules that are needed with a higher version since only the presence of the module is detected. Files in site_perl shoud never be searched since these are local installs. Files in vendor_perl might be useful to check, however due to the version problem it is better to inject the module dpenedencies from the cygport file. So skip those searches when NO_PERL_DEPS is defined, which it will be for auto-generated cygport files for Perl distributions (the information is pulled from CPAN/MetaCPAN). commit 2e61b06df6bd5a742f92c25b50d335945e17a34b Date: Sat Aug 18 12:43:23 2018 +0200 bin/cygport.in: provide all-test / almostall-test commands on CLI for s= ymmetry with package-test / pkg-test commit 34e6e1f2dcdf45ac4a3f9e70cae1a8290d860cd9 Date: Fri Nov 3 21:47:54 2017 +0100 Automatically create a test release if the release string starts with a= literal "0" =20=20=20=20 * lib/pkg_pkg.cygpart: Test for a literal "0" as the first character in the release string and make a test release if true. commit 7f6fb93eaa9e4afe9e12bd57ebb3e8a4daa135ff Date: Sat Apr 8 17:00:34 2017 +0200 Show pkg_tag in chatter =20=20=20=20 lib/pkg_pkg.cygpart: inform when creating hint files for a test release. commit 01e199380e32f214c2809d3dcc76f51b61de6d01 Date: Sat Sep 17 10:07:10 2016 +0200 lib/src_install.cygpart: correct test in make_etc_defaults, possibly sh= ow diff =20=20=20=20 * lib/src_install.cygpart (make_etc_defaults): The preremove script only removes plain files when they match the default, so the postinstall script must not install files if _anything_ with the same name already exists. Change the test from '-f' to '-e'. If /usr/bin/diff is installed and the target is a plain file, show the diff to the default so the user can decide more easily what to do. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada