Commit graph

29 commits

Author SHA1 Message Date
Sebastian Kemper
de7534808f rtpengine: bump to 11.5.1.18
Add missing xmlrpc-c dependency.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2023-12-24 23:50:58 +01:00
Christian Marangi
ed8d330504
rtpengine: bump to 11.5.1.12 release and set PCRE2
Bump rtpengine to release 11.5.1.12.

New 11.x release require libopus as a new library and also moved to
PCRE2 library.

Refresh patches and also introduce a new one to disable docs as they
changed doc generation tool and now would require a new prereq and docs
are not useful and would waste space on an embedded scenario.

For recording module libcurl is also now required.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-11-03 15:47:59 +01:00
Christian Marangi
f265a93991
rtpengine: add patch fixing compilation warning for kernel module
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>
2023-05-12 19:42:31 +02:00
Sebastian Kemper
022701e067 rtpengine: update libwebsockets dependency
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>
2023-01-09 12:04:53 +01:00
Sebastian Kemper
2a13d2eb1e rtpengine: add mqtt dep
rtpengine will use the lib if found, so add it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-15 09:56:12 +02:00
Sebastian Kemper
432432458a rtpengine: bump to 10.5.2.6
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-10-15 00:51:28 +02:00
Nick Hainke
2d9385f120 rtpengine: fix compilation with iptables 1.8.8
The extension handling changed [0,1]. Fix compilation with iptables
1.8.8 [2].

[0] - https://git.netfilter.org/iptables/commit/?id=ef108943f69a6e20533d58823740d3f0534ea8ec
[1] - https://git.netfilter.org/iptables/commit/?id=6c689b639cf8e2aeced8685eca2915892d76ad86
[2] - https://github.com/openwrt/openwrt/pull/9886

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-06-08 21:14:51 +02:00
Sebastian Kemper
3657828ae3 rtpengine: use perl/host when building
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>
2022-02-26 18:02:34 +01:00
Sebastian Kemper
6ffb3e81d2 rtpengine: bump to 9.5.3.2
Latest LTS release. Switch to AUTORELEASE.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-01-22 11:55:56 +01:00
Rosen Penev
647996dc78 rptengine: update to 9.5.2.1
Fixes compilation with glib 2.7.0.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-20 13:41:41 -07:00
Sebastian Kemper
d39dc81287 rtpengine: bump to LTS version 9.5.1.3
This

 - updates the dependencies
 - makes rtpengine use spandsp3 (it supports this version now)
 - fixes /etc/modules.d/ipt-rtpengine (needs user and group ids instead
   of names)
 - adds user as well when kmod is installed so that abovementioned user
   and group ids are available
 - adds /etc/modules.d/ipt-rtpengine to conffiles
 - removes 01-cflags.patch since upstream fixed the flag handling
 - removes 200-openssl-deprecated.patch as it was integrated upstream

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-29 12:34:46 +02:00
Sebastian Kemper
b193d9e4cd rtpengine: bump to 8.5.3.3
Contains upstream fix for G.729 recording with bcg729.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-15 12:07:58 +02:00
Sebastian Kemper
38e16beb65 rtpengine: fix Module.symvers handling
This sets PKG_EXTMOD_SUBDIRS so kernel.mk can find the rtpengine
Module.symvers file.

Also, this puts KERNEL_MAKE_FLAGS into the make flags used to compile
the kernel module. This way Module.symvers files of other modules are
made available, plus there is no need anymore to specify ARCH and
CROSS_COMPILE, as KERNEL_MAKE_FLAGS already takes care of that.

While updating make flags this also adds PKG_JOBS for completeness'
sake.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-02-20 11:45:51 +01:00
Sebastian Kemper
b6c45fc0d0 rtpengine: build in BUILD_DIR
rtpengine is not primarily about kernel modules. It's an application
(which also offers a kernel module). So build it in BUILD_DIR instead of
KERNEL_BUILD_DIR.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-02-20 11:42:34 +01:00
Sebastian Kemper
78624e5c5c rtpengine: update to 8.5.3.2
02-pcap.patch no longer needed, it's included in upstream release.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-02-14 10:29:52 +01:00
Sebastian Kemper
71bf69c27d rtpengine: bump to 8.5.3.1
In other news:

 - removes "mr" from version
 - refreshes patches/02-pcap.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-01-23 12:05:22 +01:00
Rosen Penev
63508ca6d8
rtpengine: fix compilation with newer pcap
Backport upstream patch fixing this issue.

Remove uClibc-ng patch as it's no longer in the tree.

Refresh patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-05 15:35:59 -08:00
Sebastian Kemper
d996d84a0b rtpengine: minor bump to mr8.5.2.7
05-support-kernels-greater-equal-5.9.9.patch removed as included in tar
ball.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-13 16:34:47 +01:00
Sebastian Kemper
04ad4d7cb6 rtpengine: bump to 8.5.2.3 + add build fix
Patch from upstream fixes builds on recent kernels.

Closes #590

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-23 18:39:32 +01:00
Sebastian Kemper
da55a3690f rtpengine: bump to 8.5.2.1 LTS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-24 12:15:27 +02:00
Sebastian Kemper
cd500b425d rtpengine: bump to 8.5.1.2, disable parallel build
Minor version bump. This also partially reverts
7e7ab06ccd by disabling parallel builds,
as there are sporadic build failures again

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-07 11:23:13 +02:00
Rosen Penev
a66e3cd1e9
rtpengine: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-07 12:22:42 -07:00
Sebastian Kemper
7e7ab06ccd rtpengine: update to LTS version
Upstreamed patch removed. Build workaround removed as fixed upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-02 13:41:11 +02:00
Rosen Penev
97326dad46
rtpengine: add nls.mk
Needed for the glib2 update in the packages feed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-01 12:41:43 -07:00
Sebastian Kemper
7a5e32f4dc rtpengine: work around sporadic build failures
The rtpengine build system uses the Makefiles to generate source files
on the fly. This usually works fine, but when building in parallel,
intermittently the generated files contain garbage (like, lines are
repeated, causing redefinition errors).

As a workaround this commit disables parallel builds.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-21 17:40:45 +02:00
Sebastian Kemper
aa54d6f005 rtpengine: clean up 01-cflags.patch
This commit follows upstream, how they include the Debian build system
flags, appending them to their own. To that end OpenWrt's flags are now
saved at the beginning of the Makefiles, and appended at the bottom of
lib/lib.Makefile.

This also sorts out the iptables module compile, to use OpenWrt's
LDFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-21 17:38:21 +02:00
Sebastian Kemper
e4f1bac168 rtpengine: prevent use of host dpkg utilities
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-17 12:56:01 +02:00
Sebastian Kemper
b3e439a903 rtpengine: prevent picking up host libsystemd
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-17 12:52:29 +02:00
Sebastian Kemper
ff67aa6f79 rtpengine: new package
rtpengine is a proxy for RTP traffic. It has lots of capabilities,
including transcoding, in-kernel forwarding and SRTP transport, to name
a few.

Packaging:

  1. regular rtpengine
  2. rtpengine variant without transcoding support (smaller dependency
     tree)
  3. recording daemon
  4. kernel module
  5. iptables module

Simple init scripts (procd) are included, plus a hotplug script for
rtpengine.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-05-04 20:01:01 +02:00