I’ve Built SRPM package for postfix 2.8.0 on my spare time today, based on Simon J. Mudd’s template of course 🙂
The Hardest parts was testing and applies the right patches, but it seems okay when it compiled
Here’s the srpm file:
[download#9]This how to rebuild the source :
$ rpm -Uvh postfix-2.8.0.src.rpm
Set the environments
$ export POSTFIX_SMTPD_MULTILINE_GREETING=1 $ export POSTFIX_LDAP=1 $ export POSTFIX_MYSQL_REDHAT=1 $ export POSTFIX_PCRE=1 $ export POSTFIX_PGSQL=1 $ export POSTFIX_RBL_MAPS=1 $ export POSTFIX_SASL=2 $ export POSTFIX_TLS=1 $ export POSTFIX_VDA=1 $ export POSTFIX_DB=4
Create postfix.spec file and go to rpm spec directory
$ sh `rpm --eval '%{_sourcedir}'`/make-postfix.spec $ cd `rpm --eval '%{_specdir}'`
rebuild rpms/srpms
$ rpmbuild -ba postfix.spec
done
note: tested only on centos 4.7 i386 machine, initial rpm source was build on centos 5.4 x86_64 (ibm blade) but not installed, you might want to test/check it first before installing on production machine