How to revert to Postfix 2.5.5 on Mac OS X Tiger 10.4.11?
pixilla at macports.org
Tue Nov 13 17:50:42 PST 2012
On Nov 12, 2012, at 10:12 AM, Christopher Rasch wrote:
> 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.
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
# 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.
Bradley Giesbrecht (pixilla)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2763 bytes
Desc: not available
More information about the macports-users