Archived
14
0
Fork 0
Commit graph

527 commits

Author SHA1 Message Date
qwell
ab06baf0e6 Merged revisions 141741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r141741 | qwell | 2008-09-08 15:15:42 -0500 (Mon, 08 Sep 2008) | 8 lines

Remove RPM package targets from Makefile (and all associated parts).
This has never worked in 1.4, and we decided that it makes no sense to be done here.
There are many distros out there that already have "proper" spec files that can be (re)used.

Closes issue #13113
Closes issue #10950
Closes issue #10952

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@141745 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-08 20:18:17 +00:00
russell
b7a906c9c5 Fix building menuselect-tree with PRINT_DIR set. We _must_ use the --quiet
flag here, or else some arbitrary text will end up in the resulting
menuselect-tree file and things will explode.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@140169 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-26 18:11:49 +00:00
tilghman
418c56e5d6 Optional light colored background, for those who use black on white terminals.
(closes issue #13306)
 Reported by: Corydon76
 Patches: 
       20080814__bug13306__3.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76, pkempgen


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@139981 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-25 23:13:32 +00:00
qwell
a5a1205921 Remove option that isn't valid here.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138631 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-18 15:54:07 +00:00
russell
27f372f2af Make PRINT_DIR work as advertised.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137239 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-11 16:14:29 +00:00
tilghman
24dbdf83ca Rename Mandrake scripts to Mandriva
(Closes issue #13221)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135485 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-04 17:12:15 +00:00
kpfleming
c874d37df5 Merged revisions 134352 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r134352 | kpfleming | 2008-07-30 10:29:17 -0500 (Wed, 30 Jul 2008) | 2 lines

use the proper method for building version.h

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134355 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30 15:32:14 +00:00
tilghman
58e599d7e9 Minor changes to reduce packaging changes made by the Fedora maintainer.
(closes issue #12974)
 Reported by: jcollie
 Patches: 
       0001-Don-t-override-duplicate-optimization-flags.patch uploaded by jcollie (license 412)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134312 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-29 23:00:45 +00:00
tilghman
3635a9497d Build the logrotate script according to paths
(Closes issue #13147)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133400 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-24 05:21:00 +00:00
tilghman
58c99ecfe6 Optionally install logrotate file
(Closes issue #13148)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@133391 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-24 04:51:42 +00:00
twilson
0d0d1cb356 Move phoneprov config files to be installed with 'make samples' so changes aren't inadvertently lost on a 'make install'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@129738 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-10 20:56:20 +00:00
kpfleming
c5397c46c7 Merged revisions 127892,127895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r127892 | kpfleming | 2008-07-03 17:18:38 -0500 (Thu, 03 Jul 2008) | 6 lines

a couple of small Solaris-related fixes

(closes issue #11885)
Reported by: snuffy, asgaroth


........
r127895 | kpfleming | 2008-07-03 17:20:16 -0500 (Thu, 03 Jul 2008) | 3 lines

remove this, it has been moved to the main Makefile


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127903 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03 22:23:04 +00:00
qwell
fdf4a35947 Fix a typo that caused this asterisk.conf to not get correctly generated.
(closes issue #12966)
Reported by: ibc
Patches:
      12966.patch uploaded by bkruse (license 132)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-01 20:51:43 +00:00
kpfleming
cc094bb8e1 fix silly syntax error
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126154 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-28 14:56:56 +00:00
kpfleming
b480a0255a add message when no UI for menuselect is present
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126153 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-28 14:46:08 +00:00
kpfleming
e97a7cce7f use batch-mode (no user interface) menuselect for --check-deps operations
move automatic user interface selection for menuselect to this Makefile



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126152 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-28 14:34:07 +00:00
tilghman
d9cd752b99 Push relatively unused compiler options down the list, keeping the popular options at the top.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125796 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-27 14:08:38 +00:00
jpeeler
490730a6b3 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122234 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12 17:27:55 +00:00
tilghman
0a568addd8 Move compatibility options into asterisk.conf, default them to on for upgrades,
and off for new installations.  This includes the translation from pipes to commas
for pbx_realtime and the EXEC command for AGI, as well as the change to the Set
application not to support multiple variables at once.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@120171 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-03 22:05:16 +00:00
tilghman
24584b459e Merged revisions 115312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115312 | tilghman | 2008-05-05 15:17:55 -0500 (Mon, 05 May 2008) | 2 lines

Reverse order, such that user configs override default selections

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115313 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05 20:22:08 +00:00
russell
2049774232 Merged revisions 114278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114278 | russell | 2008-04-18 15:01:09 -0500 (Fri, 18 Apr 2008) | 2 lines

ensure directories are created before we try to install stuff into them

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114279 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 20:01:47 +00:00
russell
d54a6d5827 Merged revisions 114275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114275 | russell | 2008-04-18 14:58:55 -0500 (Fri, 18 Apr 2008) | 2 lines

SUBDIRS_INSTALL is already listed as a subtarget for bininstall

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114276 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 19:59:17 +00:00
russell
34c9a24433 Merged revisions 114204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114204 | russell | 2008-04-17 11:23:45 -0500 (Thu, 17 Apr 2008) | 3 lines

Fix the bininstall target to install from subdirs, as well.
(closes issue AST-8, patch from bmd at switchvox)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114205 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 16:25:29 +00:00
russell
feb7712320 Ensure configure gets run on a clean checkout.
(closes issue #12197)
Reported by: juggie
Patches:
      12197.diff uploaded by juggie (license 24)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111998 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-31 17:14:58 +00:00
juggie
9fbede4952 revert something dumb, because i was running svn diff in a subfolder not the root of trunk, before doing my commit and did not see it
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110930 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 17:28:49 +00:00
juggie
fdce67d61a update documentation to reflect the changes in the way configure detects net-snmp.
(closes issue #12067)
Reported by: juggie
Patches:
      12067_snmp_doc.patch uploaded by juggie (license 24)
Tested by: juggie


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110911 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 17:24:54 +00:00
file
3eb4aac765 Merged revisions 110628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r110628 | file | 2008-03-25 11:37:35 -0300 (Tue, 25 Mar 2008) | 4 lines

Add an option (transmit_silence) which transmits silence during both Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases.
(closes issue #10058)
Reported by: tracinet

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110629 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-25 14:39:45 +00:00
qwell
425f17c8b2 Merged revisions 109973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r109973 | qwell | 2008-03-19 12:12:52 -0500 (Wed, 19 Mar 2008) | 5 lines

People report bugs about Asterisk crashing with DO_CRASH enabled was getting a little silly...

Now we only show certain cflags when you run configure with --enable-dev-mode
(corresponding menuselect change to follow)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109974 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19 17:15:14 +00:00
twilson
9e8ebe6a94 Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
actual problems, per se.  I also added format attributes to any printf wrapper functions I found that didn't have them.  -Wsecurity and -Wmissing-format-attribute added to --enable-dev-mode.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109447 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 15:43:34 +00:00
kpfleming
853e85fe76 don't define Zaptel features as libraries, they aren't, and we don't want '--with-zaptel-<foo>' configure options for them
also some minor cleanups


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109166 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-17 17:31:46 +00:00
russell
fceca972ee Make sure configure is run before menuselect on a clean checkout
(closes issue #12197)
Reported by: juggie
Patches:
      12197.diff uploaded by juggie (license 24)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108799 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14 20:14:06 +00:00
qwell
be3bfd73ff Add a cmenuselect/cmenuconfig, to force curses.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106250 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 23:21:52 +00:00
russell
3204730ab2 Add the nmenuselect makefile targets. This is a newt menuselect interface which
was written by seanbright.  It is much sexier than my curses one.  :)

(issue #12139)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106240 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 22:50:00 +00:00
russell
808bb845c5 Re-add the automatically generated version.h, so that modules can include for
making build time decisions for cross asterisk version compatibility


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104245 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 20:19:03 +00:00
qwell
5485ea4bcc Merged revisions 104141 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104141 | qwell | 2008-02-26 12:26:12 -0600 (Tue, 26 Feb 2008) | 1 line

Add badshell to .PHONY target (thanks Kevin)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104142 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 18:27:08 +00:00
qwell
c573421645 Merged revisions 104139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104139 | qwell | 2008-02-26 12:09:13 -0600 (Tue, 26 Feb 2008) | 2 lines

Since all shells aren't as awesome as bash, we have to fail if somebody tries to use a literal "~" in DESTDIR.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104140 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 18:10:20 +00:00
russell
632edc61f9 Merged revisions 100922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100922 | russell | 2008-01-29 11:21:33 -0600 (Tue, 29 Jan 2008) | 3 lines

Use GNU make magic instead of shell magic to escape spaces in the working directory.
(related to issue #11834)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100928 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:22:47 +00:00
russell
1ab33dc185 Merged revisions 100882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100882 | russell | 2008-01-29 11:06:43 -0600 (Tue, 29 Jan 2008) | 6 lines

Fix building Asterisk when the working path has spaces in it.

(closes issue #11834)
Reported by: spendergrass
Patched by: me

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100900 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-29 17:16:34 +00:00
tilghman
9ed2967713 Use the set ASTDBDIR as the default, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100307 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24 22:58:10 +00:00
qwell
8bbcdbc2f3 Add several busy detection related defines to menuselect.
Allow better busy detect debugging (with BUSYDETECT_DEBUG).

Remove very old BUSYDETECT and BUSY_DETECT_MARTIN defines.

(closes issue #11107)
Patches:
      busydetect_enhancement.patch uploaded by agx (license 298)
      busydetect-r94975.diff uploaded by sergee (license 138)

Additional changes/cleanup by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98998 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 20:51:26 +00:00
qwell
0313a5412f Add logging for 'make update' command (also fixes updates in some places). Issue #11766, initial patch by jmls.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98968 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 18:06:14 +00:00
twilson
11f6af8c7b Added a new module, res_phoneprov, which allows auto-provisioning of phones
based on configuration templates that use Asterisk dialplan function and
variable substitution.  It should be possible to create phone profiles and
templates that work for the majority of phones provisioned over http. It
is currently only intended to provision a single user account per phone.
An example profile and set of templates for Polycom phones is provided.
NOTE: Polycom firmware is not included, but should be placed in
AST_DATA_DIR/phoneprov/configs to match up with the included templates.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97634 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 21:37:26 +00:00
russell
c25a66aadc If the HTML documentation exists, install it in the static-http/docs directory
so that it can be viewed through the Asterisk http server if it is turned on.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96887 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07 17:09:23 +00:00
russell
ab908a2a8b Now that the version.h file was getting properly regenerated every time the svn
revision changed, every module that used the version was getting rebuilt after
every svn update.  This severly annoyed me pretty quickly, so I have improved
the situation.

Now, instead of generating version.h, main/version.c is generated.  version.c
includes the version information, as well as a couple of API calls for modules
to retrieve the version.  So now, only version.c will get rebuilt, and the main
asterisk binary relinked, which is must faster than rebuilding http.c, manager.c,
asterisk.c, relinking the asterisk binary, chan_sip.c, func_version.c, res_agi ...

The only minor change in behavior here is that the version information reported by
chan_sip, for example, is the version of the Asterisk core, and not necessarily the
Asterisk version that the chan_sip module came from.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96717 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-05 22:09:06 +00:00
kpfleming
4aa174283d we have to *always* use a completely silent 'make' invocation for generating the module embedding rules
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96398 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 23:14:15 +00:00
kpfleming
d16144aac4 there was no reason to add this define for non-Solaris platforms
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96397 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 23:01:53 +00:00
kpfleming
2733c4c4a6 add some simple infrastructure for modules to be used for testing parts of Asterisk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96272 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-03 20:04:30 +00:00
russell
3377f3a6cd Merged revisions 94789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r94789 | russell | 2007-12-26 11:00:03 -0600 (Wed, 26 Dec 2007) | 5 lines

List include/asterisk/version.h as a .PHONY target because we want the commands
listed for this target to be executed regardless of whether the file exists or
not.  This fixes having the version not up to date when running from svn.
(closes issue #11619, reported by plack, fixed by me)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94792 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 17:07:55 +00:00
rizzo
468d95b231 Two small changes:
+ document the difference between "A=foo make ..." and "make A=foo ..."
  and suggest using COPTS/LDOPTS if you need to use the second form to
  pass compiler and loader flags;

+ define only in one place the environment used to build stuff in menuselect/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-18 08:20:17 +00:00
kpfleming
6eb087c2b3 make using PRINT_DIR a little easier
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93191 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-17 16:48:01 +00:00