@@ -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 \