freeze exception for zaptel 1.4.11~dfsg-2

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Sep 8 09:38:18 UTC 2008


Hi

There were a number of fixes that have acumulated in the package zaptel.
Mostly resolves module build issues with latest kernels (#493397).

Attached the diff, as obtained from:

  svn diff svn://svn.debian.org/pkg-voip/zaptel/tags/1.4.11~dfsg-1 \
    svn://svn.debian.org/pkg-voip/zaptel/trunk

Below are those changes explianed. Please let me know how to move
forward with them. 


 README.Debian                   |   16 -
 backports/etch                  |   11 
 changelog                       |   22 +
 control                         |    4 
 modulestest                     |   16 +
 patches/Makefile_fix_clean      |   17 -
 patches/Makefile_opt_level      |   27 --
 patches/bristuff                |  518 ----------------------------------------
 patches/device_class_2626       |   86 ++++++
 patches/headers_2627            |  108 ++++++++
 patches/series                  |   10 
 patches/sigcap_dacs             |   28 --
 patches/vzaphfc_proc_root_dir   |   26 ++
 patches/wctdm_fix_alarm         |   27 ++
 patches/wcte12xp_flags          |   17 +
 patches/xpp_fxo_cid_always      |   16 +
 patches/xpp_fxs_dtmf_leak       |   64 ++++
 patches/xpp_fxs_power           |   23 +
 rules                           |    7 
 source.lintian-overrides        |   56 ++++
 zaptel-source.lintian-overrides |    1 
 zaptel.dirs                     |    1 
 zaptel.doc-base.astribank       |    2 
 zaptel.doc-base.readme          |    2 
 zaptel.doc-base.zaptel.conf     |    2 
 zaptel.init                     |    3 
 zaptel.lintian                  |    1 
 zaptel.lintian-overrides        |    1 
 28 files changed, 502 insertions(+), 610 deletions(-)

Unused patches dropped
----------------------
The following patches have not been used for  quite some time, and 
keeping them is pointless:
* debian/patches/bristuff (split to subpatches)
* debian/patches/Makefile_fix_clean (adopted by upstream)
* debian/patches/Makefile_opt_level (adopted by upstream)
* debian/patches/sigcap_dacs (never really used)


Build Fixes
-----------
Patches to fix building with kernels 2.6.26 and with the upcoming 2.6.27 .

debian/patches/device_class_2626
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The usage of device_class (/sys/class) has changed in 2.6.26 , with a
smaller change later on in 2.6.27 . This patch adjusts zaptel-base.c
accordingly.


debian/patches/headers_2627
~~~~~~~~~~~~~~~~~~~~~~~~~~~
As of kernel 2.6.26 there is <asm/semaphore.h> and as of 2.6.27 the
original <linux/semaphore.h> no longer exists. This patch adjusts the
sources accordingly.


debian/patches/zaphfc_proc_root_dir
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proc_root_driver was defined to NULL before 2.6.26 and removed then.
It stands for the "root" of procfs. This patch simply replaces that
symbol with NULL.


Bug Fixes
---------
Included here are small bugfixes directly from the upstream repository.
All of them are included in the recently-released Zaptel 1.4.12 .

debian/patches/wcte12xp_flags
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The driver used int for cpu flags. This has generated compilation
warnings. Not sure why it didn't generate errors (according to 
http://bugs.digium.com/12787 it caused errors on amd64 on SUSE). I 
believe it can have nasty side effects on 64 bits platforms. The rest 
of the Zaptel code uses long for those flags.


debian/patches/xpp_fxs_dtmf_leak
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is a larger change but a more subtle one. The xpp driver only
passes PCM (audio) in "active" channels. However in some cases a DTMF
tone dialed in that channel could get the mask of muted channels
incorrectly applied. As a result tones played to one channel would end
up being sent to another. This is a major functionality bug and may also
cause information leak in the wrong circumstances.


debian/patches/xpp_fxs_power
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A fix for the Astribank FXS module driver:
A case where we didn't switch to low power at the end of a ring.
Thus in some cases the device will not detect when the phone was put
back on-hook (so you can't hang up a call).


debian/patches/xpp_fxo_cid_always
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lately an option was added to the xpp fxo module to always pass the PCM
stream (even when not in a call). Sadly it was mis-implemented. This
small patch fixes it. A minor fix, but a well-understood one.


debian/patches/wctdm_fix_alarm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes alarm status generation in FXO modules of Digium analog cards.
Without that the card may incorrectly report that it is in alarm
(disconnected from the provider) and thus Asterisk will not try calling
out through it.


Lintian
-------
The package had many warnings from lintian. Most of them were about 
extra source files not under debian/ . Those warnings are correct, but 
sadly will not be fixed. The package zaptel includes a number of 
upstream drivers as sources in order to make their maintinance simpler. 
All of those sources are guarantee not to be part of the upstream 
tarball. Having some 50 lintian warnings about that point only hides 
other messages.

lh_lintian was added and hence:
* lintian file for package zaptel was renamed:
* Build-Depending on a newer version of debhelper
* Hacks in the rules file and in zaptel.dirs to use the old file were 
  removed.


fxotune on zaptel.init
----------------------
fxotune is a utility that needs to be run on configured Zaptel channels.
If you are e.g. upgrading zaptel (just the utility packages) and Asterisk 
is already running, fxotune will fail to open those channels opened by
Asterisk and return an error. But this normally means that those
channels were already tuned before. Hence it is legitimate to fail here.
Otherwise it could potentially fail a package upgrade.


Sections in doc-base
--------------------
The doc-base documents were in the section Comm . This needed to be
adjusted to Network/Communication for Lenny.



Others
------
* debian/backports/<distro-name> is used to automate backports. Used by 
  some of our scripts.
* debian/modulestest is for test-building a zaptel-modules package at
  build time. Here we slightly enhanced here to help testing vs. 2.6.27.
* The README.Debian change documents that.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zaptel_1.4.11-2.diff
Type: text/x-diff
Size: 49717 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20080908/1e5e4709/attachment-0001.diff 


More information about the Pkg-voip-maintainers mailing list