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>
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>
- 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>
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>
- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
- 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>
The patch is wrong. It may cause errors of the "illegal instruction" variety.
The libre package fix in commit e40f0ea06f makes
this patch unnecessary anyway. Drop it.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
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>
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>
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>
Remove unneeded variables, whitespaces and trailing slashes, use
specific INSTALL directive instead of "$(CP)".
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
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>
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>
- 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>