- Remove 003-disable-ast-xml-docs.patch, it doesn't apply anymore.
Instead change --enable-xmldoc into --disable-xmldoc in the Makefile.
- Remove 055-ASTERISK-24517.patch again due to multiple hunk failures.
- Refresh patches.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Add build-time dependency on gettext-full/host. When it is not installed
Makefile.in.in doesn't exist and the gsmlib build fails.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit adds mod_freetdm (glue between FreeSWITCH and FreeTDM) and
the following FreeTDM modules:
- ftmod_analog
- ftmod_analog_em
- ftmod_libpri
- ftmod_pritap
- ftmod_skel
- ftmod_zt
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
The OpenWrt telephony feed already has DAHDI support. This commit
enables FreeTDM so FreeSWITCH can make use of DAHDI via libpri.
This does not change the existing FreeSWITCH packages as FreeTDM is a
separate library in the FreeSWITCH distribution, hence no revision bump.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
uclibc doesn't include iconv. This commit adds a dependency to
libiconv-full when building against uclibc. iconv can be used by the
included apr and is a hard dependency of mod_gsmopen.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- the Savannah source URI doesn't have the 1.0.4 release; switch it to
linphone.org
- even with the source available the build fails, as the source now
defaults to cmake for building. So switch our build process from
autotools to cmake as well.
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 procd init script
- script starts the daemon as user "restund" instead of root
- add /etc/default/restund
- declare /etc/init.d/restund a configuration file
- prevent autostart after upgrade by using ENABLE_RESTUND variable in
/etc/default/restund
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>
The current approach (creating a blocker file) is clumsy. Use a variable
in /etc/default/freeswitch instead.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Add some dependencies to select modules. Dependencies confirmed by
menuselect.
Also fix description of res_monitor.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Add some dependencies to select modules. Dependencies confirmed by
menuselect.
Also fix description of res_monitor.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Remove the possibility to prevent the dependency on libedit. freeswitch
behaves very quirky without it.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- Use "-nc -nf" always. When started by procd freeswitch detects the
console to be orphaned and disables it. So disable the interactive
console but force freeswitch to not fork into background.
- Improve readability of command parameters.
- Minor changes.
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>
On most mipsel targets re fails to build because the re Makefile adds
"-march=mips32" to CFLAGS:
Assembler messages:
Error: -mips32r2 conflicts with the other architecture options, which imply -mips32
src/sip/addr.c:1:0: error: '-mips32r2' conflicts with the other architecture options, which specify a mips32 processor
/**
^
Makefile:92: recipe for target 'build-mipsel/sip/addr.o' failed
Fix this by preventing re from adding to OpenWrt CFLAGS.
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>