Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit

Portmanager is an FreeBSD utility that automates the process of upgrading and managing installed FreeBSD ports without or almost without user intervention when updating. Portmanager ensures that FreeBSD installed ports accurately reflect and update as of those available in the ports tree.

To use portmanager, the FreeBSD ports collection tree needs to be updated with CVSup or Portsnap.

If your system hasn’t have portmanager installed, portmanager can be found at /usr/ports/sysutils/portmanager. Just go to the directory and run “make install clean” to install it.

To check the status of all ports and ports’ dependencies installed on your system:

portmanager -s

To update all ports installed to up to date with your ports tree:

portmanager -u

Meanwhile, portaudit is a utility that checks the installed ports against a database of published security vulnerabilities to ensure the security of the system is not compromised.

To install portaudit, use the following commands:

To install the port: cd /usr/ports/security/portaudit/ && make install clean
To add the package: pkg_add -r portaudit

After installation, portaudit will fetch and update the security database automatically and include its reports in the output of the FreeBSD daily security run. Beside, before any ports installation or update, portaudit will check the ports’ versions against any vulnerabilities and alerts you if there any security implications.

With portmanager and portaudit, the installed ports and applications in FreeBSD system can be updated easily and ensured of always free of security holes.


4 Responses to “Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit”

  1. Blaze
    April 19th, 2009 07:11
    4

    This is the best site EVA!

  2. Rockrol913
    December 31st, 2007 13:44
    3

    THANX for you info on portmanager ! It works GREAT ! Check my Linux , BSD blog !
    Website up above !

  3. bramgn
    December 11th, 2007 05:55
    2

    @ medigeek

    A reboot wouldn’t have been necessary. The shell only needed to update its path cache. A “rehash” would have done just that.

  4. medigeek
    October 13th, 2007 20:41
    1

    Well, after installing portmanager, I had to reboot the system in order to use the command, otherwise it said “command not found”

    Love the article! thanks :)

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

freebsd port update - freebsd ports update - freebsd Portmanager - freebsd update port - portupdate freebsd - update freebsd ports - freebsd update ports - freebsd ports updating - how to update freebsd ports - freebsd port updat - update ports freebsd - how to update ports on freebsd - freebsd mysql-upgrade - updating port bsd - how to update ports freebsd - freebsd update ports collection - install freebsd portmanager - how to update portmanager database - mysql upgrade freebsd "not found" - update ports - updating ports freebsd - freebsd how to port update - update ports tree freebsd - freebsd portmanager noninteractive - Free BSD Ports updaten - how to check for most current freebsd port - install port freebsd without check - port freebsd update - freebsd update ports tree - freebsd view port dependency - freebsd updating ports - freebsd check missing port dependency - freebsd how to view port dependencies - portmanager update - freebsd update system - how to update port in freebsd - freebsd portmanager install howto - instalar portmanager freebsd - freebsd portaudit -Fa - freebsd update mysql port - freebsd + upgrading ports collection - freebsd portaudit - freebsd update port manager bsd - freebsd 6 portmanager download - chromium freebsd port - how to check system version freebsd - port update freebsd - installing system from ports freebsd - portmanager установка - portmanager +install -