Mac's, iPhones, and Sun Calendars
- I couldn't get mac os native perl (5.8.6) to make modules and install them correctly. If you can, great.
- If not see Active Perl (http://www.activestate.com/Products/activeperl/) and it's free.
- You need the modules listed on the page at http://www.hovenweep.org/~rowan/software/icald.html.
(You can get the list of modules you have installed by doing a "r" in cpan> -- see below)
- You need to install Crypt::SSLeay (I did this using ActivePerl in /usr/local/bin/perl (link from /usr/local/Active-Perl*):
sudo /usr/local/bin/perl -MCPAN -eshell then (cpan needs to be configured) cpan> install Crypt::SSLeay
- You need icald also from http://www.hovenweep.org/~rowan/software/icald.html. I made the following changes:
Edited Lines:
I hard coded the calendar entry my $CALSERVER = ""; to my $CALSERVER = "cal.sunit.net:444"; your calendar server and port above
Assuming you need SSL - Lines 498, 500, 543, 545
Replace "http:" with "https:" eg: $url = "https://$CALSERVER/$command.wcap?$argstring";
- Start up the icald process. Look for PID in /var/run/icald.pid and access log in /var/log/icald/access.log. Debug output is at /tmp/ical.log. Be sure to have file permissions in the log locations correct, and port above 1000 (7080 is the default) for non-root.
If you are using active perl you may need to modify the path in the icald file (the first line). To execute and change user:
sudo ./icald -u <UID>
Setup iCal (Mac's Calendar Program) Calendar/Subscribe
String for iCal Subscribe: http://localhost:7080/login/
Enter your username and password.
Now sync your iphone and you should be good to go. I'll do some more testing and see what happens. Once I figure out how to make a startup file for this I'll post that when I get time.