Skip site navigation (1)Skip section navigation (2)
Date:      01 Oct 2002 14:12:47 -0700
From:      swear@attbi.com (Gary W. Swearingen)
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: Ports FAQ is a great read
Message-ID:  <l1k7l1x3qo.7l1@localhost.localdomain>
In-Reply-To: <20020930183217.R63034-100000@earl-grey.cloud9.net>
References:  <20020930183217.R63034-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Leftwich <Hostmaster@Video2Video.Com> 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/<section>; ftp ftp.FreeBSD.org
    > cd /pub/FreeBSD/ports/ports/<section>   ## or ports-current ?
    > get <app>.tar
    > quit
    tar xf <app>.tar; cd <app>; make install
non-cvsup method 3:
--  cd /usr/ports/<sub>
    fetch
    ftp://ftp.freebsd.org/pub/FreeBSD/branches/-current/ports/<sub>/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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l1k7l1x3qo.7l1>