Backport merged patch and move package to PCRE2 as PCRE is EOL and won't
receive any security updates anymore.
Additional patch are backported to minimize changes to the backport
patches. Only patch 010 required adaptation due to a fix backported in
5.7 in the same place where the patch fixed some whitespace issue.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Bump kamailio to release 5.7.2 to make it easier to backport PCRE2
patches.
Drop upstream patch related to time_t and python3 fixes.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Add patch fixing fragile kamcmd where output bin can be renamed to
invalid names due to ENV variable clash.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
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>
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>
"check_listen()" & "start_service()" are functions, hence "return"
should be used instead of "exit".
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>
kamailio macos build fails due to kamailio Makefile checks OS
(`uname -s`) and OSREL (`uname -r`). If build host is not Linux,
then these checks will provide different results, but OpenWrt is
always Linux so target OS should be always Linux.
This patch explicitly specifies OS=linux and OSREL=$(LINUX_UNAME_VERSION)
to avoid using build host values for target build.
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
This was upstreamed recently. All twelve commits were squashed into a
single patch.
Also the Makefile is switched to AUTORELEASE.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
With the recently updated openldap, kamailio fails to build. This adds
an upstreamed patch to resolve this.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
On the build bots the patch patches clashes with Build/Prepare. This
commit removes it in favor of a simple sed script. The resulting change
is identical.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
src/Makefile.defs adds "-march=..." to target flags for ARM targets.
This can clash with the OpenWrt target flags in
CONFIG_TARGET_OPTIMIZATION. If for example the latter is set to
"-mcpu=cortex-a9" the following warning is issued:
cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv5t' switch
This commit removes these flags. The addition is unwanted when
cross-compiling.
An issue was raised for this recently, see [1].
[1] https://github.com/openwrt/packages/issues/16135
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Bumps kamailio to version 5.4.2 and removes the suffix, as there is only
one kamailio version at a time anyway.
Also:
- Replaces a few $(PKG_NAME) uses with simply "kamailio"
- Drops the use of variable PKG_VARIANT (was not set anyway)
- Drops 160-openssl-deprecated.patch (upstream first accepted the
patch, then dropped it again after crashes were reported, see [1])
[1] https://github.com/kamailio/kamailio/issues/2466
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>