Red Hat Bugzilla – Bug 86084
sendmail SRPM for 8.12.8 patch and spec file mismatch
Last modified: 2007-04-18 12:51:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020913
Description of problem:
The spec file for Red Hat 8.0's most recent sendmail errata update (8.12.8-1.80)
has support, via the "%errata" define, for other Red Hat Linux releases
including 7.3. However, due to hard-coding of DB versions in one of the patches,
this support is broken (e.g. prerequisites all match, but build fails). I'm
thrilled that Red Hat had the foresight to realize that many of their customers
who cannot upgrade wholesale to 8.0 would need a sendmail upgrade, but to ship
it with these helpful changes in a broken state is rather unfortunate.
I got this SRPM to build easily enough by altering the
"SOURCES/sendmail-8.12.2-redhat.patch" file from the SRPM.
After doing an "rpm -i". I changed "-ldb-4.0" (which seems to be a bad usage for
a whole lot of reasons) to "-ldb", which should work just fine given that both
RH7.3 and RH8.0 will create a "libdb.so" which points to the appropriate version.
Now, simply changing "%errata" to "73" results in a clean build that installs
without a hitch. I'm now running it with TLS turned on and I'm a happy camper,
but perhaps other Red Hat users would benefit from another update which fixes
the 8.0 SRPM so that it can build under 7.x?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. see above
Actual Results: see above
Expected Results: see above
http://people.redhat.com/laroche/ has a new src.rpm which has this fixed.
Florian La Roche