summaryrefslogtreecommitdiffstats
path: root/package/asterisk
Commit message (Collapse)AuthorAgeFilesLines
* package/asterisk: fix parallel installYann E. MORIN2017-12-011-0/+35
| | | | | | | | | | Fixes: http://autobuild.buildroot.org/results/7c92fb71d0aee211c8e0ef9d646da477fd97fb4c/ http://autobuild.buildroot.org/results/2b8c810bd8775413fd4567b2f8495be70b7bb808/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/asterisk: fix parallel build/installYann E. MORIN2017-11-271-0/+32
| | | | | | | | | Fixes: http://autobuild.buildroot.org/results/7c9892b9425aff6e54b8c8942dbdcb0b26e58572 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/asterisk: fix host buildYann E. MORIN2017-09-271-5/+16
| | | | | | | | | | | | | | | | | | | The host menuselect tool is linked to our host libxml2 library, but it is missing an RPATH to the host directory. This is because menuselect does not use automake, so does not inherit the LDFLAGS from the configure run. We fix that by simply passing $(HOST_CONFIGURE_OPTS) in the make environment. At the same time, we also install the tool in the host directory, even if not used from there, so that the sanity checks we run are properly passed. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional netsnmp dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add support for PRI signallingYann E. MORIN2017-09-231-2/+10
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add support for SS7Yann E. MORIN2017-09-231-2/+9
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add support for dahdiYann E. MORIN2017-09-231-2/+7
| | | | | | | | | | | | DAHDI is the 'framework' to drive actual telehony cards. Using telephony cards without signalling is pretty much meaningless, so signalling will be added in later commits. libtonezone is provided by dhadi-tools, while the dahdi headers are provided by dahdi-linux. Go figure. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional libsrtp dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional freeradius-client dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional openldap dependencyYann E. MORIN2017-09-231-1/+7
| | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Arnout: --with-ldap, suggested by Bernd] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional libical dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional portaudio dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional libvorbis dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional speex dependencyYann E. MORIN2017-09-231-2/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional opus dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional bluez_utils dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional libogg dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional neon dependencyYann E. MORIN2017-09-231-1/+9
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional alsa-lib dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional support for opensslYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional zlib dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: add optional libgsm dependencyYann E. MORIN2017-09-231-1/+7
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: enable backtrace when availableYann E. MORIN2017-09-231-1/+6
| | | | | | | | | | | asterisk uses backtrace() from execinfo.h to print beuatiful backtraces when it fails. But execinfo is only reliably available with glibc, while it is optionbal in uClibc and completely missing in musl. So, only enable backtrace support for glibc toolchains. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/asterisk: new packageYann E. MORIN2017-09-237-0/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Asterisk: the flagship of telephony on Linux. These are the lines of code whose continuous mission is to power small and large enterprises telephony systems, to boldly provide IP PBX where no one has done so before. But it is a hell to get compiled... :-( For starters, it needs a host tool, menuselect, to prepare its build configuration. Unfortunately, the way it handles menuselect does not apply very well for cross-compilation: the main ./configure calls out to menuselect's own ./configure, and of course that runs with the same environement, which is wrong for cross-compilation (because of variables like CC, CFLAGS and the likes). Furthermore, the paths to menuselect are imbricated about everywhere in the main Makefile, so making it find menuselect in PATH is a lost cause. Instead, we just patch-out the handling of menuselect, build it as the host variant and copy it in place. Now, asterisk wants to install a default set of sound files (for answering machine stuff, I guess). They come come pre-bundled in the official archive [0], but the buildsystem will want to download (at install time) the sha1 files for each sound archive, to validate that said archive is correct. However, the download is done via plain http, so it still risks an MITM attack. And for Buildroot, it is not always possible to download at install time, so we patch-out the sha1 check. [0] http://downloads.asterisk.org/pub/telephony/asterisk/releases/ The official archive contains the sound archives plus a full set of documentation. This makes it very big. Unfortunately, the hosting site is rather slow, topping at about ~204kbps. So we get the archive from the official mirror on Github. But that archive is missing the sound archives, so we download them separately. Some tests, like the crypt() one, are broken and could not have ever possibly worked at all. Worse, the FFmpeg test is looking for headers that FFmpeg removed more than 10 years ago and are virtually no longer available in any distro. So, FFmpeg support is definitely not tested by upstream and can't possibly work at all. Finally, trying to run test-code does not work in cross-compilation. As a final stroke of genius, asterisk checks for the re-entrant variant of res_ninit(), and concludes that all such functions are available, including res_nsearch(). Uclibc-ng has the former but not the latter, so the build fails. Since there is no cache variable for that check, we can't pre-feed that result to configure, and fixing it is a bigger endeavour. So we make asterisk depend on glibc for now, until someone is brave enough to fix it. Almost all features are disabled for now. Support for additional features will be added in subsequent patches now that we have a working base. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Romain Naour <romain.naour@openwide.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Arnout: - make libilbc a mandatory dependency instead of using the bundled one; - add license, license files, and license file hashes; - minor spelling corrections; - remove redundant trailing backslash reported by check-package; - rewrap help text to 72 columns instead of 68] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> fixup
* audio: Move all audio packages into audio subdirDaniel Laird2008-09-053-113/+0
| | | | | | | | Moved all audio packages into a subdir called audio. I then created a Config.in and made sure that a audio.mk existed. Daniel Laird
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* buildroot: s/depends/depends on/Peter Korsgaard2008-06-191-3/+3
| | | | | The new kconfig is more strict regarding depends/depends on, so fixup the tree.
* Applied patch from Nathanael D. Noblet <nathanael@gnat.ca> to fixHamish Moffatt2008-03-261-2/+2
| | | | | | broken GNU download paths. Also fix gnuchess, xboard and classpath packages to use $(BR2_GNU_MIRROR) rather than hardcoded urls.
* Make asterisk depend on packets, instead of selecting themUlf Samuelsson2007-11-291-2/+5
|
* - just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer2007-10-011-4/+4
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - cleanup and fixes (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-171-13/+36
|
* Remove switches if sstrip is runUlf Samuelsson2007-08-211-1/+1
|
* Use STAGING_DIR/usr/lib instead of STAGING_DIR/libUlf Samuelsson2007-08-111-2/+2
|
* - update path. Closes #896.Bernhard Reutner-Fischer2006-12-141-1/+1
|
* - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Bernhard Reutner-Fischer2006-10-011-1/+1
| | | | | | not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
* add asterisk package per case 0000456David Anders2006-01-243-0/+88
OpenPOWER on IntegriCloud