~ubuntu-branches/ubuntu/karmic/asterisk/karmic

« back to all changes in this revision

Viewing changes to debian/patches/disable-build-sum

  • Committer: Bazaar Package Importer
  • Author(s): Faidon Liambotis, Tzafrir Cohen, Faidon Liambotis
  • Date: 2007-12-06 17:20:21 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20071206172021-pd0wrjirz3os7hia
Tags: 1:1.4.15~dfsg-1
* New upstream release (Closes: #452054)
  - Fix a potential corrupt of voicemail.conf on simultaneous PIN updates
    (Closes: #353227)

[ Tzafrir Cohen ]
* Add some sample/reference config files as documentation.
* Provide asterisk-bristuff for upgrading from Etch.
* Move libc-client to not be last, so debian/backports/xorcom.etch would
  still work.

[ Faidon Liambotis ]
* Really enable the libcap/ToS functionality; the previous patch didn't
  enable the functionality, even though the code and the libcap.so
  dependency were there. (Closes: #454342)
* Fix a minor issue with init script's stop target when running with
  safe_asterisk.
* Add chan_vpb, adding support for VoiceTronix OpenSwitch and OpenLine
  cards. (Closes: #396499)
* Fix debian/watch by using a pkg-voip wrapper to avoid upstream's silly
  redirections. (Closes: #449706)
* Use DEBVERSION as asterisk's version string.
* Disable the MD5 build sum that breaks all out-of-tree plugins (duh!).
* Create /usr/local/share/asterisk/sounds to put all site-specific
  non-modifiable sounds.
* Add a note about bugs.debian.org to the banner.
* Add noload for res_config_* since loading them results in errors and
  doesn't provide any functionality.
* News entries were added but we never shipped the file; ship NEWS.Debian.
* Add an entry to NEWS.Debian warning users about app_voicemail_*.so
  (Closes: #452596)
* Provide options in /etc/default/asterisk for configuring safe_asterisk.
  (Closes: #381786)

[ Tzafrir Cohen ]
* Provide a custom sounds directory under /var/lib - user-modifieble at
  runtime and hence not under /usr. (Closes: #337209)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Disable the MD5 build sum check that breaks all out-of-tree plugins.
 
2
It's not a change it should be done on a stable release, anyway...
 
3
 
 
4
Leave the field in the struct and the macro that generates it however so
 
5
that we can be both backward and forward API/ABI compatible.
 
6
 
 
7
 -- Faidon Liambotis <paravoid@debian.org>
 
8
 
 
9
--- a/main/loader.c
 
10
+++ b/main/loader.c
 
11
@@ -76,8 +76,6 @@ static unsigned char expected_key[] =
 
12
 { 0x87, 0x76, 0x79, 0x35, 0x23, 0xea, 0x3a, 0xd3,
 
13
   0x25, 0x2a, 0xbb, 0x35, 0x87, 0xe4, 0x22, 0x24 };
 
14
 
 
15
-static char buildopt_sum[33] = AST_BUILDOPT_SUM;
 
16
-
 
17
 static unsigned int embedding = 1; /* we always start out by registering embedded modules,
 
18
                                      since they are here before we dlopen() any
 
19
                                   */
 
20
@@ -615,13 +613,6 @@ static unsigned int inspect_module(const
 
21
                return 1;
 
22
        }
 
23
 
 
24
-       if (!ast_strlen_zero(mod->info->buildopt_sum) &&
 
25
-           strcmp(buildopt_sum, mod->info->buildopt_sum)) {
 
26
-               ast_log(LOG_WARNING, "Module '%s' was not compiled with the same compile-time options as this version of Asterisk.\n", mod->resource);
 
27
-               ast_log(LOG_WARNING, "Module '%s' will not be initialized as it may cause instability.\n", mod->resource);
 
28
-               return 1;
 
29
-       }
 
30
-
 
31
        return 0;
 
32
 }
 
33