Category: pkgsrc

2011Q2 binary builds finishing up

The builds of pkgsrc-2011Q2 are finishing up, so we have/will have binaries to download, for those who don’t want to build from source.  The uploads should be complete by now for everything except maybe 2.11/x86_64.  You’ll have to change $PKG_PATH to point at the new directories for now, though.  There’s also some build reports to look at.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

clang and pkgsrc bulk builds

I spied a bulk build of pkgsrc using clang.  It’s interesting to see the results…  It’s on NetBSD, but it should be possible to try the same thing with CCVER on DragonFly.  Any takers?

Posted by     Categories: DragonFly, Goings-on, NetBSD, pkgsrc     0 Comments

pkgsrc-2011Q2 is branched

The latest quarterly release of pkgsrc, 2011Q2, has been branched.  There’s no formal announcement yet to describe the highlights, but I’ll link it when it shows up.  I’ve already started building binary packages for DragonFly 2.10 and 2.11.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

A change for committers, a change for pkgsrc

Two completely separate and unrelated changes:

First, Alex Hornung has added a check to look for certain lines in a commit message, and add a MFC reminder note to the commit message if they are found.  MFC, if you haven’t heard it, means ‘merge from current’, or moving a change from dragonfly-current to the last release version.

Second, with the next quarterly release of pkgsrc coming up, there’s some old packages that will get dropped.  Speak up if you need them to stick around.


Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Someone try the new bootstrap

Pkgsrc bmake bootstrap, that is.   There’s a new version of bmake, and it needs to be tested on every platform possible.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Freeze for pkgsrc-2011Q2 coming up

The pkgsrc ‘freeze’ in preparation for the pkgsrc-2011Q2 branch is coming up, starting this Sunday the 19th.  This means the quarterly release will be tagged in about 2 weeks, and I’ll probably have binary packages built for DragonFly about a week or so after that.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

DESTDIR almost done

There’s still a few packages in pkgsrc that don’t support DESTDIR (e.g. being built by someone other than root).  If you want to help out, here’s a list of those 60 packages.

Posted by     Categories: pkgsrc     0 Comments

Trying out deduplication

I moved to DragonFly 2.10 over the past few days, and I tried out deduplication, to see what kind of results I would get.  The procedure is outlined below.  I’m using /home here as an example, just to reduce the amount of text pasted in.

/pfs/@@-1:00004     966000640 566434576 399566064    59%    /home

Move my various Hammer pseudo-file systems to version 5, which supports deduplication.

# hammer version-upgrade /home 5

Issue a deduplication simulate command, to see what it guesses will be the savings:

# hammer dedup-simulate /home
Dedup-simulate /home: objspace 8000000000000000:0000 7fffffffffffffff:ffff pfs_id 4
Dedup-simulate /home succeeded
Simulated dedup ratio = 1.22

That ratio turned out to be pretty accurate for the actual deduplication.  I didn’t time it, unfortunately.  I don’t know if the time taken is proportional to the amount of deduplication or the total volume of data, though I suspect the latter.

# hammer dedup /home
Dedup /home: objspace 8000000000000000:0000 7fffffffffffffff:ffff pfs_id 4
Dedup /home succeeded
Dedup ratio = 1.22
462 GB referenced
378 GB allocated
14 MB skipped
6869 CRC collisions
0 SHA collisions
0 bigblock underflows

The end result?

/pfs/@@-1:00004     966000640 505887504 460113136    52%    /home

That data space is shared across all file systems, and it’s a 1TB disk, so it’s 7%, or 70GB. I was hoping for more, but I don’t have any obviously duplicated data (no local mail store, no on-disk backups), so perhaps this is normal. 70GB that I didn’t have before is no bad thing, though.

Incidentally, I was able to upgrade my installed software from pkgsrc-2009Q4 to pkgsrc-2011Q1 entirely using pkg_radd -u <pkgname>.  Remarkably quick and painless, though pkgin may have been able to do it even faster since it would pull from the same place.

Posted by     Categories: DragonFly, Google Code-In, Hammer, pkgsrc     1 Comment

Another pkgsrc build

This new build is on x86_64, pkgsrc-2011Q1.  It’s already uploaded, if you want to update.  i386 coming soon.   Several packages freeze up during build, so it’s been turning into a manual process.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Other Summer of Code: pkgsrc

One of the Google Summer of Code projects that will be valuable for DragonFly even though it isn’t a DragonFly project: “Add other package formats to pkgsrc”, where pkgsrc can interpret rpm, dpkg, and FreeBSD Ports files.  Anyway, the project has a Sourceforge site.

Posted by     Categories: Goings-on, Google Summer of Code, pkgsrc     1 Comment

New pkgsrc bulk build results

I have them, for DragonFly 2.11/i386 and DragonFly 2.11/x86_64 (see pkgsrc-bulk), on pkgsrc-2011Q1.  I think I even uploaded them correctly this time.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Lazy Reading for 2011/05/15

This week: lots more reading!

  • Michael Lucas describes an extra layer of protection for when you can’t force public key usage on every SSH user.
  • Cool, but obscure Unix tools (via)  The screenshots are all from a Mac… How many of the 24 tools listed are in pkgsrc/pkgsrc-wip?   Almost all of them.  (tpp sounds entertaining.)
  • NYCBUG, in addition to having a really fun convention, has been regularly posting audio of the presentations they host.  The most recent is “William Baxter’s NYCBUG presentation on The Unix Method of Development Management”.   See the BSD Events tweet for the download.
  • What Ubuntu means.  (via)
  • Here’s a nice explanation of Intel’s new Tri-Gate design and with it, an incidental explanation of the processor market.
  • This ycombinator post about Hammer2 work has an in-depth comment from Venkatesh Srinivas about DragonFly’s network setup, memory allocator, and token use.  (Ignore the trolling in other comments.)
  • Michael Lucas’s next No Starch Press book is Absolute OpenBSD, second edition.
  • Pictures and video are starting to show up from the just-passed BSDCan 2011. (via this and also thesjg on EFNet #dragonflybsd)
  • My first experience of The Internet was very similar to this.  It should be bizarrely unfamiliar to anyone under 20 or so.  (via)  Get this: I typed ‘exit’ instead of just closing the browser window when I was done messing with it, because some habits cannot be broken.
Posted by     Categories: BSD, DragonFly, Lazy Reading, pkgsrc, UNIXish     0 Comments

Some new pkgsrc reports

I finished two builds of pkgsrc-2011Q1 on DragonFly; the reports are available.  The only real breakage is security/heimdal.   There’s a patch for that, though.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Chromium for DragonFly: please test

Rui-Xiang Guo is looking for testers for wip/chromium.  That’s the zippy Google browser.  He especially wants DragonFly users – this would be useful, especially since I think Firefox 4 does not build on DragonFly right now.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     2 Comments

pkgsrc-2011Q1 build reports

We’ll have a full set of pkgsrc packages for the upcoming DragonFly 2.10 release, built from the most recent quarterly release of pkgsrc: 2011Q1.  For the curious, here’s the build reports for i386 and for x86_64 architectures.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Add package-clean to your list

The usual way for building pkgsrc packages from source is ‘bmake install clean’, to build and install the package, and then clean the work files from building it.  Since the recent change to DESTDIR, where a binary package is built before installation, you may want to add ‘package-clean’ to the list, so that the binary package is also removed after installation.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

First pkgsrc-2011Q1 results for 2.10

No, 2.10 is not out.  I built packages for pkgsrc-2011Q1 on 2.9, and set it to think 2.10 so that the pkgsrc tools wouldn’t complain.  We’re close enough to release that this shouldn’t be a problem.  The packages are available for x86_64; i386 packages coming “soon”.   See my note to for details on accessing these packages.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Lazy Reading for 2011/04/13

Get out your wallet!  I encourage purchasing here.

  • You should buy a SSD.  Not necessarily news to you, but that article does a good job of summarizing why.
  • On the other hand, SSD prices are already on their way up/availability is way down.  Japan’s disasters are having a ripple effect through the high-tech supply chain.  Either buy immediately or get ready to wait for a while…
  • Introduction to Architecting Systems for Scale – you either don’t care, or find scaling questions immediately engaging.  I am one of the latter, so here’s the link.
  • I’ve been watching for a little while.  One thing I’ve discovered: there’s a lot of updates going on!  Another thing that’s nice to see: DragonFlyupdates, including ones that help with our move to gcc 4.4.
  • Aw, no more Kermit.  (via)  Not that I have a use for it at this point, but still: aww.  I bet in about 10 years I’ll say the same thing about… gopher?  Remember that?  It’s not even supported in Firefox 4 now, which kinda makes me feel sad.  And old.
  • Server plans: Facebook vs. Google.  (warning: Facebook article is somewhat giddy.)
  • The infinite hard drive.  (via I lost it, sorry)

Here’s an extra little thing: next time you’re dealing with dusty computer equipment, remember this picture:

That is what happens to an exposed RJ45 port after a few years in a salt mine (my employer).  This was inside an enclosed, mostly-sealed  structure, too.

Posted by     Categories: DragonFly, Lazy Reading, pkgsrc     1 Comment

Next release April 23rd

Branch tomorrow, release in 2 weeks.  There’s a ton of new features for 2.10, so this will be a fun release.  I’m trying to get pkgsrc-2011Q1 packages built for 2.10 ahead of time, too.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     3 Comments

pkgsrc-2011Q1 details

I already noted that the quarterly release is out, but the pkgsrc-2011Q1 release announcement is available now.  There’s good reasons to link to it – the list of updated packages, new packages, and credits for the work people have been doing.  Here’s the part I really want to pick out:

We’re aiming to make this the last branch to support non-DESTDIR packages. We have almost finished the transition to DESTDIR installation, where a staging directory is used to make a binary package, which is then managed by the pkg_install tools.

The reason I’m highlighting this is: it’s good news!  One of the long-term complaints with pkgsrc is that the upgrade process is painful.  If you try to build an upgrade and the build processfails after uninstalling the existing package, not only are you not getting the upgrade, but you’ve lost the existing package.  Binary packages for download helps with this (and generally is faster), but only so many packages can be built separately and made available for download.

Building a package separately and then installing from there removes these issues.  No binary redistribution issues, actual downtime is minimal, and the package is known to work when an upgrade happens.  This removes most of the problems I’ve heard raised about pkgsrc over the years.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

pkgsrc-2011Q1 tagged

It’s tagged, though there’s no release announcement yet.  Working on building binaries starting tonight…

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Pkgsrc packages possibly pruned

There’s a number of pkgsrc packages that have a combination of security vulnerabilites and lack of updates for more than a year which is placing them on the chopping block.  (Follow the discussion to see which ones make it off the list.)  The removals will happen after the next branch, pkgsrc-2011Q1, which is itself due in two days.

Posted by     Categories: Goings-on, I like alliteration, pkgsrc     0 Comments

Last-minute pkgsrc progress

As already mentioned on this Digest, the freeze for the next quarterly release of pkgsrc, pkgsrc-2011Q1, has started.  I’ve also completed several bulk builds of pkgsrc-2010Q4 and pkgsrc-current using DragonFly system with GCC 4.4.  Francois Tigeot has very kindly gone out of his way to get some of the (relatively few) broken packages listed in those builds to be fixed.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Pkgsrc freeze starts tomorrow

As noted in announcements, pkgsrc is entering a 10-day freeze period starting tomorrow.  If everything goes to plan, the next quarterly release of pkgsrc, 2011Q1, will be released April 3rd.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Results from pkgsrc and gcc4.4

My first bulk build of pkgsrc with gcc 4.4 has completed; the results are available.   Notice that most of the errors are from checksum problems with downloads, not actual problems from the compiler change.  I’m starting a new build to see if the checksum problems go away with fresh downloads.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

GIF now unungif’d

The GIF format, or rather the LZW format it uses, is no longer patent-encumbered.   (GIF patent worries led to the creation of the PNG format, if I’m not mistaken)  Matthias Drochner has changed pkgsrc to use giflib instead of libungif.

According to Wikipedia, the patent expired more than 5 years ago, so this isn’t really news other than some packages need to be rebuilt.  Still, memories of the general Internet Outrage from a decade ago are interesting compared to the events of today.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

pkgsrc current and 2.9, plus shallow pulls

There’s two recent changes for pkgsrc and DragonFly:

Posted by     Categories: Committed Code, DragonFly, pkgsrc     0 Comments

Bleeding-edge builds

If you’re curious, I have a bulk build on DragonFly 2.9/x86_64/pkgsrc-current finished.  Work on the programs that don’t build is always welcome.  It’s pretty good for bleeding-edge, though!

Posted by     Categories: DragonFly, pkgsrc     0 Comments

The best way to fix up pkgsrc…

… is to make its patches unnecessary, by getting the changes needed for any program to compile on DragonFly built right into the program.  (Often called “pushing patches upstream”)  That usually means creating a patch and then tracking down the program authors to get them to include those changes in the next release of a project.  That tracking down can be a majority of the work.  In that case: thanks, Rumko!

Update: Also, thanks, Matthias Rampke!  He did the same thing for pcc.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

pkgsrc packages removes, Postfix to test

Matthias Scheler is looking for Postfix testers.  If you run it, he has a patch to version 2.8.1 he’d like you to try.

Also, the final list of GTK1-using packages that are not actively updated has been determined.  These packages are leaving pkgsrc next week unless there’s any last-minute intercessions.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Ways to play music

If you’re like me, you’ve been using XMMS for music playback since just about forever.  It’s ancient, though.  It uses GTK1, and since Thomas Klausner is trying to get GTK1 dependencies out of pkgsrc, he listed a roundup of alternatives on the pkgsrc-users mailing list, most/all of which are in pkgsrc.  Pouya Tafti added some more.

Posted by     Categories: Goings-on, pkgsrc     2 Comments

Getting old GTK to go

Thomas Klausner is planning to get rid of the last bits of GTK1 in pkgsrc, which means some old/non-updated software has to go too.   Speak up on the mailing list if you need some of that listed software, or (better yet) provide patches to move it to GTK2.

Posted by     Categories: pkgsrc     0 Comments

pkgin update to 0.4

pkgin, the binary pkgsrc manager similar to apt/yum, is now at version 0.4.0.  You can get it now if you use pkgsrc-current, or just wait for the next quarterly pkgsrc release.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Binary pkgsrc updates: an experiment

So, I felt lucky recently.  I updated from DragonFly 2.6 to DragonFly 2.8, and wanted to upgrade my pkgsrc packages from pkgsrc-2010Q3 to pkgsrc-2010Q4.

You can do this with pkg_rolling-replace, or various other tools, but I wanted to see if I could do it completely with binary packages.  I used pkg_radd -uv <pkgname> for each of the major packages I had installed.

Surprisingly, it worked, for every package.  I had to force-install some Perl modules because I was moving from 5.10 to 5.12, but I think I may have been able to use an additional -u switch to get by that problem.  I did use pkg_leaves to identify packages I didn’t need, and removed them to reduce the number of items to upload.

It was exactly what I wanted.  Previous pkgsrc upgrades had taken most of a day, as I had to build from source and figure out what went where.  We’ve had a better success rate in bulk builds recently, and this paid off in an upgrade process that only took perhaps an hour.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

BIND 9.5 reaches End of Life

BIND version 9.5 has reached End of Life status.  In fact, it did it some time ago.  However, net/bind95 in pkgsrc has just been deleted.  Update to 9.6/9.7, if you still had9.5 in place.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

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.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

New pkgin version for testing

If you’re using the binary pkgsrc package installer pkgin, version 0.4 is available for testing.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

pkgsrc-2010Q4 binaries out

They’re finally uploaded!  See my rather lengthy post about it on users@ for all the details.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Fixes for rxvt, milter-greylist

In case you are using either of those programs, there’s fixes for building/using them.

Posted by     Categories: Committed Code, DragonFly, pkgsrc     1 Comment

More pkgsrc-2010Q4 results

I’ve had the bulk builds of pkgsrc-2010Q4 finish on 2.9 systems, for i386 and for x86_64.  The uploads for 2.9/x86_64 seem to have completed…

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Sourceforge fallout

Sourceforge had/has a security problem, so they’ve turned off some services until it’s fixed.  However, anything planning to download from Sourceforge will be affected, so some packages in pkgsrc may not be able to build for … a day or two?

Posted by     Categories: DragonFly, pkgsrc     1 Comment

pkgsrc-2010Q4 via git

The pkgsrc-2010Q4 branch is now available in DragonFly’s git repo, via ‘git checkout pkgsrc-2010Q4’ in /usr/pkgsrc.  Enjoy!

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

pkgsrc-2010Q4 build progress report

Here’s where the binary build is: summarized in a post to users@.  So far so good…

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Avalon returns, also known as, is back up at a new location, with new disks and new connectivity.  pkg_radd should work by default again, as should

Posted by     Categories: DragonFly, Heads Up!, pkgsrc     0 Comments

State of the binary build

Here’s the state of my build of pkgsrc-2010Q4 packages:

  1. DragonFly 2.8/i386 – in progress
  2. DragonFly 2.8/x86_64 – in progress
  3. DragonFly 2.9/i386 – just started (happens on Avalon)
  4. DragonFly 2.9/x86_64 – in progress

So it will be some days yet…  building over 4000 packages total is never quick.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Quick fix for pkgin

If you’re using pkgin for managing pkgsrc packages, there’s a new bugfix to cover scenarios where there’s an old and new version dependency on the same item, like php between versions 5.2 and 5.3.  It’s described in French, or translated English.  (Thanks, Antonio Huete)

Posted by     Categories: DragonFly, Goings-on, pkgsrc     2 Comments

Lazy Reading: cheatsheet, disks, pkgsrc, more

Normally I hold this for Sunday, but I’ve got a good batch of links already.  Something here for everyone, this week.

  • A git cheatsheet, and another git cheatsheet.  I may have linked to the latter one before, as it looks vaguely familiar.  Anyway, bookmark.  (Thanks, luxh on EFNet #dragonflybsd)
  • What should you do about bad blocks on a disk?  Get a new disk.
  • If you ever wanted to port software, there’s a pkgsrc developer’s guide (thanks Francois Tigeot) that shows you how.
  • It’s NOT LINUX, for the billionth time.  It’s BSD UNIX (certified, even) under there!
  • Children of the Cron“.  An entertaining pun.  (via)
  • Nothing to do with BSD, or even computers, really: Gary Gorton, interviewed about the recent financial crisis, at a Fed bank website (!?).  Interesting because I like economic matters, and because it’s the first web page where I’ve ever seen pop-up links added usefully, as a sort of footnote that you don’t have to scroll.  (via)
  • Michael Lucas recently had a machine broken into.  Since everything on the machine is suspect, he’s using Netflow data to figure out when it happened, and how, which is not surprising given his most recent book.  He has two posts describing how he backtracks his way to the probable source.

pkg update in pkgsrc

If you run pkgsrc-current, not the quarterly releases, the png library has just been updated to 1.5.  This may break a few applications for now, and require a lot of rebuilding on your next update, since many packages depend on this.

If you are running a quarterly release of pkgsrc, you are unaffected.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

pkgsrc-2010Q4 is out

The latest quarterly release of pkgsrc, 2010Q4, is out.  I’m working on the build of binary packages…  It’ll be some days.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Another package manager: nih

Aleksey Cheusov is putting together a package manager for pkgsrc, called nih.  (For “Not Invented Here”).  It’s binary-only at this point, so you’d need to run distbb or pbulk to generate packages, or download from

Posted by     Categories: Goings-on, pkgsrc     0 Comments

MirBSD looking at pkgsrc, too

MirBSD is apparently also interested in pkgsrc as an alternative to the exclusive-to-MirBSD Mirports.  The more the merrier, I say.

Posted by     Categories: BSD, pkgsrc     0 Comments

Pkgsrc 2010Q4 coming soon

The planned freeze is underway; so pkgsrc-2010Q4 should arrive soon.  How soon?  January 1st, if it’s by the traditional schedule.

Posted by     Categories: pkgsrc     0 Comments

BSD Magazine: WebDAV

The latest(?) version of BSD Magazine is out.  Among other things, it has an intro to pkgsrc.  The site lists November 2010 for this issue, but it just showed up on the Twitter feed, so I’m not totally sure I have this right.  In any case, it’s a free download.

Posted by     Categories: BSD, Periodicals, pkgsrc     0 Comments

Run the JDK all you like

Francois Tigeot figured out how to get it to work.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

LOCALPATCHES a possibility

I never really noticed this before, but it’s possible to include your own patchsets into pkgsrc and have them picked up as part of the build process, using $LOCALPATCHES.

Lazy Reading: Lots and lots of it

Somehow I ended up with a zillion links for this week’s Lazy Reading.  I hope you’ve got some spare time for this…  Let’s get right into it:

  • Michael Lucas, BSD book author (see links on site), has started Twittering.   He’s also found the Wikileaks/NetBSD association that I didn’t know about, as Julian Assange even shows up in the NetBSD fortunes file.  Also, while linking to his blog, I’ll point at his post on “Write what you don’t know“.  Think of that article next time you feel you don’t know enough to contribute to something – especially open source.
  • There’s a lengthy dialog on the mailing list about pkgsrc, and “Making it easier to get and use pkgsrc“.   You can follow the whole thread on the listing page.  I am all for the idea.  Everybody and their brother has an App Store these days.  Ports/pkgsrc are perhaps the original app store ideas, and I’d like to see them brought to the same level as these commercial entitites.  This is important: pkgsrc is perhaps the only app store equivalent in existence that is not tied to a platform; that exists only to get you software rather than to provide a way to tie a platform into its developers profits.
  • Hey, a roguelike zombie apocalypse game!  Aw, it’s Windows-only.
  • Mikel King has an editorial that sums up the many places BSD serves as an underpinning to products – a good checklist, if you don’t know of them.  He’s also written an instructional article on passwordless/SSH setup.
  • Along the same lines, Promote Perl by Building Great Things.  This applies to BSD products too; telling people it’s great doesn’t work as well as making something great and showing that a BSD system is part of what makes it so.
  • Did you know there are even BSD Certification classes in Iran?  I really need to do that… though probably not at that location.
  • Yacc is not dead.  (via)  I link to this because I had a moment of nerd excitement realizing that blog’s title is intended to look like a bang path.
  • Database design ideas.  There’s been a good series of posts there lately, good for anyone wanting to move beyond the basic CRUD details.

More JDK progress

wip/jdk15 now works on i386, too, under specific circumstances.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

JDK progress

Francois Tigeot has wip/jdk15 working for DragonFly/x86_64.   It’s not there yet for i386…

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

ProFTPd upgrade

If you have net/proftpd installed, and you installed it in the last week or so, you may want to upgrade.  There’s been a security problem with the source files.

Posted by     Categories: Goings-on, Heads Up!, pkgsrc     1 Comment

Chromium testing for DragonFly

Rui-Xiang Guo has brought chromium, the base of Google’s speedy Chrome web browser, into pkgsrc, in the wip branch.  He’s looking for testers of the work, especially on DragonFly.  Please try it and report!

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Robotics, anyone?

Tomas Bodzar found robotpkg, a pkgsrc-based collection of robotics-related software.  Because of its pkgsrc origins, it should in theory work with DragonFly, or most anything.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

pkg_radd: oddly successful with upgrades

The utility pkg_add has a -u option that tells it to upgrade any existing matched package with a given binary package.  Since pkg_radd passes options on to the underlying use of pkg_add, after automatically setting a remote repository for binary files, pkg_radd -u <packagename> tells pkg_add to automatically find and upgrade a package.

I never thought this would work.  However, I’m building a package on a system that has pkgsrc-2010Q1 packages installed, but a pkgsrc-2010Q3 /usr/pkgsrc.  Every time I’ve encountered an error because installed software was too low a version, pkg_radd -uv <package_name> has resulted in a quick upgrade.

I’m not recommending this as a new upgrade method; I’m noting how unexpectedly well this experiment is going.  It may be just blind luck, but this sure would be nice if it ‘just worked’.

Posted by     Categories: DragonFly, pkgsrc     2 Comments

Building Java, again

Francois Tigeot was able to get wip/jdk15 to build on DragonFly, from pkgsrc-wip.  Unfortunately, the package has been removed, but he’s looking to put it back.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

A fix for docbook and pkgsrc issues

A number of people have encountered this: while installing some larger pkgsrc package, the process stops on a strange DocBook error.  Alex Hornung has a fix:  symlink /usr/pkg/etc/xml/catalog to /usr/pkg/share/xml/catalog.

Dovecot upgrade

Dovecot, a rather popular IMAP/POP3 mail server, has had version 2 arrive in pkgsrc.  There’s an upgrade guide on pkgsrc-users@ if you’re thinking of upgrading.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

KDE4 patches to try

Alex Hornung has some patches that allow KDE4 to build on DragonFly.  They aren’t in pkgsrc and not all in KDE yet, so try them out directly if you want KDE4, for now.

Update: based on something Alex said on IRC… they’re in KDE4 now.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Chroot and pkgsrc tips

Chris Turner wrote some notes about building pkgsrc packages in a chroot, including the handy tip of using


to run and display a GUI-using app under the chroot.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Firefox fix found

If you’re running DragonFly 2.7 and you’ve noticed Firefox crashing on you, Matthew Dillon has some potential fixes.  Update/rebuild to see if it helps.

Posted by     Categories: Committed Code, DragonFly, pkgsrc     0 Comments

Git mirror for pkgsrc being rebuilt

Our mirror of the never-quite-official git repository for pkgsrc is being rebuilt, so it will be temporarily inaccessible.  Matthew Dillon is working on building a new one directly from pkgsrc CVS, which will have a different link.

Update: It’s finished.  Matthew Dillon’s posted a summary of the changes and what you need to update in order to use it.

Posted by     Categories: DragonFly, Heads Up!, pkgsrc     0 Comments

Flash 9 on DragonFly

Chris Turner wrote up his experience of getting Flash 9 to work on DragonFly.  The usual disclaimers apply.

Update: there’s an improved library available that fixes some audio and video sync problems.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Revised pkgsrc guide

I’ve drastically revamped the pkgsrc howto on the website.  It’s also linked in that site’s menu, too.  Comments please!

Posted by     Categories: DragonFly, Goings-on, pkgsrc     4 Comments

Don’t upgrade, do recompile

A bump in shared library version for libssl/libcrypto means that any programs dependent on it will require a rebuild – including any pkgsrc programs.

This only affects you if you are running 2.7, for now.  It means that on upgrading from 2.6 to 2.8, any libssl-using programs will need to be updated.  This may not be a big thing, since pkgsrc-2010Q3 will also be out and people will want to upgrade anyway.

Posted by     Categories: Committed Code, DragonFly, pkgsrc     0 Comments

Lazy Reading: subversion, packaging, beams

A small crop for Lazy Reading this week – oh well.

Posted by     Categories: Lazy Reading, pkgsrc     2 Comments

Binary package upgrade issue

I’ve noticed that if you have older pkgsrc packages installed, and install binary packages for pkgsrc-2010Q2, those packages will refuse to install if pkg_install is an older version than what they were built with.

I ended up force-deleting pkg_install and bmake, and reinstalling by running pkgtools/bootstrap/bootstrap.  There may be better solutions; I’m mentioning it now since it’s a known problem.

Update: “bmake replace USE_DESTDIR=yes” was suggested by Joerg Sonnenberger.  “pkg_add -u /path/to/newer/pkg_install” should also work (untested).

This will probably apply to the upcoming pkgsrc-2010Q3, too.  Building from source is a workaround for now.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Squid issues

Jan Lentfer updated his version of squid, and had issues; this is a note for anyone else running squid to maybe wait before upgrading.  Note that this applies to the development version of squid, not necessarily the pkgsrc version.

Update: No, wait, it’s OK.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

pkgsrc database, compiler changes

I mentioned previously that Postgres 9 is already in pkgsrc, but the flip side of that is both Postgres 8.2, and MySQL 4 are being removed.  If you still have these installed, be ready to migrate at your next upgrade.

Oh, and you can switch to clang for building pkgsrc, too.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

2.8 release in a few weeks

It looks like 2.8 will be showing up in a few weeks – mid-October.  If things go well, we’ll have prebuilt pkgsrc-2010Q3 binaries to go with it.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Freeze for pkgsrc-2010Q3 starting soon

Starting September 23rd, pkgsrc will freeze (i.e. bugfixes only) in preparation for the 2010Q3 release, which is planned for one week later, instead of the usual 2 weeks.  This release will include some very new software like Postgres 9, too.

Posted by     Categories: Goings-on, pkgsrc     7 Comments

rpkgmanager, a want-list based pkgsrc manager

Some time ago, there was an application called pkgmanager, available in pkgsrc-wip.   It worked by tracking ‘wanted’ packages in pkgsrc, and upgrading based on that list.  It hasn’t been updated in some time, however, and may not even build.

‘Rumko’ has written a replacement, called rpkgmanager.   The Gitorious page linked in the previous sentence includes the URL to download the code via Git, so it’s available to try now even though it’s not yet in pkgsrc.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Lazy reading: toeplitz, forking, curating, Nethack

I totally meant to post this yesterday.  Oops!