Hi folks, I've been sitting on this port since a few weeks now, trying to improve a few bits here and there and then going back to other stuff. This is not terribly efficient.
So here's the port, so that you can help me finding that's left to do. Some notes: - no fancy integration with the upstream build system. For example, SEPARATE_BUILD = flavored is left as an exercise for the masochistic porter. ;) - there are two flavors, ldap and sasl. I don't have strong opinions about which should be present and linked to the build. At least there's a way to handle multiple flavors. - I've tried to mimic the in-tree sendmail installation. Very few things change, except: - obviously, use of /usr/local - configuration files handled with @sample annotations - sendmail-{dis,en}able scripts - esendmail rc script - no dynamic version of libmilter is provided Works fine for my use case (laptop, sendmail using only uucp transport), but you'll be the real testers. - make install - /etc/rc.d/sendmail stop - sendmail-enable - edit rc.conf.local, append a esendmail_flags="..." stanza (to use the default, esendmail_flags=$sendmail_flags) - /etc/rc.d/esendmail start - /etc/rc.d/esendmail check - less /var/log/maillog This is the bare minimum. Warning: the package uses the same configuration files and queue directories as the base sendmail installation. The config files should be untouched by pkg_add/pkg_delete, but the queue directories are likely to be removed at deinstall time, if those are empty. So... sudo install -d -o smmsp -g smmsp -m 770 /var/spool/clientmqueue/ sudo install -d -o root -g wheel -m 700 /var/spool/mqueue/ I deny all responsibility for whatever problem you may run into. :) -- Jérémie Courrèges-Anglas PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494
sendmail.tgz
Description: Binary data