- 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>
- 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>
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>
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>
- 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>
- 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>
- 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>
- 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>
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>
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>
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>
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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
- 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>
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>
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>
- 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>
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>
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>
- meant for packages where one only needs to copy files from one
directory to another
- added three new packages using the new builder (dev, fonts, images)
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>