Patching: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
With Debian it's as simple as "apt-get install update && apt-get install upgrade" and all of your installed applications will now be up to date! | With Debian it's as simple as "apt-get install update && apt-get install upgrade" and all of your installed applications will now be up to date! | ||
With FreeBSD it's a little more complex. I've created two shell scripts which I've named update, and upgrade. | With FreeBSD it's a little more complex. I've created two shell scripts which I've named update, and upgrade. | ||
You will need portsnap, portaudit and portupgrade | You will need [http://www.freshports.org/sysutils/portsnap portsnap], [http://www.freshports.org/security/portaudit portaudit] and [http://www.freshports.org/sysutils/portupgrade portupgrade] installed to use these: | ||
<nowiki>#!/bin/sh</nowiki> | <nowiki>#!/bin/sh</nowiki> |
Revision as of 08:37, 5 October 2005
There are very few Operating Systems that have an adequate patching process for applications. The only two I recommend to someone who is too busy to track all of their installed applications is FreeBSD and Debian GNU/Linux. With Debian it's as simple as "apt-get install update && apt-get install upgrade" and all of your installed applications will now be up to date! With FreeBSD it's a little more complex. I've created two shell scripts which I've named update, and upgrade. You will need portsnap, portaudit and portupgrade installed to use these:
#!/bin/sh
# update
/usr/local/sbin/portsnap fetch && /usr/local/sbin/portsnap update && pkg_version -v -l "<"
#EOF
#!/bin/sh
# upgrade
portaudit -F && portaudit
portupgrade -a
#EOF
Rumour has it that OpenBSD is building a portupgrade tool, and I will surely switch to them at that point, based on their security history.