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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D9F4615800C for ; Wed, 28 Dec 2022 16:18:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10C0CE0825; Wed, 28 Dec 2022 16:18:05 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4E78E0825 for ; Wed, 28 Dec 2022 16:18:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F7A2340FBC for ; Wed, 28 Dec 2022 16:18:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2CA172B for ; Wed, 28 Dec 2022 16:18:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1672244253.438d35b13f626ee69e26033c5f9cf829429fecc4.sam@gentoo> Subject: [gentoo-commits] data/gentoo-news:master commit in: 2022-12-27-alternatives-introduction/ X-VCS-Repository: data/gentoo-news X-VCS-Files: 2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt 2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt X-VCS-Directories: 2022-12-27-alternatives-introduction/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 438d35b13f626ee69e26033c5f9cf829429fecc4 X-VCS-Branch: master Date: Wed, 28 Dec 2022 16:18:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3561019-c864-4486-8775-9c5cf64d6265 X-Archives-Hash: 3a3d89a165c2df48070fdc5feeeeb72f commit: 438d35b13f626ee69e26033c5f9cf829429fecc4 Author: Sam James gentoo org> AuthorDate: Wed Dec 28 16:17:33 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 28 16:17:33 2022 +0000 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=438d35b1 2022-12-27-alternatives-introduction: mention /bin/gzip instead of /usr/bin/gzip Prompted by comment at https://wiki.gentoo.org/wiki/Talk:Gzip wrt split-usr systems. Signed-off-by: Sam James gentoo.org> .../2022-12-27-alternatives-introduction.en.txt | 4 ++-- .../2022-12-27-alternatives-introduction.ru.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt b/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt index 0f56518..0fb8785 100644 --- a/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt +++ b/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.en.txt @@ -78,11 +78,11 @@ Going forward, /etc/portage/package.use will be used for this purpose. Users should review the USE flags available for the various app-alternatives ebuilds like app-alternatives/sh and adjust their configuration as desired. -For example, to have /usr/bin/gzip be provided by app-arch/pigz for automatic +For example, to have /bin/gzip be provided by app-arch/pigz for automatic parallelization of 'gzip', one would have the following in /etc/portage/package.use: ``` # https://wiki.gentoo.org/wiki/Gzip#Parallelization -# Make /usr/bin/gzip be a symlink to pigz for a speedup in compression +# Make /bin/gzip be a symlink to pigz for a speedup in compression app-alternatives/gzip -reference pigz ``` diff --git a/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt b/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt index ec3999a..25a989f 100644 --- a/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt +++ b/2022-12-27-alternatives-introduction/2022-12-27-alternatives-introduction.ru.txt @@ -82,11 +82,11 @@ FEATURES="-collision-protect". collision-protect находит конфликт app-alternatives, таких как app-alternatives/sh, и настройте их на ваше усмотрение. -Например, чтобы /usr/bin/gzip был предоставлен пакетом app-arch/pigz, это +Например, чтобы /bin/gzip был предоставлен пакетом app-arch/pigz, это автоматически параллелизует gzip, нужен такой текст в /etc/portage/package.use: ``` # https://wiki.gentoo.org/wiki/Gzip#Parallelization -# Пусть /usr/bin/gzip будет ссылкой на pigz для ускорения сжатия +# Пусть /bin/gzip будет ссылкой на pigz для ускорения сжатия app-alternatives/gzip -reference pigz ```