[Pkg-voip-commits] [dahdi-tools] 272/285: Copy packaging from Subversion

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:19:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit 0465400ea8f98c6b8e6b799cac27478a3ef8f1a8
Author: Tzafrir Cohen <tzafri at debian.org>
Date:   Fri Aug 14 11:44:18 2015 +0200

    Copy packaging from Subversion
---
 debian/README.Debian               |   89 +++
 debian/TODO.Debian                 |    3 +
 debian/changelog                   | 1255 ++++++++++++++++++++++++++++++++++++
 debian/clean                       |    5 +
 debian/compat                      |    1 +
 debian/control                     |   48 ++
 debian/control.modules.in          |   17 +
 debian/copyright                   |  114 ++++
 debian/dahdi.dirs                  |    1 +
 debian/dahdi.doc-base.astribank    |   13 +
 debian/dahdi.doc-base.readme       |   13 +
 debian/dahdi.examples              |    4 +
 debian/dahdi.install               |    4 +
 debian/dahdi.lintian               |    1 +
 debian/docs                        |    5 +
 debian/libtonezone-dev.install     |    3 +
 debian/libtonezone2.0.docs         |    1 +
 debian/libtonezone2.0.install      |    1 +
 debian/libtonezone2.0.symbols      |   11 +
 debian/modulestest                 |   71 ++
 debian/patches/debian-cflags.patch |   31 +
 debian/patches/echocan_oslec       |   21 +
 debian/patches/gcc5.patch          |   33 +
 debian/patches/init_unload_oslec   |   26 +
 debian/patches/perl_diet           |   97 +++
 debian/patches/remove_dahdi_speed  |   16 +
 debian/patches/series              |    6 +
 debian/patches/udev_owener         |   17 +
 debian/patches/zaptel_perl         |   22 +
 debian/rules                       |   51 ++
 debian/source/format               |    1 +
 debian/watch                       |    4 +
 32 files changed, 1985 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..3fc0806
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,89 @@
+Echo Canceller
+--------------
+In DAHDI (software) echo cancellers are separate modules, that are 
+automatically loaded if their name is used in /etc/dahdi/system.conf .
+dahdi_genconf, the configuration generator, thus defaults to creating a 
+system.conf with an echocanceller line for each channel. By default it is 
+'mg2' (the MG2 echo canceller) but this can be changed by setting 
+'echocanceller' (see the sample genconf_parameters file).
+
+The Debian package of dahdi-linux is patched to include support of the 
+echo canceller OSLEC. Thus dahdi-tools has been patched accordingly to
+make it the default echo canceller, and to remove 'echo' as well when
+unloading modules.
+
+However if you, for any strange reason, use a version of the DAHDI
+kernel modules that does not include a working dahdi_echocan_oslec.ko,
+just set in /etc/dahdi/genconf_parameters:
+
+  echo_can mg2
+
+
+FXOTune
+-------
+FXOTune is a utility provided by Digium for fine-tuning parameters of the 
+FXO modules of their TDM cards and compatibles, as well as of those of the 
+Xorcom Astribank.
+
+This package includes the fxotune utility. It will also load configuration 
+from /etc/fxotune.conf if fxotune was used to tune the FXO modules. Note 
+that fxotune will not work with X100P and similar cards.
+
+
+Supported tone-zones
+--------------------
+DAHDI is capable of playing ring tone, buy tone etc. for a large variety of
+countries. This is done using the loadzone and defaultzone settings in 
+system.conf.  A list of tone-zones supported by DAHDI and libtonezone is 
+included in the file tonezones.txt in the documentation directory. 
+
+Example section of system.conf:
+loadzone=us,uk,de
+defaultzone=us
+
+
+dahdi vs. dahdi-linux
+---------------------
+Upstream DAHDI is split to two parts: dahdi-linux are parts that are 
+supposed to be linux-specific, whereas dahdi-tools are supposed to be
+generic utilities to use the DAHDI interface.
+
+DAHDI-linux includes mostly kernel modules, but also udev rules, xpp 
+initialization scripts and firmwares (latter are stripped from the 
+Debian package). Those are included in the package dahdi-linux.
+
+Most of the dahdi utilities, e.g. dahdi_cfg, dahdi_test, dahdi_monitor
+and the dahdi-perl utilities are included in the package 'dahdi' that is
+built from the source package dahdi-tools.
+
+
+Automatic startup
+-----------------
+There is work in progress to start DAHDI devices automatically.
+See also http://docs.tzafrir.org.il/dahdi-tools/#_initialization and for
+the low-level description:
+http://docs.tzafrir.org.il/dahdi-linux/#_span_assignments
+
+The dahdi-linux package sets dahdi.auto_assigned_spans to 0 by default,
+but the dahdi-tools should have the required scriptary in place to make
+sure an upgrade will not break an existing system. That said, if your
+system has more than one DAHDI device, you should create a
+/etc/dahdi/assigned-spans.conf using 'dahdi_genconf assignedspan' (or
+manually) rather than relying on any other ordering mechanism.
+
+Much work has been put in place to make sure configurations
+work as before if there are no changes. It is still recommended to create
+a span-assignments file for your setup if you have more than one device:
+
+  dahdi_genconf assigedspans
+
+The udev hook scripts run two main hooks:
+* /usr/share/dahdi/dahdi_handle_device:
+      Run when a new DAHDI device is added or removed. Mainly to assign
+      spans.
+* /usr/share/dahdi/dahdi_config_span:
+      Run when a new DAHDI span is added or removed. Mainly to configure
+      the new spans.
+
+As you would expect, there are .d directories for the scripts and those
+are places for your hooks, if needed.
diff --git a/debian/TODO.Debian b/debian/TODO.Debian
new file mode 100644
index 0000000..c249a0b
--- /dev/null
+++ b/debian/TODO.Debian
@@ -0,0 +1,3 @@
+* Transition from zaptel?
+* Fix copyright
+* xpp/README.Astribank.html
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7f4a164
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,1255 @@
+dahdi-tools (1:2.10.2-2) unstable; urgency=medium
+
+  * gcc5.patch (Closes: #777829).
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Sun, 28 Jun 2015 23:08:21 +0300
+
+dahdi-tools (1:2.10.2-1) unstable; urgency=medium
+
+  * New upstream release:
+    - Removed bashism from udev hook script (Closes: #772229).
+    - Builds fine with GCC 5 (Closes: #777829).
+  * Build-depend on debhelper 9.
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Fri, 26 Jun 2015 16:06:56 +0300
+
+dahdi-tools (1:2.10.0.1-1) unstable; urgency=low
+
+  * New upstream release (Closes: #765377).
+    - xpp_revert_clear_halt.patch merged upstream.
+  * Compat level 9.
+  * debian-cflags.patch: some cases where build flags were not passed 
+  * Multi-arch headers.
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Sun, 26 Oct 2014 20:46:32 +0200
+
+dahdi-tools (1:2.10.0-1) unstable; urgency=low
+
+  * New upstream release candidate:
+    - Init script no longer exists if no system.conf (Closes: #567072).
+    - hotplug/* patches removed (a better version included upstream).
+    - example_scriptlet removed: merged upstream.
+  * Don't add spans automatically in Asterisk (it's the job of asterisk).
+  * Also depend on usbutils: xpp_fxloader uses lsusb.
+  * xpp_revert_clear_halt.patch: fixes a regression since 2.9.2.
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Tue, 19 Aug 2014 08:56:07 +0300
+
+dahdi-tools (1:2.7.0.1-1) unstable; urgency=low
+
+  * New upstream release
+
+  [ Tzafrir Cohen ]
+  * Remove HTMLed man pages (Closes: #714705).
+  * Upstream init script will no longer barf if no DAHDI modules on system
+    (Closes: #706046).
+  * Only build on Linux. At least until someone packages dahdi-kfreebsd.
+  * Use upstream's udev rules.
+  * Use root:comm rather than asterisk:asterisk in udev rules.
+  * hotplug support:
+    - Add hotplug patches (an experimental git branch) - fixes to scriptary.
+    - Remove the init script.
+
+  [ Mark Purcell ]
+  * Build-Depends: dahdi-source (>= 1:2.7)
+  * Update Vcs_Browser - fixes vcs-field-bitrotted
+  * Add dh $@ --with autotools_dev - fixes outdated-autotools-helper-file
+  * Update Vcs_Svn - fixes vcs-field-not-canonical
+  * Update Standards-Version - fixes ancient-standards-version
+
+ -- Mark Purcell <msp at debian.org>  Sat, 12 Oct 2013 15:06:25 +1100
+
+dahdi-tools (1:2.7.0-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream release (Closes: #688919)
+    - Patch fix_xpp_buildfix removed: merged upstream.
+  * Patch fix_xpp_buildfix: The sole (currently) change in the upcoming
+    dahdi-tools 2.6.3. A further build fix for gcc 4.8 (Closes: #707391).
+  * Enable pinned spans support.
+
+  [ Mark Purcell ] 
+  * Fix "FTBFS: astribank_hexload.c:36:27: fatal error: ../autoconfig.h:
+    No such file or directory" new upstream release (Closes: #707391)
+
+ -- Mark Purcell <msp at debian.org>  Sun, 16 Jun 2013 16:37:00 +1000
+
+dahdi-tools (1:2.5.0.1-2) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * Removed libtonezone 1.0 (zaptel) symlinks (Closes: #661396).
+
+ -- Mark Purcell <msp at debian.org>  Sat, 07 Jul 2012 10:53:37 +1000
+
+dahdi-tools (1:2.5.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Standards version 3.9.2 (no change needed).
+  * Architecture: linux-any.
+  * Switch to dh
+    - Patch remove_dahdi_speed: Patch the source. Don't rm later on.
+  *  Compat level 8, while we're at it.
+  * A symbols file fir libtonezone. Verified also to match to 2.2.1.1,
+    but interface has probably not changed since 2.0 .
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Mon, 26 Sep 2011 00:19:17 +0300
+
+dahdi-tools (1:2.4.1-1) unstable; urgency=low
+
+  * New upstream release (Closes: #581076, #582094).
+  * Patches hardware_rescan, perl_fix_noserial, perl_fix_transportdir,
+    astribank_allow_ignoreend, init_unload_modules and wcb4xxp_extra_trunk
+    dropped: merged upstream.
+  * dahdi-linux 2.3.0 is required (extra config options for dahdi_cfg).
+  * Convert to dpkg v.3 format.
+  * Standards version: 3.9.1.0 (No change needed.
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Sun, 13 Mar 2011 23:45:36 +0200
+
+dahdi-tools (1:2.2.1.1-1) unstable; urgency=low
+
+  * New minor upstream release.
+  * Patch wcb4xxp_extra_trunk: recognize some extra HFC-[248]S PCI IDs.
+  * DEP3 heaaders for all patches in use.
+  * Refreshed some patches.
+  * Standards version 3.8.4 (no change needed).
+  * Use a @debian.org adderss.
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Sun, 18 Apr 2010 15:53:48 +0300
+
+dahdi-tools (1:2.2.1-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream release (Closes: #536257, #564381).
+  * Patch 'bashism' dropped: merged upstream. 
+  * Patch xpp_no_extra_at dropped: merged upstream. 
+  * Add an example genconf_parameters.
+  * Compat level 7.
+  * Bump standars version to 3.8.3.0 (no change needed)
+  * Udev rules are now in dahdi-linux.
+  * Patches perl_fix_noserial, perl_fix_transportdir: Fixes for some
+    minor perl issues.
+  * Add the missing ${misc:Depends}, as per lintian. 
+  * Patch astribank_allow_ignoreend: an extra missing patch from upstream. 
+  * Patches init_unload_modules and init_unload_oslec: also unload OSLEC
+    when unloading all modules.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Sun, 07 Mar 2010 04:43:13 +1100
+
+dahdi-tools (1:2.2.0-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream release.
+  * Patch bashism: fixes bashism in waitfor_xpds (Closes: #535865).
+  * Patch hardware_rescan: backport Dahdi::Hardware->rescan()
+  * Patch no_extra_at: backport of a per/xpp fix. 
+
+  [ Mark Purcell ]
+  * Reorder debian/watch to correctly handle upstream -rc
+
+ -- Mark Purcell <msp at debian.org>  Sat, 17 Oct 2009 09:12:40 +1100
+
+dahdi-tools (1:2.2.0~rc3-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream release candidate.
+
+  [ Mark Purcell ]
+  * Cleanup debian/watch to point to upstream dahdi-tools ;-)
+  * Update Standards version -> 3.8.1
+  * Fix binary-control-field-duplicates-source
+
+ -- Mark Purcell <msp at debian.org>  Mon, 01 Jun 2009 08:23:38 +1000
+
+dahdi-tools (1:2.2.0~rc2-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream release. A matching dahdi-source is needed.
+  * Patch echocan_oslec: set oslec as default EC in generated config
+  * A proper README.Debian
+  * Updated debian/copyright document internal differences in package
+    - meet ftp-master needs for NEW
+
+  [ Victor Seva ]
+  * fix debian/watch.
+
+ -- Mark Purcell <msp at debian.org>  Wed, 20 May 2009 07:35:30 +1000
+
+dahdi-tools (1:2.1.0.2-1) experimental; urgency=low
+
+  [ Tzafrir Cohen ]
+  * Zaptel renamed DAHDI and split to dahdi-linux and dahdi-tools. 
+  * This package no longer includes drivers and m-a magic.
+  * DAHDI is incompatible (ABI and API) with Zaptel.
+  * NEW libtonezone2.0 due to its usage of DAHDI.
+  * Programs renamed. E.g. dahdi_cfg instead of ztcfg.
+  * Configurations files are now under /etc/dahdi .
+  * Using the upstream init.d script. This script is responsible for 
+    loading modules unlike the Zaptel one.
+  * Depend on groff and man-db for man -Thtml used in the upstream 
+    'docs' target.
+  * Delete false(?) libtonezone.so.1 symlinks.
+  * Add missing dh_perl check (for perl modules).
+
+  [ Mark Purcell ]
+  * Add myself to uploaders
+  * Upload to experimental while we await NEW & debian-release
+
+ -- Mark Purcell <msp at debian.org>  Sun, 29 Mar 2009 18:07:57 +1100
+
+zaptel (1:1.4.11~dfsg-3) unstable; urgency=low
+
+  * zaptel.init: exit on a different condition: Nicer handling of ztdummy.
+  * zaptel.init: Give a sane default to XPP_SYNC. 
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Mon, 03 Nov 2008 09:35:23 +0200
+
+zaptel (1:1.4.11~dfsg-2) unstable; urgency=low
+
+  * Patch xpp_fxs_power: Fixed an issue with hook detection of the Astribank
+    FXS module.
+  * Don't fail init.d script if fxotune fails. This may happen if running it
+    when Asterisk is already running.
+  * Bump standards version to 3.8.0.0 .
+  * Ignore false lintian warning ("m-a a-i" has "a a").
+  * Patch xpp_fxo_cid_always: do always pass PCM if that's what the user
+    asked.
+  * Patch vzaphfc_proc_root_dir: fix vzaphfc on 2.6.26.
+  * Patch wcte12xp_flags: Proper time for irq save flags.
+  * Patch headers_2627: Fix location of semaphore.h for 2.6.27 .
+  * Patch xpp_fxs_dtmf_leak: Don't play DTMFs to the wrong channel.
+  * Patch wctdm_fix_alarm: Fix sending channel alarms.
+  * Patch device_class_2626: Fix building 2.6.26 (Closes: #493397).
+  * Using dh_lintian for lintian overrides, hence requiring debhelper 6.0.7.
+  * Lintian: we know we have direct changes. Too bad we're half-upstream :-(
+  * Fix doc-base section names. 
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Thu, 28 Aug 2008 22:58:23 +0300
+
+zaptel (1:1.4.11~dfsg-1) unstable; urgency=medium
+
+  [ Faidon Liambotis ]
+  * Update qozap from bristuff-0.4.0-RC1.
+    - fixed duoBRI miniPCI detection in qozap.
+    - added support for PCIe variants of duoBRI and quadBRI.
+  * Update cwain from bristuff-0.4.0-RC1.
+  * Update ztgsm from bristuff-0.4.0-RC1.
+    - reduced baudrate (serial interface to gsm modules) to be more robust
+      against irq misses in loaded systems
+    - improved serial debug output
+    - added module parameter "baudrate" (the default is 19200)
+    - added AT commands for SIM card selection
+    - added AT commands for shutting down/starting GSM modules
+
+  [ Tzafrir Cohen ]
+  * New upstream release.
+  * Patch xpp_fix_t1 dropped: merged upstream.
+  * Finally removing 00list.
+  * Patch sigcap_dacs: tell zaphfc and vzaphfc to report support for
+    ZT_SIG_DACS. Makes ztscan report then as digital spans.
+  * Patch bri_dchan: change ZT_FLAG_BRIDCHAN as ZT_FLAG_MTP2 is also
+    defined to be 19 as of zaptel 1.4.11 .
+  * Patch chan_release_check: fixes a regression from 1.4.10.1 that causes
+    a panic if disconnecting an Astribank device with a channel still open.
+  * Patch florz-vmalloc: proper includes for zaphfc on non-x86 platforms.
+    (Closes: #488513)
+  * oslec_wrap.c: cycles code for powerpc by Stelios Koroneos.
+  * And dummy cycles code for other architectures.
+
+  [ Mark Purcell ]
+  * Build-Depends: asciidoc (>= 8.2.6-1.1)
+    - asciidoc 8.2.6-1 is broken
+    - FTBFS: ERROR: unsafe: include file:
+    /etc/asciidoc/./javascripts/toc.js (Closes: #487011)
+  * Urgency medium as we fix RC bug
+
+ -- Mark Purcell <msp at debian.org>  Mon, 30 Jun 2008 20:22:37 +1000
+
+zaptel (1:1.4.10.1~dfsg-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream bugfix release.
+  * Note the buid "error" from http://bugs.digium.com/12426 .
+  * Fix the generation of tonezone.txt.
+  * Patch xpp_fix_t1: allow the xpp pri module to initialize as T1.
+  * Set OSLEC as the default echo canceller.
+  * The "unload" init.d script operation will now also attempt to unload
+    oslec.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Thu,  8 May 2008 02:03:34 +0300
+
+zaptel (1:1.4.10~dfsg-1) unstable; urgency=low
+
+  [ Mark Purcell ]
+  * New upstream release
+
+  [ Tzafrir Cohen ]
+  * Added NEWS.Debian about zaptel modules incompatibility.
+  * Do run 'make dist-clean' on modules build. It prints an ugly error, but
+    only after the actualy relevant clean.
+  * Watching downloads.digium.com directly again.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Mon, 14 Apr 2008 14:07:54 +0300
+
+zaptel (1:1.4.9.2~dfsg-1) unstable; urgency=low
+
+  * New upstream release (Closes: #464900).
+  - All kernel modules moved to under kernel/
+  * Converting patches to quilt (because bristuff uses them).
+  * Include the separate xpp changelog file.
+  * Fix a possible crash with oslec when a fax tone is detected:
+    http://sourceforge.net/mailarchive/message.php?msg_name=20080217212421.GT15415%40xorcom.com
+    (Closes: #447245).
+  * Adjusted lintian overrides: mknod is now called from a function.
+  * Adjust vzaphfc to netdevice API changes in kernel 2.6.24.
+  * Once again ignoring 'make distclean' errors: it will fail if we don't 
+    have kernel sources / headers for current kernel :-( .
+  * Remove some unnecessary changes from the florz zaphfc patch - fixes zaphfc
+    warning.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Thu, 20 Mar 2008 16:31:25 +0200
+
+zaptel (1:1.4.8~dfsg-1) unstable; urgency=low
+
+  * New upstream release
+  * bristuff.dpatch broken to smaller patches, as in bristuff 0.4.0-test6.
+  - ztpty.c is added as a source file.
+  - bri_dchan.dpatch, proc_read.dpatch, ztcfg-start_stop.dpatch and
+    zt_alarm_notify_no_master_change.dpatch .
+  * beronet.dpatch: Support for Bero.net cards (Closes: #453496).
+  * Adapted ztcfg-start_stop.dpatch to zaptel 1.4.8 .
+  * Removing xpp_m_subdirs.dpatch: merged upstream.
+  * tones.h is no longer generated.
+  * kbuild_src.dpatch: A small build issue already fixed upstream.
+  * oslec_zaptel.dpatch: Add a compatibility function for the old
+    echo_can_create() of zaptel < 1.4.8 .
+  * Also copy the new wcte12xp/ to the source tarball.
+  * Delete old created files on purge (Closes: #454388).
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Tue, 29 Jan 2008 13:32:11 +0200
+
+zaptel (1:1.4.7.1~dfsg-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream release.
+    - New upstream version 1.4.6 (Closes: #452315, #442414).
+  * Add Voicetronix OpenPCI Zaptel driver (wcopenpci.c) .
+  * Explicitly delete depmod results (modules.dep at el.)
+  * ztdiag.dpatch: removed (applied by upstream).
+  * xpp_m_subdirs.dpatch: removed (applied by upstream).
+  * Makefile_fix_clean.dpatch: removed (applied by upstream).
+  * Makefile_opt_level.dpatch: removed (applied by upstream, except for 2.4
+    kernel modules).
+  * Call 'make dist-clean' rather than 'make clean'.
+  * Don't run 'make dist-clean' on zaptel-modules build.
+  * Document zaptel-modules build test.
+  * Don't run ztcfg if zaptel was not loaded. But do fail if ztcfg has failed.
+    (Closes: #407996).
+  * Don't build wcopenpci on big endian platforms (Module gives #error there).
+  * Actually fix building xpp with M instead of SUBDIRS.
+  * Updates to bristuff zap modules from bristuff-0.3.0-1y-l:
+    - Fix build warnings.
+    - Allow sharing interrupts.
+  * Update cwain from recent bristuff.
+
+  [ Faidon Liambotis ]
+  * Don't delete old device nodes on installations since it's needed only for
+    upgrades from <= sarge which isn't supported. Shuts up lintian error.
+  * Correctly detect udev/devfsd and chrooted environments at postinst time.
+  * Fix debian/watch by using a pkg-voip wrapper to avoid upstream's silly
+    redirections. (Closes: #449673)
+  * Fix OSLEC so that audio works again on x86_64 systems.
+  * Update Standards-Version to 3.7.3, no changes needed.
+  * Refresh Uploaders: add myself, remove Jose Carlos Garcia Sogo, Santiago
+    Garcia Mantinan and Santiago Ruano Rincon.
+
+ -- Faidon Liambotis <paravoid at debian.org>  Fri, 28 Dec 2007 17:59:57 +0200
+
+zaptel (1:1.4.5.1~dfsg-2) unstable; urgency=low
+
+  [ Kilian Krause ]
+  * Update oslec to r942. Add mmx.h (disabled for now).
+  * Do export oslec_echo_can_identify from oslec.ko (Closes: #439814).
+  * Add Homepage field as added in dpkg-dev 1.14.6.
+  * Fix debian-rules-uses-pwd
+
+  [ Mark Purcell ]
+  * Remove Build-Depends restrictions for packages in stable
+
+  [ Tzafrir Cohen ]
+  * vzaphfc: update to 1.44, and apply our fixes.
+  * vzaphfc: fix building with Sarge 2.6 kernels.
+  * Fix asciidoc buildign in Sarge (temporary fix, until we get upstream fix
+    in 1.4.6).
+  * Don't build oslec if it is not the Zaptel echo canceller.
+  * Adjust line numbers in Lintian ignore file.
+  * Include oslec-ctrl-panel.sh as an example (Closes: #443363).
+
+ -- Kilian Krause <kilian at debian.org>  Sat, 22 Sep 2007 12:08:52 +0200
+
+zaptel (1:1.4.5.1~dfsg-1) unstable; urgency=low
+
+  * New upstream release.
+
+  [ Kilian Krause ]
+  * Add dpkg-dev (>= 1.13.19) to Build-Depends for binary:Version
+  * Correct the zaptel.init to point to correct path of fxotune
+   (Closes: #439310)
+  * Put opt level back to -O2 in accordance with Debian Policy.
+
+  [ Tzafrir Cohen ]
+  * Pass extra modules / subdirs to modules make.
+  * Re-add zaptel_perl.dpatch. Clarified patch's description in hope to aviod
+    re-re-re-removal of this patch.
+  * There's now an HTML version of README.Astribank . And upstream Makefile is
+    better at cleaning.
+  * Don't install man pages. 'make install' does that already (Closes: #422943)
+  * Fixed building vzaphfc, opvx1200p and ds1x1f of kernel >=2.6.22
+    (>= 2.6.19?).
+  * xpp_m_subdirs.dpatch: Fixed building of xpp modules with M= .
+  * modulestest -r: test current kernel.
+
+ -- Kilian Krause <kilian at debian.org>  Sun, 26 Aug 2007 12:08:10 +0200
+
+zaptel (1:1.4.5~dfsg-1) unstable; urgency=low
+
+  * New Upstream Maintenance Release
+  - support for Digium's new 32 channel hardware echo canceler 
+  (VPMADT032) for the TDM800P and TDM2400P
+
+  [ Tzafrir Cohen ]
+  * zaptel_perl.dpatch: install perl modules to vendorlib rather than to
+    sitelib. This fixes the zaptel-perl utilities (e.g: zaptel_hardware).
+  * Build-depend on asciidoc to produce some package documentation.
+  * Mark doc-base documentation.
+  * Simplify Astribank initialization with zaptel-perl.
+  * provide symlinks for headers files: compatibility with zaptel 1.2
+    locations of zaptel.h and tonezone.h .
+
+  [ Faidon Liambotis ]
+  * bristuff 0.4.0-test4
+    - Add zaptel.patch as debian/patches/bristuff.dpatch.
+    - Update zaphfc, qozap, cwain and ztgsm.
+  * Add florz' patch to zaphfc; removes RTAI support. (Closes: #382227)
+  * Don't fail on mknod errors; helps on vserver setups. (Closes: #411850)
+
+  [ Mark Purcell ]
+  * Remove echocan_env.dpatch - merged upstream
+  * Remove zaptel_perl.dpatch - merged upstream
+  * Add debian/patches/inlcude.dpatch - upstream typo
+  * debian/rules: upstream change INSTALL_PREFIX->DESTDIR
+  * debian/zaptel.doc-base.readme add Index: doc-base-file-no-index
+  * Ship new wctdm24xxp modules
+
+ -- Mark Purcell <msp at debian.org>  Sat, 18 Aug 2007 13:20:31 +0100
+
+zaptel (1:1.4.4~dfsg-1) unstable; urgency=low
+
+  * New Upstream Release
+
+  [ Tzafrir Cohen ]
+  * echocan_env.dpatch: set the echo canceller from the environment.
+  * oslec/ The bulk of the oslec files.
+  * oslec_zaptel.dpatch: Minimal changes to zaptel to add oslec, beyond
+    the oslec directory.
+  * oslec_zaptap.dpatch: The oslec zaptap echo sampling device (probably
+    still does not apply).
+  * man_fixes.dpatch: Documentation fixes from upstream.
+  * Removing unrequired/harmful and useless modprobe / modutils config.
+  * README.Debian updates.
+
+  [ Mark Purcell ]
+  * debian/patches/zaptel_perl.dpatch now included upstream
+  * Switch to ${binary:Version} substvar-source-version-is-deprecated
+
+ -- Mark Purcell <msp at debian.org>  Wed, 18 Jul 2007 21:41:51 +0100
+
+zaptel (1:1.4.3~dfsg-2) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * Fixed and re-added zaptel_perl. 
+  * And added zaptel_hardware (zaptel hardware lister), just for fun. 
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Sat, 09 Jun 2007 03:36:17 +0300
+
+zaptel (1:1.4.3~dfsg-1) unstable; urgency=low
+
+  * New upstream release
+    -  A fix for the potential for a rare deadlock between zaptel and the
+    wct4xxp, wcte11xp, and wct1xxp drivers
+    - Fixes for the VPM450M module on FC6 to correct a potential stack
+    overflow scenario at load time.
+    - Many updates to the Astribank driver
+  * disable debian/patches/zaptel_perl as it doesnt apply cleanly
+
+ -- Mark Purcell <msp at debian.org>  Sat, 09 Jun 2007 00:01:55 +0100
+
+zaptel (1:1.4.2.1~dfsg-2) unstable; urgency=low
+
+  * Include debian/compat in zaptel-sources
+    - missing debian/compat file in archive (Closes: #422153)
+
+ -- Mark Purcell <msp at debian.org>  Sat, 02 Jun 2007 10:22:04 +0100
+
+zaptel (1:1.4.2.1~dfsg-1) unstable; urgency=low
+
+  * New upstream release
+    - Added the ability to monitor pre-echo cancellation audio with ztmonitor
+    - Fixed some places where there was the potential for memory corruption
+    on SMP systems
+    - FTBFS with 2.6.19-1 (Closes: #405562)
+  * zaptel 1.4 provides wcfxs->wctdm alias
+    - No mention of wcfxs -> wctdm module rename (Closes: #419161)
+    - Missing modutils/modprobe rules for wctdm (Closes: #419162)
+  * provide debian/compat fixes lintian: debian-rules-sets-DH_COMPAT
+  * Cleanup debian/patches/
+
+ -- Mark Purcell <msp at debian.org>  Thu, 26 Apr 2007 09:07:48 +1000
+
+zaptel (1:1.4.1~dfsg-3) unstable; urgency=low
+
+  [ TzafrirCohen ]
+  * Better shape for ztdiag.dpatch. Don't forget to free.
+
+ -- Mark Purcell <msp at debian.org>  Wed, 04 Apr 2007 22:51:24 +0100
+
+zaptel (1:1.4.1~dfsg-2) experimental; urgency=low
+
+  * $(MAKE) install-libs needed to install libs to libtonezone
+
+ -- Mark Purcell <msp at debian.org>  Sat, 24 Mar 2007 14:17:22 +0000
+
+zaptel (1:1.4.1~dfsg-1) experimental; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream release.
+  * Fix installation of tonezone.h .
+  * merges from trunk:
+  * Update standards version to 3.7.2 .
+  * ztdiag.dpatch: fix the ioctl ZT_CHANDIAG and eable it.
+  * Should fix modules building: restore generated files that were
+    removed by a clean (Closes: #415280).
+  * Update debian/watch for ~ versions
+  * zaptel_perl.dpatch: Do install perl modules and scripts.
+  * zaptel_perl.dpatch: a few other fixes (until next upstream release).
+  * Add Makefile.kernel26 and wctc4xxp/ to source tarball.
+  * Don't install /etc/zaptel.conf by default (Closes: #383081) .
+  * List the tonezones supported by ztcfg and libtonezone in tonezones.txt
+    (Closes: #379108).
+  * Remove man pages from debian/, as they are included in upstream.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Sat, 24 Mar 2007 10:03:54 +0200
+
+zaptel (1:1.4.0~dfsg-1) experimental; urgency=low
+
+  * Upgrading to 1.4.
+  * Watch for 1.4.x tarballs, rather than 1.2.x tarballs.
+  * Disable most patches:
+  - ukcid fails to apply.
+  - bristuff fails to apply.
+  - No point in patching the Makefile.
+  * Saving my attempts to apply bristuff.
+  * .h files moved to /usr/include/zaptel
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Mon,  1 Jan 2007 21:31:18 +0200
+
+zaptel (1:1.2.12~dfsg-2) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+  * Remove -O4 from all Makefiles (Closes: #391840)
+  * Remove gcc hardcoded as HOSTCC
+
+ -- Kilian Krause <kilian at debian.org>  Thu, 28 Dec 2006 13:12:16 +0100
+
+zaptel (1:1.2.12~dfsg-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #403326)
+
+ -- Kilian Krause <kilian at debian.org>  Wed, 27 Dec 2006 23:23:40 +0100
+
+zaptel (1:1.2.11.dfsg-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * Reverting my changes from 1:1.2.9.1.dfsg-2. Moved to the experimental
+    branch.
+
+  [ Kilian Krause ]
+  * Remove bogus zaptel-modules from being Recommends (Closes: #387961)
+  * Update vzaphfc as proposed by Jens Wilke
+
+  [ Mark Purcell ]
+  * New Upstream Release
+    - Fixes: Fails to build with pristine upstream kernel, very recent version
+    (Closes: #400705)
+    - Fixes: Please package version 1.2.11 (Closes: #399634)
+    - Fixes: vzaphfc: error: 'CHECKSUM_HW' undeclared (Closes: #386498)
+  * Cleanup debian/patches/wct4xxp-dfsg.dpatch
+  * debian/rules call dh_installmodules from binary_modules:
+    - Fixes:  I had to do depmod -a manually after doing m-a a-i zaptel (Closes:
+    #332787)
+  * Update debian/patches/Makefile_uname.dpatch to force -O2
+    - Fixes:  Cannot initiate a call to BRI (Closes: #386052)
+  * Remove Depends: zaptel from debian/control.modules.in
+    - please don't depend on zaptel (Closes: #391826)
+
+ -- Mark Purcell <msp at debian.org>  Sat,  2 Dec 2006 14:33:30 +0000
+
+zaptel (1:1.2.10.dfsg-2) unstable; urgency=low
+
+  * bristuff-0.3.0-PRE-1v
+  * Remove redundant GPL LICENCE text
+
+ -- Mark Purcell <msp at debian.org>  Tue, 24 Oct 2006 22:41:01 +0100
+
+zaptel (1:1.2.10.dfsg-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Mark Purcell <msp at debian.org>  Sun, 22 Oct 2006 20:27:19 +0100
+
+zaptel (1:1.2.9.1.dfsg-2) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * zaptel 1.4 compatibility changes:
+  - place zaptel.h and tonezone.h in /usr/include/zaptel (through symlinks)
+  - zaptelh_14.dpatch: declare some zaptel 1.4 interfaces (not implemented
+    anywhere, though).
+
+  [ Mark Purcell ]
+  * debian/rules patch from Robert Millan
+    - the package doesn't compile  (Closes: #390903)
+  * add debian/patches/dbug391840.dpatch
+    - ztcfg segfaults because of -O4 (Closes: #391840)
+  * add debian/patches/wct4xxp-dfsg.dpatch
+    - wct4xxp and other modules are not built anymore on zaptel-
+    1.2.8.dfsg-1 (Closes: #388756)
+
+ -- Mark Purcell <msp at debian.org>  Tue, 10 Oct 2006 09:36:58 +1000
+
+zaptel (1:1.2.9.1.dfsg-1) unstable; urgency=low
+
+  * New Upstream Release
+  * firmware removed from wct4xxp/OCT6114-128D.ima
+  * Lintian cleanup; spelling-error-in-copyright
+
+ -- Mark Purcell <msp at debian.org>  Sat, 23 Sep 2006 13:58:15 +0100
+
+zaptel (1:1.2.8.dfsg-1) unstable; urgency=low
+
+  * New Upstream Release
+
+ -- Mark Purcell <msp at debian.org>  Wed, 23 Aug 2006 07:30:22 +0100
+
+zaptel (1:1.2.7.dfsg-4) unstable; urgency=low
+
+  * Install zaptel.conf.sample as a confile under /etc
+  * Add Recommends: zaptel-modules
+  * Improve error handling and conf file checking in init.d. (Closes:
+    Bug#382604)
+
+ -- Mark Purcell <msp at debian.org>  Thu, 17 Aug 2006 08:34:43 +0100
+
+zaptel (1:1.2.7.dfsg-3) unstable; urgency=low
+
+  [ Kilian Krause ]
+  * Simplified vzaphfc patch.
+
+  [ Mark Purcell ]
+  * Build-Depends: debhelper (>= 5.0.37) and dh_installmodules makes
+    zaptel-source.postinst & zaptel-modules.post{inst,rm} obsolete
+    Fixes: postinst/postrm depmod -- update templates to use dh_installmodules
+    instead (Closes: #381754)
+  * postinst failure (Closes: #361312)
+  * zaptel-modules from testing don't compile on Sarge (Closes: #376719)
+  * pciradio.c:1810: error: syntax error before string constant (Closes:
+    #368145)
+  * Can't recompile zaptel modules on Sarge (Closes: #375581)
+  * zaptel-modules from testing don't compile on Sarge (Closes: #376719)
+
+ -- Mark Purcell <msp at debian.org>  Thu, 10 Aug 2006 23:39:58 +0100
+
+zaptel (1:1.2.7.dfsg-2) unstable; urgency=low
+
+  * Fix get-orig-source target to make dfsg repacking work
+  * Fix zaptel-source to build without firmware again. Required dropping
+    wct4xxp module. Added vzaphfc to linux-2.6 modules. (Closes: #381123)
+
+ -- Kilian Krause <kilian at debian.org>  Thu,  3 Aug 2006 11:48:14 +0000
+
+zaptel (1:1.2.7.dfsg-1) unstable; urgency=high
+
+  * Urgency high as this is blocking a security fix for asterisk
+  * Remove non-modifiable firmware to make DFSG compliant. Does
+    anyone need this firmware? (Closes: #379458)
+
+ -- Mark Purcell <msp at debian.org>  Tue,  1 Aug 2006 15:27:09 +0100
+
+zaptel (1:1.2.7-2) unstable; urgency=low
+
+  * Copying Makefile as before to the source package,
+    Copying some extra files now needed for building (Closes: #378864)
+
+ -- Mark Purcell <msp at debian.org>  Tue,  1 Aug 2006 06:29:39 +0100
+
+zaptel (1:1.2.7-1) unstable; urgency=low
+
+  * New upstream release
+
+  [ Kilian Krause ]
+  * Add vzaphfc driver (enhanced zaphfc) by Jens Wilke.
+
+  [ Tzafrir Cohen ]
+  * Separating ZapBRI modules to directories, rather than patches
+  * Example configs moved from zaptel-source to zaptel
+  * Removing some unneeded dirs from zaptel-source
+  * debian/patches/Makefile_kbuild: a small part of the original one.
+    Fixes building on Sarge
+  * genzaptelconf is now in zaptel
+  * xpp/utils/Makefile has a decent install target
+  * debian/rules: Use CURDIR
+  * debian/modulestest: Building modules for -3 kernels
+  * fix x bit of files in /usr/share/zaptel
+  * removed genzaptelconf from debian/
+  * Added support for the OpenVox A1200P card (http://www.openvox.com.cn/)
+  * debian/control: require libusb-dev for building xpp firmware loader.
+  * debian/control: Recommend package xpp-firmware (should be added to
+    non-free)
+  * bristuff_local_zaptelh.dpatch: Build bristuff modules with correct
+    zaptel.conf (in Sarge)
+  * Makefile_uname.dpatch: Updated. Note: watch for PWD issues.
+  * Makefile_bristuff.dpatch: updated to reflect Makefile change.
+
+ -- Mark Purcell <msp at debian.org>  Mon, 17 Jul 2006 21:48:21 +0100
+
+zaptel (1:1.2.6-2) unstable; urgency=high
+
+  * Urgency high as this is blocking a security fix for asterisk [CVE-2006-2898]
+
+  * Add debian/libtonezone-dev.links
+    - Realy fix: missing libtonezone.so.1 symlink (Closes: #372887)
+
+ -- Mark Purcell <msp at debian.org>  Wed, 14 Jun 2006 13:40:31 +1000
+
+zaptel (1:1.2.6-1) unstable; urgency=high
+
+  [ Mark Purcell ]
+  * Urgency high as this is blocking a security fix for asterisk [CVE-2006-2898]
+
+  * New upstream release.
+    - can't find zaptel.h during build (Closes: #330137)
+    - errors in fxotune.c (Closes: #370213)
+    - Cannot make zaptel-source: SUBDIR not found (Closes: #368561)
+
+  [ Kilian Krause ]
+  * Weed out old unused patches. Add comments which patches have been included
+    upstream for next release.
+
+  [ Lionel Elie Mamane ]
+  * Load ztdummy when needed, not when not needed.
+
+  [ Tzafrir Cohen ]
+  * bristuff: 0.3.0-PRE1p
+  * We have another ZapBRI module: ztgsm
+  * Experimental support in genzaptelconf for ztgsm (from sample files)
+  * genzaptelconf: 0.5.1 (does not require restart of asterisk)
+  * zaptel.init: 'unload' operation. Better support for Astribank
+  * moduletest script fixes
+  * bristuff added ztpty
+  * genzaptelconf: wait for xpp (astribank) module to register after loadin it
+  * minor xpp driver fixes (already in 1.2 branch)
+
+  [ Julien BLACHE ]
+  * debian/libtonezone1.links:
+    + Create the libtonezone.so.1 symlink (closes: #372887).
+
+ -- Mark Purcell <msp at debian.org>  Wed, 14 Jun 2006 10:59:52 +1000
+
+zaptel (1:1.2.5-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream version
+  * Only build xpp for i386, as it currently crashes on other arches.
+  * Fix compilation of xpp for 2.6.14
+
+  [ Kilian Krause ]
+  * Fix gendigits to write to stdout.
+
+ -- Kilian Krause <kilian at debian.org>  Thu, 30 Mar 2006 23:52:38 +0300
+
+zaptel (1:1.2.4-1) unstable; urgency=low
+
+  * New upstrream release (Closes: #353094)
+  * removing xpp.dpatch: merged in upstream
+  * removing dot_version: bug fixed upstream
+  * Makefile_kbuild.dpatch: modified, as it was not properly merged in
+    upstream
+  * Makefile_bristuff.dpatch: really build zaptel modules again
+  * Makefile_xpp: fixed. 
+  * debian/modulestest: a script for postbuild of zaptel modules from a svn
+    build
+  * zaptel-source: removing unnecessary dependency on dpatch
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Thu, 23 Feb 2006 09:40:47 +0200
+
+zaptel (1:1.2.3-2) unstable; urgency=low
+
+  * bristuff 0.3.0-PRE1k. Also, renamed the dpatch to simply "bristuff"
+  * updated version in dot_version.dpatch. 
+  * Include build_tools and .version in copied files
+  * newer versions of genzaptelconf and xpp.dpatch
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Mon,  6 Feb 2006 15:30:06 +0200
+
+zaptel (1:1.2.3-1) unstable; urgency=low
+
+  * new upstrream release
+  * ukcid.dpatch: for UK Caller ID support (Zaptel part, closes: #302380)
+  * newer versions of genzaptelconf and xpp.dpatch
+  * Makefile_pscmd.dpatch disabled due to a small upstream change. Revive it?
+  * dot_version.dpatch: the tarball is missing the .version file. Remove
+    it when it provides one
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Mon,  6 Feb 2006 14:02:04 +0200
+
+zaptel (1:1.2.1-3) unstable; urgency=low
+
+  * Fix compilation with binary-only mode.
+  * bristuff 0.3.0-PRE-1f
+  * make lintian override apply
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Sat,  7 Jan 2006 20:39:33 +0200
+
+zaptel (1:1.2.1-2) unstable; urgency=low
+
+  * Added bristuff 0.3.0-PRE1d patch. bristuff re-enabled. 
+    (Closes: #340627, #344432)
+  * Documentation fixes (Closes: #316801)
+  * Makefile_targets.dpatch is ba its small self
+  * readded bristuff examples. with cwain this time
+  * zaptel.init: a slightly different test for a zaptel timing source
+  * Depend on procps due to using ps in postinst (Closes: #342699)
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Fri, 30 Dec 2005 19:12:54 +0200
+
+zaptel (1:1.2.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Disable bristuff for new upstream
+
+ -- Mark Purcell <msp at debian.org>  Wed,  7 Dec 2005 21:28:23 +0000
+
+zaptel (1:1.2.0-2) unstable; urgency=low
+
+  [ Kilian Krause ]
+  * Added bristuff 0.3.0-PRE1 for Asterisk 1.2.0 support.
+
+  [Tzafrir Cohen]
+  * fix Makefile_deps_kern.dpatch
+  * remove .rej from Makefile.uname.dpatch
+  * do install genzaptelconf man page
+  * update genzaptelconf and its man page
+  * echocan_env.dpatch: allow changing the echo canceller at zaptel-modules
+    build time
+  * Makefile_kbuild.dpatch: use kbuild for 2.6 modules build. used for:
+  * Makefile_xpp.dpatch: (not applied by default)
+    a small patch to enable the build of:
+  * xpp.dpatch: drivers for Xorcom Asteribank
+
+  [ Mark Purcell ]
+  * Build and package libtonezone.so
+
+ -- Mark Purcell <msp at debian.org>  Wed, 30 Nov 2005 16:28:51 +0000
+
+zaptel (1:1.2.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove Makefile_deps_kern.dpatch as it doesnt apply upstream
+
+ -- Mark Purcell <msp at debian.org>  Thu, 17 Nov 2005 17:50:00 +0000
+
+zaptel (1:1.2.0-rc2-1) experimental; urgency=low
+
+  * New upstream release
+
+ -- Mark Purcell <msp at debian.org>  Sun, 13 Nov 2005 18:24:17 +0000
+
+zaptel (1:1.2.0-rc1-1) experimental; urgency=low
+
+  * New upstream release
+  * Update Makefile_uname.dpatch
+  * FTBFS: missing or incorrect directory modexamples/ (Closes: #329084)
+  * debian/rules export DH_COMPAT=4
+
+ -- Mark Purcell <msp at debian.org>  Wed,  9 Nov 2005 21:37:47 +0000
+
+zaptel (1:1.2.0-beta2-3) experimental; urgency=low
+
+  * Not Released Yet
+  * Copyright audit to debian/copyright
+
+ -- Mark Purcell <msp at debian.org>  Mon,  7 Nov 2005 19:19:27 +0000
+
+zaptel (1:1.0.9.2-1) unstable; urgency=low
+
+  * New Upstream Release
+
+ -- Mark Purcell <msp at debian.org>  Tue,  8 Nov 2005 20:47:48 +0000
+
+zaptel (1:1.2.0-beta2-2) experimental; urgency=low
+
+  * Suggestions from Tzafrir Cohen
+    - Makefile_man.dpatch can be removed: fixed by upstream
+    - fxotune.tmpfile.dpatch can be removed: fixed by upstream
+    - a small manual fix to Makefile_targets.dpatch: s/ manpages$//
+    - debian/rules: dh_installman: 's/debian/doc/' a number of times
+      (don't use doc/*.8 as there is no reason to install the pathetic
+      torisatool.8 man page)
+
+ -- Mark Purcell <msp at debian.org>  Tue,  1 Nov 2005 21:26:36 +0000
+
+zaptel (1:1.2.0-beta2-1) experimental; urgency=low
+
+  * New upstream release
+  * Update Makefile_targets.dpatch
+  * Update Makefile_man
+  * Update fxotune_tmpfile.dpatch
+
+ -- Mark Purcell <msp at debian.org>  Tue,  1 Nov 2005 20:51:02 +0000
+
+zaptel (1:1.2.0-0beta1-1) experimental; urgency=low
+
+  * New upstream release
+  * Disable bristuff for experimental upload
+  * Apply patch from Tzafrir Cohen for 1.2.0 build
+
+ -- Mark Purcell <msp at debian.org>  Sun, 18 Sep 2005 12:48:59 +0100
+
+zaptel (1:1.0.9.1-4) unstable; urgency=low
+
+  (NOT YET RELEASED - needs still some tweaking with florz' patches)
+  * debian/patches/ztcfg_init.dpatch: Make ztcfg not kill the channels when
+    executed twice.
+  * debian/patches/zaphfc_0.2.0-RC8n_florz-8.dpatch: Add florz' improved
+    zaphfc implementation as zaphfc-florz. This should reduce system IO load
+    among other improvements. Taken from http://zaphfc.florz.dyndns.org/
+
+ -- Kilian Krause <kilian at debian.org>  Sat, 27 Aug 2005 21:32:50 +0200
+
+zaptel (1:1.0.9.1-3) unstable; urgency=low
+
+  * debian/control: fixed overrides disparity with zaptel-source belonging to
+    devel rather than comm.
+
+ -- Kilian Krause <kilian at debian.org>  Sat, 27 Aug 2005 14:35:48 +0200
+
+zaptel (1:1.0.9.1-2) unstable; urgency=low
+
+  * Closes: #302836: zaptel-source: zaphfc module missing after
+    compiling modules. 
+  * Closes: #323753: zaptel-source: cannot compile zaphfc in unstable
+    with gcc-4.0.1. 
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Fri, 19 Aug 2005 00:40:56 -0500
+
+zaptel (1:1.0.9.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Update debian/watch
+  * Please package version 1.0.9.1 (Closes: #320600)
+  * FXO hardware stops working after 25 days (Closes: #321239)
+
+ -- Mark Purcell <msp at debian.org>  Mon,  8 Aug 2005 18:34:10 +0100
+
+zaptel (1:1.0.9-5) unstable; urgency=low
+
+  * Import bristuff-0.2.0-RC8l.dpatch
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Sat, 30 Jul 2005 11:26:42 -0500
+
+zaptel (1:1.0.9-4) unstable; urgency=low
+
+  Santiago Ruano Rincon:
+  * Man pages are builded from sgml's using docbook-utils
+    Deleted the *.8 files
+  * Closes: #317297: Applied a patch to improve the ztdummy
+    accuracy on kernel 2.6
+
+  Mark Purcell:
+  * Reinstate debian/zaptel.install
+    - Closes: #318575: this package does not install ztcfg, ztmonitor,
+    ztspeed, zttest, zttool.
+
+ -- Mark Purcell <msp at debian.org>  Sun, 17 Jul 2005 07:11:27 +1000
+
+zaptel (1:1.0.9-3) unstable; urgency=low
+
+  * Import bristuff-0.2.0-RC8j.dpatch
+  * Closes: #315251: zaptel should be in group comm
+  * Note that the cloned report is still active against ftp.debian.org
+  * Closes: #316800: zaptel package 1.0.9 ships headers
+
+ -- Mark Purcell <msp at debian.org>  Thu, 14 Jul 2005 12:19:10 +0100
+
+zaptel (1:1.0.9-2) unstable; urgency=low
+
+  * Import bristuff-0.2.0-RC8h.dpatch
+  * Enable rtia.dpatch 
+
+ -- Mark Purcell <msp at debian.org>  Mon,  4 Jul 2005 02:35:37 +0100
+
+zaptel (1:1.0.9-1) unstable; urgency=low
+
+  * New upstream release
+  * Disable bristuff to allow 1.0.9 upload
+  * Disable rtia to allow 1.0.9 upload 
+
+ -- Mark Purcell <msp at debian.org>  Sun,  3 Jul 2005 15:51:32 +0100
+
+zaptel (1:1.0.7-5) unstable; urgency=low
+
+  * ACK NMUs. Thanks for helping with this. (Closes: #305731, #310150)
+  * Actually doesn't fail if dpatch is not installed when building modules.
+  * zaptel-modules.postinst: New. Run depmod -a on modules install
+  * zaptel: should build-dep on debhelper (>= 4.0.4). (Closes: #310788)
+  * zaptel: should build-dep on dpatch >= 2.0.9 (Closes: #314549)
+  * zaptel: bashism in postinst (Closes: #314552)
+  * zaptel-source: compilation error in zaphfc.c (Closes: #305193)
+  * zaptel-source Build-Depends on dpatch, should Depend on
+    it though. (Closes: #309258)
+  * zaptel-source: Fails to enable RTAI support (Closes: #304648)
+
+ -- Kilian Krause <kk at verfaction.de>  Sun, 19 Jun 2005 15:38:25 +0200
+
+zaptel (1:1.0.7-4.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for sarge-targetted RC bugfix
+  * Make sure directories are created mode 755 instead of mode 644, as
+    this otherwise causes problems for building (apparently on xfs
+    filesystems).  Closes: #310150.
+  * Tweak debian/patches/Makefile.dpatch fix from the previous NMU so
+    that it isn't unnecessarily fragile: -fsigned-char is *always*
+    either a no-op or required, so lose the architecture checking and
+    enable it unconditionally.  Closes: #305731.
+
+ -- Steve Langasek <vorlon at debian.org>  Sun, 22 May 2005 02:48:44 -0700
+
+zaptel (1:1.0.7-4) unstable; urgency=high
+
+  * NMU as VOIP team taking so long. Fix compiler flags so that ztcfg
+    works. (Closes: #305731)
+
+ -- Matthew Grant <grantma at anathoth.gen.nz>  Fri, 22 Apr 2005 07:35:28 +1200
+
+zaptel (1:1.0.7-3) unstable; urgency=medium
+
+  * Closes: #302903: libtonezone1 package is empty
+  * Closes: #302833: binary files missing, e.g. /sbin/ztcfg
+  * Move debian/*.files -> debian/*.install
+  * Closes: #302847: zaptel command ztcfg freezes on Debian PowerPC
+    causing boot failure.
+
+ -- Mark Purcell <msp at debian.org>  Sun,  3 Apr 2005 19:44:25 +0100
+
+zaptel (1:1.0.7-2) unstable; urgency=medium
+
+  * Debian VoIP Team upload.
+  * Jose Carlos:
+    + Working support for module-assistant included in zaptel-source.
+      Thanks to Eduard Bloch for his help (Closes: #301665)
+    + debian/control.modules.in:
+       - make generated modules package depend on zaptel binary package.
+       - updated description to refer to module-assistant.
+    + debian/control:
+       - build-depend on bzip2.
+       - zaptel-source depends on module-assistant tool and bzip2.
+       - updated and improved descriptions.
+    + debian/rules:
+       - remaked with the new m-a stuff.
+       - don't need dpatch installed for building the modules (Closes: #301666)
+    + debian/postinst: doesn't output garbage (Closes: #296958)
+    + debian/postrm: don't remove creeated devices. Only box admin can do
+      that, per Policy 10.6
+    + Removed zaphfc and qozap examples from zaptel-source. Only ship them
+      in zaptel binary package.
+    + README.Debian: file added. Talk about how compile modules and
+      use them with udev (Closes: #163857)
+    + Don't install zaptel.h file in zaptel-modules packages. (Closes: #297306)
+
+  * Kilian Krause:
+    + Increased urgency for fixing RC-bug and this is the last deb to
+      allow the whole Debian VoIP suit proceed to testing. 
+
+ -- Jose Carlos Garcia Sogo <jsogo at debian.org>  Sat,  2 Apr 2005 01:14:23 +0200
+
+zaptel (1:1.0.7-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Kilian Krause <kk at verfaction.de>  Sat, 19 Mar 2005 23:28:07 +0100
+
+zaptel (1:1.0.6-1) unstable; urgency=low
+
+  * New upstream version. (zaptel 1.0.6, bristuff RC7k)
+  * added zaphfc and qozap modules.
+
+ -- Kilian Krause <kk at verfaction.de>  Sat,  5 Mar 2005 20:05:35 +0100
+
+zaptel (1:1.0.4-3) unstable; urgency=low
+
+  * Debian VoIP team upload.
+  * debian/rules, debian/zaptel-source.files: fixed zaptel.h includes problem
+  * debian/patches/Makefile.dpatch: imported from old package (now dpatch
+    instead directly in the diff). Fixed building on hosts with differring
+    userland and kernel arch. Now also including symlink for SONAME.
+  * debian/patches/bristuff.dpatch: imported bristuff patch to include zaphfc.
+    (Closes: #294183)
+  * debian/zaptel.postinst: Fixed permissions issue problem.
+  * debian/zaptel.modprobe.d: Added zaphfc RC7f.
+
+ -- Kilian Krause <kk at verfaction.de>  Thu, 24 Feb 2005 01:42:36 +0100
+
+zaptel (1:1.0.4-2) experimental; urgency=low
+  
+  * Better "use" of uname -r in Makefile for zaptel-source
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Mon, 21 Feb 2005 00:27:14 -0500
+
+zaptel (1:1.0.4-1) experimental; urgency=low
+
+  * New upstream release (zaptel-1.0.4)
+  * Included zttest and ztspeed binaries
+  * Added Depends on debhelper and Recomends zaptel for zaptel-source
+  * Added /etc/modprobe.d/zaptel and corrected the path for the binaries,
+    /sbin instead of /usr/sbin
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Wed, 26 Jan 2005 23:05:20 -0500
+
+zaptel (1:1.0.2-2) unstable; urgency=low
+                                                                                                           
+  * libtonezone out of zaptel-source 
+  * /dev/zap/  are now created by zaptel.postinst and deleted by
+    zaptel.postrm. Now, the zap devices match with the upstream version
+    (Closes: #274384).
+  * Added lintian overrides for mknod-in-maintainer-script warnings
+  * docbook-to-man out of the Build-Depends
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Wed, 24 Nov 2004 22:05:52 -0500
+
+zaptel (1:1.0.2-1) unstable; urgency=low
+                                                                                                           
+  * New upstream release (zaptel-1.0.2)
+                                                                                                           
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Sat, 30 Oct 2004 00:51:54 -0500
+
+zaptel (1:1.0.0-2) unstable; urgency=low
+ 
+  * New maintainer (Closes: #251938).
+  * Man pages created for ztcfg, ztmonitor and zttool
+  (Closes: #274632, #274633, #274634).
+  * Mark Purcell made the package for version 1.0
+  (Closes: #273255, #251929).
+  * zaptel-modules can be build from zaptel-source with
+  make-kpkg (Closes: #274085).
+  * Now it compiles for 2.6 Kernels (Closes: #251930).
+  
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Sun, 26 Sep 2004 02:05:44 -0500
+
+zaptel (1:1.0.0-1) unstable; urgency=low
+
+  * NMU (See Bug#251938)
+  * New upstream release
+
+ -- Mark Purcell <msp at debian.org>  Fri, 24 Sep 2004 22:46:55 +1000
+
+zaptel (1:0.8.1+1.0-RC2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Mark Purcell <msp at debian.org>  Thu,  9 Sep 2004 19:17:28 +1000
+
+zaptel (1:0.8.1+1.0-RC1-1) unstable; urgency=low
+
+  * New upstream release
+  * Add a debian/watch file 
+
+ -- Mark Purcell <msp at debian.org>  Wed, 21 Jul 2004 17:51:22 +1000
+
+zaptel (1:0.8.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Matt Zimmerman <mdz at debian.org>  Wed, 11 Feb 2004 15:29:20 -0800
+
+zaptel (1:0.8.0-2) unstable; urgency=low
+
+  * Create usr/include ahead of time so that tonezone.h is installed
+    correctly (Closes: #227795)
+
+ -- Matt Zimmerman <mdz at debian.org>  Wed, 14 Jan 2004 17:24:26 -0800
+
+zaptel (1:0.8.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Matt Zimmerman <mdz at debian.org>  Tue, 13 Jan 2004 14:44:56 -0800
+
+zaptel (1:0.6.0-2) unstable; urgency=low
+
+  * Rebuild with new libnewt
+
+ -- Matt Zimmerman <mdz at debian.org>  Mon, 30 Jun 2003 22:51:18 -0400
+
+zaptel (1:0.6.0-1) unstable; urgency=low
+
+  * New upstream release, needed for new asterisk (Closes: #189661)
+
+ -- Matt Zimmerman <mdz at debian.org>  Sat, 19 Apr 2003 23:56:59 -0400
+
+zaptel (1:0.4.0-2) unstable; urgency=low
+
+  * Break out into {build,install,binary}-indep targets
+    (Closes: #184528)
+  * libtonezone-dev Section: libdevel
+  * Escape $ properly in instructions in postinst
+
+ -- Matt Zimmerman <mdz at debian.org>  Wed, 12 Mar 2003 19:16:10 -0500
+
+zaptel (1:0.4.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Matt Zimmerman <mdz at debian.org>  Sun, 16 Feb 2003 15:12:02 -0500
+
+zaptel (0.cvs.20021029-1) unstable; urgency=low
+
+  * New upstream CVS
+  * Use MARK2 echo canceller
+
+ -- Matt Zimmerman <mdz at debian.org>  Tue, 29 Oct 2002 10:37:53 -0500
+
+zaptel (0.cvs.20020729-1) unstable; urgency=low
+
+  * New upstream CVS
+  * Include ztmonitor binary
+
+ -- Matt Zimmerman <mdz at debian.org>  Mon, 29 Jul 2002 12:36:58 -0400
+
+zaptel (0.cvs.20020708-1) unstable; urgency=low
+
+  * New upstream CVS
+
+ -- Matt Zimmerman <mdz at debian.org>  Mon,  8 Jul 2002 15:32:20 -0400
+
+zaptel (0.cvs.20020624-2) unstable; urgency=low
+
+  * Include Makefile in the -source package (oops, Closes: #152014)
+
+ -- Matt Zimmerman <mdz at debian.org>  Fri,  5 Jul 2002 11:00:08 -0400
+
+zaptel (0.cvs.20020624-1) unstable; urgency=low
+
+  * Initial Release (Closes: #150874)
+
+ -- Matt Zimmerman <mdz at debian.org>  Mon, 17 Jun 2002 10:31:21 -0400
+
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6b26bac
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,5 @@
+dahdi_tool
+autoconfig.h
+genconf_parameters.sample
+version.c
+debian/dahdi.udev
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..150dd02
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: dahdi-tools
+Section: comm
+Priority: optional
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Tzafrir Cohen <tzafrir at debian.org>, Mark Purcell <msp at debian.org>
+# groff, man-db and asciidoc are required for generating documentation
+Build-Depends: debhelper (>= 9), autotools-dev,
+ dahdi-source (>= 1:2.7), libnewt-dev, bzip2, libusb-dev, asciidoc, groff, man-db
+Standards-Version: 3.9.4
+Homepage: http://www.asterisk.org/
+Vcs-Svn: svn://anonscm.debian.org/pkg-voip/dahdi-tools/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-voip/dahdi-tools/
+
+Package: dahdi
+Architecture: linux-any
+Multi-Arch: foreign
+Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}, procps, fxload, dahdi-linux, usbutils
+Conflicts: zaptel
+Replaces: zaptel
+Description: utilities for using the DAHDI kernel modules
+ DAHDI (formly Zaptel) is an interface for telephony devices used by e.g. 
+ the Asterisk PBX software. The dahdi-* packages provide the kernel 
+ DAHDI kernel modules and their required setup environment.
+ .
+ This package includes userspace utilities required to configure DAHDI 
+ modules.
+
+Package: libtonezone2.0
+Section: libs
+Architecture: linux-any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: tonezone library (runtime)
+ A library for generating tones to be sent through the DAHDI telephony
+ interface.
+ .
+ This package contains the runtime library files.
+
+Package: libtonezone-dev
+Section: libdevel
+Architecture: linux-any
+Multi-Arch: same
+Depends: libtonezone2.0 (= ${binary:Version}), ${misc:Depends}
+Description: tonezone library (development)
+ A library for generating tones to be sent through the DAHDI telephony
+ interface.
+ .
+ This package contains the development files.
diff --git a/debian/control.modules.in b/debian/control.modules.in
new file mode 100644
index 0000000..d864815
--- /dev/null
+++ b/debian/control.modules.in
@@ -0,0 +1,17 @@
+Source: zaptel
+Section: comm
+Priority: extra
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Kilian Krause <kk at verfaction.de>, Jose Carlos Garcia Sogo <jsogo at debian.org>, Mark Purcell <msp at debian.org>, Santiago Garcia Mantinan <manty at debian.org>, Santiago Ruano Rincon <santiago at unicauca.edu.co>
+Build-Depends: debhelper (>> 3.0.0), bzip2
+Standards-Version: 3.6.1.1
+
+Package: zaptel-modules-_KVERS_
+Architecture: any
+Provides: zaptel-modules
+Description: zaptel modules for Linux (kernel _KVERS_).
+ This package contains the set of loadable kernel modules for the
+ zapata telephony API.
+ This package contains the compiled kernel modules for _KVERS_
+ .
+ In order to compile these modules use the module-assistant utility.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0aca183
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,114 @@
+This package was debianized by Tzafrir Cohen <tzafrir.cohen at xorcom.com> on
+Tue, 26 Aug 2008 10:06:40 +0300
+
+It was downloaded from
+  http://downloads.asterisk.org/pub/telephony/dahdi-tools/
+
+Copyright: (from dahdi_cfg.c)
+
+ * Written by Mark Spencer <markster at digium.com>
+ * Based on previous works, designs, and architectures conceived and
+ * written by Jim Dixon <jim at lambdatel.com>.
+ *
+ * Copyright (C) 2001 Jim Dixon / Zapata Telephony.
+ * Copyright (C) 2001-2008 Digium, Inc.
+ *
+ * All rights reserved.
+ *
+ * Primary Author: Mark Spencer <markster at digium.com>
+ * Radio Support by Jim Dixon <jim at lambdatel.com>
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2 as published by the
+ * Free Software Foundation. See the LICENSE file included with
+ * this program for more details.
+
+On Debian systems, a copy of the GNU General Public License Version 2 
+may be found in /usr/share/common-licenses/GPL-2 .
+
+Other Portions:
+dahdi_monitor.c: * Copyright (C) 2001 Jim Dixon / Zapata Telephony.
+dahdi_monitor.c: * Copyright (C) 2001-2008 Digium, Inc.
+dahdi_scan.c: * Copyright (C) 2007 Digium, Inc.
+dahdi_tool.c: * Copyright (C) 2001 Jim Dixon / Zapata Telephony.
+dahdi_tool.c: * Copyright (C) 2001-2008 Digium, Inc.
+sethdlc.c: * Copyright (C) 1999 - 2002 Krzysztof Halasa <khc at pm.waw.pl>
+sethdlc.c:              "Copyright (C) 2000 - 2003 Krzysztof Halasa <khc at pm.waw.pl>\n"
+
+Files in the xpp/ subdirectory:
+
+* Written by Oron Peled <oron at actcom.co.il>
+* Copyright (C) 2004-2010, Xorcom
+
+Perl programs and modules in the xpp/ directory:
+# This program is free software; you can redistribute and/or
+# modify it under the same terms as Perl itself.
+
+Other scripts in the xpp directory:
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+
+
+Files in menuselect/:
+
+menuselect is a GPLed program used in the build process of Asterisk and
+other Digium programs. Thus expect to find the same on those packages,
+and also not to find it in any binary package.
+
+menuselect/Makefile:# Copyright (C) 2005-2008, Digium, Inc.
+menuselect/menuselect.c: * Copyright (C) 2005 - 2006, Russell Bryant
+menuselect/menuselect_curses.c: * Copyright (C) 2005 - 2006, Russell Bryant
+menuselect/menuselect.h: * Copyright (C) 2005-2006, Russell Bryant
+menuselect/menuselect_newt.c: * Copyright (C) 2008 Sean Bright
+menuselect/menuselect_stub.c: * Copyright (C) 2005 - 2006, Russell Bryant
+menuselect/missing:# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
+menuselect/README:Copyright (C) 2005-2006, Digium, Inc.
+menuselect/strcompat.c: * Copyright (C) 1999 - 2006, Digium, Inc.
+
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+
+Portions of menuselect/strcompat.c:
+ * Based on Code from bsd-asprintf from OpenSSH
+ * Copyright (c) 2004 Darren Tucker.
+ *
+ * Based originally on asprintf.c from OpenBSD:
+ * Copyright (c) 1997 Todd C. Miller <Todd.Miller at courtesan.com>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+
+Files under menuselect/mxml/:
+
+mxml is a minimal XML parsing library used by Asterisk and co. Likewise
+used at build time for building menuselect above.
+
+ * Copyright 2003-2005 by Michael Sweet.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+
+
+On Debian systems, a copy of the GNU General Public License may be found in
+/usr/share/common-licenses/GPL-2.
diff --git a/debian/dahdi.dirs b/debian/dahdi.dirs
new file mode 100644
index 0000000..4932586
--- /dev/null
+++ b/debian/dahdi.dirs
@@ -0,0 +1 @@
+etc/init.d
diff --git a/debian/dahdi.doc-base.astribank b/debian/dahdi.doc-base.astribank
new file mode 100644
index 0000000..a2fbe10
--- /dev/null
+++ b/debian/dahdi.doc-base.astribank
@@ -0,0 +1,13 @@
+Document: dahdi.astribank
+Title: Xorcom Astribank Documentation
+Author: Tzafrir Cohen
+Abstract: Technical Documentation of the Xorcom Astribank
+Section: Network/Communication
+
+Format: HTML
+Index: /usr/share/doc/dahdi/README.Astribank.html
+Files: /usr/share/doc/dahdi/README.Astribank.html
+
+Format: text
+Files: /usr/share/doc/dahdi/README.Astribank.gz
+
diff --git a/debian/dahdi.doc-base.readme b/debian/dahdi.doc-base.readme
new file mode 100644
index 0000000..f9b8541
--- /dev/null
+++ b/debian/dahdi.doc-base.readme
@@ -0,0 +1,13 @@
+Document: dahdi
+Title: DAHDI Telephony Interface Driver
+Author: Tzafrir Cohen
+Abstract: Basic documentation of the DAHDI telephony interface
+Section: Network/Communication
+
+Format: HTML
+Index: /usr/share/doc/dahdi/README.html
+Files: /usr/share/doc/dahdi/README.html
+
+Format: text
+Files: /usr/share/doc/dahdi/README.gz
+
diff --git a/debian/dahdi.examples b/debian/dahdi.examples
new file mode 100644
index 0000000..c5a7617
--- /dev/null
+++ b/debian/dahdi.examples
@@ -0,0 +1,4 @@
+hotplug/span_config.d/50-asterisk
+xpp/genconf_parameters
+*.conf.sample
+*.conf
diff --git a/debian/dahdi.install b/debian/dahdi.install
new file mode 100644
index 0000000..82830af
--- /dev/null
+++ b/debian/dahdi.install
@@ -0,0 +1,4 @@
+usr/sbin/*
+usr/share/perl5/Dahdi*
+usr/share/dahdi/*
+usr/share/man/man8/*
diff --git a/debian/dahdi.lintian b/debian/dahdi.lintian
new file mode 100644
index 0000000..05eaeee
--- /dev/null
+++ b/debian/dahdi.lintian
@@ -0,0 +1 @@
+dahdi: mknod-in-maintainer-script postinst:16
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..4e4c586
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,5 @@
+README
+README.html
+tonezones.txt
+xpp/README.Astribank
+README.Astribank.html
diff --git a/debian/libtonezone-dev.install b/debian/libtonezone-dev.install
new file mode 100644
index 0000000..a26e608
--- /dev/null
+++ b/debian/libtonezone-dev.install
@@ -0,0 +1,3 @@
+usr/include/dahdi/tonezone.h
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
diff --git a/debian/libtonezone2.0.docs b/debian/libtonezone2.0.docs
new file mode 100644
index 0000000..0c08635
--- /dev/null
+++ b/debian/libtonezone2.0.docs
@@ -0,0 +1 @@
+tonezones.txt
diff --git a/debian/libtonezone2.0.install b/debian/libtonezone2.0.install
new file mode 100644
index 0000000..b526820
--- /dev/null
+++ b/debian/libtonezone2.0.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.2*
diff --git a/debian/libtonezone2.0.symbols b/debian/libtonezone2.0.symbols
new file mode 100644
index 0000000..5193472
--- /dev/null
+++ b/debian/libtonezone2.0.symbols
@@ -0,0 +1,11 @@
+libtonezone.so.2.0 libtonezone2.0 #MINVER#
+ builtin_zones at Base 1:2.2.1.1
+ dahdi_tools_version at Base 1:2.2.1.1
+ tone_zone_find at Base 1:2.2.1.1
+ tone_zone_find_by_num at Base 1:2.2.1.1
+ tone_zone_get_zone at Base 1:2.2.1.1
+ tone_zone_play_tone at Base 1:2.2.1.1
+ tone_zone_register at Base 1:2.2.1.1
+ tone_zone_register_zone at Base 1:2.2.1.1
+ tone_zone_set_zone at Base 1:2.2.1.1
+ tone_zone_tone_name at Base 1:2.2.1.1
diff --git a/debian/modulestest b/debian/modulestest
new file mode 100755
index 0000000..71c0022
--- /dev/null
+++ b/debian/modulestest
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+# debian/modulestest: a postbuild script to build zaptel modules
+# example usage:
+#  
+#  svn-buildpackage --svn-postbuild='debian/modulestest -r' --svn-ignore-new 
+
+# At least one of the following two must be set to a sensible value:
+# If both are empty, the script does nothing useful)
+#
+# kernel versions: Comma-separated. Use those if you have their
+# kernel-headers/linux-headers packages installed
+#
+
+# Full pathes to trees:
+# Use this to provide a full path to a custom kernel tree:
+#KERNEL_SOURCES=$HOME/Proj/Debs/Kernel/SwSusp/linux-2.6.15-rc5
+KERNEL_HEADERS=
+KERNEL_SOURCES=
+# run module-asustant with environment params that will generate
+# .changes files even without signing
+MODASS="env SIGNCHANGES=1 DEBSIGNCOMMAND=not_an_executable m-a"
+me=`basename $0`
+
+# workaround for silly bash parsing issue in our build scripts:
+if [ "$#" -lt 1 ]; then
+  set -- $MODULESTEST_ARGS
+fi
+
+while getopts ah:rs:t arg
+do
+  case "$arg" in
+    a) # All of the kernel-headers packages installed:
+        KERNEL_HEADERS=`COLUMNS=160 dpkg -l 'kernel-headers-2.[46].*-*-*' | awk '/^.i/{print $2}' | sed -e 's/^kernel-headers-//'| xargs| tr ' ' ,`
+      ;;
+    h) KERNEL_HEADERS=$OPTARG;;
+    s) KERNEL_SOURCES=$OPTARG;;
+    r) KERNEL_HEADERS=`uname -r`;;
+    t) # TODO: make this test per-distro or something 
+      KERNEL_HEADERS=2.4.27-2-386,2.6.8-2-686-smp
+      ;;
+  esac
+done
+shift $(( $OPTIND-1 ))
+
+echo "Building for: Headers: $KERNEL_HEADERS, Sources: $KERNEL_SOURCES"
+
+if [ "$KERNEL_HEADERS" != '' ]; then hdrs_sw="-l $KERNEL_HEADERS"; fi
+if [ "$KERNEL_SOURCES" != '' ]; then srcs_sw="-k $KERNEL_SOURCES"; fi
+
+# must be absolute for m-a ta accept TARBALL:
+# Also note that $PWD is ugly and is about to be deleted. We need
+# $PWD/.. 
+TOP_DIR=`dirname $PWD`
+MODS_DIR=$TOP_DIR/modules
+TAR_BALL=$MODS_DIR/usr/src/zaptel.tar.bz2
+DEB=$TOP_DIR/$PACKAGE-source_${TAG_VERSION}_all.deb
+LOG_FILE=$TOP_DIR/$PACKAGE-modules-build-$TAG_VERSION.log
+
+rm -f $LOG_FILE
+dpkg -x $DEB $MODS_DIR
+
+if [ "$hdrs_sw" != '' ]; then
+  TARBALL=$TAR_BALL $MODASS -u $TOP_DIR -t -i -f $hdrs_sw build $PACKAGE >>$LOG_FILE
+fi
+if [ "$srcs_sw" != '' ]; then
+  TARBALL=$TAR_BALL $MODASS -u $TOP_DIR -t -i -f $srcs_sw build $PACKAGE >>$LOG_FILE
+fi
+
+ls -l $TOP_DIR/$PACKAGE-modules-*_$TAG_VERSION+*.deb
+echo "$me: Log file: $LOG_FILE"
diff --git a/debian/patches/debian-cflags.patch b/debian/patches/debian-cflags.patch
new file mode 100644
index 0000000..bc1112f
--- /dev/null
+++ b/debian/patches/debian-cflags.patch
@@ -0,0 +1,31 @@
+From: Tzafrir Cohen <tzafrir at debian.org>
+Subject: Get hardening flags to some dahdi tools
+
+--- a/Makefile
++++ b/Makefile
+@@ -153,6 +153,7 @@ version.c: FORCE
+ tests: $(TEST_BINS)
+ 
+ $(UTILS): %: %.o
++	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
+ 
+ $(UTILS): version.o
+ 
+@@ -163,7 +164,7 @@ $(UTILS): version.o
+ 	$(CC) $(CFLAGS) $(MAKE_DEPS) -c -o $@ $<
+ 
+ %: %.o
+-	$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
++	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
+ 
+ prereq: config.status
+ 
+@@ -177,7 +178,7 @@ $(LTZ_A): $(LTZ_A_OBJS)
+ 	ranlib $@
+ 
+ $(LTZ_SO): $(LTZ_SO_OBJS)
+-	$(CC) $(CFLAGS) -shared -Wl,-soname,$(LTZ_SO).$(LTZ_SO_MAJOR_VER).$(LTZ_SO_MINOR_VER) -o $@ $^ -lm
++	$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LTZ_SO).$(LTZ_SO_MAJOR_VER).$(LTZ_SO_MINOR_VER) -o $@ $^ -lm
+ 
+ dahdi_cfg: $(LTZ_A)
+ dahdi_cfg: LIBS+=-lm -lpthread
diff --git a/debian/patches/echocan_oslec b/debian/patches/echocan_oslec
new file mode 100644
index 0000000..a521c3e
--- /dev/null
+++ b/debian/patches/echocan_oslec
@@ -0,0 +1,21 @@
+Subject: Make OSLEC the default DAHDI echo canceller
+Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Forwarded: no
+
+Our dahdi-linux packages provide OSLEC, which is generally a better echo
+canceller than those included with DAHDI. Thus we should make it the 
+default echo canceller in generated configurations.
+
+Debian-specific configuration tweak.
+
+--- a/xpp/perl_modules/Dahdi/Config/Params.pm
++++ b/xpp/perl_modules/Dahdi/Config/Params.pm
+@@ -111,7 +111,7 @@ sub item($$@) {
+ 			group_lines		=> '0',
+ 			brint_overlap		=> 'no',
+ 			bri_sig_style		=> 'bri_ptmp',
+-			echo_can		=> 'mg2',
++			echo_can		=> 'oslec',
+ 			bri_hardhdlc		=> 'auto',
+ 			pri_connection_type	=> 'PRI',
+ 			r2_idle_bits		=> '1101',
diff --git a/debian/patches/gcc5.patch b/debian/patches/gcc5.patch
new file mode 100644
index 0000000..bf462fa
--- /dev/null
+++ b/debian/patches/gcc5.patch
@@ -0,0 +1,33 @@
+From 5db44e215090e7d61602e206a09a4af394b022cb Mon Sep 17 00:00:00 2001
+From: Russ Meyerriecks <rmeyerriecks at digium.com>
+Date: Wed, 17 Jun 2015 11:36:16 -0500
+Subject: [PATCH] xpp: Fix a logical not being applied to the wrong operand
+
+gcc 5 found this with the new -Werror=logical-not-parenthesis warning. Since we
+have -Wall by default, it would also fail the compile.
+
+Internal-Issue-ID: DAHLIN-347
+
+Signed-off-by: Russ Meyerriecks <rmeyerriecks at digium.com>
+Acked-by: Shaun Ruffell <sruffell at digium.com>
+(cherry picked from commit 9a181ccfbcfa846aab20bd1dcbea8f83356e2705)
+---
+ xpp/mpptalk.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xpp/mpptalk.c b/xpp/mpptalk.c
+index e49c3cd..9bab867 100644
+--- a/xpp/mpptalk.c
++++ b/xpp/mpptalk.c
+@@ -512,7 +512,7 @@ int mpp_send_seg(struct astribank_device *astribank, const uint8_t *data, uint16
+ 
+ 	assert(astribank != NULL);
+ 	xtalk_dev = astribank->xtalk_dev;
+-	if(!astribank->burn_state == BURN_STATE_STARTED) {
++	if(astribank->burn_state != BURN_STATE_STARTED) {
+ 		ERR("Tried to send a segment while burn_state=%d\n",
+ 				astribank->burn_state);
+ 		return -EINVAL;
+-- 
+2.1.4
+
diff --git a/debian/patches/init_unload_oslec b/debian/patches/init_unload_oslec
new file mode 100644
index 0000000..f030dc4
--- /dev/null
+++ b/debian/patches/init_unload_oslec
@@ -0,0 +1,26 @@
+Subject: also unload OSLEC (echo) on module unload
+From: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Forwarded: no
+
+This patch sets the DAHDI init.d script to also unload 'echo' (OSLEC)
+in the 'stop' target. This adds to the default of unloading dahdi and
+all of its dependent modules.
+
+The package dahdi-linux includes 'echo' and with the default settings,
+will attempts load 'echo', that does not depend on dahdi, and hence
+will not be unloaded by default. Thus upgrading to a newer version (of
+a newer build) may break.
+
+This change will not be commited upstream, as OSLEC is not used there.
+
+--- a/dahdi.init
++++ b/dahdi.init
+@@ -40,7 +40,7 @@ DAHDI_DEV_TIMEOUT=20
+ 
+ # A list of modules to unload when stopping.
+ # All of their dependencies will be unloaded as well.
+-DAHDI_UNLOAD_MODULES="dahdi"
++DAHDI_UNLOAD_MODULES="dahdi echo"
+ 
+ #
+ # Determine which kind of configuration we're using
diff --git a/debian/patches/perl_diet b/debian/patches/perl_diet
new file mode 100644
index 0000000..6376c61
--- /dev/null
+++ b/debian/patches/perl_diet
@@ -0,0 +1,97 @@
+Remove the dependency on the module File::Basename. 
+
+This provides the ability to run the scripts using a local modules 
+directory. While that ability is very handy with the source distribution 
+and in testing environments, it is useless on a Debian package.
+
+It is removed in a (currently still failed) attempt to remove the 
+dependency on perl and depend on perl-base alone.
+
+--- a/xpp/dahdi.cgi
++++ b/xpp/dahdi.cgi
+@@ -6,8 +6,6 @@
+ # modify it under the same terms as Perl itself.
+ 
+ use strict;
+-use File::Basename;
+-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
+ 
+ use CGI::Pretty qw/:standard start_ul start_li start_div start_pre/;
+ use Dahdi;
+--- a/xpp/dahdi_drivers
++++ b/xpp/dahdi_drivers
+@@ -1,7 +1,5 @@
+ #! /usr/bin/perl -w
+ use strict;
+-use File::Basename;
+-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
+ 
+ use Dahdi::Hardware;
+ 
+--- a/xpp/dahdi_genconf
++++ b/xpp/dahdi_genconf
+@@ -8,8 +8,6 @@
+ # $Id: dahdi_genconf 5440 2008-12-05 00:24:09Z tzafrir $
+ #
+ use strict;
+-use File::Basename;
+-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
+ 
+ use Dahdi;
+ use Dahdi::Hardware;
+--- a/xpp/dahdi_hardware
++++ b/xpp/dahdi_hardware
+@@ -8,9 +8,7 @@
+ # $Id: dahdi_hardware 4484 2008-06-29 16:57:48Z tzafrir $
+ #
+ use strict;
+-use File::Basename;
+ use Getopt::Std;
+-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
+ 
+ use Dahdi;
+ use Dahdi::Span;
+--- a/xpp/dahdi_registration
++++ b/xpp/dahdi_registration
+@@ -8,8 +8,6 @@
+ # $Id: dahdi_registration 4533 2008-07-03 08:22:02Z tzafrir $
+ #
+ use strict;
+-use File::Basename;
+-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
+ 
+ use Dahdi;
+ use Dahdi::Span;
+--- a/xpp/lsdahdi
++++ b/xpp/lsdahdi
+@@ -8,8 +8,6 @@
+ # $Id: lsdahdi 4764 2008-08-12 10:21:53Z tzafrir $
+ #
+ use strict;
+-use File::Basename;
+-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
+ 
+ use Dahdi;
+ use Dahdi::Span;
+--- a/xpp/xpp_blink
++++ b/xpp/xpp_blink
+@@ -8,8 +8,6 @@
+ # $Id: xpp_blink 4416 2008-06-19 17:34:36Z tzafrir $
+ #
+ use strict;
+-use File::Basename;
+-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
+ 
+ use Dahdi;
+ use Dahdi::Span;
+--- a/xpp/xpp_sync
++++ b/xpp/xpp_sync
+@@ -8,8 +8,6 @@
+ # $Id: xpp_sync 4484 2008-06-29 16:57:48Z tzafrir $
+ #
+ use strict;
+-use File::Basename;
+-BEGIN { my $dir = dirname($0); unshift(@INC, "$dir", "$dir/perl_modules"); }
+ 
+ use Dahdi::Xpp;
+ use Dahdi::Xpp::Xbus;
diff --git a/debian/patches/remove_dahdi_speed b/debian/patches/remove_dahdi_speed
new file mode 100644
index 0000000..5264ab1
--- /dev/null
+++ b/debian/patches/remove_dahdi_speed
@@ -0,0 +1,16 @@
+Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Description: Remove the useless utility dahdi_speed
+
+It was useful long ago, but pointless now.
+
+--- a/Makefile
++++ b/Makefile
+@@ -98,7 +98,7 @@ UTILS		+= patgen pattest patlooptest hdl
+ 		   hdlcverify timertest dahdi_maint
+ 
+ 
+-BINS:=fxotune dahdi_cfg dahdi_monitor dahdi_speed dahdi_test dahdi_scan dahdi_maint
++BINS:=fxotune dahdi_cfg dahdi_monitor dahdi_test dahdi_scan dahdi_maint
+ ifeq	(1,$(PBX_NEWT))
+ 	BINS	+= dahdi_tool
+ endif
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cb2e2b0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,6 @@
+zaptel_perl
+echocan_oslec
+init_unload_oslec
+remove_dahdi_speed
+debian-cflags.patch
+gcc5.patch
diff --git a/debian/patches/udev_owener b/debian/patches/udev_owener
new file mode 100644
index 0000000..6974cce
--- /dev/null
+++ b/debian/patches/udev_owener
@@ -0,0 +1,17 @@
+Description: proper dahdi permissions as in Debian
+Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+
+In Debian DAHDI devices are owned by root:comm rather than
+asterisk:asterisk.
+
+Note that those rules are duplication of the rules in dahdi-linux. But
+this file is probably a better place for them.
+
+--- a/dahdi.rules
++++ b/dahdi.rules
+@@ -1,4 +1,4 @@
+ # DAHDI devices with ownership/permissions for running as non-root
+-SUBSYSTEM=="dahdi",		OWNER="asterisk", GROUP="asterisk", MODE="0660"
++SUBSYSTEM=="dahdi",		GROUP="comm", MODE="0660"
+ SUBSYSTEM=="dahdi_devices",	RUN="/usr/share/dahdi/handle_device"
+ SUBSYSTEM=="dahdi_spans",	RUN="/usr/share/dahdi/span_config"
diff --git a/debian/patches/zaptel_perl b/debian/patches/zaptel_perl
new file mode 100755
index 0000000..d8ed5f2
--- /dev/null
+++ b/debian/patches/zaptel_perl
@@ -0,0 +1,22 @@
+Subject: Set perl installation path to vendorlib
+Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Forwarded: no
+
+Point Zaptel PERL modules to the right directory under which to install
+perl modules.
+
+(sitelib in Debian is under /usr/local. We don't want to install there)
+
+Debian-specific configuration.
+
+--- a/xpp/Makefile
++++ b/xpp/Makefile
+@@ -30,7 +30,7 @@ SBINDIR		= $(prefix)/sbin
+ DATADIR		= $(datadir)/dahdi
+ MANDIR		= $(mandir)/man8
+ HOTPLUG_USB_DIR	= $(sysconfdir)/hotplug/usb
+-PERLLIBDIR	:= $(shell eval `perl -V:sitelib`; echo "$$sitelib")
++PERLLIBDIR	:= $(shell eval `perl -V:vendorlib`; echo "$$vendorlib")
+ PERL_DIRS	:= $(shell cd perl_modules; find * -name '[A-Z]*' -type d| xargs)
+ PERL_MODS_PAT	:= *.pm $(PERL_DIRS:%=%/*.pm)
+ PERL_MODS	:= $(shell cd perl_modules; echo $(PERL_MODS_PAT))
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c4a7e64
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,51 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+
+PREFIX:=dahdi
+PACKAGE_SRC:=$(PREFIX)-tools
+
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+DEB_BASE_VERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//')
+UPVERSION:=$(shell echo $(DEB_BASE_VERSION) | sed -e 's/~dfsg\(~\|$$\)/\1/' -e 's/~\(rc\|beta\)/-\1/')
+
+UPFILENAME := $(PACKAGE_SRC)_$(UPVERSION).orig.tar.gz
+FILENAME := $(PACKAGE_SRC)_$(DEB_BASE_VERSION).orig.tar.gz
+URL := http://downloads.asterisk.org/pub/telephony/$(PACKAGE_SRC)/releases/$(PACKAGE_SRC)-$(UPVERSION).tar.gz
+
+%:
+	dh $@ --wth autotools_dev
+
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-pinned
+
+override_dh_auto_build:
+	$(MAKE) programs docs
+	# FIXME: xpp/README.Astribank.html
+	cp dahdi.rules debian/dahdi.udev
+
+
+override_dh_auto_install:
+	# also run the 'config' target, in addition to the 'install' target:
+	dh_auto_install -- config
+	rm $(CURDIR)/debian/tmp/usr/share/dahdi/span_config.d/50-asterisk
+
+print-version:
+	@@echo "Debian version:          $(DEBVERSION)"
+	@@echo "Upstream version:        $(UPVERSION)"
+
+TARBALL_DIR=../tarballs/zaptel-$(UPVERSION).tmp
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@echo Downloading $(UPFILENAME) from $(URL) ...
+	@@wget  -nv -T10 -t3 --verbose -O ../tarballs/$(FILENAME) $(URL)
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cd106f2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/-rc/\~rc/; \
+	http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-(.*)\.tar\.gz\
+	debian svn-upgrade

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list