summaryrefslogtreecommitdiff
path: root/contrib/scripts/install_prereq
AgeCommit message (Collapse)Author
2015-02-15install_prereq: Tweak flags when configuring pjproject.Joshua Colp
This change does two things: 1. Disables debugging so assertions which can return an error do, instead of asserting. 2. Enables IPv6 support. ASTERISK-24632 #close Reported by: Rusty Newton git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-01-20contrib/scripts/install_prereq: Don't install 32-bit packages on 64-bit hostsMatthew Jordan
On Debian based systems, the install_prereq tool uses a search command on Debian that results in selecting both 64-bit and 32-bit packages. Besides the waste of disk space, this can actually cause aptitude use 100% of memory on a VM with 1GB of RAM as it tried to work out all of the 32-bit package dependencies. This patch filters out the 32-bit packages on a 64-bit machine, and leaves 32-bit machines alone. ASTERISK-24048 #close Reported by: Ben Klang Tested by: Ben Klang, Matt Jordan patches: install_prereq_64-bit_compat.patch uploaded by Ben Klang (License 5876) ........ Merged revisions 430798 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-01Fix documentation replication issuesKinsey Moore
This prevents XML documentation duplication by expanding channel and bridge snapshot tags into channel and bridge snapshot parameter sets with a given prefix or defaulting to no prefix. This also prevents documentation from becoming fractured and out of date by keeping all variations of the documentation in template form such that it only needs to be updated once and keeps maintenance to a minimum. Review: https://reviewboard.asterisk.org/r/2708/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-07-24Add pjproject to install_prereq.Jason Parker
Also fixes spacing, in passing. (closes issue ASTERISK-22131) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-04-01install_prereq: Build jansson from source, when necessaryDavid M. Lee
When r383579 was committed, it made Jansson a required dependency. While libjansson-dev and jansson-devel are available on recent distros, some older (but still supported) distros don't have it. There's a pull request[1] to get it into repoforge, but that still doesn't help everyone. (And helps no one until the pull request is merged and packages are built). This patch adds Jansson install from source to the install_unpackaged() function. There are a few gotcha's, which makes this change not completely trivial. * Since Jansson may be installed by a package, don't install from source if a package installation can be found * libresample may also be installed via package, so I added a similar check to that. * Since Jansson installs into /usr/local, this patch also adds /usr/local/lib to /etc/ld.so.conf.d so that the library can be found. * The alternative was to install into /usr, but then it gets complicated having to deal with EL's /usr/lib{32,64} shenanigans. [1]: https://github.com/repoforge/rpms/pull/250 Review: https://reviewboard.asterisk.org/r/2414/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-03-25install_prereq: removed some out-of-date commentsDavid M. Lee
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@383747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-03-25install_prereq: Adding jansson-devel to RH packagesDavid M. Lee
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@383728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-01-21Add LDAP libraries to install scriptAndrew Latham
Add LDAP dev package to Debian/Ubuntu install list. Existed in Redhat already. (issue ASTERISK-20886) ........ Merged revisions 379643 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-01-16Reduce number of packages install_prereq installs on Debian systems.Jason Parker
'search' will look for any package containing the name provided, so we need to force a more exact search. ........ Merged revisions 379276 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 379277 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-01-11Add JSON API for Asterisk.David M. Lee
This provides a JSON API by pulling in and wrapping the Jansson JSON library[1]. The Asterisk API basically mirrors the Jansson functionality, with a few minor tweaks. * Some names have been asteriskified to protect the innocent. * Jansson provides both reference-stealing and reference-borrowing versions of several API's. The Asterisk API is exclusively reference-stealing for operations that put elements into arrays and objects. * No support for doubles, since we usually don't need that. * Coming along for the ride is the ast_test_validate macro, which made the unit tests much easier to write. [1]: http://www.digip.org/jansson/ (issue ASTERISK-20887) (closes issue ASTERISK-20888) Review: https://reviewboard.asterisk.org/r/2264/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-01-01Add UUID packages now required to configureAndrew Latham
In ASTERISK-20726 UUID was added to Asterisk. This commit is to add the dependancies to the install script git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-12-04Add libuuid to install_prereq for Fedora.Russell Bryant
I ran this script and my build failed. pjproject requires this. ........ Merged revisions 377195 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-10-11Append Doxygen to Debian packages listAndrew Latham
Add Doxygen to the Debian install list. I will check for other platforms like Red Hat (issue ASTERISK-20259) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-07-25Enable usage of system-provided NetBSD editline library if available.Kevin P. Fleming
This patch changes the Asterisk configure script and build system to detect the presence of the NetBSD editline library (libedit) on the system. If it is found, it will be used in preference to the version included in the Asterisk source tree. (closes issue ASTERISK-18725) Reported by: Jeffrey C. Ollie Review: https://reviewboard.asterisk.org/r/1528/ Patches: 0001-Allow-linking-building-against-an-external-editline.patch uploaded by jcollie (license #5373) (heavily modified by kpfleming) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-03-21Update install_prereq script to include missing GSM library for debian amd ↵Jonathan Rose
move SQLite3. (closes issue ASTERISK-19367) Reported by: Andrew Latham Patches: debian_install_prereq.diff uploaded by Andrew Latham (license 5985) ........ Merged revisions 360138 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 360139 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@360140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-02-08Revision 354046 added res_corosync as a replacement for res_ais, but didn'tKevin P. Fleming
actually remove res_ais. This commit removes it. In addition, the 'install_prereq' script has been updated to no longer install AIS dependency packages, and instead install Corosync packages instead. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-14Multiple revisions 350788-350789Kevin P. Fleming
........ r350788 | kpfleming | 2012-01-14 09:22:33 -0600 (Sat, 14 Jan 2012) | 8 lines Ensure that two prerequisites are properly installed on Debian-style distributions. * Don't specify a specific version of libgmime; newer versions are available now and acceptable. * Install libsrtp so that res_srtp can be built. ........ r350789 | kpfleming | 2012-01-14 09:23:32 -0600 (Sat, 14 Jan 2012) | 3 lines Correct some 'set-but-not-used' variable warnings. ........ Merged revisions 350788-350789 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 350790 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@350791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-01-24Add gsm-devel as a package to install on redhat based systems.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@303547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-01-19Merged revisions 302831 via svnmerge from Paul Belanger
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r302831 | pabelanger | 2011-01-19 18:29:45 -0500 (Wed, 19 Jan 2011) | 2 lines Add binutils-dev for BETTER_BACKTRACES ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@302832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-18Merged revisions 295404 via svnmerge from Paul Belanger
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r295404 | pabelanger | 2010-11-18 00:12:05 -0500 (Thu, 18 Nov 2010) | 2 lines Add RedHat specific dependencies ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@295405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-19Merged revisions 292343 via svnmerge from Paul Belanger
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r292343 | pabelanger | 2010-10-19 18:14:23 -0400 (Tue, 19 Oct 2010) | 2 lines Add resample and imap_tk dependencies. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@292345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-20Add a package to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-15Add lua5.1 to the handy dandy list of packages.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libjack-dev to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libpopt-dev, libical-dev, and libspandsp-dev to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libnewt-dev to install-prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libopenais-dev to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add an "install-unpackaged" command to install_prereq for installing ↵Russell Bryant
unpackaged dependencies (such as NBS and libresample). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libcurl to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add freetds-dev to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libradiusclient-ng-dev to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libbluetooth-dev to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libmysqlclient-dev to install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09Add libgtk2.0-dev to the packages list for install_prereq.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08Add the libvpb-dev package as a dependency.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08Add more packages required for building Asterisk modules.Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-26add OpenBSD to the install_prereq scriptMichiel van Baak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@208886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-25libxml2-dev is needed as well by default.Michiel van Baak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@208848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24use aptitude for debian based systemsMichiel van Baak
The function to check wether we need to install packages was using dpkg-query which was gives wrong output on Debian 5 Also, the apt-get has been replaced with aptitude because aptitude is now the preferred way to handle packages on Debian (closes issue #15570) Reported by: mvanbaak Patches: 2009072400_installprereq-aptitude.diff uploaded by mvanbaak (license 7) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@208542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12Add a script which installs every package needed for a Debian install ofTilghman Lesher
Asterisk, and includes possible support (to be contributed) for various other distributions. (closes issue #10523) Reported by: tzafrir Patches: install_prereq_2 uploaded by tzafrir (license 46) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115813 65c4cc65-6c06-0410-ace0-fbb531ad65f3