Tuesday, March 17, 2009

Ports management in FreeBSD

After re-installing FreeBSD 7.1 for testing numerous time, I decided to not use portupgrade anymore. I have decided to switch to a non-db backend system with bpkg and portmaster for my ports management. Bpkg is da bomb, you can do all types of queries on installed/not-installed ports. My favorite is "bpkg -p $1 | egrep '^[a-z]'". I have added it as a function called "sp" to my .zshrc file. With the output I can just copy and paste to a portmaster line, now that's super easy. Be sure to check out all the options for bpkg.

No comments: