How to revert to Postfix 2.5.5 on Mac OS X Tiger 10.4.11?

Bradley Giesbrecht pixilla at macports.org
Tue Nov 13 17:50:42 PST 2012


On Nov 12, 2012, at 10:12 AM, Christopher Rasch wrote:

> Hi,
> 
> tldr:  Upgraded to Postfix 2.9.4 on Mac OS X Tiger 10.4.9.  Need to revert back to Postfix 2.5.5, having troubles.
> 
> I recently upgraded Postfix 2.1.5 to Postfix 2.9.4 on a machine running Mac OS  X Tiger 10.4.9.  (Note: I can't update the operating system  since it's needed to run some legacy software. )   Postfix 2.9.4 appears to require openssl 1.0.x and greater.  However, I discovered that the legacy software depends on the openssl 0.9.8 libraries.  So I'm trying to revert back to the last Postfix that used the openssl 0.9.8 libraries, which appears to be 2.5.5.


I think this recipe should work for you:

# Create an empty local macports tree.
mkdir -p ~/misc/macports/ports
# Add devel/openssl to local tree using svn. Any other method of getting devel/openssl is fine.
cd ~/misc/macports/ports
svn co --depth empty http://svn.macports.org/repository/macports/trunk/dports .
# Add the devel category directory to our tree.
svn up --depth empty devel
# Add openssl 0.9.8o to our tree.
svn up -r68429 --depth infinity devel/openssl
portindex

# Update sources.conf adding our new local macports tree BEFORE the default tree.
# Now port will see the openssl in our tree and not the openssl in the macports tree.
cp /opt/local/etc/macports/sources.conf $(PWD)/sources-old.conf
sed 's,^\([^#].*\[default\]\),file://'"$PWD"' [nosync]'$'\\\n''\1,' sources-old.conf > sources.conf
sudo mv sources-old.conf /opt/local/etc/macports/sources-$(date +%Y%m%d%H%M%S).conf
sudo mv sources.conf /opt/local/etc/macports/sources.conf
sudo chown root:admin /opt/local/etc/macports/sources*
# See that openssl looks right now.
port dir openssl
port info openssl
port outdated openssl

# Force upgrade openssl
sudo port -s upgrade --force openssl
# Force upgrade postfix to build against openssl 0.9.8o.
sudo port -s upgrade --force postfix
# You may need to force upgrade other openssl dependent ports.



Regards,
Bradley Giesbrecht (pixilla)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2763 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20121113/31f36f6d/attachment.p7s>


More information about the macports-users mailing list