Commit Graph

2009 Commits

Author SHA1 Message Date
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
micmac1
51e62de182
Merge pull request #732 from micmac1/sof-1137
sofia-sip: update to 1.13.7
2022-01-31 19:54:41 +01:00
Sebastian Kemper
f04a5a2383 sofia-sip: update to 1.13.7
Contains DOS fix, see [1].

Converted to AUTORELEASE.

[1] https://github.com/signalwire/freeswitch/issues/1518

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-01-31 19:34:13 +01:00
Sergey V. Lobanov
3424e0027d libpri: fix build on macos
libpri can not be built on macos for OpenWrt Linux target due to:
1. Makefile uses `ar` and `ranlib` (without using make variables).
   MacOS system ar and ranlib are not compatible with the objects
   generated by OpenWrt GCC toolchain. This commit adds patch to
   add an ability to redefine `ar` and `ranlib` tools.
   Upstream issue: https://issues.asterisk.org/jira/browse/PRI-188
2. Makefile detects Darwin using `uname -s` and changes build logic
   but it is not need for cross-platfrom build. This commit
   redefines OSARCH=Linux in OpenWrt Makefile
3. After redefining OSARCH=Linux, libpri Makefile uses /sbin/ldconfig
   that does not exist on MacOS. This commit redefines LDCONFIG=ldconfig
   in OpenWrt Makefile to use ldconfig provided by OpenWrt.

Patch '001-fix-include-signal-h-warning.patch' was refreshed to pass
CI checks. The payload of this patch was not changed.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-30 14:40:24 +03:00
micmac1
561131d523
Merge pull request #728 from micmac1/rtpe9532
rtpengine: bump to 9.5.3.2
2022-01-22 15:10:53 +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
micmac1
33fda345d2
Merge pull request #726 from shalzz/master
asterisk-chan-dongle: update to the latest git HEAD
2022-01-04 14:16:42 +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
micmac1
323a790926
Merge pull request #725 from BKPepe/coturn
coturn: add libintl dependency when enabled full language support
2021-12-31 12:46:32 +01:00
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
Jiri Slachta
8c563cb3d8
Merge pull request #724 from micmac1/kam-time_t-ldap
kamailio: add upstreamed patches (compile fix + time64 fixes)
2021-12-23 23:26:16 +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
micmac1
4806e36ecd
Merge pull request #723 from micmac1/coturn-conffiles
coturn: add /etc/turnserver to conffiles
2021-12-22 21:21:14 +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
micmac1
d080a6ec0e
Merge pull request #721 from BKPepe/fix-baresip-nls
baresip: fix compilation with NLS
2021-12-15 22:38:16 +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
Jiri Slachta
1e49a312fa
Merge pull request #718 from micmac1/baresip110
baresip: bump to 1.1.0 (re to 2.0.1 and rem to 1.0.0)
2021-12-08 06:57:07 +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
Sebastian Kemper
8b54b8f852 rem: bump to 1.0.0
- bump to version 1.0.0
- change to use AUTORELEASE
- point to github instead of now-defunct www.creytiv.com

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-07 00:16:16 +01:00
Sebastian Kemper
a93e411539 re: bump to 2.0.1
- bump to version 2.0.1
- change to use AUTORELEASE
- add ABI_VERSION
- refresh patches

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-12-07 00:13: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
Jiri Slachta
f9b91a196f
Merge pull request #712 from micmac1/srtp2.4
libsrtp: bump to 2.4.2
2021-11-28 18:39:41 +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
7e8ee8ac26 libsrtp: bump to 2.4.2
- switch to $(AUTORELEASE)
- update upstream URL
- add ABI_VERSION
- drop patch that is included upstream

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-28 18:14:12 +01:00
micmac1
490173c7c4
Merge pull request #710 from micmac1/clean_PKG_CONFIG_DEPENDS
freeswitch + freetdm: clean pkg config depends
2021-11-09 19:06:00 +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
b58f66bddc freetdm: 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:58:45 +01:00
micmac1
0363331c8e
Merge pull request #706 from micmac1/fs-small-fixes
freeswitch + freetdm: small fixes
2021-11-07 22:46:08 +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
Sebastian Kemper
70fa153500 freetdm: remove wrong InstallDev defines
They currently don't work, but we don't need them anyway. This removes
them.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-07 20:24:00 +01:00
Sebastian Kemper
4c24ad93d3 freetdm: fix PKG_CONFIG_DEPENDS
One is missing and one is misspelled.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-07 20:21:36 +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
micmac1
0a15acef4b
Merge pull request #702 from micmac1/ast-master-mods
asterisk: add missing modules + dependency
2021-11-06 12:38:40 +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
micmac1
d337eeadfc
Merge pull request #693 from dhewg/asterisk-opus
asterisk: add opus read and write support
2021-11-03 18:16:03 +01:00