Browse Source

Update openssl and curl

tags/v0.6.1
Andrew Belt 7 years ago
parent
commit
cec0b9a91a
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      dep/Makefile

+ 10
- 10
dep/Makefile View File

@@ -85,22 +85,22 @@ $(libspeexdsp):
$(MAKE) -C speexdsp-SpeexDSP-1.2rc3 install

$(openssl):
$(WGET) "https://www.openssl.org/source/openssl-1.1.0g.tar.gz"
$(UNTAR) openssl-1.1.0g.tar.gz
$(WGET) "https://www.openssl.org/source/openssl-1.1.0h.tar.gz"
$(UNTAR) openssl-1.1.0h.tar.gz
# ./config ignores CFLAGS, so hack it in with CC
cd openssl-1.1.0g && CC="$(CC) $(CFLAGS)" ./config --prefix="$(realpath $(DEP_LOCAL))"
$(MAKE) -C openssl-1.1.0g
$(MAKE) -C openssl-1.1.0g install_sw
cd openssl-1.1.0h && CC="$(CC) $(CFLAGS)" ./config --prefix="$(realpath $(DEP_LOCAL))"
$(MAKE) -C openssl-1.1.0h
$(MAKE) -C openssl-1.1.0h install_sw

$(libcurl): $(openssl)
$(WGET) "https://github.com/curl/curl/releases/download/curl-7_56_0/curl-7.56.0.tar.gz"
$(UNTAR) curl-7.56.0.tar.gz
cd curl-7.56.0 && $(CONFIGURE) \
$(WGET) "https://curl.haxx.se/download/curl-7.59.0.tar.gz"
$(UNTAR) curl-7.59.0.tar.gz
cd curl-7.59.0 && $(CONFIGURE) \
--disable-ftp --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy --disable-dict --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smb --disable-smtp --disable-gopher --disable-manual \
--without-zlib --without-libpsl --without-libmetalink --without-libssh2 --without-librtmp --without-winidn --without-libidn2 --without-nghttp2 \
--without-ca-bundle --with-ca-fallback --with-ssl="$(realpath $(DEP_LOCAL))"
$(MAKE) -C curl-7.56.0
$(MAKE) -C curl-7.56.0 install
$(MAKE) -C curl-7.59.0
$(MAKE) -C curl-7.59.0 install

$(libzip): $(zlib)
$(WGET) "https://nih.at/libzip/libzip-1.2.0.tar.gz"


Loading…
Cancel
Save