Skip to content
Snippets Groups Projects
  1. Mar 09, 2018
  2. Mar 03, 2018
  3. Mar 02, 2018
  4. Feb 16, 2018
  5. Feb 14, 2018
  6. Feb 12, 2018
    • Corey Farrell's avatar
      core: Remove embedded editline. · 9fddc8b4
      Corey Farrell authored
      This removes the embedded copy of editline from the Asterisk source
      tree, making a system copy of libedit mandatory in Asterisk 16+.
      
      ASTERISK-27634 #close
      
      Change-Id: Iedb64ad92acb78419f3caefedaa2bb7cd2a1a33f
      9fddc8b4
  7. Jan 25, 2018
  8. Jan 20, 2018
  9. Jan 17, 2018
    • Alexander Traud's avatar
      BuildSystem: In OpenBSD, xmlstarlet is xml. · 7e7a2064
      Alexander Traud authored
      ASTERISK-27593
      
      Change-Id: I1c7087f7f7582e40b3312c690d912c9a86466805
      7e7a2064
    • Alexander Traud's avatar
      BuildSystem: Detect external library Lua in version 5.3. · 8f31b702
      Alexander Traud authored
      On some platforms, you decide to go for one specific version of Lua, for
      example in OpenBSD. On other platforms, you are able to install several versions
      side-by-side, for example in Ubuntu and Fedora. Asterisk already works with
      Lua 5.3. Asterisk failed to detect Lua 5.3 on those platforms which allow
      several versions.
      
      ASTERISK-27592
      
      Change-Id: If7a4b395d844a464e9a1f4f626c5bff4ee67eed8
      8f31b702
  10. Jan 15, 2018
  11. Jan 06, 2018
    • Alexander Traud's avatar
      BuildSystem: Really do not pass unknown-warning options to the compiler. · 512286e3
      Alexander Traud authored
      When an older GCC version is called with a too new warning option, GCC exited
      with an error and Asterisk was not built. Therefore, the configure script tests
      the installed compiler whether it supports that warning option. If not, Asterisk
      does not pass it to the installed compiler. However, some compilers (like clang)
      do not exit (error) but give just a warning in such a case. Because the compiler
      did not exit, Asterisk passed the unknown-warning option.
      
      ASTERISK-27560
      
      Change-Id: Ia9b7747f649b27ff5e9f75c3db3fee4fe7a29621
      512286e3
  12. Jan 05, 2018
    • Alexander Traud's avatar
      BuildSystem: Find ptlib-config on Debian/Ubuntu. · af064eaf
      Alexander Traud authored
      The current configure script requires that tool when libpt-dev is installed.
      libpt-dev was installed by libopenh323-dev, bacause you wanted to go for H.323
      based channel drivers.
      
      ASTERISK-25329
      
      Change-Id: I9c6ab78b7246c21536e1d252dcbffe682f63f83d
      af064eaf
  13. Nov 28, 2017
  14. Nov 20, 2017
  15. Nov 19, 2017
    • Corey Farrell's avatar
      Build: Fix OSX build issues. · b4f7f825
      Corey Farrell authored
      OSX does not support 'readlink -f' or 'sed -r'.  Replace readlink with
      the GNU make macro 'realpath'.  Replace sed with grep in one place, cut
      in the other.
      
      ASTERISK-27332
      
      Change-Id: I5d34ecca905384decb22ead45c913ae5e8aff748
      b4f7f825
  16. Nov 10, 2017
    • Corey Farrell's avatar
      Build: Make function constructor/destructor attributes mandatory. · e9f8b317
      Corey Farrell authored
      This change causes the configure script to fail if the C compiler does
      not support both function attributes constructor and destructor.  These
      were already required as modules cannot function without these attributes
      and Asterisk requires modules.
      
      This also has AST_GCC_ATTRIBUTE set a variable
      ax_cv_have_func_attribute_$1.  This is the same variable name used by
      autoconf-archive's AX_GCC_FUNC_ATTRIBUTE, used for the same purpose.
      
      Change-Id: Id68e8a1447f2a6d707c54b56350e7bfdb33fb663
      e9f8b317
  17. Nov 06, 2017
    • Corey Farrell's avatar
      configure: Add autoconf check for libopusfile. · 4013bfa5
      Corey Farrell authored
      This check is being added to make it easier for end-users of third party
      open source Opus modules.  This was removed by ASTERISK-26426 but only
      the module needed to be removed.
      
      Change-Id: I62b9cd0c4fa8a77596ab0e042948a643a1152677
      4013bfa5
  18. Oct 25, 2017
    • Corey Farrell's avatar
      Build System: Fix --disable-xmldoc option. · 5553adb8
      Corey Farrell authored
      The configure option to disable XML documentation does not currently
      work.  This patch makes it effective, but also causes an ABI change by
      removing the ast_xmldoc_* symbols.  Disabling xmldoc also prevents docs
      from being automatically generated, but they can still be manually
      generated with 'make doc/core-en_US.xml'.
      
      ASTERISK-26639
      
      Change-Id: Ifac562340c09f80c83e0203de098fcac93bf8c44
      5553adb8
  19. Oct 20, 2017
  20. Oct 18, 2017
  21. Oct 06, 2017
    • Matt Jordan's avatar
      res_corosync: Fix linking issue with Corosync 2.x · f4798faa
      Matt Jordan authored
      At some point in time in the history of Corosync (certainly within the
      2.x branch), the corosync_cfg_state_track function was removed.
      Unfortunately, the cfg library is only linked if this function is
      present. Without the cfg library being linked to res_corosync, loading
      of res_corosync will fail.
      
      This patch makes it so that detecting corosync's core libraries,
      determined by the COROSYNC external library checks, links both the cpg
      and cfg libraries with res_corosync.
      
      Change-Id: I674e9e1c8fea11c3bf81154aaa7c1fd43f945465
      f4798faa
  22. Aug 08, 2017
    • George Joseph's avatar
      Make --with-pjproject-bundled the default for Asterisk 15 · 305bd0d9
      George Joseph authored
      '--with-pjproject-bundled' is now the default when running
      ./configure. It can be disabled with '--without-pjproject-bundled'.
      
      To make building without an internet connection easier, a new
      ./configure option '--with-download-cache' was added that sets
      the cache for externals (like pjproject, the codecs and the DPMA),
      AND the sounds files.  It can also be specified as an environment
      variable named "AST_DOWNLOAD_CACHE".  The existing
      '--with-sounds-cache' option / SOUNDS_CACHE_DIR env variable and
      '--with-externals-cache' option / EXTERNALS_CACHE_DIR env variable
      remain and if specified, will override '--with-downloads-cache'.
      
      ASTERISK-27189
      
      Change-Id: Ifa9783fddf44aafadb060c9feba713dfa81d38ce
      305bd0d9
  23. Aug 03, 2017
    • Tzafrir Cohen's avatar
      Support GMIME 3.0 · 123c93a7
      Tzafrir Cohen authored
      Support building the Asterisk httpd with version 3.0 of gmime as
      well as earlier versions of that library.
      
      ASTERISK-27173
      
      Change-Id: I7e13dd05a3083ccb0df2dabf83110223f6a9fa8f
      123c93a7
  24. Aug 02, 2017
  25. Jul 20, 2017
  26. Jun 30, 2017
    • George Joseph's avatar
      pjproject_bundled: Allow passing configure options to bundled · f573e599
      George Joseph authored
      There wasn't any good way to pass options like --host or --build
      down to the pjproject configure which makes cross-compiling difficult.
      
      * Added a new PJPROJECT_CONFIGURE_OPTS environment variable which
        can be used to pass arbitrary options to pjproject configure.
      * Automatically set the pjproject configure --host and --build
        options to match those supplied for the asterisk configure.
      
      ASTERISK-27097 #close
      Reported-by: Kinsey Moore
      
      Change-Id: I5fa776e110262851173002a26ffe1172e4c35b2e
      f573e599
  27. Jun 08, 2017
    • David M. Lee's avatar
      CFLAGS for BIND8 support · fcb1a0d7
      David M. Lee authored
      Some systems (like macOS) require BIND_8_COMPAT to be defined so that
      the nameser libraries are, well, BIND8 compatible.
      
      Change-Id: If79fc27a64f90de1835b5aa3aadfa9be22bd16b0
      fcb1a0d7
  28. Jun 07, 2017
  29. May 26, 2017
    • Sean Bright's avatar
      res_srtp: Add support for libsrtp2 · 1f136fe8
      Sean Bright authored
      ASTERISK-25294 #close
      Reported by: Tzafrir Cohen
      
      ASTERISK-26976 #close
      Reported by: Alex
      
      Change-Id: I789b1c3d1ed31365bbd9339fa58ef36f48833c40
      1f136fe8
  30. Apr 24, 2017
    • Sean Bright's avatar
      core: Use eventfd for alert pipes on Linux when possible · 59203c51
      Sean Bright authored
      The primary win of switching to eventfd when possible is that it only
      uses a single file descriptor while pipe() will use two. This means for
      each bridge channel we're reducing the number of required file
      descriptors by 1, and - if you're using timerfd - we also now have 1
      less file descriptor per Asterisk channel.
      
      The API is not ideal (passing int arrays), but this is the cleanest
      approach I could come up with to maintain API/ABI.
      
      I've also removed what I believe to be an erroneous code block that
      checked the non-blocking flag on the pipe ends for each read. If the
      file descriptor is 'losing' its non-blocking mode, it is because of a
      bug somewhere else in our code.
      
      In my testing I haven't seen any measurable difference in performance.
      
      Change-Id: Iff0fb1573e7f7a187d5211ddc60aa8f3da3edb1d
      59203c51
  31. Apr 05, 2017
    • George Joseph's avatar
      pjproject_bundled: Add 3 upstream patches · 01e9eaf3
      George Joseph authored
      0035-r5572-svn-backport-dialog-transaction-deadlock.patch
      0036-r5573-svn-backport-ua-pjsua-transaction-deadlock.patch
      0037-r5576-svn-backport-session-timer-crash.patch
      
      Also removed the progress bar from wget download to stdout.
      
      ASTERISK-26905 #close
      Reported-by: Ross Beer
      
      Change-Id: I268fb3cf71a3bb24283ff0d24bd8b03239d81256
      01e9eaf3
  32. Apr 03, 2017
    • Corey Farrell's avatar
      core: Improve/simplify handling of required headers. · 8e360641
      Corey Farrell authored
      * Report failures if configure finds a required header is missing.
      * Deduplicate includes between asterisk.h, astmm.h and compat.h.
      * Unconditionally include headers in compat.h if required elsewhere.
      
      Change-Id: Ie67d0185ca71fbfb81c9bdfaebe46a49e3c56dc5
      8e360641
  33. Mar 30, 2017
    • Walter Doekes's avatar
      build: Fix deb build issues with fakeroot · a7d94f50
      Walter Doekes authored
      If DESTDIR is set, don't call ldconfig. Assume that DESTDIR is used to
      create a binary archive. The ldconfig call should be delegated to the
      archive postinst script. This fixes the case where fakeroot wraps 'make
      install' causing $EUID to be 0 even though it doesn't have permission to
      call ldconfig.
      
      The previous logic in configure.ac to detect and correct libdir
      has been removed as it was not completely accurate.  CentOS 64-bit
      users should again specifiy --libdir=/usr/lib64 when configuring
      to prevent install to /usr/lib.
      
      Updated Makefile:check-old-libdir to check for orphans in
      lib64 when installing to lib as well as orphans in lib when installing
      to lib64.
      
      Updated Makefile and main/Makefile uninstall targets to remove the
      orphans using the new logic.
      
      ASTERISK-26705
      
      Change-Id: I51739d4a03e60bff38be719b8d2ead0007afdd51
      a7d94f50
  34. Mar 27, 2017
  35. Mar 14, 2017
    • Matt Jordan's avatar
      configure: Don't use the progress bar with curl when downloading to stdout · 59130260
      Matt Jordan authored
      In some scenarios, such as when there may not be a terminal (such as
      inside a Docker container), curl will apparently direct the progress bar
      to stdout. This can cause extra data to be appended to a file curl'd
      down to stdout, resulting in md5 verification failures.
      
      This patch removes the progress bar, and tells curl to download the file
      silently.
      
      ASTERISK-26872 #close
      
      Change-Id: Ie860b020f627d4372b3e7ce9453de5faafeebe6c
      59130260
Loading