*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i use freebsd 5.3, but i'd like to have the binary packages available in freebsd 6.0 current, but i hate the old binaries for 5 and compiling firefox just produced one big bug and i'm sick of "rm firefox-bin.core" (although i'm not sayin that i expect less bugs with the 6.0 binaries)
I have read up on the whole thing, and i'd like some clarification, for someoen in my situation, who doesn't care to upgrading the system, but would like new *binaries* like firefox 1.0.7, do i still have to do cvsup using *-supfile? and buildworld and all that?
if i don't, great, please tell me how
if i do, is this the process:
use cvsup to get new src for the 6.0 system
make world and kerenl and install them with new src
(done?)
If you're supping the ports with tag '.' you're getting the latest ports available.
If you're expecting RELENG_6 to be more stable than the system you have now, you're wasting your time. There's a reason that RELENG_(4|5) are marked -STABLE and RELENG_6 isn't...
i don't expect 6.0 to be any less buggy, just easier to get the newest binaries (for testing/using/etc).
right now
if i get a binary say for firefox, i'll get the firefox 0.9.3 tbz when i do "pkg_add -r firefox". which i don't want.
now on freebsd.org/ports, there is a 1.0.7 tbz under the 6.0 current packages. i want my computer to automatically fetch that binary. and I wasn't clear on your "." comment, sorry. do i add that to a file?
[replace cvsup17.freebsd.org with your closest cvs repository.]
Then run `cvsup /root/portsup` and it will upgrade the ports tree. I am running Firefox 1.0_7,1 right now and I am using 5.3 not 6.0.
Save yourself the headache... the ports are "relatively" separate from the src of the system itself. I say relatively because games/tank will build on 4.x but not 5.x for some reason. :P
Anyway... if you just want the latest programs... upgrade the ports tree not the src tree.
I stand corrected about games/tank... whatever the problem was has been resolved and it does build now. But that is an example of how it sometimes matters to the ports tree which version of the system you are running. But usually it doesn't.
hmm, before, i just installed the freebsd 5.3 without ports, and then manually got ports.tar.gz to install to compile the firefox 1.0.7 i have now. i guess one has to cvsup the tree to get the pre-compiled binaries. thanks
The pkg_add program is going to try and get the version you have listed in INDEX-5 (or INDEX.db ... one or the other... they both contain the same data). If you upgraded your ports tree but see this problem you need to rebuild the INDEX file.
i can't find the config file to change this, and making PACKAGEROOT='ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/" does not help, the pkg_add will look inside "ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/Latest/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/"
The environment variable PACKAGEROOT specifies an alternate location for
pkg_add to fetch from. The fetch URL is built using this environment
variable and the automatic directory logic that pkg_add uses when the -r
option is invoked. An example setting would be "ftp://ftp3.FreeBSD.org".
The environment variable PACKAGESITE specifies an alternate location for
pkg_add to fetch from. This variable subverts the automatic directory
logic that pkg_add uses when the -r option is invoked. Thus it should be
a complete URL to the remote package file(s).
From the manpage. set PACKAGESITE to "ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-current/Latest/"
If you read the manpage carefully you would see that PACKAGEROOT just changes the site itself "The fetch URL is built using this environment variable and the automatic directory logic that pkg_add uses..."
Confusingly enough... the PACKAGESITE variable "subverts the automatic directory
logic that pkg_add uses". Which is where your problem is coming into play.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.