Commit graph

1945 commits

Author SHA1 Message Date
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
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
micmac1
8c4b67dfe2
Merge pull request #699 from micmac1/kam552
kamailio: bump to 5.5.2
2021-11-02 22:14:51 +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
micmac1
2e21cfdd9e
Merge pull request #698 from micmac1/fs1107
freeswitch: bump to 1.10.7
2021-10-31 15:52:17 +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
fd0c65d379 freetdm: add package
It was moved from the freeswitch source tree into its own package.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-30 23:08:38 +02: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
Sebastian Kemper
940613cd7b sofia-sip: bump to 1.13.6
Required for freeswitch 1.10.7.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-30 21:32:07 +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
micmac1
96d4857ba5
Merge pull request #697 from micmac1/dongle-perms-dirs
asterisk/asterisk-chan-dongle: address permission issues
2021-10-23 20:06:14 +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