Skip to content

Instantly share code, notes, and snippets.

@ryancdotorg
Last active August 17, 2023 00:28
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryancdotorg/11025731 to your computer and use it in GitHub Desktop.
Save ryancdotorg/11025731 to your computer and use it in GitHub Desktop.
produce debian exim packages linked against OpenSSL instead of GnuTLS
#!/bin/sh
set -ex
sudo apt-get update
sudo apt-get upgrade
sudo apt-get build-dep exim4
sudo apt-get install --no-install-recommends devscripts fakeroot
apt-get source exim4
perl -i -pe 's/^\s*#\s*OPENSSL\s*:=\s*1/OPENSSL:=1/' exim4-*/debian/rules
cd exim4-*
dch -l +openssl 'rebuild with openssl'
debian/rules binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment