asterisk/build_tools
George Joseph 6caf6bcdad build: Add download capability for external packages
The DPMA and g729a, silk, siren7 and siren14 codecs hosted at
http://downloads.digium.com/pub/telephony/ are now listed in the
"External" sections of the "Resource Modules" and "Codec Translators"
pages in menuselect.  Any that are selected will automatically be
downloaded and installed when "make install" is run.  Their LICENSE and
README (if avaialble) files will be installed to
ASTVARLIBDIR/documentation/thirdparty/<product_name>.

Example use with codecs:

The codecs/codecs.xml file is a menuselect style xml file that lists
the codecs to be included.  Their support levels are 'external', which
triggers the download and install, and defaultenabled is no.  Also
because codec_g729a is actually in a directory named codec_g729 on the
download server, the newly added 'member_data' element is used to
override the default of the directory name being the package name.  You
can use the 'directory_name' attribute to keep default base URL
(http://downloads.digium.com/pub/telephony/) but use the new directory,
or you use the 'remote_url' attribute to specify a full URL to the
download directory.  In this case, you must still follow the same
subdirectory naming conventions as that used for the packages located
at 'http://downloads.digium.com/pub/telephony'.

A new configure option '--with-externals-cache' was added and like
'--with-sounds-cache' it allows the installer to cache tarballs so
they're not downloaded every time.

To assist with the download and install process, each external package
now has a manifest.xml file that, among other things, contains a package
version and checksums for each file in the tarball.  The manifest is
saved to both the cache directory and ASTMODDIR and together with the
manifest.xml on the downloads site, tells the install scripts whether
a download and/or update is needed.

bash and xmlstarlet are required for downloader operation.  If they're
not installed, the external items in menuselect will be unavailable.

Change-Id: Id3dcf1289ffd3cb0bbd7dfab3cafbb87be60323a
2016-09-06 10:39:28 -05:00
..
.gitignore Add .gitignore and .gitreview files 2015-04-11 19:43:43 -06:00
cflags-devmode.xml Refactor operations to access the stasis cache instead of objects directly when retrieving information. 2013-07-08 19:19:55 +00:00
cflags.xml build_system: Split COMPILE_DOUBLE from DONT_OPTIMIZE 2016-03-13 15:11:39 -06:00
download_externals build: Add download capability for external packages 2016-09-06 10:39:28 -05:00
embed_modules.xml Change the internal name of the menuselect options that are used to control 2011-10-14 21:37:51 +00:00
find_missing_support_level Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
get_documentation remove empty awk pattern (//) 2009-10-28 20:50:52 +00:00
get_documentation.py Add AMI event documentation 2012-06-25 17:59:34 +00:00
get_makeopts Merged revisions 139909 via svnmerge from 2008-08-25 21:32:10 +00:00
get_moduleinfo res_pjsip_dlg_options: Fix MODULEINFO section. 2015-05-02 02:22:31 -05:00
install_subst install_subst: helper script for installing with path substitution 2014-02-14 08:52:07 +00:00
list_valid_installed_externals build: Add download capability for external packages 2016-09-06 10:39:28 -05:00
make_build_h Merged revisions 260801 via svnmerge from 2010-05-04 15:49:57 +00:00
make_buildopts_h Build System: Prevent unneeded changes to asterisk/buildopts.h. 2015-04-29 04:03:00 -04:00
make_check_alembic Build System: Add support for checking alembic branches. 2016-01-21 17:15:35 -06:00
make_defaults_h Address OpenSSL initialization issues when using third-party libraries. 2012-01-30 21:21:16 +00:00
make_linker_eo_script give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded 2007-02-22 02:36:00 +00:00
make_linker_version_script Clean up Makefile "warning" clutter when makeopts doesn't exist. 2013-04-08 18:24:50 +00:00
make_sample_voicemail Merged revisions 299907 via svnmerge from 2010-12-29 18:24:19 +00:00
make_version build: Add download capability for external packages 2016-09-06 10:39:28 -05:00
make_version_c Fix cli display of build options. 2015-11-04 09:15:51 -05:00
menuselect-deps.in build: Add download capability for external packages 2016-09-06 10:39:28 -05:00
mkpkgconfig build_tools/mkpkgconfig: Fix Cflags concatenation error in asterisk.pc 2015-01-14 15:40:31 +00:00
post_process_documentation.py build_tools: Skip managerEvent combining for AMI action responses 2014-08-07 03:04:49 +00:00
prep_tarball Update prep_tarball with new documentation files on the Asterisk wiki 2013-09-18 17:23:49 +00:00
sha1sum-sh Add an sha1sum-workalike for platforms which don't have it (like Mac OS X) 2010-05-18 22:49:13 +00:00