[Pkg-voip-commits] r9632 - in /yate/tags/2.2.0-1~dfsg-1.2: ./ debian/ debian/backports/ debian/patches/ debian/source/

msp at alioth.debian.org msp at alioth.debian.org
Sat Mar 31 23:06:55 UTC 2012


Author: msp
Date: Sat Mar 31 23:06:54 2012
New Revision: 9632

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=9632
Log:
tag 2.2.0-1~dfsg-1.2 release'

Added:
    yate/tags/2.2.0-1~dfsg-1.2/
    yate/tags/2.2.0-1~dfsg-1.2/debian/
    yate/tags/2.2.0-1~dfsg-1.2/debian/README.source
    yate/tags/2.2.0-1~dfsg-1.2/debian/TODO.Debian
    yate/tags/2.2.0-1~dfsg-1.2/debian/backports/
    yate/tags/2.2.0-1~dfsg-1.2/debian/backports/sarge   (with props)
    yate/tags/2.2.0-1~dfsg-1.2/debian/changelog
    yate/tags/2.2.0-1~dfsg-1.2/debian/compat
    yate/tags/2.2.0-1~dfsg-1.2/debian/control
    yate/tags/2.2.0-1~dfsg-1.2/debian/copyright
    yate/tags/2.2.0-1~dfsg-1.2/debian/docs
    yate/tags/2.2.0-1~dfsg-1.2/debian/libyate2.2.0.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/patches/
    yate/tags/2.2.0-1~dfsg-1.2/debian/patches/dahdi
    yate/tags/2.2.0-1~dfsg-1.2/debian/patches/series
    yate/tags/2.2.0-1~dfsg-1.2/debian/rules   (with props)
    yate/tags/2.2.0-1~dfsg-1.2/debian/source/
    yate/tags/2.2.0-1~dfsg-1.2/debian/source/format
    yate/tags/2.2.0-1~dfsg-1.2/debian/watch
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-alsa.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-core.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dahdi.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dev.dirs
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dev.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-doc.dirs
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-doc.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-mysql.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-openh323.dirs
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-openh323.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-pgsql.dirs
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-pgsql.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-qt4.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate-scripts.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate.default
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate.dirs
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate.init
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate.install
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate.postinst
    yate/tags/2.2.0-1~dfsg-1.2/debian/yate.postrm

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/README.source?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/README.source (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/README.source Sat Mar 31 23:06:54 2012
@@ -1,0 +1,38 @@
+This package uses dpatch to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To get the fully patched source after unpacking the source package, cd
+to the root level of the source package and run:
+
+    debian/rules patch
+
+Removing a patch is as simple as removing its entry from the
+debian/patches/00list file, and please also remove the patch file
+itself.
+
+Creating a new patch is done with "dpatch-edit-patch patch XX_patchname"
+where you should replace XX with a new number and patchname with a
+descriptive shortname of the patch. You can then simply edit all the
+files your patch wants to edit, and then simply "exit 0" from the shell
+to actually create the patch file.
+
+To tweak an already existing patch, call "dpatch-edit-patch XX_patchname"
+and replace XX_patchname with the actual filename from debian/patches
+you want to use.
+
+To clean up afterwards again, "debian/rules unpatch" will do the
+work for you - or you can of course choose to call
+"fakeroot debian/rules clean" all together.
+
+
+--- 
+
+this documentation is part of dpatch package, and may be used by
+packages using dpatch to comply with policy on README.source. This
+documentation is meant to be useful to users who are not proficient in
+dpatch in doing work with dpatch-based packages. Please send any
+improvements to the BTS of dpatch package.
+
+original text by Gerfried Fuchs, edited by Junichi Uekawa <dancer at debian.org>
+10 Aug 2008.

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/TODO.Debian
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/TODO.Debian?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/TODO.Debian (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/TODO.Debian Sat Mar 31 23:06:54 2012
@@ -1,0 +1,3 @@
+* Proper handling of python.
+* Dependency of -scripts on perl for the single perl module there?
+* yate-dahdi still does not support dahdi. Work with upstream.

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/backports/sarge
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/backports/sarge?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/backports/sarge (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/backports/sarge Sat Mar 31 23:06:54 2012
@@ -1,0 +1,13 @@
+#!/bin/bash
+#
+# Hook for automatic backports at buildserver.net
+#
+# Target dist: Debian Sarge
+
+# libpq-dev formerly used to be postgresql-dev
+sed -i -e 's#^\(Build-Depends:.*\)libpq-dev[^\ ]* \(.*\)$#\1postgresql-dev, \2#' debian/control
+
+# Use old libmysqlclient-dev from Sarge
+sed -i -e 's#^\(Build-Depends:.*\)libmysqlclient[^\ ]* \(.*\)$#\1libmysqlclient12-dev, \2#' debian/control
+
+exit 0

Propchange: yate/tags/2.2.0-1~dfsg-1.2/debian/backports/sarge
------------------------------------------------------------------------------
    svn:executable = *

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/changelog?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/changelog (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/changelog Sat Mar 31 23:06:54 2012
@@ -1,0 +1,228 @@
+yate (2.2.0-1~dfsg-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: dpkg-buildpackage: error: dpkg-source -b yate-2.2.0-1~dfsg
+    gave error exit status 2":
+    - remove automatically created patch
+    - handle config.{sub.guess} with autotools-dev helpers
+    - make build dependency on autotools-dev versioned
+    (Closes: #652197)
+
+ -- gregor herrmann <gregoa at debian.org>  Tue, 13 Mar 2012 19:31:46 +0100
+
+yate (2.2.0-1~dfsg-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Replace build-dependency on python2.5 with python. Closes: #596317.
+
+ -- Matthias Klose <doko at debian.org>  Sun, 12 Sep 2010 11:36:35 +0200
+
+yate (2.2.0-1~dfsg-1) unstable; urgency=low
+
+  [ Tzafrir Cohen ]
+  * New upstream release. lib name is now libyate2.2.0 .
+  * Add myself as uploader.
+  * Remove debian/tmp/ from install pathes. We use debhelper 7 now. 
+  * YATE2 does not use libpri anymore.
+  * No need to depend on dpatch (we'll switch to quilt if we have patches). 
+  * Remove explicit dependency on libyate (detected automatically).
+  * Remove old conflicts. 1.3.0 is already in current Stable.
+  * Rename yete-gtk2 to yate-qt4 (which is what it is). 
+  * Split out yate-core (most modules) and yate-scripts (mostly PHP) from
+    yate (Ioana Stanciu).
+  * Also separate out yate-dahdi (Ioana Stanciu).
+  * Which also requires running autoconf, and depending on autoconf.
+  * Switch to format v3.
+  * yate.init: behave more sensibly in case of an error. 
+
+  [ Mark Purcell ]
+  * Additional necessary Conflicts:/ Replaces:
+
+ -- Mark Purcell <msp at debian.org>  Sun, 21 Mar 2010 20:03:43 +1100
+
+yate (2.1.0-1~dfsg-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #499586)
+  * NEW package libyate2.1.0 - soname bump
+    - fixes package-name-doesnt-match-sonames
+
+  [ Kilian Krause ]
+  * Add Homepage field as added in dpkg-dev 1.14.6.
+
+  [ Tzafrir Cohen ]
+  * Remove -N from wget command in get-orig-source (conflicts with -O).
+  * Update ilbc stripping in get-orig-source.
+  * No more - in the version.
+  * The GUI is now qt4 and not gtk2.
+  * Location of modules files changed.
+  * There are some extra libraries for the library package.
+  * s/zaptel/dahdi/ (Closes: #559481).
+
+  [ Patrick Matthäi ]
+  * Add missing copyright notice.
+  * Fix spelling error in control file (s/postgresql/PostgreSQL/).
+    Thanks lintian.
+
+  [ Mark Purcell ]
+  * Update to Standards 3.8.4
+   - Add ${misc:Depends} fixes debhelper-but-no-misc-depends
+   - fixes package-uses-deprecated-debhelper-compat-version -> 7
+   - Fix libopenh323-dev build-depends-on-1-revision
+   - patch-system-but-no-source-readme - added debian/README.source
+   - copyright-refers-to-versionless-license-file - changed to GPL-2
+  * Depends: php5-cli fixes php-script-but-no-phpX-cli-dep
+  * dh-clean-k-is-deprecated - removed
+  * init.d Required-Start:    $remote_fs
+    - fixes init.d-script-missing-dependency-on-remote_fs
+  * Cleanout unused debian/patches/
+
+ -- Mark Purcell <msp at debian.org>  Thu, 18 Feb 2010 20:08:21 +1100
+
+yate (1.3.0-1.dfsg-1) unstable; urgency=low
+
+  [ Mikael Magnusson ]
+  * New upstream release
+  * New modules: park.yate, queues.yate and sipfeatures.yate
+  * New config file: sipfeatures.conf
+
+ -- Kilian Krause <kilian at debian.org>  Mon, 03 Sep 2007 21:17:59 +0200
+
+yate (1.2.0-1.dfsg-3) unstable; urgency=medium
+
+  [ Mikael Magnusson ]
+  * Add missing scripts: leavemail.php, route.php and voicemail.php
+  * Add missing default config file: providers.conf
+
+  [ Kilian Krause ]
+  * Use ${binary:Version} for binNMU-safe uploads.
+    Add dpkg-dev (>= 1.13.19) to Build-Depends
+  * Fix debian-rules-ignores-make-clean-error warning.
+  * Fix php-script-but-no-php-cli-dep warning: Add Recommends to package yate
+  * Add LSB section to init script.
+
+  [ Faidon Liambotis ]
+  * Add myself to Uploaders.
+  * Bump urgency to medium since this is a low-risk important bugfix release.
+  * Fix XS-Vcs-Svn and XS-Vcs-Browser URIs.
+
+ -- Faidon Liambotis <paravoid at debian.org>  Tue, 28 Aug 2007 10:01:01 +0300
+
+yate (1.2.0-1.dfsg-2) unstable; urgency=low
+
+  * Build-Depends on libspeex-dev. (Closes: #422774)
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Fri, 11 May 2007 22:24:06 +0100
+
+yate (1.2.0-1.dfsg-1) unstable; urgency=high
+
+  [ Mikael Magnusson ]
+  * New upstream release
+  * MD5 patch applied by upstream.
+  * osschan patch applied by upstream.
+  * yate: Add yjinglechan, ystunchan and speexcodec modules.
+  * zaptel.h moved to /usr/include/zaptel (Closes: #419455)
+
+  [ Mark Purcell ]
+  * Urgency high as this addresess DoS vulnerability
+    - CVE-2007-1693 [Fwd: Radware Security Advisory - Yate 1.1.0 Denial of
+    Service Vulnerability] (Closes: #421994)
+  * Cleanup debian/patches and add zaptel-headers.dpatch
+
+ -- Mark Purcell <msp at debian.org>  Wed, 02 May 2007 21:06:13 +0100
+
+yate (1.1.0-1.dfsg-1) unstable; urgency=low
+
+  [ Mikael Magnusson ]
+  * New upstream release
+  * Remove gcc-4.1 patch merged by upstream
+  * yate: Add tonedetect module
+  * Fix broken MD5 on Big Endian architectures. (Closes: #391454)
+  * Bump Standards-Version to 3.7.2. No changes required.
+  * osschan: collect and forward complete 20ms frames, fixes problem with
+    garbled audio.
+
+  [ Kilian Krause ]
+  * Switch from postgresql-dev to libpq-dev for Build-Depends to pull only
+    required amount of packages.
+  * Fix building arch=all packages in binary-arch target.
+
+ -- Kilian Krause <kilian at debian.org>  Wed,  3 Jan 2007 21:22:14 +0100
+
+yate (1.0.0-1.dfsg-2) unstable; urgency=low
+
+  * Ensure that autoconf isn't run during build.
+
+ -- Mikael Magnusson <mikma at users.sourceforge.net>  Mon, 24 Jul 2006 22:10:17 +0200
+
+yate (1.0.0-1.dfsg-1) unstable; urgency=low
+
+  [ Kilian Krause ]
+  * New upstream version (1.0.0-1) (Closes: #377778, #358131)
+  * Update build-depends to libpri1.2 and libgtk2.0-dev.
+  * Add Mikael Magnusson to Uploaders.
+
+  [ Mikael Magnusson ]
+  * Update module and script paths in *.install
+  * Remove libortp2-dev build-depends, ortpchan removed by upstream
+    (Closes: #362709)
+  * Old Gtk-1 and Qt clients removed by upstream
+  * PostgreSQL module pgsqldb replaces cdrpgsql and pgsqlroute.
+  * Remove yate.8 from yate.install, installed by dh_installman
+  * Add new modules: accfile, callgen, conference, moh, pbx, yrtpchan
+  * Add config files: accfile.conf, cdrfile.conf, moh.conf,
+    yrtpchan.conf, ysipchan.conf
+  * Remove build-depends to libiax-dev and libspandsp-dev
+  * Fix lintian warning: "yate: package-name-doesnt-match-sonames
+    libyate0.9.0"
+  * Build DFSG compliant orig tarball without iLBC sources
+  * Add yate-gtk2 package containing the GTK+ 2 YateClient
+  * libpri dependency mismatch fixed (Closes: #360656)
+  * Fix short package description of yate
+  * Fix "extra qualification" compile error
+  * Rename shared library package to libyate1.0.0
+  * Add yate-alsa package containing the ALSA module for yate
+  * Add yate-mysql package
+
+ -- Mark Purcell <msp at debian.org>  Wed, 19 Jul 2006 20:54:59 +0100
+
+yate (0.8.7+cvs20050604-4) unstable; urgency=low
+
+  * Complete transition of openh323 and pwlib into Etch with the new libstc++.
+  * Fix compilation of zapchan (Closes: #340070)
+  * Purge /var/lib/yate on uninstall. (Closes: #339939)
+  * Bump Standards-Version to 3.6.2. No change needed.
+
+ -- Kilian Krause <kilian at debian.org>  Sat, 31 Dec 2005 16:25:12 +0000
+
+yate (0.8.7+cvs20050604-3) unstable; urgency=low
+
+  * Fixed building on amd64. Needed one missing patch from #303028.
+
+ -- Kilian Krause <kilian at debian.org>  Tue,  6 Sep 2005 22:06:16 +0000
+
+yate (0.8.7+cvs20050604-2) unstable; urgency=low
+
+  * Fixed building with gcc4 to complete Qt/gcc4-version. (Closes: #326588,#303028)
+  * debian/control: Fix typos (Closes: #326887)
+
+ -- Kilian Krause <kilian at debian.org>  Tue,  6 Sep 2005 19:21:24 +0000
+
+yate (0.8.7+cvs20050604-1) unstable; urgency=low
+
+  * Fixed zaphfc support with CVS version.
+  * Install into /usr/bin as this is supposed to be a client too.
+
+ -- Kilian Krause <kk at verfaction.de>  Sat,  4 Jun 2005 19:47:56 +0200
+
+yate (0.8.7-2) unstable; urgency=low
+
+  * Bumped version to Mimas version of OpenH323.
+
+ -- Kilian Krause <kk at verfaction.de>  Mon, 21 Feb 2005 22:47:28 +0100
+
+yate (0.8.7-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #288576)
+
+ -- Kilian Krause <kk at verfaction.de>  Tue, 18 Jan 2005 02:25:00 +0100
+

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/compat
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/compat?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/compat (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/compat Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+7

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/control?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/control (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/control Sat Mar 31 23:06:54 2012
@@ -1,0 +1,159 @@
+Source: yate
+Section: comm
+Priority: optional
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Kilian Krause <kilian at debian.org>, Jose Carlos Garcia Sogo <jsogo at debian.org>, Mark Purcell <msp at debian.org>, Santiago Garcia Mantinan <manty at debian.org>, Mikael Magnusson <mikma at users.sourceforge.net>, Faidon Liambotis <paravoid at debian.org>, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Build-Depends: debhelper (>= 7),
+ autotools-dev (>= 20100122.1),
+ autoconf,
+ libopenh323-dev (>= 1.15.6),
+ libgsm1-dev,
+ dahdi-source,
+ libmysqlclient-dev,
+ libpq-dev,
+ libqt4-dev,
+ libasound2-dev,
+ libspeex-dev,
+ python,
+ libspandsp-dev,
+ doxygen,
+ pkg-config,
+ dpkg-dev (>= 1.13.19)
+Standards-Version: 3.8.4
+Homepage: http://yate.null.ro/
+Vcs-Svn: svn://svn.debian.org/pkg-voip/yate/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/yate/?op=log
+
+Package: yate
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, yate-core (= ${binary:Version})
+Description: Yet Another Telephony Engine (YATE)
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This package contains YATE Server itself.
+
+Package: libyate2.2.0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Shared library for YATE
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This package contains shared libraries for YATE.
+
+Package: yate-core
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: yate (<= 2.1.0-1~dfsg-1)
+Replaces: yate (<= 2.1.0-1~dfsg-1)
+Description: YATE core modules
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This package contains the core modules necessary for running YATE.
+
+Package: yate-dev
+Architecture: any
+Section: libdevel
+Conflicts: yate (<= 2.1.0-1~dfsg-1)
+Replaces: yate (<= 2.1.0-1~dfsg-1)
+Depends: ${shlibs:Depends}, ${misc:Depends}, libyate2.2.0 (= ${binary:Version})
+Description: Development files for YATE
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This package contains development libraries for YATE.
+
+Package: yate-doc
+Section: doc
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Documentation for YATE
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This package provides documentation for YATE.
+
+# Or maybe a separate -php and -perl packages?
+Package: yate-scripts
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, yate (= ${binary:Version}), php5-cli
+Conflicts: yate (<= 2.1.0-1~dfsg-1)
+Replaces: yate (<= 2.1.0-1~dfsg-1)
+Description: PHP scripts for YATE
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ These are the php scripts for YATE.
+
+Package: yate-pgsql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, yate-core (= ${binary:Version})
+Description: PostgreSQL module for yate
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ These are the modules that require PostgreSQL.
+
+Package: yate-openh323
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, yate-core (= ${binary:Version})
+Description: OpenH323 module for YATE
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This is the OpenH323 module.
+
+Package: yate-qt4
+Conflicts: yate-gtk2
+Replaces: yate-gtk2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, yate-core (= ${binary:Version})
+Description: YATE-based universal telephony client
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ YateClient uses the same telephony code to produce a software desktop VoIP
+ (SIP, H.323, IAX2) phone. yate-qt4 uses this to provide such a telephony
+
+Package: yate-alsa
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, yate-core (= ${binary:Version})
+Description: ALSA module for YATE
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This is the ALSA module for YATE.
+
+Package: yate-mysql
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, yate-core (= ${binary:Version})
+Description: MySQL support module for yate
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This is the MySQL support module for YATE.
+
+Package: yate-dahdi
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, yate-core (= ${binary:Version})
+Description: Dahdi support for YATE
+ YATE is a telephony engine aimed at creating a telephony server that
+ performs well enough to deal with PBX requirements and also flexible
+ enough for complex Gateway and IVR solutions.
+ .
+ This is the DAHDI support module for YATE.

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/copyright?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/copyright (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/copyright Sat Mar 31 23:06:54 2012
@@ -1,0 +1,36 @@
+This package was debianized by Kilian Krause <kk at verfaction.de> on
+Sun, 26 Dec 2004 16:41:25 +0100.
+
+It was downloaded from http://yate.null.ro/
+
+GPL with exceptions:
+   YATE's license is GPL with an exception for linking with OpenH323 and PWlib
+   (licensed under MPL).
+
+Upstream Authors: Paul Chitescu <paulc-devel at null.ro>, Diana Cionoiu <diana at voip.null.ro>
+
+Copyright: (C) 2004-2006 by Null Team
+
+License:
+
+ * Yet Another Telephony Engine - a fully featured software PBX and IVR
+ * Copyright (C) 2004-2006 Null Team
+ *
+ * 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.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/docs
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/docs?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/docs (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/docs Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+README

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/libyate2.2.0.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/libyate2.2.0.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/libyate2.2.0.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/libyate2.2.0.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+usr/lib/libyate*.so.*

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/patches/dahdi
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/patches/dahdi?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/patches/dahdi (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/patches/dahdi Sat Mar 31 23:06:54 2012
@@ -1,0 +1,682 @@
+--- a/configure.in	2009-11-02 09:17:22.000000000 +0200
++++ b/configure.in	2010-02-22 13:58:21.000000000 +0200
+@@ -427,6 +427,16 @@
+ 
+ HAVE_ZAP=no
+ ZAP_FLAGS=""
++AC_ARG_ENABLE(dahdi,AC_HELP_STRING([--enable-dahdi],[Enable Dahdi driver (default: yes)]),want_dahdi=$enableval,want_dahdi=yes)
++if [[ "x$want_dahdi" = "xyes" ]]; then
++AC_MSG_CHECKING([for Dahdi generic headers])
++AC_TRY_COMPILE([
++#include <dahdi/user.h>
++],[],
++HAVE_ZAP="yes"
++)
++AC_MSG_RESULT([$HAVE_ZAP])
++if [[ "x$HAVE_ZAP" = "xno" ]]; then
+ AC_ARG_ENABLE(zaptel,AC_HELP_STRING([--enable-zaptel],[Enable Zaptel driver (default: yes)]),want_zaptel=$enableval,want_zaptel=yes)
+ if [[ "x$want_zaptel" = "xyes" ]]; then
+ AC_MSG_CHECKING([for Zaptel generic headers])
+@@ -434,7 +444,7 @@
+ #include <zaptel/zaptel.h>
+ ],[],
+ HAVE_ZAP="yes"
+-ZAP_FLAGS="-DNEW_ZAPTEL_LOCATION"
++ZAP_FLAGS="-DNEW_ZAPTEL_LOCATION -DHAVE_ZAP"
+ )
+ AC_MSG_RESULT([$HAVE_ZAP])
+ if [[ "x$HAVE_ZAP" = "xno" ]]; then
+@@ -443,10 +453,13 @@
+ #include <linux/zaptel.h>
+ ],[],
+ HAVE_ZAP="yes"
++ZAP_FLAGS="-DHAVE_ZAP"
+ )
+ AC_MSG_RESULT([$HAVE_ZAP])
+ fi
+ fi
++fi
++fi
+ AC_SUBST(HAVE_ZAP)
+ AC_SUBST(ZAP_FLAGS)
+ 
+--- a/modules/server/zapcard.cpp	2009-09-19 16:55:59.000000000 +0300
++++ b/modules/server/zapcard.cpp	2010-02-22 14:03:48.000000000 +0200
+@@ -30,12 +30,16 @@
+ #else
+ 
+ extern "C" {
++#ifdef HAVE_ZAP
+ #ifdef NEW_ZAPTEL_LOCATION
+ #define __LINUX__
+ #include <zaptel/zaptel.h>
+ #else
+ #include <linux/zaptel.h>
+ #endif
++#else
++#include <dahdi/user.h>
++#endif
+ };
+ 
+ #include <string.h>
+@@ -63,6 +67,154 @@
+ 
+ #define ZAP_CRC_LEN 2                    // The length of the CRC field in signalling packets
+ 
++#ifdef HAVE_ZAP
++
++// alarms
++#define DAHDI_ALARM_RECOVER	ZT_ALARM_RECOVER
++#define DAHDI_ALARM_LOOPBACK	ZT_ALARM_LOOPBACK
++#define DAHDI_ALARM_RED		ZT_ALARM_RED
++#define DAHDI_ALARM_YELLOW	ZT_ALARM_YELLOW
++#define DAHDI_ALARM_BLUE	ZT_ALARM_BLUE
++#define DAHDI_ALARM_NOTOPEN	ZT_ALARM_NOTOPEN
++
++
++// events
++#define DAHDI_EVENT_NONE		ZT_EVENT_NONE
++#define DAHDI_EVENT_ONHOOK		ZT_EVENT_ONHOOK
++#define DAHDI_EVENT_RINGOFFHOOK		ZT_EVENT_RINGOFFHOOK
++#define DAHDI_EVENT_WINKFLASH		ZT_EVENT_WINKFLASH
++#define DAHDI_EVENT_ALARM		ZT_EVENT_ALARM
++#define DAHDI_EVENT_NOALARM		ZT_EVENT_NOALARM
++#define DAHDI_EVENT_ABORT		ZT_EVENT_ABORT
++#define DAHDI_EVENT_OVERRUN		ZT_EVENT_OVERRUN
++#define DAHDI_EVENT_BADFCS		ZT_EVENT_BADFCS
++#define DAHDI_EVENT_DIALCOMPLETE	ZT_EVENT_DIALCOMPLETE
++#define DAHDI_EVENT_RINGERON		ZT_EVENT_RINGERON
++#define DAHDI_EVENT_RINGEROFF		ZT_EVENT_RINGEROFF
++#define DAHDI_EVENT_HOOKCOMPLETE	ZT_EVENT_HOOKCOMPLETE
++#define DAHDI_EVENT_BITSCHANGED		ZT_EVENT_BITSCHANGED
++#define DAHDI_EVENT_PULSE_START		ZT_EVENT_PULSE_START
++#define DAHDI_EVENT_TIMER_EXPIRED	ZT_EVENT_TIMER_EXPIRED
++#define DAHDI_EVENT_TIMER_PING		ZT_EVENT_TIMER_PING
++#define DAHDI_EVENT_RINGBEGIN		ZT_EVENT_RINGBEGIN
++#define DAHDI_EVENT_POLARITY   		ZT_EVENT_POLARITY
++
++#ifdef ZT_EVENT_REMOVED
++#define DAHDI_EVENT_REMOVED		ZT_EVENT_REMOVED
++#endif
++
++#define DAHDI_EVENT_PULSEDIGIT 		ZT_EVENT_PULSEDIGIT
++#define DAHDI_EVENT_DTMFDOWN   		ZT_EVENT_DTMFDOWN
++#define DAHDI_EVENT_DTMFUP  		ZT_EVENT_DTMFUP 
++#define DAHDI_EVENT_PULSEDIGIT		ZT_EVENT_PULSEDIGIT
++#define DAHDI_EVENT_DTMFDOWN		ZT_EVENT_DTMFDOWN
++#define DAHDI_EVENT_DTMFUP		ZT_EVENT_DTMFUP
++
++// hook events
++#define DAHDI_ONHOOK	ZT_ONHOOK
++#define DAHDI_OFFHOOK	ZT_OFFHOOK
++#define DAHDI_WINK	ZT_WINK
++#define DAHDI_FLASH	ZT_FLASH
++#define DAHDI_START	ZT_START
++#define DAHDI_RING	ZT_RING
++#define DAHDI_RINGOFF	ZT_RINGOFF
++
++// flush buffers
++#define DAHDI_FLUSH_READ	ZT_FLUSH_READ
++#define DAHDI_FLUSH_WRITE	ZT_FLUSH_WRITE
++#define DAHDI_FLUSH_BOTH	ZT_FLUSH_BOTH
++#define DAHDI_FLUSH_EVENT	ZT_FLUSH_EVENT
++#define DAHDI_FLUSH_ALL		ZT_FLUSH_ALL
++
++// formats
++#define DAHDI_LAW_DEFAULT	ZT_LAW_DEFAULT
++#define DAHDI_LAW_MULAW		ZT_LAW_MULAW
++#define DAHDI_LAW_ALAW		ZT_LAW_ALAW
++
++// dial operations
++#define DAHDI_DIAL_OP_APPEND	ZT_DIAL_OP_APPEND
++#define DAHDI_DIAL_OP_REPLACE	ZT_DIAL_OP_REPLACE
++#define DAHDI_DIAL_OP_CANCEL	ZT_DIAL_OP_CANCEL
++
++// signalling types
++#define DAHDI_SIG_NONE		ZT_SIG_NONE
++#define DAHDI_SIG_FXSLS		ZT_SIG_FXSLS
++#define DAHDI_SIG_FXSGS		ZT_SIG_FXSGS
++#define DAHDI_SIG_FXSKS		ZT_SIG_FXSKS
++#define DAHDI_SIG_FXOLS		ZT_SIG_FXOLS
++#define DAHDI_SIG_FXOGS		ZT_SIG_FXOGS
++#define DAHDI_SIG_FXOKS		ZT_SIG_FXOKS
++#define DAHDI_SIG_EM		ZT_SIG_EM
++#define DAHDI_SIG_CLEAR		ZT_SIG_CLEAR
++#define DAHDI_SIG_HDLCRAW	ZT_SIG_HDLCRAW
++#define DAHDI_SIG_HDLCFCS	ZT_SIG_HDLCFCS
++#define DAHDI_SIG_HDLCNET	ZT_SIG_HDLCNET
++#define DAHDI_SIG_SLAVE		ZT_SIG_SLAVE
++#define DAHDI_SIG_SF		ZT_SIG_SF
++#define DAHDI_SIG_CAS		ZT_SIG_CAS
++#define DAHDI_SIG_DACS		ZT_SIG_DACS
++#define DAHDI_SIG_EM_E1		ZT_SIG_EM_E1
++#define DAHDI_SIG_DACS_RBS	ZT_SIG_DACS_RBS
++#define DAHDI_SIG_HARDHDLC	ZT_SIG_HARDHDLC
++
++// tonedetect
++#define DAHDI_TONEDETECT_ON	ZT_TONEDETECT_ON
++#define DAHDI_TONEDETECT_MUTE	ZT_TONEDETECT_MUTE
++
++// dtmfs
++#define DAHDI_MAX_DTMF_BUF	ZT_MAX_DTMF_BUF
++#define DAHDI_TONE_DTMF_0	ZT_TONE_DTMF_0
++#define DAHDI_TONE_DTMF_1	ZT_TONE_DTMF_1
++#define DAHDI_TONE_DTMF_2	ZT_TONE_DTMF_2
++#define DAHDI_TONE_DTMF_3	ZT_TONE_DTMF_3
++#define DAHDI_TONE_DTMF_4	ZT_TONE_DTMF_4
++#define DAHDI_TONE_DTMF_5	ZT_TONE_DTMF_5
++#define DAHDI_TONE_DTMF_6	ZT_TONE_DTMF_6
++#define DAHDI_TONE_DTMF_7	ZT_TONE_DTMF_7
++#define DAHDI_TONE_DTMF_8	ZT_TONE_DTMF_8
++#define DAHDI_TONE_DTMF_9	ZT_TONE_DTMF_9
++#define DAHDI_TONE_DTMF_s	ZT_TONE_DTMF_s
++#define DAHDI_TONE_DTMF_p	ZT_TONE_DTMF_p
++#define DAHDI_TONE_DTMF_A	ZT_TONE_DTMF_A
++#define DAHDI_TONE_DTMF_B	ZT_TONE_DTMF_B
++#define DAHDI_TONE_DTMF_C	ZT_TONE_DTMF_C
++#define DAHDI_TONE_DTMF_D	ZT_TONE_DTMF_D
++
++// ioctl operations
++#define DAHDI_SIG_EM		ZT_SIG_EM
++#define DAHDI_GETEVENT		ZT_GETEVENT
++#define DAHDI_SPECIFY		ZT_SPECIFY
++#define DAHDI_SET_BLOCKSIZE	ZT_SET_BLOCKSIZE
++#define DAHDI_SET_BUFINFO	ZT_SET_BUFINFO
++#define DAHDI_SETLAW		ZT_SETLAW
++#define DAHDI_AUDIOMODE		ZT_AUDIOMODE
++#define DAHDI_ECHOCANCEL	ZT_ECHOCANCEL
++#define DAHDI_DIAL		ZT_DIAL
++#define DAHDI_HOOK		ZT_HOOK
++#define DAHDI_TONEDETECT	ZT_TONEDETECT
++#define DAHDI_SETPOLARITY	ZT_SETPOLARITY
++#define DAHDI_SETLINEAR		ZT_SETLINEAR
++#define DAHDI_SET_DIALPARAMS	ZT_SET_DIALPARAMS
++#define DAHDI_GET_PARAMS	ZT_GET_PARAMS
++#define DAHDI_SPANSTAT		ZT_SPANSTAT
++#define DAHDI_GET_DIALPARAMS	ZT_GET_DIALPARAMS
++#define DAHDI_ECHOTRAIN		ZT_ECHOTRAIN
++#define DAHDI_FLUSH		ZT_FLUSH
++#define DAHDI_SENDTONE		ZT_SENDTONE
++#define DAHDI_GETVERSION	ZT_GETVERSION
++
++// policies
++#define DAHDI_POLICY_IMMEDIATE  ZT_POLICY_IMMEDIATE
++
++// data types
++#define dahdi_params		zt_params
++#define dahdi_bufferinfo	zt_bufferinfo
++#define dahdi_dialoperation	zt_dialoperation
++#define dahdi_dialparams	zt_dialparams
++#define	dahdi_spaninfo		zt_spaninfo
++#define dahdi_versioninfo 	zt_versioninfo
++
++#endif
+ // Worker thread client (implements process())
+ class ZapWorkerClient
+ {
+@@ -105,54 +257,54 @@
+ public:
+     // Flags to check alarms
+     enum Alarm {
+-	Recover  = ZT_ALARM_RECOVER,     // Recovering from alarm
+-	Loopback = ZT_ALARM_LOOPBACK,    // In loopback
+-	Red      = ZT_ALARM_RED,         // Interface is down
+-	Yellow   = ZT_ALARM_YELLOW,      // Remote peer doesn't see us
+-	Blue     = ZT_ALARM_BLUE,        // We don't see the remote peer
+-	NotOpen  = ZT_ALARM_NOTOPEN
++	Recover  = DAHDI_ALARM_RECOVER,     // Recovering from alarm
++	Loopback = DAHDI_ALARM_LOOPBACK,    // In loopback
++	Red      = DAHDI_ALARM_RED,         // Interface is down
++	Yellow   = DAHDI_ALARM_YELLOW,      // Remote peer doesn't see us
++	Blue     = DAHDI_ALARM_BLUE,        // We don't see the remote peer
++	NotOpen  = DAHDI_ALARM_NOTOPEN
+     };
+ 
+     // List of events
+     enum Event {
+-	None = ZT_EVENT_NONE,
+-	OnHook = ZT_EVENT_ONHOOK,
+-	OffHookRing = ZT_EVENT_RINGOFFHOOK,
+-	WinkFlash = ZT_EVENT_WINKFLASH,
+-	Alarm = ZT_EVENT_ALARM,
+-	NoAlarm = ZT_EVENT_NOALARM,
+-	HdlcAbort = ZT_EVENT_ABORT,
+-	HdlcOverrun = ZT_EVENT_OVERRUN,
+-	BadFCS = ZT_EVENT_BADFCS,
+-	DialComplete = ZT_EVENT_DIALCOMPLETE,
+-	RingerOn = ZT_EVENT_RINGERON,
+-	RingerOff = ZT_EVENT_RINGEROFF,
+-	HookComplete = ZT_EVENT_HOOKCOMPLETE,
+-	BitsChanged = ZT_EVENT_BITSCHANGED,  // Bits changing on a CAS/User channel
+-	PulseStart = ZT_EVENT_PULSE_START,   // Beginning of a pulse coming on its way
+-	Timeout = ZT_EVENT_TIMER_EXPIRED,
+-	TimerPing = ZT_EVENT_TIMER_PING,
+-	RingBegin = ZT_EVENT_RINGBEGIN,
+-	Polarity = ZT_EVENT_POLARITY,        // Polarity reversal event
+-#ifdef ZT_EVENT_REMOVED
+-	Removed = ZT_EVENT_REMOVED,
++	None 		= DAHDI_EVENT_NONE,
++	OnHook 		= DAHDI_EVENT_ONHOOK,
++	OffHookRing 	= DAHDI_EVENT_RINGOFFHOOK,
++	WinkFlash 	= DAHDI_EVENT_WINKFLASH,
++	Alarm 		= DAHDI_EVENT_ALARM,
++	NoAlarm 	= DAHDI_EVENT_NOALARM,
++	HdlcAbort 	= DAHDI_EVENT_ABORT,
++	HdlcOverrun 	= DAHDI_EVENT_OVERRUN,
++	BadFCS		= DAHDI_EVENT_BADFCS,
++	DialComplete	= DAHDI_EVENT_DIALCOMPLETE,
++	RingerOn	= DAHDI_EVENT_RINGERON,
++	RingerOff	= DAHDI_EVENT_RINGEROFF,
++	HookComplete	= DAHDI_EVENT_HOOKCOMPLETE,
++	BitsChanged	= DAHDI_EVENT_BITSCHANGED,  // Bits changing on a CAS/User channel
++	PulseStart	= DAHDI_EVENT_PULSE_START,   // Beginning of a pulse coming on its way
++	Timeout		= DAHDI_EVENT_TIMER_EXPIRED,
++	TimerPing	= DAHDI_EVENT_TIMER_PING,
++	RingBegin	= DAHDI_EVENT_RINGBEGIN,
++	Polarity	= DAHDI_EVENT_POLARITY,        // Polarity reversal event
++#ifdef DAHDI_EVENT_REMOVED
++	Removed		= DAHDI_EVENT_REMOVED,
+ #endif
+ 	// These are event masks
+-	PulseDigit = ZT_EVENT_PULSEDIGIT,    // This is OR'd with the digit received
+-	DtmfDown = ZT_EVENT_DTMFDOWN,        // Ditto for DTMF key down event
+-	DtmfUp = ZT_EVENT_DTMFUP,            // Ditto for DTMF key up event
+-	DigitEvent = ZT_EVENT_PULSEDIGIT | ZT_EVENT_DTMFDOWN | ZT_EVENT_DTMFUP
++	PulseDigit	= DAHDI_EVENT_PULSEDIGIT,    // This is OR'd with the digit received
++	DtmfDown	= DAHDI_EVENT_DTMFDOWN,        // Ditto for DTMF key down event
++	DtmfUp		= DAHDI_EVENT_DTMFUP,            // Ditto for DTMF key up event
++	DigitEvent	= DAHDI_EVENT_PULSEDIGIT | DAHDI_EVENT_DTMFDOWN | DAHDI_EVENT_DTMFUP
+     };
+ 
+     // List of hook to send events
+     enum HookEvent {
+-	HookOn      = ZT_ONHOOK,
+-	HookOff     = ZT_OFFHOOK,
+-	HookWink    = ZT_WINK,
+-	HookFlash   = ZT_FLASH,
+-	HookStart   = ZT_START,
+-	HookRing    = ZT_RING,
+-	HookRingOff = ZT_RINGOFF
++	HookOn      = DAHDI_ONHOOK,
++	HookOff     = DAHDI_OFFHOOK,
++	HookWink    = DAHDI_WINK,
++	HookFlash   = DAHDI_FLASH,
++	HookStart   = DAHDI_START,
++	HookRing    = DAHDI_RING,
++	HookRingOff = DAHDI_RINGOFF
+     };
+ 
+     // Rx Hook states, not exported from zaptel.h in user mode
+@@ -174,7 +326,7 @@
+ 	SetEchoCancel  = 5,              // Set echo cancel
+ 	SetDial        = 6,              // Append, replace, or cancel a dial string
+ 	SetHook        = 7,              // Set Hookswitch Status
+-#ifdef ZT_TONEDETECT
++#ifdef DAHDI_TONEDETECT
+ 	SetToneDetect  = 8,              // Set tone detection
+ #else
+ 	SetToneDetect  = 101,
+@@ -193,19 +345,19 @@
+     };
+ 
+     enum FlushTarget {
+-	FlushRead  = ZT_FLUSH_READ,
+-	FlushWrite = ZT_FLUSH_WRITE,
+-	FlushRdWr  = ZT_FLUSH_BOTH,
+-	FlushEvent = ZT_FLUSH_EVENT,
+-	FlushAll   = ZT_FLUSH_ALL,
++	FlushRead  = DAHDI_FLUSH_READ,
++	FlushWrite = DAHDI_FLUSH_WRITE,
++	FlushRdWr  = DAHDI_FLUSH_BOTH,
++	FlushEvent = DAHDI_FLUSH_EVENT,
++	FlushAll   = DAHDI_FLUSH_ALL,
+     };
+ 
+     // Zaptel formats
+     enum Format {
+ 	Slin    = -1,
+-	Default = ZT_LAW_DEFAULT,
+-	Mulaw   = ZT_LAW_MULAW,
+-	Alaw    = ZT_LAW_ALAW
++	Default = DAHDI_LAW_DEFAULT,
++	Mulaw   = DAHDI_LAW_MULAW,
++	Alaw    = DAHDI_LAW_ALAW
+     };
+ 
+     // Device type: D-channel, voice/data circuit or control
+@@ -222,9 +374,9 @@
+ 
+     // Dial operations
+     enum DialOperation {
+-	DialAppend  = ZT_DIAL_OP_APPEND,
+-	DialReplace = ZT_DIAL_OP_REPLACE,
+-	DialCancel  = ZT_DIAL_OP_CANCEL
++	DialAppend  = DAHDI_DIAL_OP_APPEND,
++	DialReplace = DAHDI_DIAL_OP_REPLACE,
++	DialCancel  = DAHDI_DIAL_OP_CANCEL
+     };
+ 
+     // Create a device used to query the driver (chan=0) or a zaptel channel
+@@ -700,25 +852,25 @@
+ 
+ // Zaptel signalling type
+ static TokenDict s_zaptelSig[] = {
+-    {"NONE",     ZT_SIG_NONE},           // Channel not configured
+-    {"FXSLS",    ZT_SIG_FXSLS},
+-    {"FXSGS",    ZT_SIG_FXSGS},
+-    {"FXSKS",    ZT_SIG_FXSKS},
+-    {"FXOLS",    ZT_SIG_FXOLS},
+-    {"FXOGS",    ZT_SIG_FXOGS},
+-    {"FXOKS",    ZT_SIG_FXOKS},
+-    {"E&M",      ZT_SIG_EM},             // Ear & mouth
+-    {"CLEAR",    ZT_SIG_CLEAR},          // Clear channel
+-    {"HDLCRAW",  ZT_SIG_HDLCRAW},        // Raw unchecked HDLC
+-    {"HDLCFCS",  ZT_SIG_HDLCFCS},        // HDLC with FCS calculation
+-    {"HDLCNET",  ZT_SIG_HDLCNET},        // HDLC Network
+-    {"SLAVE",    ZT_SIG_SLAVE},          // Slave to another channel
+-    {"SF",       ZT_SIG_SF},             // Single Freq. tone only, no sig bits
+-    {"CAS",      ZT_SIG_CAS },           // Just get bits
+-    {"DACS",     ZT_SIG_DACS},           // Cross connect
+-    {"EM_E1",    ZT_SIG_EM_E1},          // E1 E&M Variation
+-    {"DACS_RBS", ZT_SIG_DACS_RBS},       // Cross connect w/ RBS
+-    {"HARDHDLC", ZT_SIG_HARDHDLC},
++    {"NONE",     DAHDI_SIG_NONE},           // Channel not configured
++    {"FXSLS",    DAHDI_SIG_FXSLS},
++    {"FXSGS",    DAHDI_SIG_FXSGS},
++    {"FXSKS",    DAHDI_SIG_FXSKS},
++    {"FXOLS",    DAHDI_SIG_FXOLS},
++    {"FXOGS",    DAHDI_SIG_FXOGS},
++    {"FXOKS",    DAHDI_SIG_FXOKS},
++    {"E&M",      DAHDI_SIG_EM},             // Ear & mouth
++    {"CLEAR",    DAHDI_SIG_CLEAR},          // Clear channel
++    {"HDLCRAW",  DAHDI_SIG_HDLCRAW},        // Raw unchecked HDLC
++    {"HDLCFCS",  DAHDI_SIG_HDLCFCS},        // HDLC with FCS calculation
++    {"HDLCNET",  DAHDI_SIG_HDLCNET},        // HDLC Network
++    {"SLAVE",    DAHDI_SIG_SLAVE},          // Slave to another channel
++    {"SF",       DAHDI_SIG_SF},             // Single Freq. tone only, no sig bits
++    {"CAS",      DAHDI_SIG_CAS},           // Just get bits
++    {"DACS",     DAHDI_SIG_DACS},           // Cross connect
++    {"EM_E1",    DAHDI_SIG_EM_E1},          // E1 E&M Variation
++    {"DACS_RBS", DAHDI_SIG_DACS_RBS},       // Cross connect w/ RBS
++    {"HARDHDLC", DAHDI_SIG_HARDHDLC},
+     {0,0}
+ };
+ 
+@@ -747,7 +899,7 @@
+     MAKE_NAME(DtmfDown),
+     MAKE_NAME(DtmfUp),
+     MAKE_NAME(DigitEvent),
+-#ifdef ZT_EVENT_REMOVED
++#ifdef DAHDI_EVENT_REMOVED
+     MAKE_NAME(Removed),
+ #endif
+     {0,0}
+@@ -808,10 +960,13 @@
+     {"alaw",    ZapDevice::Alaw},
+     {0,0}
+     };
+-
++#ifdef HAVE_ZAP 
+ const char* ZapDevice::s_zapCtlName = "/dev/zap/ctl";
+ const char* ZapDevice::s_zapDevName = "/dev/zap/channel";
+-
++#else
++const char* ZapDevice::s_zapCtlName = "/dev/dahdi/ctl";
++const char* ZapDevice::s_zapDevName = "/dev/dahdi/channel";
++#endif
+ ZapDevice::ZapDevice(Type t, SignallingComponent* dbg, unsigned int chan,
+ 	unsigned int circuit)
+     : m_type(t),
+@@ -923,7 +1078,7 @@
+ 	if (!ioctl(SetChannel,&m_channel))
+ 	    break;
+ 
+-	ZT_PARAMS par;
++	struct dahdi_params par;
+ 	if (!ioctl(GetParams,&par))
+ 	    break;
+ 
+@@ -943,16 +1098,16 @@
+ 
+ 	// Open for an interface
+ 	// Check channel mode
+-	if (par.sigtype != ZT_SIG_HDLCFCS && par.sigtype != ZT_SIG_HARDHDLC) {
++	if (par.sigtype != DAHDI_SIG_HDLCFCS && par.sigtype != DAHDI_SIG_HARDHDLC) {
+ 	    Debug(m_owner,DebugWarn,"Channel %u is not in '%s' or '%s' mode [%p]",
+-		m_channel,lookup(ZT_SIG_HDLCFCS,s_zaptelSig),
+-		lookup(ZT_SIG_HARDHDLC,s_zaptelSig),m_owner);
++		m_channel,lookup(DAHDI_SIG_HDLCFCS,s_zaptelSig),
++		lookup(DAHDI_SIG_HARDHDLC,s_zaptelSig),m_owner);
+ 	    break;
+ 	}
+ 	// Set buffers
+-	ZT_BUFFERINFO bi;
+-	bi.txbufpolicy = ZT_POLICY_IMMEDIATE;
+-	bi.rxbufpolicy = ZT_POLICY_IMMEDIATE;
++	struct dahdi_bufferinfo bi;
++	bi.txbufpolicy = DAHDI_POLICY_IMMEDIATE;
++	bi.rxbufpolicy = DAHDI_POLICY_IMMEDIATE;
+ 	bi.numbufs = numbufs;
+ 	bi.bufsize = bufsize;
+ 	if (ioctl(SetBuffers,&bi))
+@@ -1000,10 +1155,10 @@
+ bool ZapDevice::setDtmfDetect(bool detect)
+ {
+     int tmp = 0;
+-#ifdef ZT_TONEDETECT
++#ifdef DAHDI_TONEDETECT
+     setLinear(0,DebugAll);
+     if (detect)
+-	tmp = ZT_TONEDETECT_ON | ZT_TONEDETECT_MUTE;
++	tmp = DAHDI_TONEDETECT_ON | DAHDI_TONEDETECT_MUTE;
+ #endif
+     if (!ioctl(SetToneDetect,&tmp,detect?DebugNote:DebugAll))
+ 	return false;
+@@ -1052,7 +1207,7 @@
+     if (m_rxHookSig < 0)
+ 	return;
+ 
+-    ZT_PARAMS par;
++    struct dahdi_params par;
+     if (!ioctl(GetParams,&par))
+ 	return;
+ 
+@@ -1064,7 +1219,7 @@
+     // state changed, save the event for later
+     m_rxHookSig = rxsig;
+     // states are reversed but that's how Zaptel is...
+-    m_savedEvent = (rxsig == RxSigOnHook) ? ZT_EVENT_WINKFLASH : ZT_EVENT_ONHOOK;
++    m_savedEvent = (rxsig == RxSigOnHook) ? DAHDI_EVENT_WINKFLASH : DAHDI_EVENT_ONHOOK;
+ }
+ 
+ // Send hook events
+@@ -1095,13 +1250,13 @@
+     if (!(tone && *tone))
+ 	return false;
+ 
+-    ZT_DIAL_OPERATION dop;
++    struct dahdi_dialoperation dop;
+     dop.op = op;
+     dop.dialstr[0] = dtmf ? 'T' : 'P';
+ 
+     if (allDigits) {
+ 	int len = strlen(tone);
+-	int maxLen = ZT_MAX_DTMF_BUF - 2;
++	int maxLen = DAHDI_MAX_DTMF_BUF - 2;
+ 	if (len > maxLen) {
+ 	    Debug(m_owner,DebugNote,
+ 		"%sCan't send DTMF '%s' (len %d greater then max len %d) [%p]",
+@@ -1139,11 +1294,11 @@
+ #define YZAP_TONES 20
+     static char tones[YZAP_TONES+1] = "0123456789*#ABCDabcd";
+     static int zapTones[YZAP_TONES] = {
+-	ZT_TONE_DTMF_0, ZT_TONE_DTMF_1, ZT_TONE_DTMF_2, ZT_TONE_DTMF_3,
+-	ZT_TONE_DTMF_4, ZT_TONE_DTMF_5, ZT_TONE_DTMF_6, ZT_TONE_DTMF_7,
+-	ZT_TONE_DTMF_8, ZT_TONE_DTMF_9, ZT_TONE_DTMF_s, ZT_TONE_DTMF_p,
+-	ZT_TONE_DTMF_A, ZT_TONE_DTMF_B, ZT_TONE_DTMF_C, ZT_TONE_DTMF_D,
+-	ZT_TONE_DTMF_A, ZT_TONE_DTMF_B, ZT_TONE_DTMF_C, ZT_TONE_DTMF_D
++	DAHDI_TONE_DTMF_0, DAHDI_TONE_DTMF_1, DAHDI_TONE_DTMF_2, DAHDI_TONE_DTMF_3,
++	DAHDI_TONE_DTMF_4, DAHDI_TONE_DTMF_5, DAHDI_TONE_DTMF_6, DAHDI_TONE_DTMF_7,
++	DAHDI_TONE_DTMF_8, DAHDI_TONE_DTMF_9, DAHDI_TONE_DTMF_s, DAHDI_TONE_DTMF_p,
++	DAHDI_TONE_DTMF_A, DAHDI_TONE_DTMF_B, DAHDI_TONE_DTMF_C, DAHDI_TONE_DTMF_D,
++	DAHDI_TONE_DTMF_A, DAHDI_TONE_DTMF_B, DAHDI_TONE_DTMF_C, DAHDI_TONE_DTMF_D
+ 	};
+ 
+     // Get zaptel tone
+@@ -1170,7 +1325,7 @@
+ 	m_savedEvent = 0;
+     else if (!ioctl(GetEvent,&event,DebugMild))
+ 	return 0;
+-    if ((m_zapsig == ZT_SIG_EM) && (m_type == FXO)) {
++    if ((m_zapsig == DAHDI_SIG_EM) && (m_type == FXO)) {
+ 	// For an "E&M FXO" the meanings of on/off hook change
+ 	switch (event) {
+ 	    case OnHook:
+@@ -1198,7 +1353,7 @@
+ // Get alarms from this device. Return true if alarms changed
+ bool ZapDevice::checkAlarms()
+ {
+-    ZT_SPANINFO info;
++    struct dahdi_spaninfo info;
+     memset(&info,0,sizeof(info));
+     info.spanno = m_span;
+     if (!(ioctl(GetInfo,&info,DebugAll)))
+@@ -1308,7 +1463,7 @@
+ // Get driver version and echo canceller
+ bool ZapDevice::getVersion(NamedList& dest)
+ {
+-    zt_versioninfo info;
++    struct dahdi_versioninfo info;
+     if (!ioctl(GetVersion,&info,DebugNote))
+ 	return false;
+     dest.setParam("version",info.version);
+@@ -1319,7 +1474,7 @@
+ // Get span info
+ bool ZapDevice::getSpanInfo(int span, NamedList& dest, int* spans)
+ {
+-    zt_spaninfo info;
++    struct dahdi_spaninfo info;
+     memset(&info,0,sizeof(info));
+     info.spanno = (span != -1) ? span : m_span;
+     if (!ioctl(GetInfo,&info,DebugNote))
+@@ -1343,7 +1498,7 @@
+ // Get channel parameters
+ bool ZapDevice::getChanParams(NamedList& dest)
+ {
+-    ZT_PARAMS par;
++    struct dahdi_params par;
+     if (!ioctl(GetParams,&par))
+ 	return false;
+     dest.addParam("format",lookup(par.curlaw,s_formats));
+@@ -1364,8 +1519,8 @@
+ // Set/get dial parameters (DTMF/MF length)
+ bool ZapDevice::dialParams(bool set, int& toneLen, int& mfLen)
+ {
+-    ZT_DIAL_PARAMS dp;
+-    ::memset(&dp,0,sizeof(ZT_DIAL_PARAMS));
++    struct dahdi_dialparams dp;
++    ::memset(&dp,0,sizeof(struct dahdi_dialparams));
+ 
+     if (!set) {
+ 	if (!ioctl(GetDialParams,&dp,DebugMild))
+@@ -1391,35 +1546,35 @@
+     int ret = -1;
+     switch (request) {
+ 	case GetEvent:
+-	    ret = ::ioctl(m_handle,ZT_GETEVENT,param);
++	    ret = ::ioctl(m_handle,DAHDI_GETEVENT,param);
+ 	    break;
+ 	case SetChannel:
+-	    ret = ::ioctl(m_handle,ZT_SPECIFY,param);
++	    ret = ::ioctl(m_handle,DAHDI_SPECIFY,param);
+ 	    break;
+ 	case SetBlkSize:
+-	    ret = ::ioctl(m_handle,ZT_SET_BLOCKSIZE,param);
++	    ret = ::ioctl(m_handle,DAHDI_SET_BLOCKSIZE,param);
+ 	    break;
+ 	case SetBuffers:
+-	    ret = ::ioctl(m_handle,ZT_SET_BUFINFO,param);
++	    ret = ::ioctl(m_handle,DAHDI_SET_BUFINFO,param);
+ 	    break;
+ 	case SetFormat:
+-	    ret = ::ioctl(m_handle,ZT_SETLAW,param);
++	    ret = ::ioctl(m_handle,DAHDI_SETLAW,param);
+ 	    break;
+ 	case SetAudioMode:
+-	    ret = ::ioctl(m_handle,ZT_AUDIOMODE,param);
++	    ret = ::ioctl(m_handle,DAHDI_AUDIOMODE,param);
+ 	    break;
+ 	case SetEchoCancel:
+-	    ret = ::ioctl(m_handle,ZT_ECHOCANCEL,param);
++	    ret = ::ioctl(m_handle,DAHDI_ECHOCANCEL,param);
+ 	    break;
+ 	case SetDial:
+-	    ret = ::ioctl(m_handle,ZT_DIAL,param);
++	    ret = ::ioctl(m_handle,DAHDI_DIAL,param);
+ 	    break;
+ 	case SetHook:
+-	    ret = ::ioctl(m_handle,ZT_HOOK,param);
++	    ret = ::ioctl(m_handle,DAHDI_HOOK,param);
+ 	    break;
+ 	case SetToneDetect:
+-#ifdef ZT_TONEDETECT
+-	    ret = ::ioctl(m_handle,ZT_TONEDETECT,param);
++#ifdef DAHDI_TONEDETECT
++	    ret = ::ioctl(m_handle,DAHDI_TONEDETECT,param);
+ 	    break;
+ #else
+ 	    // Show message only if requested to set tone detection
+@@ -1429,34 +1584,34 @@
+ 	    return false;
+ #endif
+ 	case SetPolarity:
+-	    ret = ::ioctl(m_handle,ZT_SETPOLARITY,param);
++	    ret = ::ioctl(m_handle,DAHDI_SETPOLARITY,param);
+ 	    break;
+ 	case SetLinear:
+-	    ret = ::ioctl(m_handle,ZT_SETLINEAR,param);
++	    ret = ::ioctl(m_handle,DAHDI_SETLINEAR,param);
+ 	    break;
+ 	case SetDialParams:
+-	    ret = ::ioctl(m_handle,ZT_SET_DIALPARAMS,param);
++	    ret = ::ioctl(m_handle,DAHDI_SET_DIALPARAMS,param);
+ 	    break;
+ 	case GetParams:
+-	    ret = ::ioctl(m_handle,ZT_GET_PARAMS,param);
++	    ret = ::ioctl(m_handle,DAHDI_GET_PARAMS,param);
+ 	    break;
+ 	case GetInfo:
+-	    ret = ::ioctl(m_handle,ZT_SPANSTAT,param);
++	    ret = ::ioctl(m_handle,DAHDI_SPANSTAT,param);
+ 	    break;
+ 	case GetDialParams:
+-	    ret = ::ioctl(m_handle,ZT_GET_DIALPARAMS,param);
++	    ret = ::ioctl(m_handle,DAHDI_GET_DIALPARAMS,param);
+ 	    break;
+ 	case StartEchoTrain:
+-	    ret = ::ioctl(m_handle,ZT_ECHOTRAIN,param);
++	    ret = ::ioctl(m_handle,DAHDI_ECHOTRAIN,param);
+ 	    break;
+ 	case FlushBuffers:
+-	    ret = ::ioctl(m_handle,ZT_FLUSH,param);
++	    ret = ::ioctl(m_handle,DAHDI_FLUSH,param);
+ 	    break;
+ 	case SendTone:
+-	    ret = ::ioctl(m_handle,ZT_SENDTONE,param);
++	    ret = ::ioctl(m_handle,DAHDI_SENDTONE,param);
+ 	    break;
+ 	case GetVersion:
+-	    ret = ::ioctl(m_handle,ZT_GETVERSION,param);
++	    ret = ::ioctl(m_handle,DAHDI_GETVERSION,param);
+ 	    break;
+     }
+     if (!ret || errno == EINPROGRESS) {
+@@ -2567,7 +2722,7 @@
+ 	    return enqueueEvent(event,SignallingCircuitEvent::RingerOn);
+ 	case ZapDevice::RingerOff:
+ 	    return enqueueEvent(event,SignallingCircuitEvent::RingerOff);
+-#ifdef ZT_EVENT_REMOVED
++#ifdef DAHDI_EVENT_REMOVED
+ 	case ZapDevice::Removed:
+ #endif
+ 	case ZapDevice::OnHook:

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/patches/series?rev=9632&op=file
==============================================================================
    (empty)

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/rules?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/rules (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/rules Sat Mar 31 23:06:54 2012
@@ -1,0 +1,175 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+# FOR AUTOCONF 2.52 AND NEWER ONLY
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
+   confflags += --build $(DEB_HOST_GNU_TYPE)
+else
+   confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/~dfsg$$//')
+
+DFSG:=$(shell echo $(DEBVERSION) | sed -e 's/-[0-9.]*$$//')
+
+FILENAME := yate_$(UPVERSION).orig.tar.gz
+SRCDIR := yate
+DFSGNAME := yate_$(DFSG).orig.tar.gz
+URL := http://yate.null.ro/tarballs/yate2/yate-$(UPVERSION).tar.gz
+
+check-ilbc:
+ifneq (,$(wildcard libs/ilbc/iLBC_define.h))
+	echo "WARNING: iLBC must be removed from sources before packaging."
+	exit 1
+endif
+	touch $@
+
+configure:
+	if [ -f configure ]; then cp -a configure configure.sav; fi
+	autoconf
+
+config.status: check-ilbc configure
+	dh_testdir
+	dh_autotools-dev_updateconfig
+	# Add here commands to configure the package.
+	CFLAGS="$(CFLAGS)" ./configure $(confflags) --prefix=/usr \
+	       --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
+	       --sysconfdir=/etc --disable-ilbc --without-amrnb \
+	       --without-coredumper
+		#--prefix=/ --exec-prefix=/usr \
+		#--datarootdir=/usr/share --docdir=/usr/share/doc/yate-doc \
+		#--mandir=/usr/share/man --includedir=/usr/include \
+		#--with-openssl --with-libgsm --with-libqt4
+
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: config.status
+	dh_testdir
+	# Add here commands to compile the package.
+	$(MAKE)
+	#docbook-to-man debian/yate.sgml > yate.1
+	touch $@
+
+build-indep: build-indep-stamp
+build-indep-stamp: config.status
+	cd share/scripts/yaypm ; python ./setup.py build
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ]||$(MAKE) clean distclean
+	if [ -f configure.sav ]; then mv configure.sav configure; fi
+	dh_autotools-dev_restoreconfig
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_installdirs
+	# Add here commands to install the package into debian/yate.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+	# remove extra files
+	rm -f $(CURDIR)/debian/tmp/usr/share/doc/yate*/COPYING
+	rm -f $(CURDIR)/debian/tmp/usr/share/doc/yate*/ChangeLog
+
+
+# Build architecture-independent files here.
+binary-indep: install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installlogrotate -i
+	dh_installinit -i -- defaults 21
+	dh_installdocs -i 
+	dh_installexamples -i -XCVS
+	dh_installcron -i
+	dh_installchangelogs ChangeLog -i
+	dh_install -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+subpacks_names = alsa dahdi qt4 mysql openh323 pgsql
+subpacks = $(subpacks_names:%=$(CURDIR)/debian/yate-%) $(CURDIR)/debian/yate
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installchangelogs -a ChangeLog
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_install -a
+	find $(subpacks) -name '*.yate' -type f  -printf '-name %f -o\n' \
+	  | xargs | sed -e 's/ -o$$//' | xargs find $(CURDIR)/debian/yate-core \
+	  | xargs $(RM) -fv
+	find $(subpacks) -name '*.conf' -type f  -printf '-name %f -o\n' \
+	  | xargs | sed -e 's/ -o$$//' | xargs find $(CURDIR)/debian/yate-core \
+	  | xargs $(RM) -fv
+	dh_installinit -a
+	dh_installman -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs  -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+print-version:
+	@@echo "Debian version:          $(DEBVERSION)"
+	@@echo "DFSG     version:        $(DFSG)"
+	@@echo "Upstream version:        $(UPVERSION)"
+
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@echo Downloading $(FILENAME) from $(URL) ...
+	@@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
+	@@echo Removing non dfsg compliant parts out of it
+	@@[ -d ../tarballs/dfsg/. ]||mkdir -p ../tarballs/dfsg
+	@@tar -xzf ../tarballs/$(FILENAME) -C ../tarballs/dfsg
+	@@rm -rf ../tarballs/dfsg/$(SRCDIR)/libs/ilbc/*
+	@@echo -e '#Debian Dummy\n%:\n\t:' >../tarballs/dfsg/$(SRCDIR)/libs/ilbc/Makefile.in
+	@@echo Building the dfsg tarball
+	@@GZIP=-9 tar -b1 -czf ../tarballs/$(DFSGNAME) -C ../tarballs/dfsg $(SRCDIR)
+	@@echo Cleaning up
+	@@rm -rf ../tarballs/dfsg
+	@@rm -f ../tarballs/$(FILENAME)
+
+binary: binary-indep binary-arch
+.PHONY: build build-arch build-indep clean clean-patched patch unpatch binary-indep binary-arch binary install 

Propchange: yate/tags/2.2.0-1~dfsg-1.2/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/source/format?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/source/format (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/source/format Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+3.0 (quilt)

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/watch
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/watch?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/watch (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/watch Sat Mar 31 23:06:54 2012
@@ -1,0 +1,3 @@
+version=3
+opts=dversionmangle=s/~dfsg// \
+ http://yate.null.ro/tarballs/yate2/yate-([\d.-]+)\.tar\.gz

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-alsa.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-alsa.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-alsa.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-alsa.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+usr/lib/yate/client/alsachan.yate

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-core.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-core.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-core.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-core.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,5 @@
+usr/lib/yate/*.yate
+usr/lib/yate/client/osschan.yate
+usr/lib/yate/jingle/*.yate
+usr/lib/yate/server/*.yate
+etc/yate/*.conf

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dahdi.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-dahdi.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dahdi.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dahdi.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,3 @@
+usr/lib/yate/server/zapcard.yate
+etc/yate/zapcard.conf
+

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dev.dirs
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-dev.dirs?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dev.dirs (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dev.dirs Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+usr/include/yate

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dev.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-dev.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dev.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-dev.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,5 @@
+usr/bin/yate-config
+usr/share/man/man8/yate-config.*
+usr/include/*
+usr/lib/libyate*.so
+usr/lib/pkgconfig/yate.pc

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-doc.dirs
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-doc.dirs?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-doc.dirs (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-doc.dirs Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+usr/share/doc/yate-doc

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-doc.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-doc.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-doc.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-doc.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+usr/share/doc/yate*/* usr/share/doc/yate-doc

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-mysql.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-mysql.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-mysql.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-mysql.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,2 @@
+usr/lib/yate/server/mysqldb.yate
+etc/yate/mysqldb.conf

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-openh323.dirs
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-openh323.dirs?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-openh323.dirs (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-openh323.dirs Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+usr/lib/yate

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-openh323.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-openh323.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-openh323.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-openh323.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,2 @@
+usr/lib/yate/h323chan.yate
+etc/yate/h323chan.conf

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-pgsql.dirs
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-pgsql.dirs?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-pgsql.dirs (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-pgsql.dirs Sat Mar 31 23:06:54 2012
@@ -1,0 +1,2 @@
+usr/share/doc/yate/examples/
+usr/lib/yate

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-pgsql.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-pgsql.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-pgsql.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-pgsql.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,2 @@
+usr/lib/yate/server/pgsqldb.yate
+etc/yate/pgsqldb.conf

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-qt4.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-qt4.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-qt4.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-qt4.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,7 @@
+usr/bin/yate-qt4
+usr/lib/yate/qt4/*.yate
+usr/share/applications/yate-qt4.desktop
+etc/yate/yate-qt4.conf
+usr/share/pixmaps/*.png
+usr/share/yate/help/*.yhlp
+usr/share/yate/skins/*

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate-scripts.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate-scripts.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate-scripts.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate-scripts.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,1 @@
+usr/share/yate/scripts/*

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate.default
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate.default?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate.default (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate.default Sat Mar 31 23:06:54 2012
@@ -1,0 +1,11 @@
+# Defaults for yate initscript
+# sourced by /etc/init.d/yate
+
+# make this read NO_START=0 when you're done setting up your config.
+NO_START=1
+
+# Additional options that are passed to the Daemon.
+DAEMON_OPTS="-d -svvvv -l /var/log/yate -p /var/run/yate.pid"
+YATE_USER="yate"
+YATE_GROUP="yate"
+# you might want to put less verbosity here..

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate.dirs
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate.dirs?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate.dirs (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate.dirs Sat Mar 31 23:06:54 2012
@@ -1,0 +1,3 @@
+usr/sbin
+etc/yate
+usr/lib/yate

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate.init
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate.init?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate.init (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate.init Sat Mar 31 23:06:54 2012
@@ -1,0 +1,78 @@
+#! /bin/sh
+#
+#		Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+#		Modified for Debian by Ian Murdock <imurdock at gnu.ai.mit.edu>.
+#		Modified for yate by Radu Spineanu <radu at timisoara.roedu.net>.
+#			and Kilian Krause <kk at verfaction.de>
+
+### BEGIN INIT INFO
+# Provides:          yate
+# Required-Start:    $remote_fs $network
+# Required-Stop:     $remote_fs $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Yet another telephony engine
+# Description:       Start YATE in daemon mode
+### END INIT INFO
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/bin/yate
+NAME=yate
+DESC=yate
+PIDFILE=/var/run/$NAME.pid
+
+test -x $DAEMON || exit 0
+
+# Include yate defaults if available
+if [ -f /etc/default/yate ] ; then
+	. /etc/default/yate
+fi
+
+if [ "$NO_START" = "1" ];then
+	echo Yate Daemon not setup for automagic start. Edit /etc/default/yate to change this.
+	exit 0
+fi
+set -e
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+
+	#so yate won't load the client modules
+	unset DISPLAY
+
+	start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE \
+		--user $YATE_USER --group $YATE_GROUP \
+		--exec $DAEMON -- $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON
+	echo "$NAME."
+	;;
+  reload)
+	echo "Reloading $DESC module files."
+	start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE --exec $DAEMON
+  ;;
+  restart|force-reload)
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON
+	sleep 1
+
+	#so yate won't load the client modules
+	unset DISPLAY
+
+        start-stop-daemon --start --quiet --pidfile $PIDFILE \
+                --user $YATE_USER --group $YATE_GROUP \
+                --exec $DAEMON -- $DAEMON_OPTS
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate.install
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate.install?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate.install (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate.install Sat Mar 31 23:06:54 2012
@@ -1,0 +1,3 @@
+usr/bin/yate
+usr/share/man/man8/yate.*
+etc/yate/yate.conf

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate.postinst
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate.postinst?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate.postinst (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate.postinst Sat Mar 31 23:06:54 2012
@@ -1,0 +1,34 @@
+#!/bin/sh 
+
+set -e
+
+if [ "$1" = "configure" ]; then
+	if [ "$2" = "" ];then
+		. /etc/default/yate
+		echo "Creating/updating yate user account and group..."
+		addgroup --system $YATE_GROUP || {
+		  # addgroup failed. Why?
+				if ! getent group $YATE_GROUP >/dev/null ; then
+					echo "Could not create system group $YATE_GROUP." >&2
+					exit 1
+				fi
+		  # well, the group is there, so just ignore the error
+		}
+		adduser --system --ingroup $YATE_GROUP --home /var/lib/yate \
+		    --gecos "YATE daemon" --shell /bin/sh \
+		    --disabled-password $YATE_USER || {
+		  # adduser failed. Why?
+				if getent passwd $YATE_USER >/dev/null ; then
+					echo "Non-system user $YATE_USER found. I will not overwrite a non-system" >&2
+					echo "user.  Remove the user and reinstall yate." >&2
+					exit 1
+				fi
+		  # unknown adduser error, simply exit
+				exit 1
+		}
+		mkdir -p /var/lib/yate
+		chown -R $YATE_USER.$YATE_GROUP /var/lib/yate
+	fi
+fi
+
+#DEBHELPER#

Added: yate/tags/2.2.0-1~dfsg-1.2/debian/yate.postrm
URL: http://svn.debian.org/wsvn/pkg-voip/yate/tags/2.2.0-1%7Edfsg-1.2/debian/yate.postrm?rev=9632&op=file
==============================================================================
--- yate/tags/2.2.0-1~dfsg-1.2/debian/yate.postrm (added)
+++ yate/tags/2.2.0-1~dfsg-1.2/debian/yate.postrm Sat Mar 31 23:06:54 2012
@@ -1,0 +1,14 @@
+#!/bin/sh 
+
+set -e
+
+if [ "$1" = "remove" ]; then
+	if [ "$2" = "purge" ];then
+		. /etc/default/yate
+		deluser --quiet --system $YATE_USER
+		delgroup --quiet $YATE_GROUP
+		rmdir --ignore-fail-on-non-empty /var/lib/yate
+	fi
+fi
+
+#DEBHELPER#




More information about the Pkg-voip-commits mailing list