summaryrefslogtreecommitdiff
path: root/net/baresip
Commit message (Collapse)AuthorAgeFilesLines
* baresip: fix parallel buildEneas U de Queiroz2023-02-102-1/+24
| | | | | | | | | | | | | Include an upstream patch to fix random parallel build failures, such as: CC [M] build-arm/modules/ctrl_dbus/ctrl_dbus.o modules/ctrl_dbus/ctrl_dbus.c:69:10: fatal error: baresipbus.h: No such file or directory 69 | #include "baresipbus.h" | ^~~~~~~~~~~~~~ Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* baresip: use return in init scriptSebastian Kemper2022-11-081-1/+1
| | | | | | | "start_service()" is a function, hence "return" should be used instead of "exit". Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: only build gst with AUDIO_SUPPORT enabledSebastian Kemper2022-02-131-2/+2
| | | | | | | | | | | | | | | | | | Most gstreamer packages aren't build when the target does not have AUDIO_SUPPORT. This can be seen with realtek target (4kec). This commit makes the gst plugins depend on AUDIO_SUPPORT, because otherwise the build dies with this error: Package baresip-mod-gst-video is missing dependencies for the following libraries: libgstapp-1.0.so.0 Note: compiling baresip on a target without AUDIO_SUPPORT may be questionable anyway. Close #730 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: fix compilation with NLSJosef Schlehofer2021-12-151-0/+1
| | | | | | | | | | | | | | | 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>
* baresip: drop 002-fix-rem-include.patchSebastian Kemper2021-12-082-68/+1
| | | | | | Setting LIBREM_PATH allows dropping the patch. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: bump to 1.1.0Sebastian Kemper2021-12-072-46/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* baresip: allow avcodec build by defaultSebastian Kemper2021-07-312-21/+1
| | | | | | | | | | 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>
* baresip: use FILE_MODES instead of postinstSebastian Kemper2020-10-041-12/+6
| | | | | | | | | | 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>
* baresip: bump to 1.0.0Sebastian Kemper2020-10-033-27/+51
| | | | | | | | | | | | | | - 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>
* baresip: fix compilation without deprecated OpenSSL APIsRosen Penev2020-08-052-1/+12
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* baresip: add VP8 and VP9 moduleJiri Slachta2019-10-241-2/+8
| | | | Signed-off-by: Jiri Slachta <jiri@slachta.eu>
* baresip: bump to 0.6.4Sebastian Kemper2019-10-132-4/+5
| | | | | | | - adds "PKG_BUILD_PARALLEL:=1" for parallel builds - refreshes patch Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: fix recursive dependencySebastian Kemper2019-06-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since OpenWrt commit e82a4d9cfb ("config: regenerate *_shipped sources") a few recursive dependencies have been discovered that were not visible before. $ make menuconfig tmp/.config-package.in:103098:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:103098: symbol PACKAGE_baresip-mod-pulse depends on PACKAGE_baresip-mod-pulse tmp/.config-package.in:121863:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:121863: symbol PACKAGE_pulseaudio-profiles depends on PACKAGE_pulseaudio-profiles tmp/.config-package.in:121878:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:121878: symbol PACKAGE_pulseaudio-tools depends on PACKAGE_pulseaudio-tools The recursive dependencies were reported at [1] and [2]. This commit addresses the recursive dependency of baresip-mod-pulse. The new dependency string may look a bit peculiar, but it works and when specified like this pulseaudio (when selected) doesn't get compiled automatically when the intention is only to build baresip with mod-pulse disabled (which in general is why we have the "patsubst" in the module builder - but this is only triggered when the dependency has a leading "+"). [1] https://github.com/openwrt/packages/issues/9300 [2] https://forum.openwrt.org/t/make-menuconfig-errors-this-day/38673/5 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: update to 0.6.2Sebastian Kemper2019-04-211-13/+3
| | | | | | | - echo module is now built by default - natbd, v4l, x264 don't exist anymore Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: update default configSebastian Kemper2019-04-211-0/+2
| | | | | | | | This adds two (three, really) sed scripts to update the default configuration. All example accounts are getting disabled/commented. And the module_path is set to the actual path. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: amend file permissionsSebastian Kemper2019-04-211-2/+2
| | | | | | | | | | The files in /usr/share/baresip are all read-only anyway, so INSTALL_DATA can be used. Use it as well for the included (default) modules, otherwise they'll have different permissions than the extra modules. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: rely on procd for shutdownSebastian Kemper2019-04-211-52/+0
| | | | | | No need to stop baresip manually. Just let procd handle it. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: do not disable on upgradeSebastian Kemper2019-04-211-5/+0
| | | | | | | It is not a nice user experience when a package changes configuration files during an upgrade. Remove this from the postinstall routine. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: disable ffmpeg support on i386Sebastian Kemper2019-04-211-1/+1
| | | | | | | The ffmpeg full variant does not compile on i386_pentium currently. Disable ffmpeg support on i386 to prevent breakage on the buildbots. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: update to 0.6.0Sebastian Kemper2018-12-261-30/+28
| | | | | | | Drops speex modules (removed upstream). Adds new modules b2bua, echo and rtcpsummary. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: fix copyrightSebastian Kemper2018-12-261-1/+1
| | | | | | | | In a previous commit I updated the copyright message. But that was not correct as I am not affiliated with OpenWrt. This commit reverts the change. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: remove depend on libx264Sebastian Kemper2018-11-111-3/+7
| | | | | | | | | | Following up the discussion in pull request #388 this commit removes the depend on libx264 and prevents baresip from linking to libx264. baresip can still use a H.264 encoder through ffmpeg, which is the preferred way anyway. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: bump to 0.5.9Sebastian Kemper2018-04-281-3/+3
| | | | Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: remove underscores from package namesSebastian Kemper2018-04-091-7/+7
| | | | | | | Underscores should not be used in package base names as they're used as semantic separators by opkg. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: fix mod-avformat DEPENDSSebastian Kemper2018-03-241-2/+2
| | | | | | | | | | | | | | | | mod-avformat is only built when mod-avcodec is selected. baresip sets it up like that in mk/modules.mk: ifneq ($(USE_AVCODEC),) MODULES += avcodec ifneq ($(USE_AVFORMAT),) MODULES += avformat endif endif This commit updates the mod-avformat DEPENDS accordingly. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: update baresip-mod-pulse dependSebastian Kemper2018-03-181-2/+2
| | | | | | | | There are two pulseaudio packages, pulseaudio-daemon and pulseaudio-daemon-avahi. Both provide pulseaudio. Depend on pulseaudio so the user may choose which one to install. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* net/baresip: bump to 0.5.8Sebastian Kemper2018-02-161-4/+5
| | | | | | | One new module added: ctrl_tcp (TCP control interface using JSON payload) Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: add procd init scriptSebastian Kemper2017-12-263-7/+123
| | | | | | | | | | | | - add procd init script - script starts the daemon as user "baresip" instead of root - add /etc/default/baresip - add example configuration into /etc/baresip - add conffiles definition - prevent autostart after upgrade by using ENABLE_BARESIP variable in /etc/default/baresip Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip suite: improve MAKE_FLAGSSebastian Kemper2017-12-261-1/+3
| | | | | | | | - add CROSS_COMPILE and OS to MAKE_FLAGS; this should help when compiling on other OSes, e.g. Darwin. - move RELEASE up (alphabetical sort) Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip + restund: delete faulty patchSebastian Kemper2017-12-262-15/+1
| | | | | | | | The patch is wrong. It may cause errors of the "illegal instruction" variety. The libre package fix in commit e40f0ea06fe7433eff71c4561a4776f068e97bc7 makes this patch unnecessary anyway. Drop it. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: add symbol to prevent FFmpeg dependency by defaultSebastian Kemper2017-12-132-2/+22
| | | | | | | | | | | | | | | | | | Currently baresip often fails to build because the FFmpeg compile was not successful: CC [M] build-mipsel/modules/avcodec/avcodec.o modules/avcodec/avcodec.c:9:32: fatal error: libavcodec/avcodec.h: No such file or directory compilation terminated. Address this by adding a configuration symbol that prevents the FFmpeg-depending modules from being selected by default, except on i386 and x86_64. It is better having baresip packages without these video modules than not having baresip packages at all. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: fix build failure on 32bit x86 targetsSebastian Kemper2017-12-071-1/+2
| | | | | | | | | | | | | | | | | | re and baresip builds for 32bit x86 targets are currently failing: build-i386/sip/auth.o: In function `sip_auth_encode': /build/lede-snapshots/i386_pentium/build/sdk/build_dir/target-i386_pentium_musl/re-0.5.6/src/sip/auth.c:279: undefined reference to `__stack_chk_fail_local' The undefined references occur because there is no linking done to ssp. Fix this by setting LD to TARGET_CC, so ld is not called directly. This also means one patch is not needed anymore. Do the same for rem and restund as they basically all share the same build system. Compile-tested for x86, x86_64 and mips. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: add missing dependencySebastian Kemper2017-11-281-2/+2
| | | | | | The avcodec module needs a depend on libx264. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: build fixSebastian Kemper2017-11-261-0/+16
| | | | | | | | The package currently fails to build because librem headers cannot be found. For reasons unknown baresip searches in SYSROOT instead of SYSROOT_ALT for them. Fix this by patching the Makefile. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: add patch to fix ld callSebastian Kemper2017-11-261-0/+14
| | | | | | | ld expects '-shared' when called with '--export-dynamic'. Patch the Makefile accordingly. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: add modulesSebastian Kemper2017-11-261-0/+39
| | | | | | Add some more modules to the Makefile. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: improve module routine and descriptionsSebastian Kemper2017-11-261-15/+15
| | | | | | | - improve routine regarding dependencies - improve module descriptions Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: Clean up MakefileSebastian Kemper2017-11-261-11/+10
| | | | | | | Remove unneeded variables, whitespaces and trailing slashes, use specific INSTALL directive instead of "$(CP)". Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: Use default Build/Compile routineSebastian Kemper2017-11-261-18/+14
| | | | | | | | Change from custom make call to using the default Build/Compile routine. This applies the standard memory corruption mitigation methods, e.g. FORTIFY_SOURCE and RELRO, to the package if they are enabled (default). Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* baresip: update to 0.5.6Jiri Slachta2017-11-071-3/+3
| | | | Signed-off-by: Jiri Slachta <jiri@slachta.eu>
* baresip: update to 0.5.5Jiri Slachta2017-09-121-3/+3
| | | | Signed-off-by: Jiri Slachta <jiri@slachta.eu>
* net/baresip: Update to 0.5.0Daniel Engberg2017-01-071-11/+5
| | | | | | | | Update to 0.5.0 Remove Speex as it's being obsoleted by upstream. Add Opus to replace Speex Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* multiple packages: change PKG_MAINTAINER email addressJiri Slachta2016-05-311-1/+1
| | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
* upgrade baresip to version 0.4.19Alfred E. Heggestad2016-05-201-3/+3
|
* baresip: add DTMF input/output moduleJiri Slachta2016-04-051-1/+2
| | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
* baresip: update to 0.4.18Jiri Slachta2016-04-051-4/+4
| | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
* [PATCH] baresip: upgrade to 0.4.14Jiri Slachta2015-08-121-6/+4
| | | | | | | | | | - upgrade baresip to 0.4.14 - uuid module is now part of the core-baresip - add building of dtmfio module Signed-off-By: Alfred E. Heggestad <aeh@db.org> Acked-by: Jiri Slachta <slachta@cesnet.cz> Tested-by: Jiri Slachta <slachta@cesnet.cz>
* baresip: closing #56, added modules speex-aec, speex-pp, httpd.Jiri Slachta2015-07-221-1/+11
| | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
* baresip: fix build with muslDaniel Golle2015-06-281-1/+1
| | | | | | alsa-lib needs _GNU_SOURCE to be set for integer types to be defined. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* baresip: Fix avcodec and avformat CFLAGS. This commit fixes #6.Jiri Slachta2015-01-041-3/+3
| | | | Signed-off-by: Jiri Slachta <slachta@cesnet.cz>