Friday, May 30, 2008

nss signtool, xulrunner, firefox 3 add-ons and things i don't want to mention - currently on a debian system

in the very unlikely case someone wants to write an add-on for firefox - and let's assume this add-on should run with the new ff3... and the add-on should not be hosted on mozilla.org... well, this is going to be a tough one (and i dont't even want to go into that).

furthermore, let's assume (now, that it's obvious that this add-on needs to be signed) the signing is supposed to take place on a current debian system...

...and, last but no least, this system should also run a xulrunner in ver.> 1.8.1

these constraints will lead (among others) to the following packages:
libnss3-1d, 3.12.0~rc3-1
libnss3-tools, 3.12.0~rc3
-1

in case the signtool refuses to do part of its job (and complains about missing libraries) this might help:

ln -s /usr/lib/nss/libsoftokn3.so /usr/lib/libsoftokn3.so
ln -s /usr/lib/nss/libnssdbm3.so /usr/lib/libnssdbm3.so



related:
  1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483774

Saturday, May 24, 2008

OpenVPN, Tunnelblick, bridged network (tap device), mDNSResponder, and daapd on OS X - Part 2

  • i found the following sh-script (executed with administrator privileges) does help most of the time (cf. http://iiegn.blogspot.com/2008/03/openvpn-tunnelblick-bridged-network-tap.html for the problem...)

#!/usr/bin/env bash

killall openvpn
sleep 1

launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

sleep 3
kextunload /Library/Extensions/tun.kext
kextunload /Library/Extensions/tap.kext
sleep 5
kextload /Library/Extensions/tap.kext
kextload /Library/Extensions/tun.kext
sleep 5
kextunload /Library/Extensions/tun.kext
kextunload /Library/Extensions/tap.kext

launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist


in order to get this sh-script executed the following lines of AppleScript might be helpful (saved as an Application Bundle with the above script inside the bundle):

set myPath to POSIX path of (path to me as string)

do shell script myPath & "/Contents/Resources/Scripts/upndowntaptun.command" with administrator privileges

display dialog "You may now restart your Tunnelblick Connecrtion." buttons {"OK"} default button 1


references:
  1. http://developer.apple.com/technotes/tn2002/tn2065.html
  2. http://lists.apple.com/archives/Applescript-users/2007/Apr/msg00232.html