From owner-freebsd-questions@FreeBSD.ORG Sun Dec 6 09:23:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4BD1106566B for ; Sun, 6 Dec 2009 09:23:08 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 4E07E8FC17 for ; Sun, 6 Dec 2009 09:23:07 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id nB69N3tK004241; Sun, 6 Dec 2009 10:23:03 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 2EF9BB850; Sun, 6 Dec 2009 10:23:03 +0100 (CET) Date: Sun, 6 Dec 2009 10:23:03 +0100 From: Roland Smith To: Robert Message-ID: <20091206092303.GA78936@slackbox.xs4all.nl> References: <20091128090544.GA80636@thought.org> <20091129214307.1f536190@arcor.de> <20091129215653.GA65322@slackbox.xs4all.nl> <20091205180948.2ccbd584@asus64> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20091205180948.2ccbd584@asus64> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Gary Kline , Philipp Lengemann , FreeBSD Mailing List Subject: Re: how do i automate building packages? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 09:23:08 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 05, 2009 at 06:09:48PM -0800, Robert wrote: > On Sun, 29 Nov 2009 22:56:53 +0100 > Roland Smith wrote: > > > Now that my desktop and laptop are both running 8.0, I build ports on > > my (faster) desktop, and then rsync /usr/local to the laptop. Works > > fine. Of course my laptop now has some apps on it that it doesn't > > really need, but on the other hand I have been able to > > remove /usr/ports, /var/db/ports and /var/db/pkg from the laptop. > > This is a lot easier than creating packages and updating them on > > another machine. > > I really like this idea. I checked your website but didn't find any > more detail with regards to this. Oops. Fixed that. =20 > Are you doing this from crontab, script or just on the command line? Since my laptop isn't hooked up to my network permanently, I just do the update from the command line. Here is what I do; * On the desktop, I make sure that all ports are up to date; - 'portsnap fetch update' - 'portmaster -a -B -d' * hook up the laptop to the wired network, with the hostname 'laptop' (names and IPs hardwired in /etc/hosts on both machines to keep things si= mple). * start 'rsync --daemon' on the laptop. The laptop has the following in rsyncd.conf:=20 [local] path =3D /usr/local comment =3D usr/local directory tree uid =3D root gid =3D wheel read only =3D false * synchronize all ports to the laptop with the following command on the bui= ld machine; 'rsync -av --delete /usr/local/ laptop::local' > I personally want to thank you for all of your helpful posts.=20 You're welcome. It's nice to be appreciated. :-) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksbd/cACgkQEnfvsMMhpyWLQgCePK3p+1SOYlhkBZwvA3/NSJAB nHAAn0byWBbfYBI4cS3m0t5YMoVxmSc+ =7HF9 -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--