Changeset 14372


Ignorieren:
Zeitstempel:
06.08.2017 22:28:48 (vor 3 Monaten)
Autor:
er13
Nachricht:

openssl:

  • add optional zlib support - work-in-progress, do not enable it if you use an openssl dependent package and link it statically
Ort:
trunk/make/openssl
Dateien:
2 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • trunk/make/openssl/Config.in.libs

    r14019 r14372  
    9696        [4] https://blogs.technet.microsoft.com/srd/2013/11/12/security-advisory-2868725-recommendation-to-disable-rc4/ 
    9797 
     98config FREETZ_LIB_libcrypto_WITH_ZLIB 
     99    bool "Build with zlib support" 
     100    depends on FREETZ_OPENSSL_VERSION_1 
     101    select FREETZ_LIB_libz 
     102    default n 
     103 
    98104config FREETZ_OPENSSL_SMALL_FOOTPRINT 
    99105    bool "Reduce the footprint of OpenSSL libraries" 
  • trunk/make/openssl/openssl.mk

    r14266 r14372  
    2222$(PKG)_LIBS_TARGET_DIR := $($(PKG)_LIBNAMES_LONG:%=$($(PKG)_TARGET_LIBDIR)/%) 
    2323 
     24$(PKG)_DEPENDS_ON += $(if $(FREETZ_LIB_libcrypto_WITH_ZLIB),zlib) 
     25 
    2426$(PKG)_REBUILD_SUBOPTS += FREETZ_LIB_libcrypto_WITH_EC 
    2527$(PKG)_REBUILD_SUBOPTS += FREETZ_LIB_libcrypto_WITH_RC4 
     28$(PKG)_REBUILD_SUBOPTS += FREETZ_LIB_libcrypto_WITH_ZLIB 
    2629$(PKG)_REBUILD_SUBOPTS += FREETZ_OPENSSL_VERSION_0 
    2730$(PKG)_REBUILD_SUBOPTS += FREETZ_OPENSSL_VERSION_1 
     
    3538$(PKG)_OPTIONS    := shared no-err no-fips no-hw no-engines no-sse2 no-capieng no-seed 
    3639$(PKG)_OPTIONS    += $(if $(FREETZ_LIB_libcrypto_WITH_EC),,no-ec) 
     40$(PKG)_OPTIONS    += $(if $(FREETZ_LIB_libcrypto_WITH_ZLIB),zlib) 
    3741$(PKG)_OPTIONS    += $(if $(FREETZ_OPENSSL_VERSION_0),no-perlasm no-cms) 
    3842$(PKG)_OPTIONS    += $(if $(FREETZ_OPENSSL_VERSION_1),no-ec_nistp_64_gcc_128 no-sctp no-srp no-store no-whirlpool) 
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.