I'm trying to integrate both the new sieve implementation and managesieve into pkgsrc.
Managesieve seems to need some dovecot libraries that dovecot doesn't install (lib-storage/libstorage.a, lib-auth/libauth.a, lib-imap/libimap.a, lib-index/libindex.a, lib-mail/libmail.a, lib-charset/libcharset.a, lib-dict/libdict.a and lib-charset/libcharset.a). There seems to be no provision in pkgsrc for the build of a package needing the work directory of the build of another package. Would it make sense for dovecot to install those libraries?