If you have ever come across the application Gringotts you either love it or hate it... personally I like the thing and think it's a great little password store etc. Just the sort of thing that you want to run on a Zaurus and it is farily popular in the pdaXrom feed.
Click to view attachment
Here is what you need to do to get it to work on a Zaurus running OpenBSD with the current revisions of GTK etc.
Firstly build a few dependency packages and install them from the ports tree... namely...
next download and extract the source for libgringotts-1.2.1 and gringotts-1.2.8 from the main site..
(I use a build root called /usr/local/nonports for stuff that isn't in the ports tree)
Before configuring either application use the following commands since neither configure/make on either package seems to check /usr/local/include or lib
Now enter the libgringotts directory and run..
This should be enough to successfully install the supporting library
Now download this patch...
and apply it whilst inside the gringotts directory with...
patch -p0 < gringotts-shlomif-patch-rev3.diff
This is necessary since the version of GTK that OpenBSD has no longer exports references that the original gringotts needed to link..
Configure and build with...
chmod -s `which gringotts`
If you don't disable the env check gringotts will segfault with a duff string that it passes to a putenv system call... I traced it that far but didn't feel it was significant enough to fix for my own use.. you may want to research further.
If you leave the root suid bit enabled gringotts will attempt to disable paging of its own code, this doesn't work correctly on OpenBSD and gringotts gives up.. if you are concerned about this leave your swapfile encryption enabled on OpenBSD
Note, you can now run gringotts as a regular user, attempting to run from root with fail with the SUID error since it believes it has the rights to disable paging of itself.