bxr.su announced

Constantine Aleksandrovich Murenin has put together a new site, bxr.su.  His announcement to users@ goes into a lot of detail, but here’s a preview: it’s an OpenGrok site that has a forked version of OpenGrok that’s both speedy and takes BSD into account, along with other nice features.

Here’s the catch: it’s currently IPv6 only.  IPv4 will be on as a test just today, and on for good shortly after.  Read that announcement I mentioned for details.

Testing out the DragonFly 3.4 release candidate

If you have a DragonFly 3.2 system and you want to try the 3.4 release candidate, you can delete your local source, edit the Makefile to pull down 3.4 instead of 3.2, and run it.

cd /usr
rm -rf src
vi /usr/Makefile;
(in vi) :%s/DragonFly_RELEASE_3_2/DragonFly_RELEASE_3_4/g
(save, quit vi)
make src-create-shallow

… then proceed to make buildworld and so on, as normal.

The caveats: I haven’t tested this yet, and this assumes you don’t have any local changes in /usr/src that you want to save.  The usual warnings about lighting your computer on fire, etc., apply.

mfi(4) users and foreign configs

If you have a mfi(4) device – in other words, a LSI MegaRAID SAS driver – you can now see/import/clear/etc. foreign configurations, thanks to this commit from Sascha Wildner, tested by Francois Tigeot, and originally from FreeBSD.

For the confused, ‘foreign’ means any disk hooked to a RAID controller that isn’t part of a configuration the RAID device already knows about.  A replacement disk, or more worryingly, a good disk gone bad/unrecognizable.  (I’ve had both.)

Do you have a wpi(4) or iwi(4) device?

If you have an ath(4), wpi(4) or iwi(4) wireless network link, and you’re running DragonFly-master, please update.  Sepherosa Ziehau has pushed Johannes Hoffman’s wlan_serialize branch, which means bringing up wlan0 is a bit easier – and less crashy.

It needs to be tested for wpi(4) and iwi(4), however, so if you have success or failure with those devices, please say so in reply.

(new post category starting now: “Please test”)

DragonFly 3.4 branched

DragonFly 3.4 is branched –  as a release candidate, with the current target for 3.4.0 release as the weekend of April 13-14.  See the tagging commit note for a list of all the commit messages.

Note that in previous releases, we tagged “x.y.0” on branch, and “x.y.1” on release.  I’m now tagging “x.y.0rc” for the release candidate at branch time, and we’ll tag with a more normal (to my ears) “x.y.0” for the release.

If you build a 3.4.0rc image right now, you’ll get an older quarterly release of pkgsrc.  That’ll be changed tomorrow as the DragonFly pkgsrc git source is updated and I change where 3.4’s  /usr/Makefile points.

pkgsrc-2013Q1 announced, with extras

The 2013Q1 branch of pkgsrc has been announced.  Along with the normal quarterly material, there’s several notes: preliminary Cygwin support is present, ruby 1.8 will be retired in favor of 1.9 after this release, and the pkgsrc.org web page now has a very nice new look and logo.

I plan to branch DragonFly 3.4 very soon, and that version will have 2013Q1 as default.

Update: The 2013Q1 branch should be available by tomorrow on DragonFly’s git; the repository needs to update and convert from NetBSD’s CVS and that takes a little time.  I’ll post when it’s ready.

A short npf note

NetBSD is using/will be using? ‘npf’, a new version of pf similarly-named-but completely-different firewall from pf.  Hubert Feyrer put together a bunch of links talking about it.  I link this because DragonFly is using a version of pf equivalent to what OpenBSD 4.8, and there’s been some discussion of what to do next; it appears FreeBSD and NetBSD are forking off separately from OpenBSD’s version.

Update: npf and pf share 2 letters in the name and nothing else, as Joerg told me – corrected.

Mailing lists interruption

There’s an as-yet-undiagnosed problem with the @dragonflybsd.org mailing lists; you won’t see any mail from them right now.  I don’t have an ETA for a fix because I don’t know the underlying cause yet…

Update: Fixed; I think – dragonflybsd.org DNS server was not responding, and it had a ripple effect.

Another sh(1) update

Peter Avalos has committed another batch of updates to sh(1), from FreeBSD.  I was going to comment on how strange it was to see software getting updated so many years later; you’d think everything there was to update for /bin/sh had been done at this point.  Digging casually, the oldest bit on sh that I can find is from 1991 – 22 years old.   The man page mentions a rewrite in 1989 based on System V Release 4 UNIX, and there were versions of sh all the way back to version 1.

Here’s a trivia question – what’s the oldest Unix utility, and what’s the oldest code still in use?  I don’t know the answer.

Patch cross-pollination

I wasn’t aware of this, but apparently DragonFly’s version of patch(1) comes from OpenBSD and NetBSD.  FreeBSD’s old version of patch is being replaced by this and modified to match the old one’s behaviors.  It would be worthwhile to bring these changes back, if possible, just to reduce the differences in a utility that’s already been around the world, so to speak.

As an aside, I always thought patch was one of Larry Wall’s unsung successes, and I’m entertained by any program that has “Hmm…” as one of its official outputs.