dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

20 Commits

Author SHA1 Message Date
seanbright d5dcd2feb8 Fix a few build problems on Solaris (and check for an md5 utility in
configure instead of the icky loop I was doing before).

(closes issue #13842)
Reported by: snuffy
Patches:
      bug13842_20081106.diff uploaded by snuffy (license 35)
      13842.diff uploaded by seanbright (license 71)
Tested by: snuffy


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157600 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-19 00:27:45 +00:00
seanbright 842cb2a3a4 This is far from optimal, but I just found a FreeBSD system without
md5 installed on it.  So look around for all of the different binaries
that we could possibly use.  I'd wager this gets completely replaced
by someone else in less than 24 hours... :)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146407 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-05 01:59:14 +00:00
seanbright de89861390 Quote the arguments to grep so that sh on various platforms doesn't choke
on the special characters (like ^).

(closes issue #13417)
Reported by: dougm
Patches:
      13417.make_buildopts_h.patch uploaded by seanbright (license 71)
Tested by: dougm


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@141682 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-08 17:13:04 +00:00
russell b0a1f90960 Store build-time options as a string in AST_BUILDOPTS in buildopts.h. Also,
display this information in the "core show settings" CLI command.  This is
useful if you want to verify that you're running a build with DONT_OPTIMIZE,
DEBUG_THREADS, etc.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117756 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-22 13:40:52 +00:00
twilson f12eb74241 Replace minimime with superior GMime library so that the entire contents of an http post are not read into memory.
This does introduce a dependency on the GMime library for handling HTTP POSTs, but it is available in most distros.

If the library is present, then the compile flag for ENABLE_UPLOADS is enabled by default in menuselect.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109229 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17 22:10:06 +00:00
murf d3cbf26799 closes issue #11287; thanks to snuffy for this fix, which will surely make all solaris owners shout praises to his name.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94319 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-20 22:28:35 +00:00
kpfleming 7c35bb6a7f switch compile-time option checking to string storage mode in this branch too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-20 19:28:10 +00:00
file 841a8265b9 Add OSX into the logic that uses md5 instead of md5sum.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89399 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 21:50:58 +00:00
russell 85a28052d3 actually let this compile, oops :(
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:09:42 +00:00
russell 21b6d95750 Use the fix suggested by Tilghman on the -dev to make cutting up the BUILDSUM
friendly to non-bash shells.  I think this should work for BSD/mingw as well,
but did not yet remove the switch statement.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89359 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:07:57 +00:00
rizzo 5053d21bad this script is run on the build system, not on the host.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89353 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 02:54:23 +00:00
rizzo 9062f796e7 both md5sum and variable substitutions such as ${BUILDSUM:0:8}
are not available in FreeBSD.
For the time being, put in a workaround so we can build the system,
and wait for the result of the discussion on whether we can store
the md5 as a string rather than 4 ints (if so, we won't need more
complex tricks with awk or sed for splitting the md5).

1.4 will be fixed when we decide the issue.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89328 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 18:48:15 +00:00
kpfleming 3dc676ceb8 Merged revisions 89325 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89325 | kpfleming | 2007-11-16 10:47:46 -0600 (Fri, 16 Nov 2007) | 4 lines

To help combat problems where people build external modules (asterisk-addons or others) and then change the build options of the Asterisk build in a way that makes the incompatible without warning, this commit introduces an MD5 signature of the important build-time options and includes that signature into modules when they are built. When the loader loads one of these modules and notices the problem, it will emit a warning to console and refuse to initialize the module, as doing so could cause the system to be unstable or even crash.

If you upgrade to this version of Asterisk, you must rebuild *all* of your modules that came from other sources before trying to run this version. If you are using Digium's G.729 binary codec module, you will need v33 or newer.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89326 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-16 16:56:59 +00:00
qwell 6203f85f62 Merged revisions 80330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines

Fix a few build issues in Solaris (and likely others).

Use GREP and ID variables from autoconf.

Reported to me in #asterisk-dev
I forgot who reported this - sorry. :(

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80331 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22 18:54:30 +00:00
kpfleming e64f1d801e when we are building modules that other modules depend on, create preprocessor defines (in buildopts.h) marking that those modules were built
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70794 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 19:08:09 +00:00
russell acddd1bef6 Merged revisions 58931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines

Merge changes from svn/asterisk/team/russell/LaTeX_docs.

* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@58932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15 22:29:45 +00:00
qwell 8b8693b5da This is a bit safer on some versions of sed.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41026 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 00:52:19 +00:00
russell d59e49c0b5 fix the build with astmm (issue #7139)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27023 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 21:24:54 +00:00
russell 4f86c0eabf forcing a dist-clean in the cleantest was a bad idea. Just change the script
that generates buildopts.h to handle old menuselect.makeopts files


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 10:28:37 +00:00
russell 26a2b7c6d5 change the CFLAGS controlled by menuselect to be placed in a header file
instead of being added to the compiler commands.  This header file will be
installed and modules built outside of the main tree will be able to use the
same build options used to build the rest of Asterisk.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26808 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 09:50:41 +00:00