[Description]

portmgt is a small bash script that will fetch latest porttree and check if any of your installed packages needs updating or contain any vulnerabilities. It used portsnap to fetch/update port tree, and portaudit to check for vulnerabilities. After you run the script it will give you an overview of packages that needs your attation.

[How to use]

Download portmgt and place it in your /usr/local/sbin directory.
From the command prompt just type `portmgt`, and the rest is self explaining…

Quote: If you get “You’re home free, today…“, then it has been a good day at the office!

[Changelog]

## Changelog
## v.25   - New pkg structure for audit and version....
## v.24   - Upgrade to pkgng - new package format...
## v0.23c - Spelling fix, tbz credit! :/
## v0.23b - Remove -u -p from mysql cmd, added confparm and use of .my.cnf file
## v0.23  - If mysql-server upgrade, upgrade seperatly and restart/upgrade db
## v0.22  - Fixed bug in md5 check, added full path variable
## v0.21b - Fixed bug in confparm, no valid variable
## v0.21  - Fixed empty confparm if any-key is pressed
## v0.20  - Added Remote Version check
## v0.15  - Added batch upgraded option
## v0.14b - Fix if error on portsnap extract
## v0.14  - Added portsnap extract
## v0.13  - Added changelog
## v0.13  - mysql_upgrade option
## v0.12  - Remove pf deactivate/activate script, no need for such restrictions
## v0.11  - Added pf deactivate/activate for lett portsnap through the firewall
## v0.10  - First public release