- bump to 2.13
- new option "--disable-libsrtp" now available so we can get rid of
dependency on libsrtp2 (asterisk's SRTP support doesn't depend on pjproject)
- new option "--disable-upnp"
- 0007-execinfo.patch not required anymore, pjproject now checks for
__GLIBC__
- sync patches with asterisk 20.3.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Backports two security fixes (c4d3498 and 450baca) from pjproject 2.13.
Source: asterisk 20.0.1.
Also drop AUTORELEASE as OpenWrt project wants to get rid of it.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- add "--disable-android-mediacodec" to configure
- add EXCLUDE_APP=1 to "make" calls so some apps aren't built (speeds up
the build a bit)
- drop "sed" call as no longer needed
- drop uclibc related patches
(0002-uclibc-linker-unrecognized-options.patch and
0003-non-gnu-pthreads.patch)
- update 0004-config_site.patch to sync up with Asterisk 18.14.0
- drop 0005-remove-hardcoded-lstdc++.patch as uclibcxx was removed from
OpenWrt
- update 0006-fix-pkg_config-file.patch as there were some changes in
this area upstream
- add 0007-execinfo.patch to prevent errors due to missing <execinfo.h>
- sync patches with 18.14.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Neither configure.ac nor configure.in exists, so autoreconf is a no-op.
This commit drops it.
Also, run "make dep" as advertised by the README and the configure
script.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
The .pc file uses hard-coded paths:
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include
It also pushes "-I/usr/include" into CFLAGS. This commit amends all of
that.
Resolve: #483
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Quote from Asterisk commit e6cc1f5083bbb85a76280e4bbada7be265b0a106:
"Issues in pjproject 2.9 caused us to revert some of their changes as a
work around. This introduced another issue where pjproject wouldn't
build with older gcc versions such as that found on CentOS 6. This
commit replaces the reverts with the official fixes for the original
issues and allows pjproject to be built on CentOS 6 again."
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Version bump as preparation for Asterisk update.
In other news:
- upgrades ULRs to https
- adds new configure switch --disable-darwin-ssl (doesn't apply to
OpenWrt, but disable it explicitly anyway)
- use INSTALL_DATA for pkg-config file
- patch naming changed to be in line with Asterisk's patch naming,
making maintenance easier
- drops some patches, adds some new ones from Asterisk (mainly reverts
of some pjproject commits which turned out to cause memory leaks)
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
"check whether UPDATE is supported on outgoing calls", commit 5de36abd:
In ASTERISK-27095 an issue had been fixed because of which chan_pjsip was not
trying to send UPDATE messages when connected_line_method was set to invite.
However this only solved the issue for incoming INVITES. For outgoing INVITES
(important when transferring calls) the options variable needs to be updated
at a different place.
"Add patch for double free issue in timer heap", commit 9c11399b:
Fixed#2172: Avoid double reference counter decrements in
timer in the scenario of race condition between
pj_timer_heap_cancel() and pj_timer_heap_poll().
"Add timer patch from pjproject r5934", commit d4cd2a97.
Signed-off-by: Andre Heider <a.heider@gmail.com>
It is unlikely that SOFT_FLOAT is toggled, but add it to
PKG_CONFIG_DEPENDS for completeness' sake anyway.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Includes security fixes:
2094: Crash when receiving SDP with invalid fmtp attribute
2095: Crash when parsing SDP with an invalid media format description
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Update from 2.6 to 2.7.1.
- Update sed script because the TARGET_CFLAGS now occur twice in the .pc
file.
- Upgrade dependency from libsrtp to libsrtp2.
- Drop patches that were included upstream.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Remove some unnecessary trailing slashes plus fix a whitespace.
- Remove flags that do not seem to have a good reason to be there
(anymore).
- Add sed script to remove $(TARGET_CFLAGS) from pkgconfig file. This
gets rid of the warnings in asterisk13 about COPTS duplication.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Copied from Asterisk, sets some sane values. For instance it enables
IPv6 support.
Also it disables DEBUG. With debug enabled 'pjproject enables "assert"
functions which can cause Asterisk to crash unexpectedly' (quote from
Asterisk wiki). This probably fixes issue #140.
With this config_site.h in place the libsrtp dep can be dropped from
select sub packages.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Make "--disable-floating-point" depend on SOFT_FLOAT
- Remove "--disable-ilbc-coder" as configure no longer recognizes it.
- Align args with the ones used by Asterisk (for their bundled pjproject);
this includes adding "--disable-resample".
- With libresample removed remove the dep from asterisk13 accordingly.
- Note: the disabled items are _not_ used by Asterisk anyway.
- Drop speex dep as pjproject does not link against it the way it is
configured.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Add patches provided by Asterisk project for pjproject. This fixes the
following vulnerabilities:
- AST-2017-002: Buffer Overrun in PJSIP transaction layer (CVE-2017-9372)
- AST-2017-003: Crash in PJSIP multi-part body parser
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
When opus is found in staging area it will be linked against, adding a
dep that is not in the Makefile. So explicity disable opus.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
this seems to fix a strange error where the last stage
cannot find libgcc.a or libgcc.so
only compile tested
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>