Commit graph

47 commits

Author SHA1 Message Date
Sebastian Kemper
a878514513 baresip: amend file permissions
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>
2019-04-21 15:21:39 +02:00
Sebastian Kemper
c6509afd2b baresip: rely on procd for shutdown
No need to stop baresip manually. Just let procd handle it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-04-21 15:18:56 +02:00
Sebastian Kemper
0eb7795080 baresip: do not disable on upgrade
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>
2019-04-21 15:17:38 +02:00
Sebastian Kemper
f45be8a154 baresip: disable ffmpeg support on i386
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>
2019-04-21 15:15:21 +02:00
Sebastian Kemper
bfff639417 baresip: update to 0.6.0
Drops speex modules (removed upstream). Adds new modules b2bua, echo and
rtcpsummary.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-12-26 19:17:58 +01:00
Sebastian Kemper
3eeb450740 baresip: fix copyright
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>
2018-12-26 19:17:02 +01:00
Sebastian Kemper
a442df04df baresip: remove depend on libx264
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>
2018-11-11 11:18:48 +01:00
Sebastian Kemper
ff40589317 baresip: bump to 0.5.9
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-28 14:03:16 +02:00
Sebastian Kemper
37f897c8c0 baresip: remove underscores from package names
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>
2018-04-09 23:30:51 +02:00
Sebastian Kemper
66d0d185df baresip: fix mod-avformat DEPENDS
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>
2018-03-24 12:53:49 +01:00
Sebastian Kemper
40e1a78030 baresip: update baresip-mod-pulse depend
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>
2018-03-18 10:23:16 +01:00
Sebastian Kemper
bd08dc6577 net/baresip: bump to 0.5.8
One new module added: ctrl_tcp (TCP control interface using JSON
payload)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-16 21:58:15 +01:00
Sebastian Kemper
8860618e41 baresip: add procd init script
- 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>
2017-12-26 15:21:27 +01:00
Sebastian Kemper
4219368092 baresip suite: improve MAKE_FLAGS
- 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>
2017-12-26 14:34:47 +01:00
Sebastian Kemper
1c11a59250 baresip + restund: delete faulty patch
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>
2017-12-26 14:27:01 +01:00
Sebastian Kemper
23b3363a5e baresip: add symbol to prevent FFmpeg dependency by default
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>
2017-12-13 19:37:13 +01:00
Sebastian Kemper
d3a784ca78 baresip: fix build failure on 32bit x86 targets
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>
2017-12-07 21:32:56 +01:00
Sebastian Kemper
3bf3f51c65 baresip: add missing dependency
The avcodec module needs a depend on libx264.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-28 22:43:13 +01:00
Sebastian Kemper
e2f01e4e76 baresip: build fix
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>
2017-11-26 23:05:20 +01:00
Sebastian Kemper
09aef36d27 baresip: add patch to fix ld call
ld expects '-shared' when called with '--export-dynamic'. Patch the
Makefile accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 23:03:17 +01:00
Sebastian Kemper
e753429208 baresip: add modules
Add some more modules to the Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 23:01:26 +01:00
Sebastian Kemper
c0cbf4afc0 baresip: improve module routine and descriptions
- improve routine regarding dependencies
- improve module descriptions

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:56:40 +01:00
Sebastian Kemper
9974ce1389 baresip: Clean up Makefile
Remove unneeded variables, whitespaces and trailing slashes, use
specific INSTALL directive instead of "$(CP)".

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-11-26 22:45:26 +01:00
Sebastian Kemper
9c4607f493 baresip: Use default Build/Compile routine
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>
2017-11-26 22:42:07 +01:00
Jiri Slachta
b0192cf0e3 baresip: update to 0.5.6
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-11-07 20:48:49 +01:00
Jiri Slachta
16eb3e79bc baresip: update to 0.5.5
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2017-09-12 14:10:43 +02:00
Daniel Engberg
fa00828f67 net/baresip: Update to 0.5.0
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>
2017-01-07 06:45:38 -06:00
Jiri Slachta
7a4de7c71d multiple packages: change PKG_MAINTAINER email address
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-05-31 20:12:51 +02:00
Alfred E. Heggestad
6e95a9219d upgrade baresip to version 0.4.19 2016-05-20 19:22:00 +02:00
Jiri Slachta
676188043d baresip: add DTMF input/output module
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-04-05 10:06:43 +02:00
Jiri Slachta
0d4578a65a baresip: update to 0.4.18
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2016-04-05 09:05:46 +02:00
Jiri Slachta
9f549b1393 [PATCH] baresip: upgrade to 0.4.14
- 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>
2015-08-12 13:56:44 +02:00
Jiri Slachta
bd845fa44b baresip: closing #56, added modules speex-aec, speex-pp, httpd.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2015-07-22 15:16:46 +02:00
Daniel Golle
04527e08b8 baresip: fix build with musl
alsa-lib needs _GNU_SOURCE to be set for integer types to be defined.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-28 20:46:45 +02:00
Jiri Slachta
0f0a21f63b baresip: Fix avcodec and avformat CFLAGS. This commit fixes #6.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2015-01-04 14:11:30 +01:00
Jiri Slachta
4194b00738 baresip: update to version 0.4.12
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-12-28 17:03:36 +01:00
Jiri Slachta
30ffae1ecc Add PKG_LICENSE to the rest of the packages
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-11-04 17:00:24 +01:00
Jiri Slachta
d9d729251a baresip: use MENU:=1 to behave as other telephony packages
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-10-28 21:43:11 +01:00
Jiri Slachta
71d0f9198b baresip: remove broken sdl module
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-11 10:11:06 +02:00
Jiri Slachta
9ce13399ab baresip: mark sdl submodule as @BROKEN
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-08-06 01:28:18 +02:00
Jiri Slachta
800e9d8930 baresip: bump to version 0.4.11
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-06-26 09:21:59 +02:00
Jiri Slachta
aff7f537b1 baresip: add auloop module
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-03-26 13:04:16 +01:00
Jiri Slachta
1d2aadf8f8 baresip: added core modules
added some core modules that are required for basic
operation:

   account.so   SIP account file parser
   contact.so   Contact list (address book)
   menu.so      Interactive menu

Signed-off-by: Alfred E. Heggestad <aeh@db.org>
[slachta@cesnet.cz: simplified patch]
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-01-30 14:31:54 +01:00
Jiri Slachta
06735a2d19 baresip: update to version 0.4.10
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-01-29 21:09:39 +01:00
Jiri Slachta
5ab14990b9 baresip: update to version 0.4.6
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-10-16 11:02:34 +02:00
Jiri Slachta
7f20abd8df baresip: update to 0.4.5
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-09-07 17:33:39 +02:00
Jiri Slachta
100f27f3bb Directory structure restructuralized.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-06-21 13:55:47 +02:00