111 Patch2: asterisk.patch.proxymwi |
111 Patch2: asterisk.patch.proxymwi |
112 |
112 |
113 # build information |
113 # build information |
114 Prefix: %{l_prefix} |
114 Prefix: %{l_prefix} |
115 BuildRoot: %{l_buildroot} |
115 BuildRoot: %{l_buildroot} |
116 BuildPreReq: OpenPKG, openpkg >= 20040130, bison, gcc, make, grep, pkgconfig |
116 BuildPreReq: OpenPKG, openpkg >= 20060823, bison, gcc, make, grep, pkgconfig |
117 PreReq: OpenPKG, openpkg >= 20040130, MTA |
117 PreReq: OpenPKG, openpkg >= 20060823, MTA |
118 BuildPreReq: zlib, curl, openssl, ncurses, speex, sox, popt, gmime, libxml |
118 BuildPreReq: zlib, curl, openssl, ncurses, speex, sox, popt, gmime, libxml |
119 PreReq: zlib, curl, openssl, ncurses, speex, sox, popt, gmime, libxml |
119 PreReq: zlib, curl, openssl, ncurses, speex, sox, popt, gmime, libxml |
120 %if "%{with_ogg}" == "yes" |
120 %if "%{with_ogg}" == "yes" |
121 BuildPreReq: vorbis-libs |
121 BuildPreReq: vorbis-libs |
122 PreReq: vorbis-libs |
122 PreReq: vorbis-libs |
360 -e 's;\(CONFIG_DIR=\).*;\1%{l_prefix}/etc/asterisk;g' \ |
360 -e 's;\(CONFIG_DIR=\).*;\1%{l_prefix}/etc/asterisk;g' \ |
361 -e 's;\(\$(MODULES_DIR)\);$(DESTDIR)\1;g' \ |
361 -e 's;\(\$(MODULES_DIR)\);$(DESTDIR)\1;g' \ |
362 -e 's;\${CONFIG_DIR};$(DESTDIR)$(CONFIG_DIR);g' \ |
362 -e 's;\${CONFIG_DIR};$(DESTDIR)$(CONFIG_DIR);g' \ |
363 -e 's;^\(USE_OWN_LIBCAPI\)=yes;\1=no;' \ |
363 -e 's;^\(USE_OWN_LIBCAPI\)=yes;\1=no;' \ |
364 chan_capi-%{V_chan_capi}/Makefile |
364 chan_capi-%{V_chan_capi}/Makefile |
|
365 %{l_shtool} subst \ |
|
366 -e 's;if.*SSL_CTX_use_certificate_file.*;if (SSL_CTX_use_certificate_chain_file(cfg->ssl_ctx, cfg->certfile) == 0) {;' \ |
|
367 main/tcptls.c |
365 |
368 |
366 %build |
369 %build |
367 # sanity check operating system |
370 # sanity check operating system |
368 %if "%{with_dahdi}" == "yes" |
371 %if "%{with_dahdi}" == "yes" |
369 dahdi_prefix="" |
372 dahdi_prefix="" |