Perl Conditional Replace Depending On Match

So, as I write patches for various awful build systems, one of the things I try to do is slim down the patch file and make it easier to read. Changing ‘foobar-1.orig’ to just a and ‘foobar-1’ to just b makes a difference. Rather than manually edit the patch file, I turn to my dear friend, the regex search-and-replace. But, it gets to be a bit tiring editing essentially the same regex twice to get nearly identical results. Continue reading Perl Conditional Replace Depending On Match

PostgreSQL 8.2 EOL

PostgreSQL 8.2 has reached the end of its life. Start making your transition now.

From the release announcement (postgresql.org) on December 5, 2011:

This is also the last update for PostgreSQL 8.2, which is now End-Of-Life (EOL). Users of version 8.2 should plan to upgrade their PostgreSQL installations to 8.3 or later within the next couple of months. For more information, see our Release Support Policy. [wiki.postgresql.org]

Get Yer ddclient! ddclient 3.8.1 Released!

I was having some troubles with ddclient on my server here so I started looking into it.

There were seven bugs open and it was a micro version behind upstream. I fixed all of that by accident.

I sneezed.

Hardened users should be happy as now it’ll use iproute2 (only if you have the ‘hardened’ USE flag enabled) instead of ifconfig to grab the IP address of the given adapter.

Also, 3.8.0 introduced the ability to handle multiple IP address. So, for those of you lucky enough to have multiple connections to the Internet, that should make you happy. 3.8.0 has been available for quite some time, but I think it’s a noteworthy item.

If all goes well, net-dns/ddclient-3.8.1-r1 will be a candidate for stabilization a month from now.