[Pkg-voip-commits] r3130 - zaptel/trunk/debian

Tzafrir Cohen tzafrir-guest at alioth.debian.org
Sun Feb 11 06:35:03 CET 2007


Author: tzafrir-guest
Date: 2007-02-11 06:35:03 +0100 (Sun, 11 Feb 2007)
New Revision: 3130

Added:
   zaptel/trunk/debian/libtonezone1.docs
Modified:
   zaptel/trunk/debian/README.Debian
   zaptel/trunk/debian/changelog
   zaptel/trunk/debian/docs
   zaptel/trunk/debian/rules
Log:
* List the tonezones supported by ztcfg and libtonezone in tonezones.txt
  (Closes: #379108).


Modified: zaptel/trunk/debian/README.Debian
===================================================================
--- zaptel/trunk/debian/README.Debian	2007-02-11 05:06:25 UTC (rev 3129)
+++ zaptel/trunk/debian/README.Debian	2007-02-11 05:35:03 UTC (rev 3130)
@@ -57,5 +57,14 @@
 you actually have zaptel hardware and installed a zaptel-modules package
 for your kernel version.
 
+Supported tonezones
+-------------------
+A list of tonezones supported by zaptel and libtonezone is included in the 
+file tonezones.txt in the ducumentation directory. 
+
+Example section of zaptel.conf:
+loadzone=us,uk,de
+defaultzone=us
+
 -- Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 -- 30 December 2005

Modified: zaptel/trunk/debian/changelog
===================================================================
--- zaptel/trunk/debian/changelog	2007-02-11 05:06:25 UTC (rev 3129)
+++ zaptel/trunk/debian/changelog	2007-02-11 05:35:03 UTC (rev 3130)
@@ -12,6 +12,8 @@
     some reasons.
   * Don't install /etc/zaptel.conf by default (Closes: #383081) .
   * Also install the xpp firmware loading udev rules. (Closes: #405502).
+  * List the tonezones supported by ztcfg and libtonezone in tonezones.txt
+    (Closes: #379108).
 
  -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Sun, 11 Feb 2007 06:56:07 +0200
 

Modified: zaptel/trunk/debian/docs
===================================================================
--- zaptel/trunk/debian/docs	2007-02-11 05:06:25 UTC (rev 3129)
+++ zaptel/trunk/debian/docs	2007-02-11 05:35:03 UTC (rev 3130)
@@ -3,3 +3,4 @@
 README.fxsusb
 README.Linux26
 xpp/README.Astribank
+tonezones.txt

Added: zaptel/trunk/debian/libtonezone1.docs
===================================================================
--- zaptel/trunk/debian/libtonezone1.docs	2007-02-11 05:06:25 UTC (rev 3129)
+++ zaptel/trunk/debian/libtonezone1.docs	2007-02-11 05:35:03 UTC (rev 3130)
@@ -0,0 +1 @@
+tonezones.txt

Modified: zaptel/trunk/debian/rules
===================================================================
--- zaptel/trunk/debian/rules	2007-02-11 05:06:25 UTC (rev 3129)
+++ zaptel/trunk/debian/rules	2007-02-11 05:35:03 UTC (rev 3130)
@@ -67,8 +67,14 @@
 
 ## END OF M-A SECTION
 
+tonezones.txt: zonedata.c
+	echo >$@ "# A list of tonezones supported by this copy of zaptel and libtonezones:"
+	grep '[[:space:]]\+{[[:space:]]\+[[:digit:]]\+,' zonedata.c \
+	| awk -F\" '{ print $$2"\t"$$4 }' \
+	>>$@
+
 build: build-stamp
-build-stamp: patch-stamp
+build-stamp: patch-stamp tonezones.txt
 	dh_testdir
 	
 	$(MAKE) programs
@@ -83,6 +89,7 @@
 	
 	# Add here commands to clean up after the build process.
 	rm -rf $(MOD_EXAMPLES_DIR)
+	rm -f tonezones.txt
 	-$(MAKE) clean
 	
 	#rm -f debian/manpage.links  debian/manpage.refs debian/*.8




More information about the Pkg-voip-commits mailing list