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 B58FF158020 for ; Wed, 26 Oct 2022 08:54:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DB70E08C4; Wed, 26 Oct 2022 08:54:45 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.71]) (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 E964AE087E for ; Wed, 26 Oct 2022 08:54:44 +0000 (UTC) Received: from mailgw01.thundermail.uk (uwhmailfgw01.unlimited.uk.net [149.255.60.67]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id D3AEC60030B4 for ; Wed, 26 Oct 2022 09:54:42 +0100 (BST) X-ASG-Debug-ID: 1666774481-0554133dcf667b10001-LfjuLa Received: from mailclean01.thundermail.uk (mailclean01.thundermail.uk [149.255.60.66]) by mailgw01.thundermail.uk with ESMTP id Pt4bb9u8AvJTLDtl (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 26 Oct 2022 09:54:41 +0100 (BST) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: mailclean01.thundermail.uk[149.255.60.66] X-Barracuda-Apparent-Source-IP: 149.255.60.66 Received: from cloud220.unlimitedwebhosting.co.uk (cloud220.unlimitedwebhosting.co.uk [149.255.60.183]) by mailclean01.thundermail.uk (Postfix) with ESMTPS id 226AA44280 for ; Wed, 26 Oct 2022 09:54:36 +0100 (BST) Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud220.unlimitedwebhosting.co.uk (Postfix) with ESMTPSA id 47A1AC84D12 for ; Wed, 26 Oct 2022 09:54:36 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1666774476; bh=5i8AOMSv2beaGtoUKDzMEsycNm37eJQe/ScWSHnuZ9M=; h=From:To:Subject; b=Jyon5XonExtZ1z78rKgfMXqLQvOSMLINa3K2h8dr6SzAcGtRwuqWttJumHkCRTMX+ 2VAMqCChz23l6Wx//pmnn+xM4+NZWsfmEKHeJDe8Ds6dNL9haKE6lpexYOJepUV3xc s8ZXxpSIKy5NcImmDo3pfWlgzEF8nE5ZMuRT5ln4= From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] rsync local mirror question Date: Wed, 26 Oct 2022 09:54:25 +0100 X-ASG-Orig-Subj: Re: [gentoo-user] rsync local mirror question Message-ID: <1931256.PYKUYFuaPT@lenovo.localdomain> In-Reply-To: References: <12084115.O9o76ZdvQC@lenovo.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart21670613.EfDdHjke4D"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <166677447655.1185924.4434893733545884181@cloud220.unlimitedwebhosting.co.uk> X-PPP-Vhost: kintzios.com X-Spam-Status: No, score=-0.2 required=11.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_PASS autolearn=disabled version=3.4.2 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from * author's domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from * envelope-from domain X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mailclean01.thundermail.uk X-Barracuda-Connect: mailclean01.thundermail.uk[149.255.60.66] X-Barracuda-Start-Time: 1666774481 X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384 X-Barracuda-URL: https://149.255.60.67:443/cgi-mod/mark.cgi X-ASG-Orig-Subj: Re: [gentoo-user] rsync local mirror question X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 2201 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.101687 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: c3f7fdcd-50e4-4fc9-9d84-2021a27a6030 X-Archives-Hash: ed4d377ccf13fd5b585de2df9f0bed98 --nextPart21670613.EfDdHjke4D Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Michael To: gentoo-user@lists.gentoo.org Reply-To: confabulate@kintzios.com Subject: Re: [gentoo-user] rsync local mirror question Date: Wed, 26 Oct 2022 09:54:25 +0100 Message-ID: <1931256.PYKUYFuaPT@lenovo.localdomain> In-Reply-To: MIME-Version: 1.0 On Wednesday, 26 October 2022 03:06:19 BST Walter Dnes wrote: > On Tue, Oct 25, 2022 at 11:07:14PM +0100, Michael wrote > > > sync-type = rsync > > #sync-uri = rsync://rsync.gentoo.org/gentoo-portage > > sync-uri = rsync://192.168.1.252/gentoo-portage > > Thanks Michael (and Adam). I did indeed forget to update sync-uri. > I subscribe to Netflix, which requires Google-Chrome. It nags for > security updates every few days, so I'll soon find out how well the > corrected mirror setup works. > > Question: Can I leave "GENTOO_MIRRORS" uncommented in make.conf? The > minimal change for my laptop would be... Yes, you may leave your GENTOO_MIRRORS URIs as you have it, unless you don't want to be downloading the same source files more than once for machines in your LAN. If downloading chrome source files many times a week separately for multiple machines is no fun, you can set up a local http proxy caching server with its webroot pointing to its distfiles directory. Then in your clients' GENTOO_MIRRORS directive add as the first mirror your LAN Gentoo address/port. The only drawback is you will have to sync and then emerge --fetchonly, or -- fetch-all-uri, on the local mirror before you start emerging the various client PCs. A cron job can ensure this is all done by the time you're ready to run sync & emerge on the rest of your clients. You can use any number of available webservers with small footprint; e.g. nginx, lighttpd, boa, etc. The http-replicator is no longer available. > ...when at home on my LAN... > > #sync-uri = rsync://rsync.gentoo.org/gentoo-portage > sync-uri = rsync://192.168.1.252/gentoo-portage > > ...when taking the laptop out of my apartment... > > sync-uri = rsync://rsync.gentoo.org/gentoo-portage > #sync-uri = rsync://192.168.1.252/gentoo-portage I don't know if you can set more than one sync server, so if the first is not available it will try the next and so on. When the sync URI was defined in make.conf this was the case. I suppose you can try it. If it works it'll save you having to manually edit the file each time you move your laptop away from your LAN. --nextPart21670613.EfDdHjke4D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmNY9cEACgkQseqq9sKV ZxmnKw//Sbxhs6pBbixuCKuBmXxoLeNtCmPEK8Rn5tjbQ9IAyDfJZSyYNZuuhUTv 56eKk3pCOw4/lBDtmF/Ub/7mQmT5n5j9jYbSb8gQ4NGiiqeXbbNlYPzhMD/2XxHN EBMUa58OOFfug13qTscyQC/hXmK5P26bT/wjg53hg5uBJq3Hqq899qd9IewDUjoa Dg+ElFoOx1kZI/Z+S9KIhAp3ddJnQnp066Lz8m7yB0rjagAoLPve/fSfv5vIs7TR k0PTYequVYNZiC/50/wzhtnwOkmzo94iFlgNshdGSW1zwF2RbO6M5KKKvGvc0Rq7 l1d4rourLTMte07Hzl8SJYY1RoesJKzowSzFwt4POuqRid7c1Cw4FhRorAS75Fl3 YIqVGUGWc2UBJoKi6khRlqdMm21nDmVJ5xl+lB8116M622B25NJFxuGV1nONSpMJ zZjPV6KcdFmxxIVVHiGoAg9M7+/U9rFfkVZe5cWGip//J4t/P2fThCC0WAy485XZ Pr9VvUBG+Be/UCw17+8AeVZ9Fx4jg0icZdEY1ANKjResHlC7X2yfs1kvY8T8CF3v Q5FgW+5VDBHHQN+GIVQzBezsSKGNA9cLAzAGUABhreEEa1HAa5eBQQp/JAo4AIyR c2Ak8oohM+WPbJ3AK0pQ8Wr2EPK16x+hwUxjHQr+c66PwnSQ+Fw= =E2uV -----END PGP SIGNATURE----- --nextPart21670613.EfDdHjke4D--