From owner-freebsd-questions Tue Oct 1 14:15: 5 2002 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 7C63137B401 for ; Tue, 1 Oct 2002 14:15:03 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E9AB43E3B for ; Tue, 1 Oct 2002 14:15:03 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021001210953.WZWX9928.rwcrmhc52.attbi.com@localhost.localdomain>; Tue, 1 Oct 2002 21:09:53 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id g91LCrMX005523; Tue, 1 Oct 2002 14:12:54 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.5/8.12.5/Submit) id g91LCm5J005520; Tue, 1 Oct 2002 14:12:48 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: Peter Leftwich Cc: FreeBSD LIST Subject: Re: Ports FAQ is a great read References: <20020930183217.R63034-100000@earl-grey.cloud9.net> From: swear@attbi.com (Gary W. Swearingen) Date: 01 Oct 2002 14:12:47 -0700 In-Reply-To: <20020930183217.R63034-100000@earl-grey.cloud9.net> Message-ID: Lines: 42 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Peter Leftwich writes: > This is a GREAT read, strongly recommended for newbies. One or two > corrections though. Please send your corrections to a more appropriate mailing list (eg, freebsd-doc in this case), or better yet, file a PR (Problem Report) using send-pr(1) or: http://www.freebsd.org/send-pr.html > The part that says "Note: You must be the root user to > install ports" applies only if you don't edit the Makefil and specify a > different install path. That's not the only way; normally, you'd use shell/environment variables. Reading the top of /usr/ports/Mk/bsd.port.mk is informative. > Also, the handbook could be a little clearer about > options for users that do not want to install the entire ports tree, and > instead want to cvsup one specific folder, such as /usr/ports/java/jdk Here's my notes on how to do that: Note: Many ports are dependent on other ports, so be very careful doing them one at a time. cvsup method: -- cvsup -g -L 2 -i ports/sysutils/portupgrade /usr/sup/ports-supfile -- If you use the GUI, you can get the same effect by typing "ports/sysutils/portupgrade" into the Filter type-in near the bottom. non-cvsup method 1: -- DL the ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports-current/x11-wm/windowmaker/ dir (which IS the skeleton) non-cvsup method 2: -- cd /usr/ports/
; ftp ftp.FreeBSD.org > cd /pub/FreeBSD/ports/ports/
## or ports-current ? > get .tar > quit tar xf .tar; cd ; make install non-cvsup method 3: -- cd /usr/ports/ fetch ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports//port.tar tar -xf port.tar Note: Not all of the mirrors support tar-on-the-fly ftp transfers, but some do, including the primary site. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message