Archive for the 'Open Source' Category

tun/tap Driver for Mac OS X Intel

Sunday, June 4th, 2006

I’ve built the tun/tap driver for Mac OS X for Tiger on Intel processors. You can download tuntap_tiger-intel-20060604.tar.gz
and the diffs I used to get it to compile and build the packages…

Simply untar the package and double click the tuntap_install.mpkg file to install.

I’ve not actually tested this yet beyond performing an install and ensuring that the kexts loaded – I will be doing so as soon as I get an OpenVPN server going and use Tunnelblick for the client-side.

Please let me know if you run into issues with this.

GTK Mac OS X Rounding the Corner?

Saturday, April 8th, 2006

I recently got word that GTK compiled natively against Aqua may be starting to round the corner to usability. I’m looking to spend some time contributing in the near future, but this may take a backseat to some MythTV modifications I want to make.

Check out the status of GTK Mac OS X for yourself.

SSHKeychain Universal Build

Saturday, April 8th, 2006

Need a universal binary for SSHKeychain.app? I built one using sources pulled from the trunk of the read only svn mirror on 20060407. My casual testing has shown it to work as expected on my intel mini. Please let me know if you find issues with it.

Here it is: SSHKeychain-universal.dmg.bz2

MythFrontend for Mac OS X PPC/Intel

Saturday, April 8th, 2006

I needed to upgrade my MythTV backend to the release-19-fixes branch from SVN in order to solve an issue with timeouts to the MySQL server (see: mythtv-users thread). As part of the upgrade, I went ahead and built .19-fixes (checked out 20060407) frontends for Mac OS X PPC and Mac OS X Intel (MMX enabled).

Here are the links:

And for those running older backends, I still have the binaries I built for .19 and .18.1 sitting around:

UFRaw Gimpshop.app Plugin

Saturday, March 18th, 2006

See the updated version

I’ve recently been using GimpShop under Mac OS X. There is a plugin for Gimp called UFRaw that I wanted to use as well for RAW file import from my digital camera.

Update…
So I took up the challenge from the UFRaw author and built a point/click installer. It works for Gimpshop.app, so long as it is installed as /Applications/Gimpshop.app. I am looking into getting a script into the installer that can determine where Gimpshop.app or Gimp.app is located, and allow the user to select it for installation.

Importing into iCal

Tuesday, October 26th, 2004

While “switching” my wife to Mac OS X, I needed a way to get her calendar information out of Yahoo and into iCal. I found a few solutions out there, one of which ran in mono, another of which ran in perl.

I ended up taking concepts from both and referring back to the iCalendar format specification for some more information. I tied it together with the perl Module Text::CSV_XS for parsing Yahoo’s CSV output destined for Outlook.

Disclaimer: This is quick and dirty. It met my needs. I was willing to handle embedded commas with pre-processing and post-processing, as well as go back and fix recurring events by hand (When you output to CSV for Outlook, Yahoo creates unique events for each incidence of a recurring event up until the year 2037). The script is here. I consider it to be in the public domain - use it how you like, if you like.

Someday I may create a .dba->.ics converter, but I’ll probably write it in ruby.

HtmlGallery

Tuesday, September 28th, 2004

I’ve built a Java-based HTML image gallery generation program which is highly flexible in the type of HTML output it can create. It’s called HtmlGallery, and you’ll certainly see its output in use here at goof.com for image galleries.

TwainTiffBatcher

Friday, October 31st, 2003

I’ve built a TWAIN to TIFF file batch scanning utility. It’s called TwainTiffBatcher. It grabs images from a TWAIN datasource and writes them to disk as TIFF files, rather than keeping them in memory. This is useful for scanner drivers that do not support writing to files. It supports B&W, 8&16bit grayscale, and 24&48bit color image types.

qmail probabilistic outgoing smtp load balancing

Friday, October 17th, 2003

I’ve built a patch to the standard qmail-remote.c and a patch to the qmail-remote.c resulting from patching with the SSL/TLS patch. They implement probabilistic load balancing of outgoing smtproutes.

Here’s an excerpt from a post to the qmail mailing list about them:

It’s probably easiest to give an example.

Previous smtproutes entries work as normal, but qmail-remote now
supports:

host.domain:host1:port1@weight1/host2@weight2/host3
.domain:host1:port1@weight1/host2@weight2/host3

Each of these lines will be interpreted as a set of three relay
hosts, host1 has port1 and weight1, specified as unsigned longs.
host2 has a port of 25 and weight2, specified as an unsigned
long. host3 has a port of 25 and a weight of 1.

qmail-remote totals the weights, uses srandomdev() (under freebsd
this is what I wanted - change this to the seeding behavior you
want) and random() to get a random number, and then iterates
through its list of weighted relay hosts until it finds the one
that corresponds to the random number.