bin-install does it all

If you’ve ever installed pkgsrc packages from source, you probably typed ‘bmake install’.  There’s a ‘bin-install’ target that will use binary packages if they are available, but you have to set the appropriate environment variables to do so.

It’s now much easier, on DragonFly.  If you have pkgsrc-current as of yesterday or later, or pkgsrc-2011Q1 when it arrives, you can type ‘bmake bin-install’ for a pkgsrc application and it will download the binary package automatically, if it’s available, and build from source if it’s not.

This is a setup I’ve wanted for a while – the speed of a binary install, plus a fallback if the binary isn’t available.

Firewall shuffling

Sepherosa Ziehau is planning to get rid of ipfilter.  It’s one of 3 firewall-ish programs in DragonFly right now, along with ipfw and pf.  Currently, pf is getting the most attention with Jan Lentfer’s porting work, though npf is also on the horizon.   However, ipfilter is currently in use at nfrance.com, so its removal may be on hold until it can be shown that ipfw or pf can stand in for it.  It looks like it will work out.