Commit graph

954 commits

Author SHA1 Message Date
Jiri Slachta
3dc2071592 Merge pull request #170 from micmac1/master
New PR: mostly Asterisk (bumps, fixes, new package too)
2017-07-24 09:47:58 +02:00
Sebastian Kemper
4509429350 net/asterisk-11.x and net/asterisk-13.x: fix ASTCFLAGS/ASTLDFLAGS
The missing backslashes prevented 'make' from picking up
ASTCFLAGS/ASTLDFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-23 19:10:39 +02:00
Sebastian Kemper
3b259d8398 freeswitch-stable: add mod_bcg729
This adds a new Makefile as this module is out-of-tree. The module
dynamically links against bcg729.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:49:47 +02:00
Sebastian Kemper
7e9c485725 net/asterisk-13.x: bump to 13.17.0
- Version bump to 13.17.0
- Remove makeopts.embed_rules as the target got removed.
- Refresh patches.
- $(STAGING_DIR)/host doesn't work anymore resulting in libxml2 host
  headers not being found. Replace with $(STAGING_DIR_HOSTPGK).
- Prevent Asterisk from adding -march=native when cross-compiling (patch
  for configure.ac).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:47:26 +02:00
Sebastian Kemper
4774e211c7 net/asterisk-11.x: compile fixes
- Refresh patches.
- $(STAGING_DIR)/host doesn't work anymore resulting in libxml2 host
  headers not being found. Replace with $(STAGING_DIR_HOSTPGK).
- Prevent Asterisk from adding -march=native when cross-compiling (patch
  for configure.ac).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:40:42 +02:00
Sebastian Kemper
afb2de7e2e net/asterisk-g72x: bump to 1.4.1
Version bump. This release was upstream-tested against bcg729 1.0.2.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:29:26 +02:00
Sebastian Kemper
535515658a libs/pjproject: prevent linking against opus
When opus is found in staging area it will be linked against, adding a
dep that is not in the Makefile. So explicity disable opus.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:25:49 +02:00
Sebastian Kemper
ac3551f723 libs/bcg729: bump to 1.0.2
Also remove the static binary from InstallDev as it's not used.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-22 16:24:58 +02:00
Jiri Slachta
1dc4faadaf Merge pull request #169 from micmac1/master
freeswitch-stable: new PR
2017-07-19 23:28:38 +02:00
Sebastian Kemper
41beae13e8 freeswitch-stable: remove BROKEN from mod_av
libffmpeg-full now includes libavresample. Make mod_av available
accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-18 22:09:18 +02:00
Sebastian Kemper
becb9d05e2 freeswitch-stable: disable mod_v8 heap snapshot by default
mod_v8 sporadically failed to build due to a segmentation fault when
generating the heap snapshot. This patch adds a switch to FreeSWITCH to
disable the snapshot and a symbol to toggle it.

Default is to not use a heap snapshot.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-16 22:05:56 +02:00
Sebastian Kemper
98232d46cb freeswitch-stable: update COPTS fixes
- Replace main COPTS fixes patch with the updated version sent upstream.
- For the above to work we need to update DEFAULT_VARS in modmake.rules
  (new patch)
- mod_pocketsphinx and mod_radius_cdr updated, no more extra COPTS fixes
  required there.
- Now zeromq gets to use fortify headers and fails (warning about GCC
  extension turns into error), so make it drop '-pedantic'.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-16 21:57:07 +02:00
Sebastian Kemper
eebb961147 freeswitch-stable: version bump
- Update to 1.6.19.
- Refresh patches.
- Fix mod_png dep.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-16 21:52:58 +02:00
guidosarducci
6fc399bb17 siproxd: use PKG_HASH and update copyright date
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-07-10 02:51:23 -07:00
Jiri Slachta
d67fb86016 Merge pull request #166 from micmac1/master
freeswitch-stable: Fix python-host.mk include
2017-07-09 20:00:50 +02:00
Sebastian Kemper
f851582d14 freeswitch-stable: Fix python-host.mk include
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 18:09:44 +02:00
Jiri Slachta
802b77d515 Merge pull request #165 from micmac1/master
freeswitch-stable: New PR
2017-07-09 14:36:07 +02:00
Sebastian Kemper
6a2be25433 freeswitch-stable: Add PKG_CONFIG_DEPENDS
Force a rebuild of freeswitch-stable on symbol change.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:22:43 +02:00
Sebastian Kemper
6401e13452 freeswitch-stable: Add more modules
- Add mod_portaudio, mod_portaudio_stream, mod_radius_cdr and mod_v8.
- mod_v8 takes some time to build and it's quite large, so only build it
  for x86_64. Users can force it on via a symbol for targets arm, i386
  and mipsel as well.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:15:39 +02:00
Sebastian Kemper
e0651d98e5 freeswitch-stable: Enable extra symbols for x86_64 target
There is no space constraint on x86_64, so enable the extra symbols for
a complete feature set.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:03:17 +02:00
Sebastian Kemper
4cfbc9c933 freeswitch-stable: Fixes for modules and libs
- Add missed dependency on libyuv to libvpx.
- Get rid of gratuitous @ in Config.in.
- Clean up Perl and Python deps.
- Fix installation paths for the ESL packages.
- Don't set ac_cv_lib_perl_perl_alloc=yes, it's not needed.
- Get rid of the build dep on erlang. Have the modules (erlang_event and
  kazoo) depend on erlang instead; they both require epmd at runtime.
- Force spandsp and pocketsphinx to use fixed point math when soft float
  support is enabled for the target device.
- Make libvpx use OpenWrt/LEDE flags, otherwhise it comes up with
  optimized flags on its own.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 13:02:09 +02:00
Sebastian Kemper
aaee4b431e freeswitch-stable: Clean up the Makefile
- Fix alphabetical sorting.
- Move some of the blocks around, e.g. move everything together that
  adds to $(CONFIGURE_ARGS), move Download define upward to the other
  defines etc.
- Replace some strings with variables, e.g. $(FIND) and $(FPIC).
- Be consistent and prefix our own variables with "FS_STABLE_".
- Remove the dev package and use Build/InstallDev instead.
- All in all this change is purely cosmetic.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-07-09 12:08:49 +02:00
guidosarducci
456d10459f siproxd: fix support for domain-specific proxies
Use lists for the config entries outbound_domain_{name,host,port}.

This permits multiple outbound proxies and fixes:
https://github.com/openwrt/telephony/issues/127

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-07-03 16:59:23 -07:00
guidosarducci
3e16420743 siproxd: update to version 0.8.2
An upstream siproxd update was released after ~5 years, with bugfixes
and new features. This package supports the new plugins and their config
options, and updates required patches.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-07-03 16:59:23 -07:00
guidosarducci
055da10ad7 siproxd: use clearer runtime file and directory names
Use more conventional, clearer naming for config and registration files.
This includes having distinct directories and specific file suffixes.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-07-03 16:59:23 -07:00
guidosarducci
84695bea0c siproxd: add shell helper function to build config file
Using the append_conf_if_set() function removes much repetitive and
error-prone code, reduces the source size by ~30%, and fixes a typo
previously uncaught.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-07-03 16:59:04 -07:00
Jiri Slachta
75aa42abb1 Merge pull request #161 from micmac1/master
freeswitch-stable: Fix perl-esl deps
2017-06-29 09:09:27 +02:00
Sebastian Kemper
438fd05db7 freeswitch-stable: Fix perl-esl deps
Like mod-perl it also needs Perl with threads support.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-28 09:18:23 +02:00
Jo-Philipp Wich
6421bb89b8 Merge pull request #160 from micmac1/master
freeswitch-stable: New PR
2017-06-27 22:21:03 +02:00
Sebastian Kemper
639072e26e freeswitch-stable: cleanup Python setup
- Rename PYTHON_PKG_DIR to PYTHON_SITE_DIR, otherwise it's confusing.
- Remove the 'sed' hacks; handle the Python setup like the Perl setup is
  already done.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-27 22:14:46 +02:00
Sebastian Kemper
fb6cc32a6a freeswitch-stable: Remove some needless variable escaping
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-27 22:07:34 +02:00
Sebastian Kemper
4938176da1 freeswitch-stable: Fix mod_pocketsphinx build
- The builds currently fail with "undefined reference" errors. Fix that
  by turning off Pulseaudio support. Also turn of Jack support in case
  that gets detected in the future.
- aarch64 fails because this arch isn't recognized by the pocketsphinx
  build system. Fix that by running autoreconf in the pocketsphinx build
  dirs.
- Fix CFLAGS while we're here.
- Add dep on libsamplerate to mod_pocketsphinx. If it gets detected it
  will be linked against, there is no switch to prevent that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-27 18:27:47 +02:00
Sebastian Kemper
40ab309b0e freeswitch-stable: Refresh patch
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-26 23:52:45 +02:00
Jiri Slachta
c2adf8eb16 Merge pull request #159 from micmac1/master
freeswitch-stable: New PR
2017-06-26 14:02:03 +02:00
Sebastian Kemper
740b5320b1 freeswitch-stable/-sounds: Use HASH instead of MD5SUM
All checksums are already SHA256, so move from MD5SUM to HASH.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-25 15:30:45 +02:00
Sebastian Kemper
42c0cabdbe freeswitch-stable: add Perl support
- add mod_perl and perl-esl.
- some patching is required to make this work.
- for the modules to find libperl, an rpath is needed, which currently
  doesn't work because of an rstrip.sh/patchelf issue. Patch sent to
  OpenWrt/LEDE devs (https://patchwork.ozlabs.org/patch/780008/)
- fix some more copts issues that became apparent with Perl enabled.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 22:25:36 +02:00
Sebastian Kemper
6a4b022ec1 freeswitch-stable: add more modules
- add b64, clearmode, cv (broken), dahdi_codec, dialplan_directory,
  event_test, event_zmq, pocketsphinx, posix_timer, random, vmd and yuv.
- some of the new modules require extra sources, so add a download
  routine for those so we can verify the checksums and prevent FreeSWITCH
  build system to download them on its own.
- add two patches to fix some issues with the new modules.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 22:04:47 +02:00
Sebastian Kemper
4aecbd082d freeswitch-stable: Misc fixes
- compile fix for mod_av added, without it the build errors out
  (warnings turned to errors). It's still labelled @BROKEN, but once
  OpenWrt's ffmpeg maintainers add libavresample to libffmpeg-full
  (PR #4490) it should work.
- disable Erlang detection if mod_erlang_event is not selected (build
  dep on Erlang unfortunately has to stay)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 21:10:04 +02:00
Sebastian Kemper
8c7cc53485 freeswitch-stable: Change Python setup
- make the use of Python conditional and drop the build dep.
- change Python LDFLAGS to the ones suggested by host python-config.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 20:54:10 +02:00
Sebastian Kemper
e6edd95bf1 freeswitch-stable: group all misc packages together
- Pull more packages into the misc group (timezones etc.)
- Change Misc generator to not force the misc handle onto packages
- Add possibility to Misc generator to tag packages as arch agnostic

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 20:31:23 +02:00
Sebastian Kemper
e43d7fef7b freeswitch-stable: use variables for paths
Use variables for frequently used paths instead of writing them out.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-24 20:20:42 +02:00
guidosarducci
ff3f6f8665 siproxd: clean up directory permissions, ownership
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-06-20 03:18:27 -07:00
guidosarducci
86615075b8 siproxd: use reasonable logging level by default
The previous default logging level is completely silent, making normal
monitoring or troubleshooting impossible. Use the sane upstream default
for logging which captures basic startup, shutdown and error messages.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-06-20 03:18:27 -07:00
guidosarducci
347cdf07bf siproxd: use standard interface names by default
Support using standard interface names and make "lan"/"wan" the defaults
for inbound/outbound SIP traffic. This change makes siproxd more portable
but preserves backwards compatibility for upgrades.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2017-06-20 03:18:27 -07:00
Jo-Philipp Wich
4dc31755a6 Merge pull request #158 from micmac1/PR
New PR for freeswitch-stable
2017-06-14 23:04:54 +02:00
Sebastian Kemper
549db43a36 freeswitch-stable: version bump
Bump to 1.6.18

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-14 23:00:03 +02:00
Sebastian Kemper
ceff7f10c9 freeswitch-stable: package cleanups
- removed xmlrpc-c todo; I compiled with external version in staging
  dir, it didn't make a difference (didn't seem to be used)
- removed swig calls as per suggestion from upstream

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-14 22:57:53 +02:00
Jiri Slachta
f297dff388 Merge pull request #157 from micmac1/PR
freeswitch-stable: new PR
2017-06-11 15:49:51 +02:00
Sebastian Kemper
d442371a44 freeswitch-stable: move examples location
Moved location of example packages from /usr/share/freeswitch/conf to
/usr/share/freeswitch/examples. It makes more sense and is also the
place where the module configuration snippets go.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:51:09 +02:00
Sebastian Kemper
eea358cfed freeswitch-stable: add symbol to allow inclusion of module examples
Some modules include example content, e.g. xml snippets, in their source
directory. Added a symbol that causes these to be included in the
packages.

Disabled by default.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-06-11 14:48:31 +02:00