Notes on installing cyrus 22 on Solaris 10

Now I have my server, I'm migrating most of my services (mail, web, dns for a dozen domains). I build cyrus22 and its dependencies via the pkgsrc system (using GCC compiler 1) - which comes from NetBSD. Since I had some difficulties, I note my hack here :

cyrus-authd

the upstream comes with its own header. Edit the file md5.c to have the following includes :

#ifdef __APPLE__
#include <sys/md5.h>
#else
#include "saslauthd_md5.h"
#endif
#include "hmac-md5.h"
CONFIGURE_ARGS+=        --sysconfdir=/etc/cyrus

Links

1) I know SunStudio 11 is free, the only time I try to use it for pkgsrc, I have lot of difficulties to build some GNU portable (!) applications
2) Though, the saslauthd.conf file configuration is only used for the ldap backend