Patch: add buildmx and builddkim options to rpm
2012-03-17 by Rudy Eschauzier
Attached is a patch file to add the buildmx and builddkim options to the rpm.spec file.
It also fixes a strange build dependency on libsm when milter-greylist is build with dkim support. The dependency on libsm in its turn made milter-greylist depend on Xorg when builddkim was enabled. With the patch, milter-greylist successfully builds on a machine w/o an X window manager, even with dkim enabled.
Also, I noticed that a fresh checkout still produces autowhite.c and autowhite.h. I don't think these files are needed anymore.
Rudy.
It also fixes a strange build dependency on libsm when milter-greylist is build with dkim support. The dependency on libsm in its turn made milter-greylist depend on Xorg when builddkim was enabled. With the patch, milter-greylist successfully builds on a machine w/o an X window manager, even with dkim enabled.
Also, I noticed that a fresh checkout still produces autowhite.c and autowhite.h. I don't think these files are needed anymore.
Rudy.