Hello, ok first of i use gentoo on my desktop but my server is FreeBSD.
I am comfortable in gentoo updating system, building custom kernels etc.
I am looking to update my freebsd server, but the more i read the more i get confused?
There seems to be some many ways and tools for doing this when i am used to doing emerge -uDp world
The server was originally built with minimal install, then /etc/make.conf including setting CPU type.
custom cvsup was used, really just changed to local mirror.
a custom kernel was used and system was rebuilt with 'make world'
Now i am looking some different type of updates.
1, Security
2, Whole system
3, version update ie 6.2 > 6.3
Main concern is the first two!
Reading through docs it seems csup -L 2 is now preferred to cvsup -L 2 though if read things correctly portsnap does the same thing with
portsnap fetch
portsnap extract
portsnap update
But what is best way to update the system? should i do 'make world' again?
or use one of the many apps such as
Portmanager
portupgrade
portmaster
freebsd-update (though believe this only for binary updates)
The other problem is that i have use Hsphere Hosting CP installed on server which seems to cause issues!
doing portmaster -L give me list of updates some which are system some of which are hsphere.
Here is last few to give you an idea.
Code:
==>>> hsphere-webshell-4.3.11_0
===>>> No /usr/ports/hsphere/hsphere-webshell exists, and no information
===>>> about hsphere/hsphere-webshell can be found in /usr/ports/MOVED
===>>> hsphere-webshell-cgi-1.0.4_1
===>>> No /usr/ports/hsphere/hsphere-webshell-cgi exists, and no information
===>>> about hsphere/hsphere-webshell-cgi can be found in /usr/ports/MOVED
===>>> imake-1.0.2_4,1
===>>> libXext-1.0.3,1
===>>> libXt-1.0.5_1
===>>> liba52-0.7.4_2
===>>> mysql-scripts-5.0.45
===>>> New version available: mysql-scripts-5.0.67
===>>> pico-4.64
===>>> portupgrade-2.4.6,2
===>>> postgresql-contrib-7.4.17
===>>> New version available: postgresql-contrib-7.4.21_1
===>>> razor-agents-2.84
===>>> rkhunter-1.2.8_3
===>>> New version available: rkhunter-1.3.2_1
===>>> snort-2.6.1.3
===>>> New version available: snort-2.8.2.1_1
===>>> texi2html-1.76_1,1
===>>> webmin-1.430
===>>> xtrans-1.0.4
===>>> 38 leaf ports
===>>> 139 total installed ports
===>>> 24 have new versions available
If i run pkgdb i get
Code:
pkgdb -F
---> Checking the package registry database
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 139 packages found (-0 +1) . done]
Stale origin: 'hsphere/hsphere-apache': perhaps moved or obsoleted.
Skip this for now? [yes] y
To skip it without asking in future, please list it in HOLD_PKGS.
Stale origin: 'hsphere/hsphere-aspell': perhaps moved or obsoleted.
Skip this for now? [yes] y
To skip it without asking in future, please list it in HOLD_PKGS.
Stale origin: 'hsphere/hsphere-awstats': perhaps moved or obsoleted.
Skip this for now? [yes]
Not sure how to deal with this?
I can just make list of required system updates and use portupgrade app1 app2 etc but this seems long winded and un-necessary ?
Sorry for long post but any pointers would really help?
many thanks