Skip to content

Instantly share code, notes, and snippets.

@waffle2k
Created April 8, 2014 07:09
Show Gist options
  • Save waffle2k/10098791 to your computer and use it in GitHub Desktop.
Save waffle2k/10098791 to your computer and use it in GitHub Desktop.
This is the patch file to make the latest version of openssl compile against ubuntu
--- debian/rules.old 2013-07-15 08:16:12.000000000 -0400
+++ debian/rules 2014-04-08 03:06:31.584582710 -0400
@@ -53,7 +53,7 @@
dh_testdir
# perl util/ssldir.pl /usr/lib/ssl
# chmod +x debian/libtool
- ./Configure no-shared $(CONFARGS) debian-$(DEB_HOST_ARCH)
+ ./Configure no-shared $(CONFARGS) linux-elf
$(if $(filter enable-ec_nistp_64_gcc_128, $(CONFARGS)), make $(CROSS) -f Makefile depend)
make $(CROSS) -f Makefile all
$(MAKE_TEST)
@@ -70,7 +70,7 @@
mv libcrypto.so* libssl.so* $$opt/; \
make -f Makefile clean; \
done
- ./Configure shared $(CONFARGS) debian-$(DEB_HOST_ARCH)
+ ./Configure shared $(CONFARGS) linux-elf
#make $(CROSS) -f Makefile depend
ln -sf apps/openssl.pod crypto/crypto.pod ssl/ssl.pod doc/
# make $(CROSS) -f Makefile linux-shared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment