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 6C7E3138334 for ; Tue, 2 Oct 2018 07:47:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 177ADE0B46; Tue, 2 Oct 2018 07:46:57 +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 BE791E0B3B for ; Tue, 2 Oct 2018 07:46:56 +0000 (UTC) Received: from localhost (unknown [185.31.167.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bircoph) by smtp.gentoo.org (Postfix) with ESMTPSA id 0903F335C8C for ; Tue, 2 Oct 2018 07:46:53 +0000 (UTC) Date: Tue, 2 Oct 2018 10:46:38 +0300 From: Andrew Savchenko To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: Portage QA check for FHS/Gentoo policy paths, for top-level dirs and /usr/share/doc Message-Id: <20181002104638.c4f7b05522c40b6759622aa6@gentoo.org> In-Reply-To: <1df93cd0-b3e7-56cf-3a29-bfaed2069e02@gentoo.org> References: <1df93cd0-b3e7-56cf-3a29-bfaed2069e02@gentoo.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-linux-gnu) 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 Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA512"; boundary="Signature=_Tue__2_Oct_2018_10_46_38_+0300_49FmLFbRqnTIsen_" X-Archives-Salt: 8bb4dff6-da39-4789-9ad5-d2708436c1f2 X-Archives-Hash: 2dc92ca6daa5d9a1552065a546b5d6c7 --Signature=_Tue__2_Oct_2018_10_46_38_+0300_49FmLFbRqnTIsen_ Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 1 Oct 2018 08:19:29 -0700 Zac Medico wrote: > Hi all, >=20 > The ~arch version of portage hs a new QA check that reports installation > of files outside of directories that have been whitelisted [1]. The > current whitelist includes: >=20 > directories common to / and /usr > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > bin lib lib32 lib64 libx32 sbin >=20 > top level directories > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > boot dev etc opt srv usr var >=20 > /usr level directories > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > include libexec share src >=20 > /usr/share/doc level directories > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > /usr/share/doc/${PF} >=20 > The first bug report [2] is for qt-core, which installs documentation > into /usr/share/doc/${PN}-${PV} instead of /usr/share/doc/${PF} (${PF} > includes ebuild revision such as -r1, -r2, and so on). Sometimes documentation contains files used at run-time by the application. Since application is usually not aware of Gentoo specific revision numbers it is reasonable to install docs in ${PN}-${PV}. Such checks *must* be overrideable. Best regards, Andrew Savchenko --Signature=_Tue__2_Oct_2018_10_46_38_+0300_49FmLFbRqnTIsen_ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE63ZIHsdeM+1XgNer9lNaM7oe5I0FAluzIl4ACgkQ9lNaM7oe 5I1IHw/+MKuY3hVu5ccdCPn6hSpyjM37BUPBzfeGVoFgBZq9WGwBPWh2EfDq7jxY Tr5xCO74ythK0RbVWz9vmyN3/UXz+i4Wz57PzYyGoME1f8OpsvfCwMaXrExIqN1s pmqKglz0AjE/jt5R8yQsyycmKdU9XuDZKLG4Dk59YZv2KguFf3FkvI/G6AMx0hkR 1o9bhDDeeWtqpzx0LxK5f4tOSo1cv/6zHBGpCRdbh1rOD3RIuPIyKMGSFe5+30xa n/+lLwjsH0bK/U4Oq7J/HOUmwvmrpmIKnMsurzAgMMXz1jozyZAch5jGu0uv9lZY gi7JV7AcmI8nenRRPkUvjvSSO8hfVfd3AKzd6Kow2k/soMROgpE6pZ6Lw26kJ6de xJD8i4nav0DoHC/zEZF+ZfrpCg8m1lFCGakeZboeTmTVFAe/MxjhGAlq+bz3raNq hCmX1kI0mb6qKg7+JKqpoYMFE9GkEjD/jgvZkRJ41GajZ3CkrUk0eP1JsxcmZZPx pds9xxLkl5sytuz92fVbcnE77J7UGbJTEk7T4Vs4ox0aOUP41WVPZ8eds6tR8yVt SUbyu8oeawvsFrrk1Ofr7a6PP0Z6o1h6ZBFl4XqSY2QFbRH+t6plab39k8YfweRo XyANntyMvCAHsaaY6rx34L0vzuTzLAplnljlH8z/x9GUdSnFL54= =iOLi -----END PGP SIGNATURE----- --Signature=_Tue__2_Oct_2018_10_46_38_+0300_49FmLFbRqnTIsen_--