Last active
August 17, 2023 00:28
-
-
Save ryancdotorg/11025731 to your computer and use it in GitHub Desktop.
produce debian exim packages linked against OpenSSL instead of GnuTLS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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