Commit graph

1286 commits

Author SHA1 Message Date
micmac1
ab94e2c73e
Merge pull request #734 from svlobanov/coturn-repro-and-macos-build-fix
coturn: improve reproducibility and fix build on macos
2022-02-06 08:41:32 +01:00
Sebastian Kemper
b508e76300 restund: remove package
Removing as upstream dropped the project. Users can use coturn instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-02-01 18:16:17 +01:00
Sergey V. Lobanov
ba23b92974 coturn: fix build on macos
coturn build fails on macos due using `ar -r` by default, but macos
system `ar` is not compatible with the objects generated by OpenWrt
GCC toolchain.

This patch redefines ARCHIVERCMD="$(TARGET_AR) -r" to make it possible
to build coturn on macos build host.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-01 19:49:03 +03:00
Sergey V. Lobanov
8a4daac339 coturn: improve reproducibility (Ubuntu build host fix)
coturn package is reproducible unless the build OS is Ubuntu

coturn configure script detects Ubuntu build host([1]) and changes
compilation flags so produced OpenWrt binaries are different on
Ubuntu and any other build OS (e.g. Debian). It might be necessary
for native build but this check is not valid for cross-compiling.

This patch set LIBEV_OK=1 to generate the same binaries on Ubuntu
and other build OS

Refs:
[1] https://github.com/coturn/coturn/blob/upstream/4.5.2/configure#L426-L435

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-01 19:26:38 +03: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
Shaleen Jain
409e797785 asterisk-chan-dongle: update to the latest git HEAD
The upstream commit 6073c91fcf0a46a1525d500c274fa5ab96af7dda broke
non-quectel devices due to the channel driver unable to complete
initialization.

This is fixed in the latest upstream commit.

Signed-off-by: Shaleen Jain <shaleen@jain.sh>
2022-01-04 16:09:08 +05:30
Josef Schlehofer
f2a745c472
coturn: add patch for not linking libintl
If there is enabled CONFIG_BUILD_NLS, coturn can not be compiled.
It fails with the following error:

Package coturn is missing dependencies for the following libraries:
libintl.so.8

But thanks to @micmac1, it was realized that libintl
is not used anywhere in coturn, that's why there was sent PR to upstream.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-30 22:23:12 +01:00
Sebastian Kemper
b0387a66ac kamailio: add patch for time64 libc support
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>
2021-12-22 21:49:56 +01:00
Sebastian Kemper
8ecd6e71fd kamailio: ldap: rename function ldap_connect
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>
2021-12-22 21:39:31 +01:00
micmac1
7fa7115d7a
Merge pull request #722 from micmac1/ast-init
asterisk: init script changes
2021-12-22 21:21:52 +01:00
Sebastian Kemper
893f8d72a8 coturn: add /etc/turnserver to conffiles
If turndb it created in this folder it should be saved during
sysupgrade.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-19 12:59:35 +01:00
Sebastian Kemper
992c894c1c asterisk: init: use daemon facility, not user
This facility was suggested in pull request #701.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-19 12:46:54 +01:00
Andre Heider
c84e2f7414 asterisk: send SIGHUP on reload
asterisk reloads its config upon SIGHUP, use it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-12-19 12:43:35 +01:00
Josef Schlehofer
edd47e20a8
baresip: fix compilation with NLS
Fixes issue:

/master/build/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lintl
  LD [M]  speex_pp.so
  LD [M]  stdio.so
collect2: error: ld returned 1 exit status
  LD [M]  syslog.so
make[3]: *** [mk/mod.mk:41: gst.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/master/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/baresip-1.1.0'

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-15 13:38:40 +01:00
Jiri Slachta
5e86575ad3
Merge pull request #720 from micmac1/restund-cve
restund: fix CVE-2021-21382
2021-12-09 11:37:04 +01:00
micmac1
b39127a7b2
Merge pull request #719 from micmac1/baresip-drop-rem-patch
baresip: drop 002-fix-rem-include.patch
2021-12-09 00:29:30 +01:00
micmac1
56e9310c8f
Merge pull request #715 from micmac1/coturn-checkin
coturn: new package
2021-12-09 00:28:55 +01:00
Sebastian Kemper
612a7535ee restund: fix CVE-2021-21382
Patches taken from [1].

Added a postinstall note about the upcoming deletion of this package.

[1] https://github.com/wireapp/restund/pull/7

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit dec6316f2f)
2021-12-09 00:22:45 +01:00
Sebastian Kemper
ceec95d92d coturn: new package
This is meant as a replacement for restund.

By default, sqlite3 support is enabled. The DBs to use can be freely
changed in menuselect, though. sqlite3 is enabled by default as it is
the upstream default DB.

The package installs turnserver, which includes an init script. Options
can be set via /etc/config/turnserver and /etc/turnserver.conf.

turnserver is started as root and later drops privileges to user/group
turnserver/turnserver.

DB schemas etc. get installed to /usr/share/coturn. The default DB path
is set to /etc/turnserver, to avoid volatile /var on OpenWrt.
/etc/turnserver is created and permissions are automatically set to only
allow access for user turnserver (done via fakeroot).

The utilities coturn provides are installed as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-08 16:58:44 +01:00
Sebastian Kemper
8e687b90b7 baresip: drop 002-fix-rem-include.patch
Setting LIBREM_PATH allows dropping the patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-08 16:22:31 +01:00
Sebastian Kemper
3dc1f61329 baresip: bump to 1.1.0
- bump to version 1.1.0
- change to use AUTORELEASE
- drop rtcpsummary from baresip-mods as it is now part of the default
  modules
- update BARESIP_MOD_OPTIONS to allow for defining multiple variables
  per module (the new module ctrl-dbus requires both HAVE_GLIB and
  USE_DBUS)
- add new modules:
  - aac
  - amr (openamr still missing, but maybe amr passthrough becomes
    possible)
  - ausine
  - ctrl_dbus
  - ebuacip
  - gst
  - gst_video
  - httpreq
  - l16
  - mixausrc
  - mqtt
  - multicast
  - opus_multistream
  - serreg
  - snapshot
  - speex_pp
  - syslog
  - vidinfo
-updated 002-fix-rem-include.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-07 00:27:35 +01:00
micmac1
5ee7928640
Merge pull request #713 from micmac1/sngrep1410
sngrep: bump to 1.4.10
2021-11-28 18:48:05 +01:00
Sebastian Kemper
58658de45c sngrep: bump to 1.4.10
- switch to $(AUTORELEASE)
- drop PKG_MIRROR_HASH (leftover from when a git checkout was used)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-28 18:25:32 +01:00
Sebastian Kemper
10b7fcd4d1 rtpproxy: add build fix
- add upstream build fix related to libsrtp version bump
- switch to $(AUTORELEASE)
- refresh patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-28 18:18:16 +01:00
Sebastian Kemper
10d500efb9 freeswitch: clean PKG_CONFIG_DEPENDS
CONFIG_FS_WITH_MODCONF doesn't influence configure and doesn't belong
here.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-09 18:59:56 +01:00
Sebastian Kemper
ebcdcb3547 freeswitch: add missing item to PKG_CONFIG_DEPENDS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-07 20:26:27 +01:00
micmac1
6130c3a967
Merge pull request #705 from micmac1/python3-setup
freeswitch: build fix + patch update
2021-11-07 11:03:30 +01:00
Sebastian Kemper
6004044dc0 freeswitch: update 480-fix-libyuv-dependency.patch
Update the patch with the version that actually was applied upstream. No
functional change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-06 12:29:18 +01:00
Sebastian Kemper
eb145cd014 freeswitch: don't check for distutils
We're not using distutils, so don't check for it. This fixes #704.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-06 12:25:56 +01:00
Sebastian Kemper
42574d54d4 freeswitch: only include python3-version.mk
We're just interested in the version, no need to include more than that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-06 12:25:09 +01:00
Sebastian Kemper
04b6b267f1 asterisk: add missing modules + dependency
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-04 19:21:27 +01:00
Andre Heider
a7e5bda0ce asterisk-opus: enable format_ogg_opus_open_source
This enables reading and rewriting ogg/opus files.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-11-03 05:40:03 +01:00
Andre Heider
5bb38c2f09 asterisk-opus: update to git master as of 2021-11-01
Setting AST_MODULE_SELF_SYM is no longer required.

Update the Makefile patch for the new version, the functional changes are
the same except the added -Wall compiler flag.

Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-11-03 04:36:05 +01:00
Sebastian Kemper
7c379687d0 kamailio: bump to 5.5.2
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-02 19:45:10 +01:00
Sebastian Kemper
3fafe1afac freeswitch: fix 230-mod_radius_cdr.patch
This is a patch in a patch. It may happen that the patch was already
applied previously, so this amends the patch line to continue if the
patch doesn't apply. It also sets the direction to forward-only.

Also removes two trailing whitespace warnings.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-31 08:52:51 +01:00
Sebastian Kemper
652d110b2f freeswitch: add python3 support
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-30 23:08:00 +02:00
Sebastian Kemper
4ab96a1879 freeswitch: bump to 1.10.7
- freetdm is now external
- added the freeswitch library to InstallDev in preparation for freetdm
  package
- add time64 change which always uses "lld" format and casts
- various fixes related to general build and time64 especially
- patches refreshed

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-30 23:07:04 +02:00
micmac1
5ced7ea4fc
Merge pull request #695 from neheb/1
rtpengine: update to 9.5.2.1
2021-10-23 20:15:29 +02:00
Sebastian Kemper
829c1cf031 asterisk-chan-dongle: add postinst note
Provide quick hint to users to sort out possible/likely permission
issue.

Also refreshes some patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-23 18:28:56 +02:00
Sebastian Kemper
9017e04b87 asterisk: don't start with explicit group
Currently the asterisk init script starts the service with the group
"asterisk". Like this, even if the asterisk user is part of other groups,
asterisk will not be able to make use of them. So for instance if you add the
user to the group "dialout", asterisk will run under group "asterisk", instead
of "asterisk" _and_ "dialout".

Not specifying the group gets rid of this limitation.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-23 00:12:15 +02:00
micmac1
f56b9ff2dc
Merge pull request #683 from micmac1/ast-chan-lantiq-dtmf
asterisk-chan-lantiq: update for DTMF fix
2021-10-22 17:29:50 +02:00
micmac1
f92a7a08ba
Merge pull request #691 from rojer/dongle_update
asterisk-chan-dongle: bump for upstream fixes
2021-10-22 17:25:20 +02: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
Andre Heider
a03d699262 asterisk: adjust for musl 64bit time_t
Fixes #690.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-10-18 14:23:47 +02:00
Andre Heider
0399a3dc73 asterisk: bump to 18.7.1
The removed patch has been applied upstream and is part of this release.

Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-10-18 14:23:47 +02:00
Sebastian Kemper
060be263d2 freeswitch: don't start with explicit group
Currently the freeswitch init script starts the service with the group
"freeswitch". Like this, even if the freeswitch user is part of other
groups, freeswitch will not be able to make use of them. So for instance
if you add the user to the group "dialout", freeswitch will run under
group "freeswitch", instead of "freeswitch" _and_ "dialout".

Not specifying the group gets rid of this limitation.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-10 11:26:41 +02:00
Deomid "rojer" Ryabkov
02d5dc545e asterisk-chan-dongle: bump for upstream fixes
To pull in fixes, specifically 3d2a97f26b which fixes decoding of SMS messages.

Also fixes https://github.com/openwrt/telephony/issues/686
and pulls in Quectel support (alternative to https://github.com/openwrt/telephony/pull/682).

Signed-off-by: Deomid "rojer" Ryabkov <rojer@rojer.me>
2021-09-29 11:07:04 +01:00
Sebastian Kemper
ec400c16c3 yate: disable parallel builds
Sporadic build failures are visible on the build bots.

libyate.so: undefined reference to `TelEngine::ClientLogic::initStaticData()'
libyate.so: undefined reference to `TelEngine::DefaultLogic::DefaultLogic(char const*, int)'
collect2: error: ld returned 1 exit status

Turning off parallel builds should (hopefully) work around this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-09-22 18:29:41 +02:00
Sebastian Kemper
ec6ba744b0 asterisk-chan-lantiq: update for DTMF fix
Bump to last commit. Includes fix for DTMF causing call release when
using Asterisk 18 (see [1]).

[1] https://github.com/openwrt/telephony/issues/631

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-09-12 00:11:59 +02:00
Jiri Slachta
12ff4b096d
Merge pull request #673 from micmac1/ast-macro
asterisk: update AST_EXT_TOOL_CHECK for OpenWrt
2021-09-07 23:26:15 +02: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
7392aea053 freeswitch: remove "+=" operator for portability
POSIX shells don't support "+=" operators. This commit replaces it with
something portable.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-27 23:38:19 +02:00
Sebastian Kemper
79a0acfe56 asterisk: update AST_EXT_TOOL_CHECK for OpenWrt
Issue #672 shows that the current macro has some pitfalls, at least when
running within OpenWrt's buildroot.

The macro is used to detect these tools:

  1. xml2-config
  2. mysql_config
  3. neon-config
  4. net-snmp-config
  5. sdl-config (we're not using SDL)

The macro also adds configure arguments that allow to specify a path
like so:

  --with-mysqlclient=PATH

Macro problems:

  1. If no PATH is specified, it adds "/bin" to the search path.
     Obviously this is a bad thing when cross-compiling.
  2. If a PATH is specified, it adds it to the start of every include
     and library path it encounters. These paths are then broken.

This commit makes problem 1 go away by making the addition of
"${$1_DIR}/bin" to the PATH dependent on there being a PATH handed to
the macro. An alternative would be to remove the PATH addition
altogether, but then the macro wouldn't behave as expected.

It also removes the path filtering of the include and lib dirs to
address problem 2.

Closes #672

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-20 23:29:31 +02:00
Sebastian Kemper
0b942dad3f freeswitch: set stop level
This sets STOP to 10 to allow for a graceful shutdown. Users may
additionally need to set "term_timeout" in /etc/config/freeswitch to a
sensible value.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-08-17 18:11:53 +02:00
micmac1
6f004e7dee
Merge pull request #654 from neheb/g
freeswitch: fix compilation with GCC11
2021-08-04 19:07:39 +02:00
Jiri Slachta
e0f93da595
Merge pull request #664 from micmac1/bsipvid
baresip: allow avcodec build by default
2021-08-04 12:58:22 +02:00
Jiri Slachta
a7bbc46a02
Merge pull request #666 from robho/yate_6.4.0
yate: bump to 6.4.0
2021-08-04 12:57:04 +02:00
Rosen Penev
213538cdc8 freeswitch: fix compilation with GCC11
GCC 11 is more strict with declarations.

Also backport patch fixing mod_gsmopen compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-04 01:45:54 -07:00
Robert Högberg
7c35652d3a yate: bump to 6.4.0
Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2021-08-03 20:34:31 +02:00
Sebastian Kemper
db67f9b405 baresip: allow avcodec build by default
ffmpeg hasn't been failing for a while now it seems. And on the forum a
topic was raised regarding the unavailability of the video modules (see
[1]).

[1] https://forum.openwrt.org/t/cant-download-baresip-mod-avcodec-and-baresip-mod-avformat-no-video-with-v4l2-codec-in-baresip-to-baresip-video-call/101037

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-07-31 11:49:03 +02:00
Sebastian Kemper
b621ed3f81 asterisk: bump to 18.5.1
Update deps of asterisk-res-pjproject. It depends on res_sorcery_config,
which is part of asterisk-res-sorcery.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-07-31 11:28:46 +02:00
Sebastian Kemper
f25b4a8635 kamailio: replace patch with sed script
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>
2021-07-23 17:16:36 +02:00
Jiri Slachta
27673cd5e3
Merge pull request #657 from micmac1/kam-arm
kamailio: prevent arm -march overrides
2021-07-22 09:36:34 +02:00
Daniel Golle
20e8c3b2d9 asterisk: update to version 18.5.0 and backport patch
Update to upstream version 18.5.0 and backport commit[1] completing the
announcements in Dial command to behave like it is stated in the
documenation[2].

[1]: 1e5a2cfe30
[2]: https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+Application_Dial

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-07-21 14:53:21 +01:00
Sebastian Kemper
d6ddedbe50 kamailio: prevent arm -march overrides
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>
2021-07-15 22:15:31 +02:00
Robert Högberg
621352af15 yate: increase max acceptable size of incoming SIP messages
Some SIP UAs support lots of features and codecs which results in
large SIP messages. YATE, with its default configuration, truncates
and fails to parse received SIP messages which are larger than 1500
bytes. Let's increase the default max message size for OpenWrt users
to make it easier to use yate out-of-the-box.

The new max size of 8192 bytes has been arbitrarily chosen.

I've seen the SIP UA baresip produce messages larger than 1500 bytes
with its default configuration when authentication is used.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2021-06-08 10:30:36 +02:00
Robert Högberg
da7fcbd600 yate: bump to 6.3.0 and enable speex codec
New yate modules in this release:
yate-mod-ilbcwebrtc
yate-mod-speexcodec
yate-mod-wiresniff

Some patches were removed:
110-no-libnsl.patch - not needed
120-create-thread-key-on-access.patch - not needed
150-video-codecs-mapping.patch - already applied upstream

Some additional changes:
* An upstream fix (r6470) is cherry-picked to avoid crashing when YATE
  receives an invalid SIP message.

* Build directory changed to include package version.

* Set PKG_BUILD_PARALLEL to allow parallelized build of yate.

* Speed up build if yate-mod-ilbccodec or yate-mod-sqlitedb is
  disabled (disable ilbc and sqlite in configure step).

* Removing umbrella package yate-collection-basic. It isn't built and
  hasn't been built for years and I think the modules it wants to
  install are a bit strange and probably not useful to most
  users. From the name yate-collection-basic I would expect to get
  some basic functionality, but why would I then need
  yate-mod-dumbchan, yate-mod-rmanager and yate-mod-tonegen? What is
  the use case? I think it's better that users themselves install the
  packages needed for their use case, especially in OpenWrt where
  flash space usually is limited and you don't want to install more
  packages than what you really need.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2021-06-07 12:46:45 +02:00
Jiri Slachta
ec3a124bfc asterisk: update to 18.4.0
Patches updated/refreshed:

100-build-reproducibly.patch
130-eventfd.patch
140-use-default-lua.patch

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2021-05-12 19:02:33 +02:00
Sebastian Kemper
62a6a0c2a4 kamailio: update to version 5.5.0
Added new module lrkproxy. Module "userblacklist" was renamed upstream
to "userblocklist".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-05-08 17:04:33 +02:00
Sebastian Kemper
3cdc38c909 pcapsipdump: update to svn revision r157
Upstream implemented or updated IPv6 support.

This commit also updates the package title and fixes some
spelling/grammar in the package's description.

PKG_MIRRIR_HASH removed from Makefile as per suggestion in [1] (svn
checkouts aren't reproducible).

[1] https://openwrt.org/docs/guide-developer/packages

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-05-01 11:57:33 +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
34e26f180a freeswitch: fix 003-modmake-fix.patch
Somehow this white space change slipped in unintentionally.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-04-07 20:50:53 +02:00
Sebastian Kemper
601188d0ff freeswitch: rework init & hotplug
This adds a term_timeout uci option which can be used to change the
default timeout that procd uses while waiting for freeswitch to exit
once the TERM signal is sent. freeswitch may take a bit longer to exit,
so adding this option is likely appreciated. By default procd's default
is used, though.

Logging is updated in init script and hotplug script. The used facility
is changed from user to daemon, for instance.

An issue was fixed in the parsing of the ntpq output. In case a positive
offset was printed the parsing failed. Apparently ntpq is now adding a
'+', so this is now accounted for.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-26 22:22:20 +01:00
Sebastian Kemper
a34590f057 freeswitch: update to 1.10.6
- patches which are now upstream were removed
- some patches were refreshed
- 003-modmake-fix.patch was amended a bit because of upstream commit
  91f12b5 (it changed tests/unit/Makefile.am so that it doesn't
  redefine AM_CFLAGS and AM_CPPFLAGS, which results in duplicated flags)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-26 22:15:45 +01:00
Sebastian Kemper
d6fe18bcdc asterisk: update to 18.2.2
Patches removed because uclibc was dropped:

001-disable-semaphores-on-uclibc-otherwise-allow.patch
002-configure-fix-detection-of-re-entrant-resolver-funct.patch

Patches updated/refreshed:

100-build-reproducibly.patch
140-use-default-lua.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-14 18:14:44 +01:00
Sebastian Kemper
f1760b3f5c sngrep: bump to 1.4.8
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-13 10:52:30 +01:00
Sebastian Kemper
22f617a32e freeswitch-mod-bcg729: use PKG_SOURCE_DATE
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-12 17:54:43 +01:00
Sebastian Kemper
4d8e02f4af freeswitch: clean up after uclibc* removal
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-03-09 21:44:30 +01:00
Rosen Penev
13fd0a5ab9 treewide: remove uClibc++ support
This is in preparation for removing the whole thing from base.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-06 14:45:47 -08:00
micmac1
62328778d5
Merge pull request #614 from micmac1/rpte-symvers
rtpengine: fix Module.symvers handling
2021-02-26 19:18:49 +01:00
Rosen Penev
90281b85eb
asterisk: fix compilation with 1.2.x
Needs _DECLS and __P definitions.

Refreshed other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-02-22 22:54:46 -08: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
Josef Schlehofer
ba73572d3e
asterisk: disable uriparser
Uriparser is a compliant URI parsing and handling library for RFC 3986.
For now, this is not included in OpenWrt feeds, but in Turris OS
uriparser is used as dependency for Updater-ng.

When Asterisk finds in build system there is uriparser or anything else mentioned in configure,
it tries to enable it by default. This applies to every package in
OpenWrt and because of that new packages which are added to OpenWrt tries to disable almost
everything by default. Because if someone adds library, some packages
are not compiled or tested.

Fixes:
Package asterisk is missing dependencies for the following libraries:
liburiparser.so.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-01-27 11:04:29 +01:00
micmac1
f929face41
Merge pull request #607 from micmac1/rtpe-up
rtpengine: bump to 8.5.3.1
2021-01-25 22:32:22 +01:00
Tony Ambardar
442a19214b siproxd: fix UID variable conflict in init
Variable 'UID' is set readonly in some calling contexts, yielding errors
during e.g. ImageBuilder usage:

  Enabling rpcd
  ./etc/init.d/siproxd: line 14: UID: readonly variable
  Enabling siproxd
  Enabling sysctl

Rename UID and GID variables as SIPROXD_UID and SIPROXD_GID.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-01-24 00:27:05 -08: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
Sebastian Kemper
6e8eaf2602 asterisk: add dependency to asterisk-chan-rtp
This commit makes asterisk-chan-rtp depend on
asterisk-res-rtp-multicast. Without the res-rtp-multicast module
chan-rtp cannot be loaded:

OpenWrt*CLI> module load chan_rtp.so
Unable to load module chan_rtp.so
Command 'module load chan_rtp.so' failed.
[Jan  9 08:51:01] ERROR[16337]: loader.c:281 module_load_error: Error loading module 'chan_rtp.so': Error relocating /usr/lib/asterisk/modules/chan_rtp.so: ast_multicast_rtp_create_options: symbol not found

This issue was mentioned in the OpenWrt forum ([1]).

[1] https://forum.openwrt.org/t/asterisk-makes-a-problem-with-loading/84816

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-01-15 20:00:09 +01:00
Sebastian Kemper
b619c417db Revert "asterisk: link in libdl when linking to liblua"
This reverts commit 150b85ab35.

OpenWrt upstream updated the lua package so that liblua now is linked
to libdl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-01-15 19:51:11 +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
150b85ab35 asterisk: link in libdl when linking to liblua
Currently building for archs target against glibc fails:

checking for mandatory modules:  CAP GSM ILBC LIBEDIT LIBXML2 LUA PJPROJECT SQLITE3 SRTP ZLIB... fail

configure: ***
configure: *** The LUA installation appears to be missing or broken.

Checking config.log reveals:

/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlopen'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlclose'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlerror'
/home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/toolchain-arc_archs_gcc-8.4.0_glibc/bin/../lib/gcc/arc-openwrt-linux-gnu/8.4.0/../../../../arc-openwrt-linux-gnu/bin/ld: /home/sk/tmp/sdk/openwrt-sdk-archs38-generic_gcc-8.4.0_glibc.Linux-x86_64/staging_dir/target-arc_archs_glibc/usr/lib/liblua.so: undefined reference to `dlsym'

This commit adds "-ldl" to lua linker flags so compilation against glibc
works. This has no ill effect on musl where libdl is just an empty
library archive.

This is not something that should be sent upstream, as they maybe
support non-Linux platforms as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-01-03 18:39:07 +01:00
Rosen Penev
03415d1b87
freeswitch: fix compilation with CentOS 7
Fix patch 230 as it's a patch of a patch with fuzz and wrong offsets.
It seems something on CentOS 7 doesn't like fuzz.

The AC_TRY_RUN section was removed as upstream added a check whether or
not cross compilation is being done, making it no/op.

Refresh other patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-01-01 13:58:27 -08:00
Jiri Slachta
6dd174d3f0
Merge pull request #596 from micmac1/ast-AST03-04
asterisk: micro version bump to 18.1.1
2020-12-27 21:33:50 +01:00
Sebastian Kemper
e538fc3f90 asterisk: add res_timing_timerfd to base package
This is a response to [1] and [2]. In short, since upstream commit
"channel.c: Resolve issue with receiving SIP INFO packets for DTMF" a
segmentation fault occurs during DTMF when no timing module is loaded.

This commit adds the timerfd timing module to the asterisk base package.
Other possibilities would have been res_timing_pthread and
res_timing_dahdi, but timerfd is the obvious choice because it's
efficient and OpenWrt offers the required kernel support (see [3] for
more details).

Note: even without any timing module the segmentation fault should not
occur according to upstream. Upstream is still working on that. But in
general it makes sense to have a timing module available (loaded) and
the module is tiny anyway.

[1] https://github.com/openwrt/telephony/issues/597
[2] https://issues.asterisk.org/jira/browse/ASTERISK-28800
[3] https://wiki.asterisk.org/wiki/display/AST/Timing+Interfaces

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-27 16:35:30 +01:00
micmac1
033edefff7
Merge pull request #580 from neheb/frees
freeswitch: fix compilation with musl 1.2.0
2020-12-26 12:24:35 +01:00
Sebastian Kemper
4a8dffba95 asterisk: micro version bump to 18.1.1
This addresses CVE-2020-35652 as described in:

https://downloads.asterisk.org/pub/security/AST-2020-003.html
https://downloads.asterisk.org/pub/security/AST-2020-004.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-23 18:16:30 +01:00
Jiri Slachta
c5a95a1a85
Merge pull request #593 from micmac1/kam-up542
kamailio: minor bump + drop 5.x suffix
2020-12-23 18:01:13 +01:00
Diederik de Groot
6c6aa1a28f
asterisk-chan-sccp: Update to v4.3.3 release
update PKG_MIRROR_HASH

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2020-12-20 10:37:45 +01: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
a0ac804663 kamailio: minor bump + drop 5.x suffix
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>
2020-12-12 23:55:36 +01:00
Sebastian Kemper
060e779993 kamailio-5.x: fix build for new MIPS 4kec target
Recently support for target rtl838x was added to OpenWrt. It uses 4kec,
which is MIPS32. The Kamailio build system doesn't detect this and
treats it as MIPS I, adding -march=r3000 to the flags, which clashes
with -mips32r2.

mips-openwrt-linux-musl-gcc -mfp32 -march=r3000 -ftree-vectorize -fno-strict-overflow -pthread -DKSR_PTHREAD_MUTEX_SHARED -Wall -Os -pipe -mno-branch-likely -mips32r2 -mtune=4kec -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libiconv-stub/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libintl-stub/include -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips_4kec_musl/kamailio5-5.4.0=kamailio5-5.4.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DVERSION_NODATE=1 -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips_4kec_gcc-8.4.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libiconv-stub/include -I/builder/shared-workdir/build/sdk/staging_dir/target-mips_4kec_musl/usr/lib/libintl-stub/include   -DNAME='"kamailio"' -DVERSION='"5.4.0"' -DARCH='"mips"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"mips-openwrt-linux-musl-gcc 8.4.0"' -D__CPU_mips -D__OS_linux -DVERSIONVAL=5004000 -DCFG_DIR='"/etc/kamailio"' -DSHARE_DIR='"/usr/share/kamailio/"' -DRUN_DIR='"/var/run/kamailio/"' -DPKG_MALLOC -DSHM_MMAP -DDNS_IP_HACK -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DWITH_XAVP -DMEM_JOIN_FREE -DF_MALLOC -DQ_MALLOC -DTLSF_MALLOC -DDBG_SR_MEMORY -DUSE_TLS -DTLS_HOOKS -DUSE_CORE_STATS -DSTATISTICS -DMALLOC_STATS -DUSE_SCTP -DMIPS_HAS_LLSC -DNOSMP -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_IP_MREQN -DUSE_RAW_SOCKS -DUSE_PTHREAD_MUTEX -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT  -DMODS_DIR='"/usr/lib/kamailio/modules"' -c main.c -o main.o -MMD -MP
cc1: error: '-mips32r2' conflicts with the other architecture options, which specify a mips1 processor
Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips1
Makefile.rules💯 recipe for target 'main.o' failed
make[5]: *** [main.o] Error 1

This commit fixes this by forcing ARCH to mips2 for 4kec CPUs as well
(Kamailio only differentiates between mips, mips2 and mips64).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-05 12:50:24 +01:00
Sebastian Kemper
eea98c6533 kamailio-5.x: fix erlang build
The Erlang module build checks for libs and includes using the erl tool.
This is a hostpkg tool providing paths into the staging/hostpkg.
Of course this fails:

arc-openwrt-linux-uclibc-gcc -shared  -Wl,-O2 -Wl,-E  -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libiconv-stub/lib -L/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libintl-stub/lib -Wl,-rpath-link=/builder/shared-workdir/build/sdk/staging_dir/target-arc_arc700_uClibc/usr/lib/libintl-stub/lib -znow -zrelro -pthread -rdynamic "-ldl" -Wl,-Bsymbolic-functions handle_emsg.o pv_xbuff.o cnode.o erl_api.o epmd.o erl_helpers.o pv_ref.o pv_pid.o pv_atom.o worker.o handle_rpc.o pv_list.o pv_tuple.o erlang_mod.o  -L/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/erlang/lib/erl_interface-4.0/lib -lei -lpthread   -o erlang.so
/builder/shared-workdir/build/sdk/staging_dir/toolchain-arc_arc700_gcc-8.4.0_uClibc/bin/../lib/gcc/arc-openwrt-linux-uclibc/8.4.0/../../../../arc-openwrt-linux-uclibc/bin/ld: /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/erlang/lib/erl_interface-4.0/lib/libei.a: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status
../../Makefile.rules:191: recipe for target 'erlang.so' failed
make[6]: *** [erlang.so] Error 1

This patch prevents this by relying on the standard paths, where Erlang
resides in OpenWrt.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-12-05 12:37:04 +01:00
Jiri Slachta
de86a47df7
Merge pull request #578 from micmac1/osip512
libosip2: minor version bump
2020-11-29 23:38:30 +01:00
Jiri Slachta
e7019d3b68
Merge pull request #586 from micmac1/ast18
asterisk: add Asterisk 18 LTS
2020-11-29 08:03:23 +01:00
Jiri Slachta
302e905c55
Merge pull request #582 from neheb/miax
miax: fix compilation errors under uClibc-ng and musl
2020-11-23 22:02:10 +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
b5638d84f1 asterisk: bump to 18.1.0
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-19 18:44:10 +01:00
Sebastian Kemper
c70eb7d12c asterisk-chan-lantiq: update for Asterisk 18 LTS
Also use PKG_SOURCE_DATE now to proper things up. And use INSTALL_DATA
for the configuration file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:59:03 +01:00
Sebastian Kemper
8961ee1084 asterisk-chan-sccp: update for Asterisk 18 LTS
- Bump commit as upstream recently added some bits to support Asterisk 18.
- Switch to INSTALL_DATA for configuration file.
- Remove VARIANT-related bits as we only have one Asterisk version.
- Remove dep on app_voicemail as chan-sccp has no hard dependency on it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:58:05 +01:00
Sebastian Kemper
fee0cc861b asterisk-chan-dongle: update for Asterisk 18 LTS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:57:29 +01:00
Sebastian Kemper
87e982a3a5 asterisk-g72x: update for Asterisk 18 LTS
Removes VARIANT-related bits as we only have one Asterisk version.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:56:45 +01:00
Sebastian Kemper
af20cf00a6 asterisk-opus: update for Asterisk 18 LTS
Removes VARIANT-related bits as we only have one Asterisk version.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 11:56:04 +01:00
Sebastian Kemper
b936fade67 asterisk: upgrade to Asterisk 18 LTS
- Bump to new LTS release.
- Move to folder asterisk and remove AST_MAJOR_VERSION variable, as we
  only have one version anyway.
- Add new modules.
- Rename voicemail to app-voicemail.
- Remove deps of voicemail on res-adsi and res-smdi as they are
  optional.
- Use INSTALL_DATA for headers.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-01 09:37:46 +01:00
Jiri Slachta
3eea28d8ab
Merge pull request #576 from micmac1/bsip-1.0.0
re+baresip: bump to 1.0.0
2020-10-30 01:00:07 +01:00
Jiri Slachta
909f292c82
Merge pull request #558 from neheb/kama
kamailio-5.x: fix compilation without deprecated OpenSSL APIs
2020-10-30 00:58:47 +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
96b87978a4 sipp: bump to 3.6.1
Upstream dropped autotools support, so this converts the build to use
cmake. Adds a simple include fix as well as a fix for older c++
compilers (the latter is a patch from upstream).

Support for pcaps is now also compiled in, to follow what upstream
considers a "common" build.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-12 09:53:35 +02:00
Rosen Penev
cff514032b
freeswitch: fix compilation with musl 1.2.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-11 18:53:57 -07:00
Rosen Penev
94df06b550
miax: fix compilation errors under uClibc-ng and musl
usleep is deprecated. So are bcopy and bzero.

Added extra needed headers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-09 02:34:21 -07:00
Sebastian Kemper
734b0d76e5 restund: remove postinst script
There are no secrets in /etc/restund.conf. Remove the postinstall script
and install the file with regular permissions.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-04 15:44:44 +02:00
Sebastian Kemper
4da7d848df baresip: use FILE_MODES instead of postinst
We can now set permissions directly thanks to OpenWrt having added
fakeroot support.. This also changes the permissions of /etc/baresip so
that baresip can write to this directory. For instance it wants to write
the file /etc/baresip/current_contact for which it needs the appropriate
permissions (baresip is started by user baresip).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-04 15:29:01 +02:00
Sebastian Kemper
8512b7395a siproxd: rev bump
Increases revision due to SONAME bump of libosip2.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 18:52:36 +02:00
Sebastian Kemper
667774af23 baresip: bump to 1.0.0
- remove 010-openssl-deprecated.patch as upstream seems to have fixed
  the issue
- upstream closed down the server http://www.creytiv.com/ so this
  changes URLs
- dtmfio module removed upstream
- always set DESTDIR so that PREFIX is /usr instead of /usr/local
- update 002-fix-rem-include.patch and remove LIBREM_PATH usage
  altogether as it only adds broken include paths which aren't useful in
  the end anyway

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-10-03 10:51:29 +02:00
Tony Ambardar
37c411269b siproxd: add max clients configuration and default
Add a configuration option SIPROXD_MAX_CLIENTS used for compile-time sizing
of the maximum supported proxy clients. Set this to a default value of 32,
which is more suitable for a small network or CPE router and uses much
less memory than the upstream value of 512 (e.g. RSS of 2 MB vs 17 MB).

Drop the following patch in favour of the new config option:

  * 005-reduce-rtpproxy-urlmap-size.patch

Also fix an incorrect configure option, and silence many warnings due to
unused VCS 'ident' variables in the sources.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-09-22 22:21:12 -07:00
Jiri Slachta
7d53cdccdf
Merge pull request #566 from dhewg/ast
asterisk-16.x: bump to 16.13.0
2020-09-17 20:16:40 +02:00
Sebastian Kemper
ee37dc867a freeswitch: remove leftover patch
This patch was used in 1.10.4 but now it's not used anymore because the
external spandsp3 package is used. Drop the file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-12 10:29:41 +02:00
Sebastian Kemper
e8d5a49f05 freeswitch: revisit build setup
1. Upstream fixed the parallel build issue in
   90ea0b7a1fdd7d8c5adaac87d74ed1c3c74086d0, so no need to force it off
   anymore.

2. The same sed script for uncommenting modules in modules.conf is used
   multiple times. This commit puts the script into a define that can be
   reused.

3. Some ifdefs removed. They only clutter up the Makefile. The sed
   script can run a few extra times, it does not matter.

4. Add a few extra dependencies that came to light.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-08 19:35:35 +02:00
Sebastian Kemper
787ea81583 freeswitch: add mod_rayo gcc 10 upstream fix
This removes the current workaround and replaces it with upstream fix.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-08 19:26:44 +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
Jiri Slachta
cf378bd959
Merge pull request #567 from guidosarducci/master-update-siproxd-0.8.3
siproxd: update to version 0.8.3, improve logging and memory usage
2020-09-06 21:58:44 +02:00
Tony Ambardar
3fb223fa88 siproxd: update to version 0.8.3, improve logging and memory usage
This release includes bug fixes and improvements accumulated over the last
4 years of development snapshots [1].

Bump upstream version, build new plugins 'stats' and 'blacklist', and add
an 'sqlite3' package dependency for siproxd-mod-blacklist.

Disable procd capturing stderr to syslog, since siproxd in 'foreground'
mode writes both to syslog and stderr, duplicating log messages.

Include a patch to drastically reduce memory usage (RSS from 17MB to 5MB
on ipq40xx platform):

  * 005-reduce-rtpproxy-urlmap-size.patch

Drop the following patches now included upstream:

  * 010-syslog-msg.patch
  * 020-gcc10.patch
  * 100-musl-compat.patch

[1] http://siproxd.sourceforge.net/index.php?op=changelog.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-09-04 22:38:33 -07:00
Andre Heider
31ec72bc66 asterisk-16.x: bump to 16.13.0
Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-09-04 17:09:31 +02:00
Sebastian Kemper
1dcfd2becf freeswitch: version bump to 1.10.5
This now uses the external spandsp3 package.

Patches:

 - 390-t38-reinvite-488-fix.patch removed (finally upstreamed)
 - 340-mod-spandsp-fix-typo.patch and 350-gsmopen-spandsp-fixup.patch
   added (both accepted into upstream master already)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-09-03 19:50:28 +02:00
Sebastian Kemper
5b9b5db1b7 freeswitch: make pkg-config file usable
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-15 12:44:08 +02:00
Sebastian Kemper
adc6a81a0f freeswitch: fix shadow dep
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-15 12:29:43 +02:00
micmac1
061140e8ec
Merge pull request #559 from micmac1/fs1104
freeswitch: bump to 1.10.4
2020-08-10 22:58:07 +02:00
Sebastian Kemper
984100dc61 freeswitch: bump to 1.10.4
Upstream split out spandsp as well. But their spandsp "fork" may not be
a drop-in replacement for the regular spandsp. For now we keep it built
into freeswitch via patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-07 21:27:39 +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
micmac1
86158aead4
Merge pull request #554 from micmac1/rtpengine-lts
rtpengine: update to LTS version
2020-08-07 21:06:17 +02:00
Rosen Penev
74f5e1086f
kamailio-5.x: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-06 14:30:42 -07:00
Jiri Slachta
df492faca9
Merge pull request #557 from neheb/bare
baresip: fix compilation without deprecated OpenSSL APIs
2020-08-06 16:21:24 +02:00
Jiri Slachta
a5d92c0e35
Merge pull request #549 from micmac1/kam54
kamailio-5.x: bump to 5.4.0
2020-08-06 16:18:13 +02:00
Rosen Penev
6f252c0ba2
baresip: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 14:32:25 -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
micmac1
c23f919731
Merge pull request #552 from micmac1/fs-jpeg
freeswitch: update libjpeg deps
2020-08-02 12:43:14 +02:00
Sebastian Kemper
0e055c4657 freeswitch: update libjpeg deps
libjpeg was replaced by libjpeg-turbo in packages repo.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-02 11:55:36 +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
e6497a87d4 kamailio-5.x: bump to 5.4.0
- package two new modules: dlgs and pv_headers
- upstream actually provides three more new modules, but two are missing
  dependencies in OpenWrt and one is related to systemd
- use INSTALL_DATA instead of INSTALL_CONF for kamailio configuration
  files (not talking about /etc/config/kamailio) as they're default
  configuration
- refresh 050-fix-kamailio-utils.patch
- drop upstreamed 150-python3-cross-compile.patch
- libsrutils is no longer packaged as upstream moved it into the core

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-07-29 20:25:04 +02:00
micmac1
267a6ee37a
Merge pull request #548 from micmac1/fs-gcc10
freeswitch: mod-rayo not compiling with gcc-10
2020-07-28 18:13:24 +02:00