Add patch to convert the package to PCRE2 as PCRE is EOL and won't
receive any security updates anymore.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
By using an nftables set in this script it's easier to install
and use this script now that OpenWrt uses nftables by default.
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
Reported by Sergio in issue #821. This adds upstream patch for the
crash. See upstream issue [1] for details.
[1] https://github.com/asterisk/asterisk/issues/180
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Based on Paul Fertser <fercerpav@gmail.com>'s guidance:
Change AUTORELEASE in rules.mk to:
```
AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
```
then update all affected packages by:
```
for i in $(git grep -l PKG_RELEASE:=.*AUTORELEASE | sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/clean
done
```
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
- bump to 20.3.0
- new modules: app-broadcast, app-if, app-signal, func-export,
res-pjsip-aoc and res-pjsip-rfc3329
- remove "--without-vpb", not available anymore
- add configuration file for res-http-media-cache
- drop libsrtp2 from res-pjproject dependencies, see changes in
pjproject package
- refresh patches
- add upstream patch
180-res_crypto.c-Avoid-using-the-non-portable-ALLPERMS-m.patch to fix
build [1]
[1] https://github.com/asterisk/asterisk/issues/149
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Python was updated to 3.11 and app_python3 doesn't compile anymore.
This commit adds three upstream patches to resolve this.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Add patch fixing compilation warning for kernel module.
Always dynamically allocate buffer for proc_control_read_write.
Fix compilation warning:
/builder/shared-workdir/build/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/rtpengine-no-transcode/rtpengine-mr10.5.2.6/kernel-module/xt_RTPENGINE.c: In function 'proc_control_read_write':
/builder/shared-workdir/build/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/rtpengine-no-transcode/rtpengine-mr10.5.2.6/kernel-module/xt_RTPENGINE.c:3573:1: error: the frame size of 1272 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
3573 | }
| ^
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Since OpenWrt updated autoconf to 2.71 configure fails, because
"$ac_dir" is now empty when configure attempts to run
"./tools/versioncheck". With previous autoconf "$ac_dir" contained
"autoconf" at this point in the script.
As a workaround "$ac_dir" is replaced with "$ac_aux_dir", which
incidentally contains "autoconf".
Also a build dependency is added for gettext-full, as it provides
iconv.m4. Previously this was provided by libiconv, but not anymore.
Without iconv.m4 autoreconf fails.
Some patches were refreshed to allow CI to pass.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Include an upstream patch to fix random parallel build failures, such
as:
CC [M] build-arm/modules/ctrl_dbus/ctrl_dbus.o
modules/ctrl_dbus/ctrl_dbus.c:69:10: fatal error: baresipbus.h: No such
file or directory
69 | #include "baresipbus.h"
| ^~~~~~~~~~~~~~
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
The rtpengine daemon requires lws_get_ssl(). This function is not
available in libwebsockets-mbedtls. This commit updates the dependency
to libwebsockets-openssl.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
"check_ipaddr()" & "start_service()" are functions, hence "return"
should be used instead of "exit".
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
"check_listen()" & "start_service()" are functions, hence "return"
should be used instead of "exit".
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
The recent libshout update causes compile failures due to deprecation.
This works around it. Can be removed once issue is fixed upstream.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
No longer existing modules removed from OpenWrt Makefile. Same for
configure switches. Patches refreshed.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
The Makefile currently advertises that descriptions can be added by
specifying a string in argument 3 of BuildKamailioModule, but there's
actually no mechanism for this. This commit adds the missing pieces.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- minor version bump
- mod-dingaling, mod-unimrcp and apr-util got removed from source tar
ball, prompting some cleanup
- patches refreshed
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- add new modules
- res-geolocation depends on asterisk being built with libxlt support,
but to make libxslt a general dependency is probably not a good idea
for small devices, so this adds a config option
ASTERISK_LIBXSLT_SUPPORT that is off by default except on x86_64
builds
- correct some module titles by removing the extraneous "support" string
- refresh patches
- 170-time-add-support-for-time64-libcs.patch,
180_build-fix-bininstall-launchd-issue-on-cross-platfrom.patch and
190-logger-workaround-woefully-small-BUFSIZ-in-MUSL.patch removed as
included in upstream release
- added 170-menuselect-force-use-of-xml2-config.patch as upstream
switched to use pkg-config for libxml2 detection, which would be fine,
except OpenWrt's host libxml2 is static and Asterisk can't handle that
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
openwrt recently stopped using libiconv-stub in the BUILD_NLS=n case.
Instead the libc's iconv has to be used.
This commit changes the iconv include path passed to
asterisk-chan-dongle for the BUILD_NLS=n case to
$(TOOLCHAIN_DIR)/include. That's where musl and glibc store iconv.h.
Also, the patch 200-fix-iconv-detection.patch gets replaced with a sed
script that only runs in the BUILD_NLS=y case.
And finally, $(AUTORELEASE) is added.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Since upstream commit b40c4d59b1dd803cad79060fb5b5a48d249ba578
"--disable-xmldoc" does no longer prevent the linking to libxslt, if
available. If that's the case one is greeted with the following error:
Package asterisk is missing dependencies for the following libraries:
libxslt.so.1
This commit explicitly disables the use of libxslt, to avoid the
dependency.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
FS is not yet ready for FFMPEG 5.0. Upstream has a related issue already
([1]).
Also move to AUTORELEASE.
[1] https://github.com/signalwire/freeswitch/issues/1560
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
utils/const_str_hash is called by rtpengine build system. The Perl
script uses shebang "#!/usr/bin/perl" and depends on perl-IPC-Cmd. If
this is missing the build will fail:
../utils/const_str_hash < "control_ng.c" > "control_ng.strhash.c"
Can't locate IPC/Cmd.pm in @INC (you may need to install the IPC::Cmd module) (@INC contains: /usr/local/lib64/perl5/5.34 /usr/local/share/perl5/5.34 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ../utils/const_str_hash line 6.
BEGIN failed--compilation aborted at ../utils/const_str_hash line 6.
make[4]: *** [../lib/common.Makefile:46: control_ng.strhash.c] Error 2
OpenWrt does not depend on perl-IPC-Cmd being available, so this commit
makes rtpengine build depend on perl/host, which provides this Perl
module.
Closes#748
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>