Category: pkgsrc

One weird trick for dports


Remember: If you have a particular port that’s not building in DragonFly, there may be a patch in pkgsrc that could be brought over, as John Marino points out.

Posted by     Categories: DPorts, DragonFly, pkgsrc     0 Comments

In Other BSDs for 2014/04/05


Another week.

Posted by     Categories: BSD, Conventions, FreeBSD, NetBSD, OpenBSD, pkgsrc     1 Comment

In Other BSDs for 2014/03/22


I have a list of commits I’ve saved between the various BSDs of licenses getting corrected to the 2-clause BSD license; that would definitely be a good cross-BSD project to sync.

In Other BSDs for 2014/03/15


Another week with lots of links.

Posted by     Categories: BSD, FreeBSD, NetBSD, OpenBSD, pkgsrc     2 Comments

In Other BSDs for 2014/03/08


Links everywhere this week!

Posted by     Categories: BSD, FreeBSD, NetBSD, OpenBSD, PC-BSD, pkgsrc     1 Comment

In Other BSDs for 2014/02/22


Read the first item, if nothing else.

 

 

 

Posted by     Categories: BSD, FreeBSD, NetBSD, OpenBSD, PC-BSD, pkgsrc     0 Comments

In Other BSDs for 2014/02/15


Lots of links, yet again.

Posted by     Categories: Books, BSD, FreeBSD, OpenBSD, pkgsrc     0 Comments

In Other BSDs for 2014/02/08


As you read this, I’m at NYCBSDCon – or at least should be.

Posted by     Categories: BSD, DragonFly, FreeBSD, NetBSD, OpenBSD, pkgsrc     0 Comments

In Other BSDs for 2014/02/01


For once, I got this mostly done before late Friday night!

In Other BSDs for 2014/01/11


Running late putting this together…  Back to bullets!

Posted by     Categories: BSD, FreeBSD, OpenBSD, pkgsrc     0 Comments

In Other BSDs for 2013/12/21


Odds and ends for the quieter holidays.

Posted by     Categories: BSD, DPorts, OpenBSD, PC-BSD, pkgsrc     0 Comments

A BSD plan: license summaries


I had a sometimes-great, sometimes-difficult trip to New York City over the past few days, and while I was there, I met the ball of energy that is George Rosamond of NYCBUG (which is having a huge party right now.)  He and I talked for a bit about various aspects of the BSD ecosystem, and one thing he noted was that people aren’t generally aware of all the licenses in use for the different software packages on the system, or even the individual licenses in the system files.

There is an ACCEPTABLE_LICENSES setting in pkgsrc, where software licensed under terms not in that list won’t install.  That’s useful, but frustrating, because it keeps people from getting what they asked for – a software install.  Something that would be useful – and it could be cross-BSD very easily – would be a license audit summary.

There’s meta-data on every package in FreeBSD’s ports and DragonFly’s dports and pkgsrc and OpenBSD’s port system.  Why not say ‘pkg licenses’ in the same way you can say ‘pkg info’, and get a summary of the licenses you have installed in the system?  (or pkg_licenses, etc.  You get the idea)  This wouldn’t prevent people from installing software, but it would give a very quick view of what you were using.


> pkg licenses

Software package    License
----------------    -------
foo-2.2.26          Apache license
bar-7.999999        Donateware
baz_ware-20131209   MIT
quux-silly-6.5      BSD

It could be extended to the base system, but I’d like to see this in all the packaging systems as a common idea, in the same way that ‘info’ in a packaging command always shows what’s installed.

Posted by     Categories: BSD, DPorts, DragonFly, FreeBSD, NetBSD, OpenBSD, pkgsrc     4 Comments

In Other BSDs for 2013/12/07


Happy birthday to me!

In Other BSDs for 2013/11/16


Not as much pulled directly from the source lists this time, which is good.

 

Posted by     Categories: BSD, Conventions, FreeBSD, OpenBSD, PC-BSD, pkgsrc     3 Comments

In Other BSDs for 2013/11/09


Not sure why, but there wasn’t a lot of things this week to pick out.

 

Posted by     Categories: BSD, DragonFly, FreeBSD, NetBSD, OpenBSD, PC-BSD, pkgsrc     2 Comments

In Other BSDs for 2013/11/02


There’s a surprisingly large list this week.

Discontented with contention? Be content.


Matthew Dillon wrote a roundup post summarizing all the changes he’s made to DragonFly to improve SMP performance in the last few weeks.  He’s removed almost all contention from DragonFly.  This means better performance, scaling upward depending on the number of processors.

‘monster’, the system that builds all 20,000 items in dports, can complete the run in 15 hours.  Compare this to the 2 weeks it used to take me to build the 12,000 packages in pkgsrc.  This is admittedly on different hardware and different packaging systems, but it gives a sense of the scale of the improvement.

 

Posted by     Categories: Committed Code, DPorts, DragonFly, pkgsrc     4 Comments

In Other BSDs for 2013/10/26


Once again, doing this at the last minute:

Posted by     Categories: BSD, FreeBSD, NetBSD, OpenBSD, pkgsrc     0 Comments

Getting pkgsrc


As a followup to news that the git feed of pkgsrc through dragonflybsd.org is not being updated, Max Herrgard wrote out how to fetch pkgsrc via CVS, or tarball, or another git feed.  CVS is still the ‘official’ way.

Posted by     Categories: DPorts, DragonFly, pkgsrc     0 Comments

DragonFly pkgsrc repo is frozen


The pkgsrc repository in git for DragonFly is currently frozen.  This is because many people have switched over to dports, and also because it’s a lot of work to keep it functional.  If you do want to pull newer pkgsrc material, use cvs and grab it from a NetBSD server.

As the message notes, don’t go switching to DragonFly-current right now, cause there’s a lot of new material in there and it may not be quite safe.  (There’s an ABI change that will require all new builds of your ports, for instance.)

Posted by     Categories: DragonFly, Goings-on, NetBSD, pkgsrc     1 Comment

In Other BSDs for 2013/10/05


Less straight source links this week.

Related to DragonFly: Patrick Welche updated glib2 in pkgsrc, and is interested in hearing how it works for DragonFly users.  If you have pkgsrc on your system and it’s not a quarterly release, try building t.

Posted by     Categories: BSD, Conventions, FreeBSD, NetBSD, OpenBSD, pkgsrc     0 Comments

Why dports?


DragonFly has generally shifted over to dports for 3rd-party software management, away from pkgsrc.  Because of that, I haven’t been building binary packages of the quarterly pkgsrc releases.  Pierre Abbat asked why on users@, and here’s my explanation of the change.

Posted by     Categories: DPorts, DragonFly, pkgsrc     1 Comment

In Other BSDs for 2013/09/21


Finally, a quieter week.

Posted by     Categories: BSD, FreeBSD, NetBSD, OpenBSD, pf, pkgsrc     2 Comments

In Other BSDs for 2013/09/14


Barely getting this done in time for Saturday…

 

Posted by     Categories: FreeBSD, NetBSD, OpenBSD, PC-BSD, pkgsrc     3 Comments

In Other BSDs: 2013/08/31


I need to update this post during the week as I see stuff, or else I spend an hour rushing to get it all together before Satuday.  I need to start watching PC-BSD src changes, too.

Posted by     Categories: BSD, Conventions, FreeBSD, NetBSD, OpenBSD, pkgsrc     1 Comment

In Other BSDs: 2013/08/24


I hope I’m catching the interesting stuff; I’m only reading the src changes.

Posted by     Categories: BSD, FreeBSD, NetBSD, OpenBSD, pkgsrc     1 Comment

In Other BSDs for 2013/08/03


How many tags can I fit on this post?  I think I’ll aim for Saturday for these BSD catchup posts.  In theory, I can prep this and the Sunday Lazy Reading posts ahead of time, since they tend to be all-week items, and have the whole weekend covered.

 

Posted by     Categories: BSD, Conventions, NetBSD, OpenBSD, pkgsrc     0 Comments

In Other BSDs summary


Here’s what jumped out at me from reading source change mailing lists:

I’m going to have to set a specific day of the week aside for these.

Posted by     Categories: BSD, FreeBSD, NetBSD, OpenBSD, pkgsrc     3 Comments

Release announcement for pkgsrc-2013Q2


The pkgsrc-2013Q2 branch has been out for some days, but the official release announcement has now been published, with details on the number of ports.  You should be able to pull it down from dragonflybsd.org via git, by the way.

Posted by     Categories: DragonFly, pkgsrc     0 Comments

pkgsrc-2013Q2 is out


The official announcement has gone out.  You should be able to pull pkgsrc-2013Q2 via git from dragonflybsd.org within the next 24 hours.

Posted by     Categories: DragonFly, pkgsrc     1 Comment

OpenJDK7, everywhere


It looks like OpenJDK7 works in pkgsrc for DragonFly, thanks to Ryo ONODERA, and I think it’s working in dports too.

Posted by     Categories: DPorts, DragonFly, pkgsrc     0 Comments

pkgsrc freeze for 2013Q2 is on


Whoops, I missed this when it happened, but: the freeze for pkgsrc-2013Q2 has started.  That new quarterly release is anticipated for the end of the month.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

pkgsrc-2013Q2 freeze coming up


The next pkgsrc freeze is planned for June 17th, 9 days from now.  So, get your changes in now, for 2013Q2…

Posted by     Categories: pkgsrc     0 Comments

Creating new pkgsrc packages, a lesson


Johnathan Perkin has a nice tutorial up about creating pkgsrc packages.  It’s done on SmartOS, but I imagine it’ll generally apply to anything pkgsrc supports.

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

Pkgsrc and xorg, native vs. packaged


NetBSD uses pkgsrc but ships a version of xorg with NetBSD.  This is effectively producing the same code twice.  There’s a long discussion on tech-pkg@ (first article linked; keep reading) about moving to the pkgsrc version of xorg for NetBSD, which seems like a good idea for focusing effort, as far as I can tell.  The thread goes on quite a way.

Posted by     Categories: NetBSD, pkgsrc     0 Comments

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 pkgsrc-users@netbsd.org 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 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.

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.

Background:

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.

Installing:

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 mirror-master.dragonflybsd.org 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 tech-pkg@netbsd.org 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