Преглед изворни кода

add optional NPN support (will be included in OpenSSL 1.1)

Ralf S. Engelschall пре 14 година
родитељ
комит
378cfabf7b
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      openssl/openssl.spec

+ 6 - 1
openssl/openssl.spec

@@ -36,18 +36,20 @@ Class:        CORE
 Group:        SSL
 License:      BSD-style
 Version:      %{V_openssl}
-Release:      20120119
+Release:      20120124
 
 #   package options
 %option       with_zlib     no
 %option       with_idea     no
 %option       with_threads  no
 %option       with_pic      no
+%option       with_npn      no
 
 #   list of sources
 Source0:      ftp://ftp.openssl.org/source/openssl-%{V_openssl}.tar.gz
 Source1:      http://www.zlib.net/zlib-%{V_zlib}.tar.gz
 Patch0:       openssl.patch
+Patch1:       openssl.patch.npn
 
 #   build information
 BuildPreReq:  OpenPKG, openpkg >= 20100101, perl, make, gcc
@@ -84,6 +86,9 @@ PreReq:       zlib
     %setup -q -D -T -a 1
 %endif
     %patch -p0
+%if "%{with_npn}" == "yes"
+    %patch -p0 -P 1
+%endif
 
 %build
     %{l_shtool} subst \