bsdperimeter/pfsense — pull request #66 by phil-davis (2012-03-21 18:19:46+00:00)
Title: Bug #2301: Mixed-case package names and package deletion

Handle installation of packages with mixed-case names like "squidGuard".
Correct the passing of PBI package names from uninstall_package to delete_package to remove_freebsd_package.
I have successfully installed squid and squidGuard then removed them both on a 2.1-DEV nanobsd build from 19-Mar-2012, including doing install/remove with and without a reboot in between.
Note: there is still the design issue that PBI stores its database in /var/db/pbi, but (at least on nanobsd) /var is not preserved across boots. So PBI's memory of what FreeBSD packages are installed is lost. This means that PBI package files are not being cleaned up from /usr/pbi - I will put in a separate Redmine issue about this.