Category: pkgsrc

3.4.2 images uploaded

I finally got DragonFly 3.4.2 img/iso files uploaded, so they are available now or at least soon at your local mirror.  These are built using pkgsrc, so if you want dports, go for a snapshot image.

Posted by     Categories: DPorts, DragonFly, pkgsrc     0 Comments

More download statistics

There’s more download statistics on dports and pkgsrc packages, from Francois Tigeot.  There’s a heck of a lot of dports activity, though there’s probably much more pkgsrc building from source than this would report on.  So, not necessarily representative of actual numbers, but an interesting ratio none the less.

Posted by     Categories: DPorts, DragonFly, pkgsrc     0 Comments

DPorts and snapshots

Matthew Dillon and Sascha Wildner have converted snapshot/release building over to use dports instead of pkgsrc.  If you want to try one of those snapshots, look in the snapshots directory…  Oh, and here’s the mention of this on kernel@.

Posted by     Categories: DPorts, DragonFly, pkgsrc     0 Comments

Usage for dports and pkgsrc

In the week after DragonFly 3.4 was released, Francois Tigeot was tracking downloads for each type of packaging system.  It looks like dports downloads far outnumber pkgsrc.  I think there’s reasons it appears different in uptake, but it’s still neat to see people trying the new system.

Posted by     Categories: DPorts, DragonFly, pkgsrc     1 Comment

How about Ansible?

Ansible seems to be a configuration management system that’s lighter than puppet or salt.  I had a student talking about it in my class tonight.  BSD users Hubert Feyrer and Michael W. Lucas have both posted about it recently.  Anyone want to repeat their experiences?

Posted by     Categories: BSD, DPorts, pkgsrc, Someday you will need this     3 Comments

Transmission server directions

If you were perhaps thinking of setting up transmission-daemon, a BitTorrent server, this post on will help you out.

Posted by     Categories: pkgsrc, Someday you will need this     0 Comments

DragonFly 2.12/2.13 package removal

It’s been 2 years since the pkgsrc packages for DragonFly 2.12/2.13 were getting updated, so I am going to remove them.  If you’re running DragonFly 2.12, you’ll want to either build from source or upgrade DragonFly.

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

entr(1); Run arbitrary commands when files change.

Eric Radman sent along a plug for a utility he is working on called entr(1).  The desciption is “Run arbitrary commands when files change.”  The site for it has several nifty examples – run make when *.c files change, or convert Markdown files to HTML as soon as they are modified.  The really nice thing about it is that it’s perfectly BSD-friendly, and uses kqueue, but will also work on Linux.  This beats the “This runs on the one flavor of Linux I use, in one particular shell!” approach I’ve seen from some other developers.  See the reddit discussion of it for comparisons to inotify.  No, it’s not in pkgsrc/ports yet.

Update: And thanks to Thomas Klausner, it’s in pkgsrc as sysutils/entr, and in ports as sysutils/entr thanks to Eitan Adler.  You have no reason not to try it now.

Posted by     Categories: BSD, DPorts, Goings-on, pkgsrc     0 Comments

Older Postgres versions on the way out of pkgsrc

It looks like Postgres versions less than 9.0 are going to be removed from pkgsrc soon.  Be ready to update, if you are running one of those extremely older editions.

Posted by     Categories: pkgsrc     1 Comment

pkgsrc-2013Q1 available via DragonFly git

The DragonFly Git repository of pkgsrc now has the 2013Q1 branch.  You can switch to it by editing your /usr/Makefile (look for existing references to either pkgsrc master or pkgsrc-2012Q3) and using the normal commands.

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

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 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.

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

Lazy Reading for 2013/03/31

I hope you like reading; there’s some very meaty links this week.  Go get a cup of tea and settle in.  You drink tea, don’t you?  You ought to.

  • Reading about KDE’s repository near-meltdown makes me think we need more checks for DragonFly.  We have the advantage of Hammer, of course, which would help in the same way that the linked article names ZFS as a ‘fix’.  (via multiple places)
  • We know that Apple will reject apps it disagrees with.  Google also will do so.  Has there ever been a program rejected from pkgsrc or (FreeBSD/OpenBSD) ports on content grounds?  Not that I know of – anyone remember differently?  I’d argue that’s a favorable point for the BSD packaging systems, though it may just be that no application has tested those boundaries yet.
  • Portscanning all IPv4 addresses on the planet.  Possibly the largest distributed effort ever?  The detail in the maps and returned services is especially interesting.  (via)
  • Scale Fail, a Youtube video of a 2011 talk about screwing up your services.  Mostly about the humor, but the underlying points are valid.   (via #dragonflybsd IRC)
  • There’s still improvement possible to fsck, apparently based on this.  That’s UFS2 fsck.
  • What is your most productive shortcut with Vim?  A very thorough explanation of verbs, marks, and registers.  Holy cow, I wish I had known about ‘: … v’ before.  It’s long, but worth it.  (via)
  • Matthew Garret’s description of Secure Boot vs. Restricted Boot with UEFI, (via a coworker who went to Libreplanet 2013).  I’m still not sure what DragonFly will need to do about this.
  • I missed mentioning this earlier: 20 years of NetBSD.  We’re coming up on 10 soon.
  • Dragonfly drones.  Unrelated except for name.
  • That guy who starts to froth madly every time BSD is mentioned on Phoronix is still there (see comments).
  • Mainframe computer supercut.  (via)

Your unrelated comics link of the week: Tom Spurgeon of the Comics Reporter asked people for their lists of webcomics that could go in a ‘Hall of Fame’.  The resulting list is a lot of really, really good material.  Go use up a few hours reading.

A 3.4 release clarification

I saw this Hacker News post and figured I should emphasize: pkgsrc is still going to be available in the 3.4 release of DragonFly; we’re not suddenly switching to dports.  I don’t want anyone to think they’re going to have to rip out all their packages and go to a new, untried system, all at once.

Posted by     Categories: DPorts, DragonFly, pkgsrc     0 Comments

Default PHP in pkgsrc moving to 5.4

Right now, if you install PHP, or something dependent on PHP, from pkgsrc, you get PHP 5.3.  The default for pkgsrc will move to 5.4, though I assume that’s going to be after the pkgsrc-2013Q1 release scheduled for the end of this month.  I don’t know the upgrade path, but it sounds like 5.3 is on the way to retirement, in any case.

Posted by     Categories: pkgsrc     0 Comments

pkgsrc-2013Q1 freeze starts

The freeze for pkgsrc-2013Q1 has started; expect the next release at the end of the month.  (Ignore the subject line).

Posted by     Categories: pkgsrc     0 Comments

Pkgsrc freeze on the way

The freeze for the next quarterly release of pkgsrc – 2013Q1 – has been announced by Thomas Klausner.  March 17th to start, March 31st to end.

Posted by     Categories: pkgsrc     0 Comments

What’s happening at pkgsrcCon 2013

The 2013 version of pkgsrcCon is happening in a few weeks in Berlin, Germany.  As announced, the presentation list is up.  If you can’t make it to Berlin, there will potentially be video recordings of the event.

Posted by     Categories: Conventions, pkgsrc     0 Comments

Windows and pkgsrc, of all things

Cygwin is a ‘supported platform’ in pkgsrc now.  This means your Microsoft Windows machine can now build packages out of pkgsrc.  I have no idea how many packages actually succeed, but it’s interesting to see the same tools there as on other platforms.

Posted by     Categories: pkgsrc     2 Comments

Pkgsrc mysql now 5.5 by default

As the title says, if you install MySQL from pkgsrc-current, you’ll now get version 5.5.

Posted by     Categories: Goings-on, pkgsrc     2 Comments

Two pkgsrc changes

There’s two changes in pkgsrc recently that might affect you: graphics/png was updated, so many dependent packages will require recompilation.  Also, editors/emacs was moved to a general package instead of being specifically named by version, so now you can install ’emacs’ instead of ’emacs24′ or whichever version.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Lazy Reading for 2013/02/17

This week I will both post this on the correct day AND get the date in the title correct.

Your unrelated tea link of the week: Epic Tea House Server.  Interesting just because of what he does and because I’ve never encountered tea from a samovar, though I’ve read of it.  (via)

Wait, this is better!  That previous link led to this film from an English chemistry professor about tea chemistry.  At first I was just entertained by his hair and his accent, but when he put tea in a NMR spectrometer, I decided this was the best tea thing ever.  Even better than Elemental!

Python and rebuilding pkgsrc

Pierre Abbat noticed that when using pkg_rolling-replace, his Python packages would fail to be built/replaced.  This is because pkgsrc puts the version number into the name of the package, and he was moving from Python 2.6 to 2.7.  OBATA Akio and Greg Troxel had suggestions/explanations.

Posted by     Categories: pkgsrc, Someday you will need this     0 Comments

Older Samba, Ruby out

It was planned some time ago, but versions of Samba older than 3.5 are now out of pkgsrc, and version 3.5 will hopefully be replaced by 4.0 soon.  Ruby 3.0 and 3.1 will also be going soon.

Posted by     Categories: Goings-on, pkgsrc     3 Comments

Dealing with problematic git upgrades

If you have git installed, and you are trying to upgrade it, you may have problems.  The scmgit-docs package dependency requires some DocBook files that aren’t always accessible.  If you do run into this problem, there’s 3 separate options:


Ansible and package management

Hubert Feyrer wrote a review of Ansible 0.9, a management tool for multiple systems, similar to Puppet or maybe Chef.  Just after doing that, Ansible 1.0 came out, with support for pkgsrc via pkgin-installed packages.  This is the first solution (that I know of) that supports pkgsrc package management for multiple systems.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

An early DPorts education

John Marino’s DPorts project, mentioned here briefly before, is interesting.  I had two separate people ask me how it works, so a better explanation is in order.  I’ve tried it out on a test machine over the past few weeks.


Dports is an effort to use FreeBSD’s ports system as a base for DragonFly, and the pkg tool as a way to manage binary packages built from DPorts.  This is complicated, so I’ll explain each part in order.

  • FreeBSD ports are a FreeBSD-specific collection of software installation files that automate building 3rd-party software on FreeBSD.  You’ve probably already heard of them.  (Note there’s no mention of DragonFly.)
  • DPorts is a collection of files that map to existing FreeBSD ports, and contain any changes necessary to make that port also build on DragonFly.  Many of those programs build without changes on DragonFly.  DPorts builds from source.
  • pkg is used for package management, and is usable on FreeBSD and on DragonFly.  The binary packages produced from building with DPorts can be installed from remote locations and managed separately using pkg, so that software upgrades and installation can be performed with binaries only.  (It’s much faster that way.)

Every port seen in DPorts is known to build on DragonFly.  John Marino adds a port only after it builds successfully, using poudriere as a bulk software tool.   Ports are only updated to a newer version when that newer version builds, too, so once something arrives in DPorts, it should never break from being updated at some point in the future.


To use DPorts, you need two things:

  1. DragonFly 3.3 or later, though 3.3 is the most recent right now.
  2. You need to rename /usr/pkg so that your existing pkgsrc binary programs don’t get accidentally used while working with DPorts, causing confusion.  If anything goes wrong with DPorts when you are installing it and you want to go back, remove all the DPorts packages and rename /usr/pkg back to normal.

(Don’t confuse pkg, the management tool, with /usr/pkg, the normal installation directory for pkgsrc. ) For the installation of the base port files:

cd /usr
make dports-create-shallow

If you’ve already renamed your /usr/pkg directory, git won’t be in your path any more.  You can instead download a tarball and unpack it, which also happens to be possible automatically via that same Makefile.

cd /usr
make dports-download

Downloading via git is fastest, so if you do need to use the tarball via make dports-download, build devel/git, delete /usr/dports, and then pull it again with make dports-create-shallow.  This all comes from John Marino’s Github site for DPorts.

Managing DPorts

DPorts doesn’t use pkg_info, pkg_add, and the other tools traditionally seen on DragonFly for pkgsrc.  Instead, package management is done with pkg.   Use pkg info, pkg install, pkg remove, and pkg update to list, install, delete, and upgrade various packages on your system.  Packages built from source or downloaded as prebuilt binaries are managed the same way, using these tools.

See some of the other writing about pkg for FreeBSD for details on how it works.

Since DPorts doesn’t update a package until it gets a successful build, and installations are of successfully built binary packages, upgrades with prebuilt packages should always succeed.  Since they’re binary, they should be fast.  There’s a lot of ‘shoulds’  in this sentence, but these are reasonable suppositions.

What about pkgsrc?

Pkgsrc and DPorts shouldn’t be used at the same time, since one system’s packages may be at different versions but still get picked up during building for the other system.  That’s about it for restrictions.

I intend to try building an experimental release of DragonFly with DPorts, to see if all the right packages can be added, but no guarantees.  DPorts is brand new and does not yet have a repository for downloading packages, so the normal caveats apply; don’t install it on a mission-critical machine, and be ready to deal with any surprises from using it if you do try it out.

What packages are available?

Browsing the Github repo will show you all listed packages.  More complex packages like xorg, openjdk7, and libreoffice install, as does xfce.  Parts of KDE 3 and KDE 4 are in there.  (I haven’t tried either.)  I’m not sure about Gnome, but I don’t think anyone ever is.  There’s no vim, but there is emacs.

That’s just what I see at this exact minute.  It changes daily as more packages are built.  Changes from DragonFly builds are sometimes relevant to the original FreeBSD port, so there’s benefits for everyone here.

What next?

Try it now if it has all the packages you need, or wait for a binary repository to be created to speed things up.  Remember, this is a new project, so a willingness to deal with problems and contribute to fixes is necessary.

Posted by     Categories: DPorts, DragonFly, Goings-on, pkgsrc     17 Comments

pkgsrc-2012Q4 out

It’s actually been out since the start of January, but the release announcement is available now.

Posted by     Categories: Goings-on, pkgsrc     1 Comment

DPorts and what it’s about

John Marino has been working for some time on a project he calls, ‘DPorts’.  You may have noticed his recent commits for it.  He wrote up a summary on users@ to explain what he’s doing.  It’s translating FreeBSD ports to DragonFly in a way that appears to be (relatively) low-maintenance.   It only works on DragonFly 3.3 and up and you can’t use it at the same time as pkgsrc.

Most interesting to me, it gets rid of the quarterly release chase that happens with pkgsrc releases.  Since it’s primarily a binary install system, packages are only upgraded when the results are known to work.

Posted by     Categories: DragonFly, pkgsrc     1 Comment

pkgsrccon 2013: March 23rd, Berlin

Will you be near Berlin, Germany, in March?  The pkgsrccon 2013 technical conference will be held there.  Julian Djamil Fagir posted details about the event.  The conference is free; you pay for your food and drink.  If you’re interested in presenting, you need to contact them before March 8th.

Posted by     Categories: BSD, Conventions, pkgsrc     0 Comments

Upcoming pkgsrc removals for 2012Q4

As is customary with pkgsrc, a number of packages that do not build or are no longer needed will be removed. This will happen in the next quarterly release.  It’s a short list, and one item on that list, misc/p5-Locale-Maketext, will actually stay.

The freeze for pkgsrc-2012Q4 is due to complete in about 48 hours.

Posted by     Categories: pkgsrc     0 Comments

Outage fixed

The Digest was down over the last 12 hours or so – sorry!  Upgrading this system took a bit longer than planned.  I upgraded to Apache 2.4, and had to figure out all the config changes, and several packages didn’t like upgrading.

I’ve resisted upgrading for a long time, mostly because I think I could recreate the entire Apache 1.3 config file layout from memory.  For the benefit of anyone else, this checklist of Apache errors and corresponding modules helped tremendously.  Also, pkg_leaves is a great, if minimal, way to find packages you don’t need.

Posted by     Categories: About This Site, pkgsrc     0 Comments

Pkgsrc freeze for next quarterly release

Pkgsrc has entered a ‘freeze’ for their next quarterly release, which would be pkgsrc-2012Q4.  (DragonFly 3.2 ships with 2012Q3)  The freeze ends and the release happens at the end of the year, assuming no surprises.

Posted by     Categories: pkgsrc     0 Comments

Using gcc 4.7 and pkgsrc

If you were thinking you wanted to try gcc 4.7 with pkgsrc, John Marino’s described the option you need to set.  It only works in pkgsrc-master  right now (because of changes John made), and not every package in pkgsrc will build.

The advantage is that it’s also possible, with the same syntax, to set pkgsrc to build with gcc 4.4.  This means the default compiler in DragonFly can be changed to gcc 4.7 and pkgsrc packages that aren’t compatible can still be built.

Update: Check this minor change: ‘?=’ instead of ‘=’.

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

pkgsrc-current and gcc 4.7.2

If you’ve ever wondered how building all of pkgsrc would go with GCC 4.7.2, which is in DragonFly but not the default compiler, John Marino can show you just that.  He has a list of the results from a bulk build of all packages on DragonFly with GCC 4.7.2.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Faster initial pkgsrc downloads

The initial download of pkgsrc via Git on DragonFly is a little bit faster now, with the ‘make pkgsrc-create-shallow’ option recently added by John Marino.  Note that there’s a similar option for src.  It skips downloading file history.

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

Binary package removal for DragonFly 2.11 and below

On the 10th of November, I’m going to remove the binary pkgsrc packages from for DragonFly 2.8 through 2.11.  They are closing in on 2 years old at this point, and are from a pkgsrc branch that hasn’t been updated for that long.

If you are actually using version of DragonFly that old, you can continue building from pkgsrc normally; these are just prebuilt packages.

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

Remember: bin-install

A thread on pkgsrc-users@ reminds me: adding a specific line for bin-install will save time when rebuilding packages; pkgsrc will use existing binary packages instead of rebuilding from source when possible, when this is set.  At least, I’m pretty sure that’s what it does.

gcc 4.7.2 and pkgsrc, a test

John Marino did a bulk build of pkgsrc using gcc 4.7.2, and posted the results.  The result?  About 1% of packages that built with gcc 4.4 did not build with 4.7.2.  Whether that’s a problem with gcc or a problem with how each of those software packages were created by the original authors, I don’t know.

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

DragonFly 3.2 and pkgsrc-2012Q3

I’m planning for DragonFly 3.2 to come with pkgsrc-2012Q3, the most recent release.  I’m building binary packages to match, and the build should complete by the time we release on the 22nd…

Notice I said “should” – sometimes the universe conspires against bulk builds.

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

Lazy Reading for 2012/10/07

DragonFly 3.2 branches tomorrow if all goes to plan. Until then, I have a lot of reading here for you.

Your unrelated link of the week: Dog Shaming.  I have a parrot, rabbit, and lizard.  They seem like easy, normal pets compared to some of these stories.


Posted by     Categories: BSD, Lazy Reading, pkgsrc, UNIXish     0 Comments

CDE work plus DragonFly

I mentioned open-sourced CDE here before, but it makes me happy to see someone planning to do a bunch of work on it that will hopefully make it upstream, and specifically include DragonFly.

Posted by     Categories: BSD, DragonFly, pkgsrc     0 Comments

State of the Desktop for DragonFly

David Shao posted a nice writeup of what works and what does not for DragonFly as a desktop, from pkgsrc.  It actually sounds pretty good other than issues with a recent cairo update that I think affected multiple platforms.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

New perl, old python

Since the most recent branch of pkgsrc has been released, perl5 in pkgsrc has been updated to 5.16.1, and (ancient) python 2.5 has been removed.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

pkgsrc-2012Q3 is out

Pkgsrc-2012Q3 is out, and there’s an extensive release announcement to go with it.  It’s worth reading; there’s a few packages that will not be supported after this quarter’s release, and a whole lot of new ones.

Posted by     Categories: pkgsrc     0 Comments

Broken packages list for pkgsrc-2012Q3

There’s a post on the mailing list of currently broken packages for the next quarterly release.   It’s not a lot of stuff, but if something you need is on there, don’t worry too much.  If you follow the thread through its replies, there’s a lot of fixing going on.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Pkgsrc freeze has started

See the note on pkgsrc-users@.  The next quarterly release, pkgsrc-2012Q3, should be fully baked by the end of the month, if all goes well.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

pkgsrc freeze for 2012Q3 starts tomorrow

As seen in this pkgsrc-users@ post from Thomas Klausner, the freeze for pkgsrc-2012Q3 starts on Sunday and continues for (probably) two weeks before the release.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

A potential new pkgsrc site

If you look at, you will see what may become a new site.  This is apparently a test, so don’t react as if this was the actual site.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Lazy Reading for 2012/08/26

There’s certainly no theme to this week’s links.  I even manage to avoid my usual git and vim links, strangely.

Your unrelated comic link of the week: Cul De Sac.   The strip is ending due to the creator’s health issues, but what he has done is marvelous.  This is one of the few newspaper strips that is both visually interesting and often abruptly laugh out loud funny, without being patronizing.

Posted by     Categories: Hammer, Lazy Reading, pkgsrc, roguelike, UNIXish     1 Comment

What to fix next for pkgsrc

John Marino has been on a tear fixing pkgsrc packages, and he posted a list of what he considers the most necessary packages to get working on DragonFly.  Several people have already stepped up and fixed them if you follow the thread.  If one of these packages is something you use, it’s worth looking at.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Tcl and fuse news

John Marino is working on updating tcl in pkgsrc.  It’s apparently quite messy to update, which may be why it has sat out of date for some time.  Never one to rest, he’s also been making FUSE filesystems work on DragonFly.  (Here’s a FUSE explanation, if you need it.)

Also this.  Someday I’m going to write a “games on DragonFly” feature, or series.

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

More pkgsrc bulk

John Marino finished another bulk build of pkgsrc, and reports a 96.4% package success rate, using DragonFly and pkgsrc-current.   We’re just a week or so from the next quarterly pkgsrc freeze, come to think of it…

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Two different pkgsrc reports

I recently completed a bulk build of pkgsrc-2012Q2 on 64-bit DragonFly, though I still haven’t had a successfuly 32-bit build.  However, John Marino has a report of how many packages are working on DragonFly in pkgsrc-current.  (Answer: more than 95%)

Posted by     Categories: DragonFly, pkgsrc     0 Comments

BSDTalk 218: Michael W. Lucas, also ports/pkgsrc opinions

I’m back home and getting back into things, so here’s thing one:  Michael W. Lucas was interviewed at BSDCan 2012 for 16 minutes about his recent and upcoming books.

Lucas also recently talked about a problem with port installation on FreeBSD.  What he says there I think applies to pkgsrc as well.

(I haven’t even read my email yet, gee whiz.)

Posted by     Categories: BSD, Periodicals, pkgsrc     0 Comments

Upcoming Postgres update in pkgsrc

According to Aleksej Saushev, pkgsrc is going to start defaulting to Postgres 9.1 instead of Postgres 8.4 by default, in just a few weeks.  That means an upgrade in the next quarterly release, so keep that in mind.

Posted by     Categories: Heads Up!, pkgsrc     0 Comments

Pkgsrc success rate

John Marino sent a nice email to users@ about the improvements in build success for pkgsrc since May – and I can’t find it in the mailarchive.  I’ll paste a summary after the break.


Posted by     Categories: DragonFly, pkgsrc     1 Comment

Do you use TeX?

I don’t, but I know there are people that do.  That’s why I’m pointing out this discussion where it appears that TeXLive 2012 won’t support NetBSD, which may mean no DragonFly either.  There’s the not-yet-packaged alternative kertex.  TeXLive is in pkgsrc, so I don’t know if that means the package will be discontinued or just altered.

(Please correct me where I go wrong here; I’m not very familiar with this, but it sounds like a drastic enough change that it should be mentioned.)

Update: as several people pointed out, it’s just prebuilt binary versions that aren’t being provided upstream.  The packages will all still be present in pkgsrc.  So, no functional change for most everyone.

Posted by     Categories: DragonFly, NetBSD, pkgsrc     6 Comments

Check your Samba version

… because versions 3.0 and 3.3 will be leaving pkgsrc soon-ish.  You’d probably want to update anyway, but this is just in case you haven’t been upgrading too vigorously.

Posted by     Categories: DragonFly, pkgsrc     1 Comment

pkgsrc-2012Q2 released

The release announcement for pkgsrc-2012Q2 is out.  New in this quarterly release: statistics about clang and pkgsrc.  A surprisingly large number of packages build just fine with clang instead of gcc.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Lazy Reading for 2012/07/01

It’s summer, and I’m too warm.  I’m whiny but still making with the links:

Your unrelated link of the day: The Kleptones are great, and this collection of the music that influenced Paul Simon’s Graceland is a wonderful find.  A happier album I’ve never heard.  I feel nostalgic for the days when you had to actually search for music.

Posted by     Categories: BSD, Lazy Reading, pkgsrc, roguelike, UNIXish     0 Comments

Numbering changes for emacs in pkgsrc

Emacs in pkgsrc is going to be all numbered versions, as in emacs24 and emacs25, etc.  Installing just ’emacs’ will get the current default version, which is emacs 2.4 24.1 right now and I think will be emacs 2.5.  All this will come after the pkgsrc freeze for 2012Q2 is over, which means it will be next month.  Follow the thread on for details, or to figure out what I said wrong in my summary.

I always talk about vi and vi-like items here, so here’s my ‘equal time’ post.  

Update: as several people pointed out, I had version numbers wrong.  The story is corrected to make it slightly less wrong.

Posted by     Categories: pkgsrc     2 Comments

Lazy Reading for 2012/06/17

I have such a surplus of links these days that I started this Lazy Reading two weeks ago.

Your unrelated comics link of the week: Elfquest, every issue ever.  The dialogue is cheesy but the original art is fun, in a way that grabbed me when I read it at 10 years of age.

pkgsrc now frozen, with announcement

I know I already posted that this was on the way, but this time, the quarterly pkgsrc freeze is starting with a detailed announcement. 2 weeks until the next release, if everything goes well.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

PHP 5.4 in, PHP 5.2 out

If you’re using some PHP application that requires the old behavior of PHP 5.2, you will need to specify that version of PHP – pkgsrc is moving to version 5.4 5.3 as default, with version 5.4 available.   (thanks, Takahiro Kambe for the update.)

Posted by     Categories: Goings-on, pkgsrc     1 Comment

pkgsrc freeze for 2012Q2 starts on the 16th

The freeze for pkgsrc-2012Q2 starts on the 16th of June, as recently announced.  Freezes are usually 2 weeks, so that means 2012Q2 should be tagged at the end of June.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Secure your MySQL setup

This was going to go into a Lazy Reading post, but then I realized it shouldn’t.  Here’s the source: “A Tragically Comedic Security Flaw in MySQL” (via)

The short version: MySQL, compiled a certain way, will allow 1 out of 256 root login attempts to work no matter what.  I was going to link to this for the startlingly large number of MySQL installations found allowing connections from the public Internet, which means breaking into any affected servers would be easy.  Then I thought about it…  I don’t see a my.cnf installed by pkgsrc for at least MySQL 5.1 by default.

To fix this for your own installation, put


in /usr/pkg/etc/my.cnf to disallow remote connections.  I don’t know if MySQL on DragonFly from pkgsrc is vulnerable to the issue, but it’s a good idea to not allow remote connections to the database, and ought to be on by default.

Or just use Postgres, if possible.


Lazy Reading for 2012/06/10

I got to use the ‘roguelike’ tag again this week, which always makes me happy.  Surprisingly, it’s not about… that roguelike.

Your unrelated link of the week: I happen to work at a salt mining operation, which leads to some unique problems (more).  Mining in the US is regulated by MSHA, which has been cracking down since the Upper Big Branch incident. MSHA issues  ‘fatalgrams‘ every time a miner dies.  MSHA also shows up on site as soon as possible, which means they are there taking pictures within a few minutes, with equipment still running.  It’s essentially crime scene photos, and a little worrying; many of the deaths are of people around my age with similar experience.

Multi-architecture pkgsrc packages

Pkgsrc already runs on a large number of different platforms, but that’s not what I’m talking about.  In this case, Joyent, which uses pkgsrc internally, has a suggested change that makes binaries usable on both 32 and 64 bit systems.  I don’t know if this will go into pkgsrc proper, but it’s interesting to see.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Xorg updates in pkgsrc

Apparently a lot of modular-xorg packages in pkgsrc received updates.  I think I found some of the changes, but probably not all, so I don’t have a good way to sum up the actual effect.

Update: see the end of this cvsweb pkgsrc CHANGES-2012 page for all the changed parts.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

GNU utilities, correctly named

There’s a number of packages out there that assume you are using the GNU versions of ls, wc, and so on.  However, you aren’t when using a BSD system.  Pkgsrc has historically dealt with this when GNU tools are needed for a package by prefixing them with a ‘g’.  ‘ls’ becomes ‘gls’, and so on.  Aleksey Cheusov proposed a fix to keep these utilities under their original names, which I think will go into the next quarterly pkgsrc release.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Pkgsrc removal policy set out

Pkgsrc packages that have source files that can’t be redistributed, and go missing for the length of an entire quarterly release, will get removed.  They are effectively broken at that point anyway.

That policy is now formally in place; I don’t think there was a clear prescription before.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Building pkgsrc with clang

I think I’ve mentioned building DragonFly with clang before, but not pkgsrc.  There’s two variables to set, plus some special handling for libf2c.  Thomas Klausner has details.  This is not tested on DragonFly.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

How to upgrade pkgsrc packages

DragonFly has a page on updating pkgsrc, and so does NetBSD.  I don’t think I linked to the latter before, but even if I didn’t, it’s still useful.

Have i386 DragonFly? Want to try wine?

If you have a i386 DragonFly machine, emulators/wine-devel should now work.

Posted by     Categories: DragonFly, pkgsrc     2 Comments

Is anyone playing these games?

John Marino proposed cutting several game demos from pkgsrc.  I don’t think they are playable at this point, even if you have the missing source files.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Even better pkgsrc status

John Marino posted a report of pkgsrc-currentbuilding on DragonFly i386.  The success rate for package building is so good that the “top” package break was security/libpreludedb, with only 9 dependencies.  Everything else was less than that.  I have never seen a pkgsrc build report before with only single-digit figures for dependent breakage; this is fantastic.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

PHP 5.4 status in pkgsrc

Takahiro Kambe is bringing PHP 5.4 into pkgsrc, probably as lang/php54.  Follow the whole thread for a discussion of version numbering.  As a side effect of this, PHP 5.2 will leave pkgsrc by the next quarterly pkgsrc release.  If you’re using that older flavor, you’ll want to upgrade.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

An Apache 2.4 bug, worked around

Apparently Apache 2.4 has a bug that will cause network stalls when sending data that doesn’t line up with segment size.  Sepherosa Ziehau has put in a workaround for the issue.  Alternately, you can use www/apache22.

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

Pkgsrc doing better on DragonFly

Thanks to the efforts of John Marino and others, pkgsrc is having possibly the highest success rate ever of successful package software builds.  If only I could get a pkgsrc-2012Q1 build to complete and upload…

Posted by     Categories: DragonFly, pkgsrc     0 Comments

Lazy Reading for 2012/05/06

Drowning in links this week.  Is that so bad?  No.

Your unrelated links of the week: Turntablism.  I was talking about assembled music last week, and this is a whole area to itself.  Watch Kid Koala turn a few seconds of trumpet playing into an entire blues progression.

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