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 0172D1396D0 for ; Tue, 8 Aug 2017 17:33:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BA861FC04A; Tue, 8 Aug 2017 17:33:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0B2CB1FC00D for ; Tue, 8 Aug 2017 17:33:18 +0000 (UTC) Received: from [10.100.0.22] (host-37-191-226-104.lynet.no [37.191.226.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: k_f) by smtp.gentoo.org (Postfix) with ESMTPSA id C6A65341950; Tue, 8 Aug 2017 17:33:16 +0000 (UTC) Subject: Re: [gentoo-dev] Prevent binary/non-compiled packages from binary package creation To: gentoo-dev@lists.gentoo.org, "William L. Thomson Jr." References: From: Kristian Fiskerstrand Message-ID: Date: Tue, 8 Aug 2017 19:32:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 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 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BWq6DlNNSah4EJmQsLMVvQ44huQxCEfN5" X-Archives-Salt: 6468c49d-aa1e-4e27-aba2-96005f3c5b1b X-Archives-Hash: 4395c619eecd73a0a405d86c057fecea This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BWq6DlNNSah4EJmQsLMVvQ44huQxCEfN5 Content-Type: multipart/mixed; boundary="CCgOhcCXMQrIok60OX9ujli1botv0Hr92"; protected-headers="v1" From: Kristian Fiskerstrand Reply-To: k_f@gentoo.org To: gentoo-dev@lists.gentoo.org, "William L. Thomson Jr." Message-ID: Subject: Re: [gentoo-dev] Prevent binary/non-compiled packages from binary package creation References: In-Reply-To: --CCgOhcCXMQrIok60OX9ujli1botv0Hr92 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 08/08/2017 07:23 PM, William L. Thomson Jr. wrote: > Can you think of any? I cannot see any operator wanting a binary of a > binary, or a package of sources. When they already have a sources - The machine you're installing it on might not have internet access so you want to have the files stored in a single location for wrapping it up= =2E - You might want an audit trail of installed packages, so using the binary files on specific media ensures same copy is installed everywhere - You might be applying local patches through /etc/portage/patches that are distributed to all clients On 08/08/2017 07:23 PM, William L. Thomson Jr. wrote: >> it can already be controlled through env files. > I was thinking it might, but having used them to skip other hooks. I > was thinking they could not be used as such for binary packages. Have > you confirmed such is possible? Could you provide a link or example? > Thanks! try something like: /etc/portage/env/nobin: FEATURES=3D"-buildpkg" /etc/portage/package.env/nobin: sys-kernel/gentoo-sources nobin --=20 Kristian Fiskerstrand OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3 --CCgOhcCXMQrIok60OX9ujli1botv0Hr92-- --BWq6DlNNSah4EJmQsLMVvQ44huQxCEfN5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEtOrRIMf4mkrqRycHJQt6/tY3nYUFAlmJ9cAACgkQJQt6/tY3 nYVa9Qf/UHu7QWOR8pglSVLOYCGNEULtYfdkrYBGMNg9unXALsJ9vVrPMwUvZxip znZlRDgFqjVK2ZE8sm5dAtNwVq+VXrLnwTaa2cNexFdcTj8VH8GiF/43GKCESqu6 jWYHlYv8/mIOIz1HHwyi0WVFUztzK+E1AO3WKSm46OLzu+tVcwmkjSq5wku8vD1R 0zGcXld88mfW3a9BjfE+lSJV7LrEHYOWnUVx0DwNlbS2Wi40a2io5WKW1/BtPpI4 WAqObPWvvyz2eQzRcgAfp9UAvw2RhRiawjDS/UpL9KDK1WTJEPj5hdHsguuHXWwG IJ9d/psqZTxksHp3c0o8BGCiCVsSOQ== =GrLI -----END PGP SIGNATURE----- --BWq6DlNNSah4EJmQsLMVvQ44huQxCEfN5--