asterisk/build_tools
Richard Mudgett b0c3d288f2 build_tools: Allow Asterisk to report git SHAs in version string.
Make git more attractive for managing work-in-progress.  Especially
convenient when a potential patch set needs to be tested on multiple
platforms since one can use git to keep all the test environments in sync
independent of a subversion server.

Now the Asterisk version will show the exact git SHA5 that was used when
building (still appended by "M" if there are local modifications) from a
git clone of the Asterisk repository so the developer can more easily know
what is actually under test.

You will now get this:

  $ asterisk -V
  Asterisk GIT-1698298

Instead of this:

  $ asterisk -V
  Asterisk UNKNOWN__and_probably_unsupported

This has zero impact for those not using git with the exception of an
extra test in the configure script to gather git's path.  This is
necessary to prevent "sudo make install" from failing since git may not be
in the path in make's shell environment.

(closes issue ASTERISK-20483)
Reported by: Shaun Ruffell
Patches:
      0001-build_tools-Allow-Asterisk-to-report-git-SHAs-in-ver.patch (license #5417) patch uploaded by Shaun Ruffell
      Modified
........

Merged revisions 375189 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 375190 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 375191 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-10-18 20:13:17 +00:00
..
cflags-devmode.xml Rewrite of skinny debugging. 2012-08-07 21:58:01 +00:00
cflags.xml Update module support level on a variety of modules and compiler options 2012-08-18 01:14:42 +00: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 Merged revisions 139909 via svnmerge from 2008-08-25 21:32:10 +00:00
make_build_h Merged revisions 260801 via svnmerge from 2010-05-04 15:49:57 +00:00
make_buildopts_h Fix a few build problems on Solaris (and check for an md5 utility in 2008-11-19 00:27:45 +00: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 Ensure that linker version scripts (used for symbol export control) always exist. 2010-04-08 16:35:10 +00:00
make_sample_voicemail Merged revisions 299907 via svnmerge from 2010-12-29 18:24:19 +00:00
make_version build_tools: Allow Asterisk to report git SHAs in version string. 2012-10-18 20:13:17 +00:00
make_version_c Merged revisions 234699 via svnmerge from 2009-12-14 21:13:18 +00:00
menuselect-deps.in Enable usage of system-provided NetBSD editline library if available. 2012-07-25 12:21:54 +00:00
mkpkgconfig Address OpenSSL initialization issues when using third-party libraries. 2012-01-30 21:21:16 +00:00
post_process_documentation.py Add AMI event documentation 2012-06-25 17:59:34 +00:00
prep_tarball Fix boo-boo in prep_tarball script. 2011-11-08 13:23:27 +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