Commit Graph

941 Commits

Author SHA1 Message Date
Jiri Slachta 61b4185f39 Merge pull request #240 from micmac1/asterisk-for-master
Asterisk for master
2018-01-15 20:16:47 +01:00
Sebastian Kemper 1fa58a571f asterisk-15.x: bump to 15.2.0
- Remove 003-disable-ast-xml-docs.patch, it doesn't apply anymore.
  Instead change --enable-xmldoc into --disable-xmldoc in the Makefile.
- Refresh patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-14 19:18:12 +01:00
Sebastian Kemper 3c8c7844ae asterisk-13.x: bump to 13.19.0
- 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>
2018-01-14 19:13:31 +01:00
Jiri Slachta 29f1aed199 Merge pull request #235 from micmac1/libs-master
libosip2: add fix for CVE-2017-7853
2018-01-11 19:43:26 +01:00
micmac1 319670d596 Merge pull request #236 from micmac1/gsmlib-master
gsmlib: fix sporadic build failures
2018-01-10 20:42:32 +01:00
Sebastian Kemper 48b147a5f4 gsmlib: fix sporadic build failures
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>
2018-01-10 20:39:05 +01:00
Sebastian Kemper 3df68b5445 libosip2: add fix for CVE-2017-7853
Patch copied from upstream:

https://git.savannah.gnu.org/cgit/osip.git/patch/?id=1ae06daf3b2375c34af23083394a6f010be24a45

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-10 20:29:54 +01:00
Jiri Slachta c6c34d668d asterisk-15.x: fix typo in dependency to res-statsd
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2018-01-07 18:40:07 +01:00
micmac1 b0e5bba218 Merge pull request #232 from micmac1/gsmopen
New PR: add gsmlib, libctb and mod_gsmopen
2018-01-07 12:32:36 +01:00
micmac1 734a0a9cf1 Merge pull request #233 from micmac1/freetdm
freeswitch-stable: Add FreeTDM support
2018-01-04 17:05:08 +01:00
Sebastian Kemper 2d90346f8a freeswitch-stable: add FreeTDM modules
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>
2018-01-04 16:52:05 +01:00
Sebastian Kemper 70a99e695b freeswitch-stable: add FreeTDM support
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>
2018-01-04 16:38:39 +01:00
Sebastian Kemper 6686be2933 freeswitch-stable: add mod_gsmopen
Add mod_gsmopen to be able to use FreeSWITCH as a GSM gateway (for SMS
and voice calls).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-02 11:21:59 +01:00
Sebastian Kemper 5efc34c0ed freeswitch-stable: add iconv support when using uclibc
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>
2018-01-02 11:18:56 +01:00
Sebastian Kemper 7b7b0df6d6 libctb: new package
libctb is a dependency of mod_gsmopen in FreeSWITCH.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-02 11:11:27 +01:00
Sebastian Kemper 1fa3c42580 gsmlib: new package
gsmlib is a dependency of mod_gsmopen in FreeSWITCH.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-01-02 11:09:05 +01:00
Sebastian Kemper acc5806357 freeswitch-stable-mod-bcg729: fix upstream URL
- remove unused variable
- fix upstream URL

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-30 18:27:26 +01:00
Sebastian Kemper 845718a747 Update MAINTAINERS
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-30 18:07:32 +01:00
Jiri Slachta b17c201ee4 Merge pull request #231 from micmac1/bcg729
bcg729: fix 1.0.4 build
2017-12-28 16:07:04 +01:00
Sebastian Kemper d65cd5786e bcg729: fix 1.0.4 build
- 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>
2017-12-27 22:18:30 +01:00
Jiri Slachta 9e66952479 Merge pull request #227 from micmac1/freeswitch-stable
New PR: freeswitch-stable
2017-12-27 09:45:25 +01:00
Jiri Slachta 0f9207c264 Merge pull request #229 from samm-git/patch-1
bcg729: update to the 1.0.4 version
2017-12-27 09:45:03 +01:00
Jiri Slachta b93d740036 Merge pull request #228 from micmac1/asterisk
New PR: Asterisk
2017-12-27 09:44:44 +01:00
Jiri Slachta b36dc4abc2 Merge pull request #230 from micmac1/baresip
New PR: Baresip suite
2017-12-27 09:44:23 +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 1de3d36d4b restund: add procd init script
- 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>
2017-12-26 14:58:39 +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 e40f0ea06f libre: add forgotten define
"OPENWRT" needs to be defined for 001-extend-ninit-nclose-check.patch to
work.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-26 14:16:17 +01:00
Sebastian Kemper 53073babbf freeswitch-stable: improve autostart prevention
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>
2017-12-26 14:05:52 +01:00
Alex Samorukov c9370a3d90 bcg729: update to the 1.0.4 version 2017-12-26 01:13:23 +01:00
Sebastian Kemper b25a6bbf5d asterisk-15.x: bump to 15.1.4
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 23:05:59 +01:00
Sebastian Kemper cd82cbd06b asterisk-15.x: add module dependencies
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>
2017-12-22 23:04:13 +01:00
Sebastian Kemper 5180bf8576 asterisk-13.x: bump to 13.18.4
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 23:02:02 +01:00
Sebastian Kemper 1d697f8bfc asterisk-13.x: add module dependencies
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>
2017-12-22 22:59:24 +01:00
Sebastian Kemper d3cc034185 freeswitch-stable: add a few autoconf_bools
- Use autoconf_bool instead of manually calling configure switches.
- Revision bump.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:51:58 +01:00
Sebastian Kemper 1a193e1b74 freeswitch-stable: make libedit a hard dependency
Remove the possibility to prevent the dependency on libedit. freeswitch
behaves very quirky without it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-22 22:46:10 +01:00
Sebastian Kemper 3f169145df freeswitch-stable: init script update
- 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>
2017-12-22 22:37:22 +01:00
Jiri Slachta 8c94c5d442 Merge pull request #226 from micmac1/baresip
baresip/re: build fix and a workaround
2017-12-14 08:33:32 +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 c22c60b9fd re: fix build errors on mipsel targets
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>
2017-12-13 19:29:06 +01:00
Jiri Slachta 94b7a831af Merge pull request #225 from micmac1/baresip
baresip: fix build failure on 32bit x86 targets
2017-12-12 12:04:18 +01:00
Jiri Slachta e437635432 Merge pull request #224 from lynxis/rb_kamailio
kamailio-5.x: remove build timestamp
2017-12-08 08:53:54 +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
Alexander Couzens 2e291359c8 kamailio-5.x: remove build timestamp
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-07 15:06:24 +01:00
Jiri Slachta 37603d22fb Merge pull request #223 from lynxis/rb_asterisk
asterisk: reproducible builds
2017-12-07 06:40:40 +01:00
Alexander Couzens 126afbfd2e asterisk-chan-sccp: remove BUILD_USER BUILD_DATE
Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:27:24 +01:00
Alexander Couzens 2ac545a480 asterisk-15.x: remove build timestamp
Build timestamps prevent reproducible builds [0].
Thanks to debian for the patch

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:27:24 +01:00
Alexander Couzens 761ac5c833 asterisk-13.x: remove build timestamp
Build timestamps prevent reproducible builds [0].
Thanks to debian for the patch.

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-06 21:26:15 +01:00
Jiri Slachta 8244f2af61 Merge pull request #222 from lynxis/github_template
copy .github/templates from package feed
2017-12-06 09:11:39 +01:00