From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F309713888F for ; Tue, 27 Oct 2015 22:51:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5ED7021C037; Tue, 27 Oct 2015 22:51:14 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DFF421C015 for ; Tue, 27 Oct 2015 22:51:13 +0000 (UTC) Received: from asp.fritz.box ([88.75.172.247]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LoVvG-1aRtLA3tik-00gY4s for ; Tue, 27 Oct 2015 23:51:11 +0100 Date: Tue, 27 Oct 2015 23:51:08 +0100 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Select default repository in make.conf? Message-ID: <20151027225108.GB1587@asp.fritz.box> Mail-Followup-To: gentoo-user@lists.gentoo.org 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt 1.5.23 (2014-03-12, Gentoo 1.5.23-r7) X-Provags-ID: V03:K0:WeLodRTuHiMTSh+uj8hVFfNO4DDVLHheYqtUobuEfGjd6egjjdW g8MyLGtIX+iUyB4Aqmk4CHrR7i4roAYtqMFYtf9pNcV1+XgAfN8aKYcTT99lbDzPnFpKX5j LIqzWTWJClxfpxaS6y4ju/hAusEGWLNVQUEz45bjYKxdh1yLziSFUpuF8MCPVqOLt72rEsf 0XuqkG/jLztfSPEFdKh/g== X-UI-Out-Filterresults: notjunk:1;V01:K0:RnjWLX5viNk=:BZdy6kOLiSTwnfCRCcVOH/ qDtzhRICEwlVUOtFRxVLQ6Xwve/DoTKFdemiodN0ZlHbRphak6NoWueB8EzZV1kr8o/MNaLMs l7be6vShZss4LK5tCeZX9TDv2K444q1+q4rVqjD4WjXmbC0tvt4/lsLtUQ1e1/TS+IDzFuK3u NNVM38TEnDF7TR4wZJ4a0aVxcVuIupxXuJs32RdadEY2ZGN0no+757yQych1FmzZlFGW0AyrG RGOY0t/2l72krUbDMHUZoYkleZzvgw+2SW/h/psb7bY6z9jRUx2BddaYWhYT+j5ambegw2nkr DRcuBP9OvTXQsbI8uWs4foblKgY5fWMRWchd4vdcfnf9e9FesJVW88X4okD6vdjdJUhM5UU7Q Qdzq/WBzE9VrwOOLEn4UZt0dfTxIbFBOUrxXyLcGe0kEOP1QiLlzOxtYIk/fphmWkLTJNsyW0 toGLysqSIWNVDBuNFjYtVF1JWpfdCGtEYr1QA7Akopw+qjuDw2/jJULo/WO9A5GoyZkB7E2pD RJGCSD1jPchiZn7ddcttomTO3v+6JhonxmxBkc7BW7TdNoHTYugKLLQzNBlet2Qv37cQFAp7w rm0OGBRS+8i64raFRnw78HFhpzlYhiF1bB9Tm46qooiuuIqQRFDPSoqtIyDb8keySjQ+b0V0Z kCGROheaqI/kdhwzVzxeYLtRCx+eyS82Qd3jAZ/hsvDbaQevQDgoT2J7/Ey1DPLneRxRpk7wz aOWBw0xElCWWxX1cdTQKwIYKwV7+73CDgRWcTdHIp/rTryHYtq4ifaOYCrM= X-Archives-Salt: a6b04830-174d-49db-a54a-6abbdf4d32e9 X-Archives-Hash: 9b78bd0be8da1dc9457945dd2df632b5 Hi guys’n’gals Before the introduction of repos.conf, we used several variables in make.conf to tell portage where to find stuff, such as GENTOO_MIRRORS and SYNC. My make.conf used to first define sensible defaults for those and then has the line: source homenet.conf This file modifies those portage settings to reroute operations to within my own network. Oftentimes either my PC or laptop is (far) ahead of the other (tree sync, distfiles download). So to make them serve each other, which reduces load on public servers and vastly speeds up distfiles download, this homenet.conf file - prepends a gentoo mirror - sets the portage rsync server - enables distcc on the laptop So with a single (un)commenting of the source command, I could switch between “normal” mode and “homenet” mode. Since repos.conf came about, this doesn’t work anymore (the sync part, anyway, for now). So nowadays, when I want to switch mode, I need to change the source line and also need to change the sync-uri in repos.conf’s default repository. That’s too much work. :-D How would you advise to achieve what I’m after? Thanks-a-doodle and good night. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me on any social network. I can resist everything, except temptation.