From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JFp7C-0004rA-0s for garchives@archives.gentoo.org; Fri, 18 Jan 2008 11:10:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9889E02B2; Fri, 18 Jan 2008 11:08:41 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by pigeon.gentoo.org (Postfix) with ESMTP id EAC3AE02A5 for ; Fri, 18 Jan 2008 11:08:40 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so1034196fga.14 for ; Fri, 18 Jan 2008 03:08:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; bh=BMwb9LeHb5v/KwpJkniAl4LAbvyfgC7kj3USZZr9F2Q=; b=tu+YUxHFmPlO5km9NelvBnhV9lblrLN+upa9nzqVJv36iLgzBuAlCzfpKX5g6s6ePBXIl3l2j3nzWFFOfSugL0PYQV4MJDD0TwGs9oaHRG52oRvTOy1mZtxiq1mCDfd4JuQdYFEynoTn1nbcBqGvcCgWnJ7JMd9DxVQmKx0HXAs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=h5PVIBtLUI64n14EzmPu3g70Qjm/i1j3LeJbKnuKia0RNLnu/FKVzPQKxuy5QlwZakXKKctSDZUKmrat4bfMWGp4wIFGFSEqcVdKbhfeSt1KZ6+ZpR5LPOVrVc8TNflySpPganw4c2Jniwjv+AvgljDzUk0HPipehmOTS+GV8mI= Received: by 10.86.50.8 with SMTP id x8mr2957511fgx.30.1200654520340; Fri, 18 Jan 2008 03:08:40 -0800 (PST) Received: from ilievnet.com ( [84.21.204.1]) by mx.google.com with ESMTPS id e20sm5482117fga.1.2008.01.18.03.08.37 (version=SSLv3 cipher=OTHER); Fri, 18 Jan 2008 03:08:37 -0800 (PST) Date: Fri, 18 Jan 2008 13:08:35 +0200 From: Daniel Iliev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to teach emerge -sync to sync packages? Message-ID: <20080118130835.4d91a2b9@ilievnet.com> In-Reply-To: References: X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: b09859c4-2006-4696-8795-46b8a2083339 X-Archives-Hash: 54f3feff860fd403eed17a24159faf8d On Fri, 18 Jan 2008 11:17:32 +0100 (CET) Helmut Jarausch wrote: > Hi, > > I haven't found out how to teach emerge to rsync > /usr/portage/packages > as well. > Both, /etc/rsyncd.conf on the server and > /etc/portage/rsync_excludes > > only exclude distfiles. > > There is no server problem, since an > rsync on the command line does fetch > packages, too > > Many thanks for a hint, > > Helmut Jarausch > > Lehrstuhl fuer Numerische Mathematik > RWTH - Aachen University > D 52056 Aachen, Germany For sure "emerge --sync" calls rsync with "--exclude packages" and I don't know a "legal" way to change this behaviour. If all you want is just to compile on one system and distribute the compiled packages elsewhere through the network, there are two methods that worked here with no problems: 1) export "packages" via nfs 2) setup an http server giving access to "packages" and declare it as PORTAGE_BINHOST in make.conf at the client(s): == PORTAGE_BINHOST="http://example.com/packages/" EMERGE_DEFAULT_OPTS="-g" == The second line tells emerge to use binary packages by default and fallback to compilation if the requested pkg is N/A. This line should be used in both cases. HTH -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list