From owner-freebsd-questions Sat Jun 22 12:55:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from patriarch.dnsalias.org (adsl-65-69-1-221.dsl.hstntx.swbell.net [65.69.1.221]) by hub.freebsd.org (Postfix) with ESMTP id C393D37B401 for ; Sat, 22 Jun 2002 12:55:34 -0700 (PDT) Received: from compgeek ([127.0.0.1]) by patriarch.dnsalias.org with Microsoft SMTPSVC(5.0.2195.4905); Sat, 22 Jun 2002 14:55:54 -0500 Reply-To: From: "Jon Noack" To: "Jeff Penn" Cc: Subject: RE: portupgrade with package Date: Sat, 22 Jun 2002 14:55:54 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3D14AB05.9040302@potentialtech.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-OriginalArrivalTime: 22 Jun 2002 19:55:54.0658 (UTC) FILETIME=[D18D6820:01C21A26] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > You're getting confused about what ports and packages are. First off, > they're not the same thing. > I would reread the handbook section on ports/packages. This page is > particularly informative for you: > http://www.freebsd.org/handbook/x4300.html To summarize, the ports tree doesn't require a tag and is for all versions. Certain ports may require specific versions of FreeBSD, but this is port specific and is not systemic. An example of the universal nature of the port system can be seen in the Makefile for the OpenSSL port: .if exists(/usr/lib/libssl.a) && ${OSVERSION} >= 460000 FORBIDDEN= "OpenSSL is already in the base system" .endif The OpenSSL port will not install (by default) on FreeBSD 4.6 (and -STABLE and -CURRENT) because an updated version of it is already installed. For Packages, on the hand, are ports built for specific branches (or for releases). If you are running 4.5-RELEASE-p4, you would not want to run a package built for -CURRENT. It would most likely fail to work at all. Look into setting PACKAGESITE (PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/ All/) and then try the update. Or, just download the file (ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All/XFree86- 4.2.0_1,1.tgz) to /usr/ports/distfiles manually and then run the update. I don't use packages so I'm sure there is some more permanent and clean way to make this work in the future. Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message