From owner-freebsd-questions@FreeBSD.ORG Wed Apr 21 16:31:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F58216A4CE for ; Wed, 21 Apr 2004 16:31:01 -0700 (PDT) Received: from smtp11.wxs.nl (smtp11.wxs.nl [195.121.6.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 680AC43D4C for ; Wed, 21 Apr 2004 16:31:01 -0700 (PDT) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp11.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HWJ00I2FNZNZH@smtp11.wxs.nl> for freebsd-questions@freebsd.org; Thu, 22 Apr 2004 01:31:00 +0200 (MEST) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.10/8.12.10) with ESMTP id i3LNUteL082571; Thu, 22 Apr 2004 01:30:55 +0200 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i3LNUsBn082570; Thu, 22 Apr 2004 01:30:54 +0200 Content-return: prohibited Date: Thu, 22 Apr 2004 01:30:53 +0200 From: Alex de Kruijff In-reply-to: <20040421150116.64416cd7@it.buh.cameradicommercio.ro> To: Ion-Mihai Tetcu Message-id: <20040421233053.GF925@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <20040421150116.64416cd7@it.buh.cameradicommercio.ro> X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: sAndri Kok cc: freebsd-questions@freebsd.org Subject: Re: ports question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 23:31:01 -0000 On Wed, Apr 21, 2004 at 03:01:16PM +0300, Ion-Mihai Tetcu wrote: > On Wed, 21 Apr 2004 20:32:58 +1000 > "sAndri Kok" wrote: > > > Hi guys, > > > > I got some questions about ports. Say If I have 2 identical machines. > > 1 machine running FreeBSD-4.8 and the other is running FreeBSD-5.2.1. > > I run cvsup on both machines using the default ports supfile given in > > > > /usr/share/examples/cvsup/ports-supfile which points to the same > > cvsup mirror. Will I then get the same ports on both of the machines? > > > > You will get the same ports skeleton (files in /usr/ports/*). No, that can not be garanteed! Unleas, offcourse, he specified the date. This is because the command is not executed at the same date. Instead you could copy simply copy the ports from one computer to another with nfs, ftp, scp, rsync, ect. This garantees you that your ports are the same and it save you and the community some bandwith. > > And if I do get the same ports, can I build it as a package on 1 machine > > and then install it on the other? > > No. > > $ diff /usr/ports/INDEX /usr/ports/INDEX-5 You don't need the ports to install packages. However I'm not to sure if this change the answer. It could very well depend on the port/package in question. If you want to play it safe then don't. A large number of packages are availble from the FreeBSD ftp server for both 4 and 5. You may want to use those if you don't care about the advantages that come with compiling. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/