Correct nasty intermediate cert open flaw and make requirements consistent.

Thu, 22 Mar 2012 21:33:42 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Mar 2012 21:33:42 +0100
changeset 411
e4385d1fd937
parent 410
b1bf69b8f573
child 412
577aba7f4106

Correct nasty intermediate cert open flaw and make requirements consistent.

asterisk/asterisk.spec file | annotate | diff | comparison | revisions
     1.1 --- a/asterisk/asterisk.spec	Thu Mar 22 21:31:17 2012 +0100
     1.2 +++ b/asterisk/asterisk.spec	Thu Mar 22 21:33:42 2012 +0100
     1.3 @@ -51,7 +51,7 @@
     1.4  Group:        VoIP
     1.5  License:      GPL
     1.6  Version:      %{V_opkg}
     1.7 -Release:      20120316
     1.8 +Release:      20120320
     1.9  
    1.10  #   package options
    1.11  %option       with_dahdi   no
    1.12 @@ -113,8 +113,8 @@
    1.13  #   build information
    1.14  Prefix:       %{l_prefix}
    1.15  BuildRoot:    %{l_buildroot}
    1.16 -BuildPreReq:  OpenPKG, openpkg >= 20040130, bison, gcc, make, grep, pkgconfig
    1.17 -PreReq:       OpenPKG, openpkg >= 20040130, MTA
    1.18 +BuildPreReq:  OpenPKG, openpkg >= 20060823, bison, gcc, make, grep, pkgconfig
    1.19 +PreReq:       OpenPKG, openpkg >= 20060823, MTA
    1.20  BuildPreReq:  zlib, curl, openssl, ncurses, speex, sox, popt, gmime, libxml
    1.21  PreReq:       zlib, curl, openssl, ncurses, speex, sox, popt, gmime, libxml
    1.22  %if "%{with_ogg}" == "yes"
    1.23 @@ -362,6 +362,9 @@
    1.24          -e 's;\${CONFIG_DIR};$(DESTDIR)$(CONFIG_DIR);g' \
    1.25          -e 's;^\(USE_OWN_LIBCAPI\)=yes;\1=no;' \
    1.26          chan_capi-%{V_chan_capi}/Makefile
    1.27 +    %{l_shtool} subst \
    1.28 +        -e 's;if.*SSL_CTX_use_certificate_file.*;if (SSL_CTX_use_certificate_chain_file(cfg->ssl_ctx, cfg->certfile) == 0) {;' \
    1.29 +        main/tcptls.c
    1.30  
    1.31  %build
    1.32      #   sanity check operating system

mercurial