*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.
Hm... I saw a thread on BSDForums which explains the difference between the two, but even then I would like somebody to confirm whether I can do both portupgrade and the "make buildworld" etc. etc. method and whether there is a recommended way to keep both packages and the system base updated.
Rebuilding world updates the FreeBSD system only. Software installed from ports isn't updated when you rebuild world. In the same way portupgrade doesn't update the system, only software installed from ports. You should update both FreeBSD and software installed from ports to keep your system uptodate.
Remember the BSDs make a much clearer distinction between the OS and application software, whereas Linux muddies the boundary between the two. So you need to use both methods to keep your entire system uptodate
My preferred way, because I'm lazy, is to wait until portaudit tells me a security problem has been found and addressed for a particular port, I then read /usr/ports/UPDATING just in case, then I manually update the port by
Code:
cd /usr/ports/foo/bar && make all deinstall reinstall clean
Similarly when I get an email from the freebsd-security mailing list I follow the instructions described in the "How to Fix" section
I meant as in portupgrade -aPR instead of just portupgrade -a
ah, OK. I thought you meant defining options for different ports for example WITH_OPENSSL="YES" for apache. In which case you can just put them in /etc/make.conf
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.