include Config
-VER = 1.1.0g
+VER = 1.1.0i
THISAPP = openssl-$(VER)
DL_FILE = $(THISAPP).tar.gz
enable-md2 \
enable-seed \
enable-rfc3779 \
- enable-ssl3 \
- enable-ssl3-method \
no-idea \
no-mdc2 \
no-rc5 \
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = ba5f1b8b835b88cadbce9b35ed9531a6
+$(DL_FILE)_MD5 = 9495126aafd2659d357ea66a969c3fe1
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openssl-1.1.0-disable-ssl3.patch
+ cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/openssl-1.1.0g-weak-ciphers.patch
# Apply our CFLAGS
cd $(DIR_APP) && sed -i Configure \
cd $(DIR_APP) && find crypto/ -name Makefile -exec \
sed 's/^ASFLAGS=/&-Wa,--noexecstack /' -i {} \;
- cd $(DIR_APP) && ./Configure $(CONFIGURE_OPTIONS)
+ cd $(DIR_APP) && ./Configure $(CONFIGURE_OPTIONS) \
+ $(CFLAGS) $(LDFLAGS)
cd $(DIR_APP) && make depend
cd $(DIR_APP) && make