Posts for July 2011

2011-07-20: Term::ANSIColor 3.01

The primary change in this version is to cope correctly with non-array references passed in as the first argument to colored(). These should stringify, rather than cause an abort because they aren't an array reference. Thanks to Revilo Reegiles for the report and the test case.

This release also fixes some syntax errors in the documentation, adds a warning that the module doesn't work well with Perl formats, and updates the URL for ECMA-048.

You can get the latest version from the Term::ANSIColor distribution page.

2011-07-20: Small midsummer haul

It's been a while since I wrote a haul post, partly because I bought a Kindle and picked up a few books via it. I'm still not sure I'm going to do lots of my reading that way, but for reading the Hugo nominees this year, I didn't feel like buying some of the books in hardcover. (I'm glad I didn't for Connie Willis's All Clear.) Of course, the process by which I write these posts involves physical books, which means I've not noted any of the Kindle stuff.

Must remedy that. Maybe in the next post.

Anyway, there was a new Jacqueline Carey, and since I have the entire Kushiel series and follow-ons in hardcover, I wasn't going to stop now. That prompted a small Powell's order.

Jacqueline Carey — Naamah's Blessing (sff)
William Cronon — Nature's Metropolis (non-fiction)
Issui Ogama — The Next Continent (sff)
Victor Pelevin — The Sacred Book of the Werewolf (sff)

I have actually been reading lately. I've just been really bad about writing reviews again, partly because work again has gotten very busy and partly because I'm struggling a bit with attention and life balance. But I've taken care of getting my car smogged, gotten in a bit of travel, and cleared jury duty, so the goal for the rest of this month is to get things back into order.

2011-07-25: rra-c-util 3.7

There are a surprisingly large variety of changes in this release. I keep expecting this package to stabilize, but I keep finding new bits of shared infrastructure that it's good to maintain in a single location.

The main new code in this release is an import of the generic buffer library that I expanded for INN from some code that was already there. This is a set of functions for managing a buffer that holds some amount of allocated memory along with counts of contents used and available. It's useful for processing data received from the network or other cases where one wants automatic resizing of buffers. I thought I was going to use this for another project (but ended up not doing so) and had been meaning to incorporate it for a while, since I know there are some packages that I haven't yet converted to my infrastructure that will benefit from it.

Also new in this release are Autoconf macros for detecting APR and APR-Util, which are being used by my current project.

The PAM utility library's configuration handling now copes properly (at least as much as it can) when krb5_appdefault_string is a stub that does nothing, which is the case in Mac OS X 10.7. The PAM configure support also now correctly detects that FreeBSD's PAM API uses const.

The kafs configure macros now abort if the platform requires OpenAFS headers and those headers aren't found, and the kafs code is not built in rra-c-util itself by default (since having OpenAFS installed is relatively rare).

Other minor changes: include strings.h in portable/system.h for strncasecmp, add ARRAY_SIZE and ARRAY_END macros to util/macros.h, prefer gssapi/gssapi.h to gssapi.h since the former is deprecated on FreeBSD, and fix a compiler warning in util/messages.c.

I've also gone through all files meant to be copied into other source packages and added a comment saying that the file is maintained in rra-c-util and giving a pointer to its web site.

You can get the latest version from the rra-c-util distribution page.

2011-07-25: pam-afs-session 2.5

The primary change in this version is that the module resets the SIGCHLD handler while spawning an external aklog program so that the application handler isn't invoked when aklog exits. This means there's still a race condition if processes spawned by the calling application exit while this module is running, but one or the other is unavoidable, and this seems likely to cause fewer problems.

pam-afs-session now also defaults to "nopag" on Mac OS X, since the operating system doesn't support PAGs, rather than erroring out if run without that option. It copes with the stub krb5_appdefault_string function on Mac OS X 10.7, fixing a segfault, but still can't get configuration information from the system krb5.conf on that platform because the default Kerberos libraries don't support it.

There are also some more minor updates from incorporating the latest rra-c-util, most notably that the build now correctly detects whether PAM uses const on FreeBSD.

You can get the latest version from the pam-afs-session distribution page.

Last spun 2024-01-01 from thread modified 2013-01-04