From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE173138334 for ; Mon, 25 Feb 2019 06:38:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 830BDE0990; Mon, 25 Feb 2019 06:38:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 275DBE0975 for ; Mon, 25 Feb 2019 06:38:07 +0000 (UTC) Received: from a1i15 (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 95E9734095A; Mon, 25 Feb 2019 06:38:05 +0000 (UTC) From: Ulrich Mueller To: =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= Cc: gentoo-dev@lists.gentoo.org, Matt Turner Subject: Re: [gentoo-dev] [PATCH 2/3] xorg-2.eclass: Remove use of prune_libtool_files References: <20190220044541.30272-1-mattst88@gentoo.org> <20190220044541.30272-2-mattst88@gentoo.org> <1550648203.1036.5.camel@gentoo.org> Date: Mon, 25 Feb 2019 07:37:53 +0100 In-Reply-To: <1550648203.1036.5.camel@gentoo.org> (=?utf-8?Q?=22Micha?= =?utf-8?Q?=C5=82_G=C3=B3rny=22's?= message of "Wed, 20 Feb 2019 08:36:43 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 00c73d07-d70f-4c09-9b1d-d13888316af1 X-Archives-Hash: 44c43bcbf380a614537b2696bc504c7a --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> On Wed, 20 Feb 2019, Micha=C5=82 G=C3=B3rny wrote: > On Wed, 2019-02-20 at 07:20 +0100, Ulrich Mueller wrote: >> > > > > > On Wed, 20 Feb 2019, Matt Turner wrote: >>=20 >>=20 >> > # Don't install libtool archives (even for modules) >> > - prune_libtool_files --all >> > + find "${D}" -name '*.la' -delete || die >>=20 >> Maybe restrict removal to regular files, i.e. add "-type f"? > I suppose you should have spoken up when people started adopting that > 'find' line all over the place. Though I honestly doubt we're going > to see many packages installing '*.la' non-files. I have updated the example in ltprune.eclass now. That still won't catch regular non-libtool files, but people needing additional sanity checks can still use the eclass. Ulrich --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEZlHkP3TnuTbxrN0HwwkGhRxhwnMFAlxzjUIACgkQwwkGhRxh wnNMlQgAmfm5q2S6vdzIvQHB6c83bYQ8ixpYbQ5+eL0qAv2jiaOlbjkCt7X1WsxH jaqZkfIarYnbqxg/7lkAwQiV/RWVamvIopFdsoA5b6Kx5Npj3cenybNBJ1iq8SLH ULTOSacuttEBxtASUYG8D5kuXiEFd2DdpiEeeXXDeUR9/R5wt+kNPj3cltAEsDP7 D9YUUe2kxRaJGIXTnIGuKMf6Ho1417Nr5bOh+iXzFFQqgjDPO4F2yb9H/Tb5lfqd EtQB1cFbhBg6ulYNS1qkBuh2K/tHjGZPyNnqrXCV4Vvh3GXRx6Aksqyf4PhZCTQe 4WZfJFGBfh8/3bE12U88G0/T8kyX8Q== =yU1v -----END PGP SIGNATURE----- --=-=-=--